Skip to content

Promote the OPERATIONS.md Count and checks/ Read Fixes to Main - #574

Merged
ptr727 merged 2 commits into
mainfrom
develop
Oct 30, 2026
Merged

ptr727 merged 2 commits into
mainfrom
develop

Conversation

@ptr727

@ptr727 ptr727 commented Oct 30, 2026

Copy link
Copy Markdown
Owner

Summary

Promotes two conformance fixes to main.

  • #572 brings OPERATIONS.md in line with the carried "Incidental Counts" rule. Each count that restated the size of a list or table beside it now refers to the enumeration, and the retention limit names its sources. Renaming the log-tiers heading moves its anchor, and the one link to it in deploy/README.md follows.
  • #573 lets the read be the check in the checks/ gates that probed first. The environment docs, media redactions, text PII, and URL parity gates each read directly and catch FileNotFoundError, and keep their messages.

Nothing the server sends changes, so no deploy is owed.

Verification

Issues

Closes #547
Closes #546

🤖 Generated with Claude Code

ptr727 and others added 2 commits October 30, 2026 08:11
* Refer to Enumerations Instead of Counting Them in OPERATIONS.md

The carried Incidental Counts rule says text names an enumeration
rather than stating its size, since a stated count is a second copy
nothing keeps in sync. Each count that restated a list or table beside
it now refers to the enumeration. The retention limit stays and names
its sources, and fixed pairs keep "both".

Renaming the log-tiers heading moves its anchor, so the one link to it
in deploy/README.md follows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Name What Each Rewritten Reference Points At

The local strict review found rewrites that lost their antecedent or
widened their claim, and further counts beside their enumerations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Say How the Explanatory Files Raise the Archive Count

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Let the Read Be the Check in the checks/ Gates That Probe First

The carried Operations and Failure Messages rule says to attempt the
operation and turn its failure into a clean refusal, rather than
predicting it with an existence test. Each of these gates read a file
after an exists() or is_file() probe. Each now reads directly and
catches FileNotFoundError, keeping the message the probe gave.

The robots.txt read moves ahead of the origin lookup so its except
clause can hold the missing-file refusal, and its comment moves with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Read Each Env Template Directly Too

The strict review found the template loop probing with exists() before
its read, the same class this change removes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings October 30, 2026 15:12
@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 3c238cbd-acd1-4896-ac35-9e2297da037b
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ptr727 ptr727 added the comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses label Oct 30, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No unresolved issues are identified, with the documentation references and direct-read gate updates aligned while preserving existing diagnostics and missing-file handling.

No open issues 🎉

What changed in this PR

This pull request promotes documentation-conformance updates and direct-read fixes for the repository’s operational checks, without changing deployed server behavior.

Changes:

  • Removes incidental counts from OPERATIONS.md, documents retention sources, and updates the log-tier anchor.
  • Updates the corresponding reference in deploy/README.md.
  • Makes the environment, media redaction, text PII, and URL parity gates read files directly while preserving existing diagnostics and missing-file handling.
File Description
OPERATIONS.md Removes incidental counts, names retention sources, and updates the log-tier heading.
deploy/​README.md Updates the log-tier link and removes an incidental count.
checks/​url_parity_gate.py Reads robots.txt and index.html directly with missing-file handling.
checks/​text_pii_gate.py Reads exclusion and allow-list files directly.
checks/​media_redactions_gate.py Reads declared media files directly before hashing.
checks/​env_docs_gate.py Reads environment documentation and templates directly.

Review effort: Lite

@codecov

codecov Bot commented Oct 30, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 28.00000% with 18 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.95%. Comparing base (3b107de) to head (bea0be0).
⚠️ Report is 168 commits behind head on main.

Files with missing lines Patch % Lines
checks/env_docs_gate.py 0.00% 6 Missing ⚠️
checks/url_parity_gate.py 0.00% 6 Missing ⚠️
checks/media_redactions_gate.py 0.00% 5 Missing ⚠️
checks/text_pii_gate.py 87.50% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #574      +/-   ##
==========================================
- Coverage   67.12%   66.95%   -0.17%     
==========================================
  Files          11       11              
  Lines        2494     2503       +9     
==========================================
+ Hits         1674     1676       +2     
- Misses        820      827       +7     
Flag Coverage Δ
python-3.13 66.95% <28.00%> (-0.17%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ptr727
ptr727 merged commit 451b84f into main Oct 30, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove the Incidental Counts From OPERATIONS.md Let the Read Be the Check in the checks/ Gates That Probe First

2 participants