Repository navigation
Description
Raised by CodeRabbit against PR #1107 and separated out from it, since the observation is about the fidelity model rather than about that PR's MTP migration.
The Observation
A requirement stated in WORKFLOW.md and carried in spec/files.json at fidelity: intent is evaluated by a reading agent against a catalog/ reference, never mechanically. Nothing fails when the repo drifts from it. The concrete case raised was codecov.yml:
{ "path": "codecov.yml", "fidelity": "intent", "reference": "catalog/snippets/configs/codecov.yml", "intentRef": "WORKFLOW.md", "appliesTo": ["csharp", "python"] }D1.6 requires that file to set project and patch statuses to informational: true, so a coverage delta never gates a pull request, and to exclude intentionally-untested code from the denominator via ignore. The reference snippet carries both. But a repo whose codecov.yml sets informational: false, or drops the statuses entirely, passes every mechanical check the fleet runs. Codecov then gates pull requests in that repo and nothing reports it until someone notices a blocked PR.
This is not specific to codecov.yml. It is a property of every intent-tier entry, and the question is which of them deserve a mechanical floor underneath the intent reading.
Why It Is Not Simply "Make It Letter Tier"
Intent tier is the correct choice for codecov.yml as a whole file. Each repo's ignore paths are its own, so a byte-match against the reference would be wrong by construction, and that is exactly why the entry is not verbatim.
What is mechanically checkable is narrower than the whole file: that coverage.status.project.default.informational and coverage.status.patch.default.informational are both true, where the file exists and the repo claims coverage. The ignore block stays a judgment call, since only a human or a reading agent knows which of a repo's paths are legitimately untested.
So the shape worth considering is a partial mechanical assertion inside an otherwise intent-tier file, which the fidelity model does not currently express. That is the actual design question.
Prior Art and Constraints
spec/audit.pycurrently evaluates no check belonging to a type inspec/project-types.json, andAUDIT.mdstates this in two places, with matching statements inaudit.pyitself. Any move here has to reconcile those, the same constraint noted in Audit check: an MTP-based dotnet test project with no global.json runner opt-in #1108.codecov.ymlis YAML, and the audit runs on the standard library with no YAML parser, so a check would need the same anchored-regex approach the Dependabot ecosystem check already uses, with its documented limits.coverage_activealready derives whether a repo claims coverage at build profile, so the gate for such a check exists.
Not Blocking
PR #1107 declined this as out of its scope, correctly: the codecov.yml requirement is pre-existing text that PR does not touch, and spec/files.json does already carry the file at intent fidelity against a reference containing both requirements. This issue captures the deeper point rather than the one that was declined.
Related: #1108, which needs the same AUDIT.md reconciliation.
Activity
Promote develop to main (#1111)
ptr727 commentedon Nov 1, 2026
Decision needed (decision triage, 2026-11-01)
Question: Should
spec/audit.pygain a mechanical assertion inside the intent-tiercodecov.ymlentry (spec/files.json:38) that project and patch statuses areinformational: true, or a general partial-assertion form for intent-tier entries?Options, recommended first:
Evidence: Live read of the default branch of all 15 csharp- or python-typed registry repositories:
informational: trueon both statuses in every one. The one risk is a LanguageTagscodecov.ymlcomment planning to flip to blocking after a baseline upload, against WORKFLOW.md D1.6, so if wanted that change belongs in D1.6. The "no YAML parser" constraint is overtaken by #3416 (c66778b: PyYAML andspec/checks.json). The "no project-type check" constraint stands (AUDIT.md:73, audit.py:2325), and a gate exists (coverage_types, audit.py:199-211).Blocks: none
ptr727 commentedon Nov 1, 2026
Maintainer answer (decision triage, 2026-11-01): Option 1: decline and close with no mechanical floor. No repository has drifted. A repository wanting coverage to block belongs in WORKFLOW.md D1.6, not an audit check.