Repository navigation
Accept Only .codecov.yml as the Codecov Configuration Name - #4077
Conversation
The fleet accepted the Codecov configuration as `codecov.yml` or `.codecov.yml`, through a baseline `alternatives` list that only this entry used. The fleet now accepts `.codecov.yml` alone. - `spec/files.json` declares `.codecov.yml` with no alternatives, and the hub's own file and the catalog snippet are renamed to match. - The `alternatives` mechanism is removed from the schema, the validator, the audit's reader, the intent trail, and the fidelity pass, since nothing else declared one. - WORKFLOW.md D1.6, STANDUP.md, the type and fidelity models, and the reusable-workflows doc name the one file, and the generated skill includes are rebuilt. - A repository holding only the bare `codecov.yml` now reports `.codecov.yml` absent, which is the finding the fleet rename clears. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The note named the Codecov file as carried beyond the baseline, which it never was, and a sentence began in lowercase after the rename. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 55 minutes. View limit details
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. |
|
A recorded local strict-review pass covers head |
There was a problem hiding this comment.
🔵 Needs a closer look
The change affects fleet-wide baseline and audit semantics while dependent repository renames are landing separately, requiring maintainer confirmation of coordinated rollout and historical-report handling.
No open issues 🎉
What changed in this PR
This PR standardizes the fleet on .codecov.yml as the sole accepted Codecov configuration name and removes the unused baseline-alternatives mechanism from validation, auditing, fidelity checks, and documentation.
Changes:
- Renames the hub and catalog Codecov configurations to
.codecov.yml. - Removes alternatives handling from schemas, validators, audit logic, fidelity analysis, and tests.
- Updates workflow contracts, specifications, documentation, registry notes, and generated skill distributions.
| File | Description |
|---|---|
| WORKFLOW.md | Defines .codecov.yml as the only accepted Codecov configuration name. |
| tests/test_spec_validate.py | Tests the manifest's single .codecov.yml entry and removal of alternatives. |
| tests/test_fidelity_honesty.py | Tests fidelity reads at the declared .codecov.yml path. |
| tests/test_audit.py | Tests audit acceptance of .codecov.yml and rejection of the bare filename. |
| tests/test_audit_helpers.py | Updates audit helper tests for single-path reads and intent tracking. |
| STANDUP.md | Updates baseline setup guidance to use .codecov.yml. |
| spec/validate.py | Removes validation for baseline alternatives. |
| spec/type-model.md | Documents the single accepted Codecov filename. |
| spec/secret_names.py | Updates Codecov coverage documentation strings. |
| spec/project-types.json | Updates the Python coverage contract to reference .codecov.yml. |
| spec/files.schema.json | Removes the alternatives schema property. |
| spec/files.json | Declares .codecov.yml as the canonical baseline path. |
| spec/fidelity-model.md | Removes the alternatives fidelity model. |
| spec/fidelity_honesty.py | Reads intent files only at their declared paths. |
| spec/checks.json | Simplifies the baseline presence-check description. |
| spec/audit.py | Removes alternative-path lookup and found-path tracking from audits. |
| registry/repos.json | Updates the PlexCleaner drift note to the new filename. |
| docs/reusable-workflows.md | Updates reusable workflow guidance to reference .codecov.yml. |
| catalog/snippets/configs/.codecov.yml | Provides the renamed canonical Codecov configuration snippet. |
| .github/skills/workflow-ci-contract/references/test-methodology.md | Regenerates workflow-contract methodology guidance. |
| .github/skills/workflow-ci-contract/references/d-guarantees.md | Regenerates workflow-contract guarantee documentation. |
| .codecov.yml | Adds the hub's root Codecov configuration under the accepted name. |
| .claude-plugin/fleet-skills/skills/workflow-ci-contract/references/test-methodology.md | Updates the generated Claude skill methodology reference. |
| .claude-plugin/fleet-skills/skills/workflow-ci-contract/references/d-guarantees.md | Updates the generated Claude skill guarantees reference. |
| .claude-plugin/fleet-skills/.source-digests/workflow-ci-contract | Refreshes the generated workflow-contract source digest. |
| .agents/skills/workflow-ci-contract/references/test-methodology.md | Updates the authored workflow-contract methodology reference. |
| .agents/skills/workflow-ci-contract/references/d-guarantees.md | Updates the authored workflow-contract guarantees reference. |
Review effort: Lite
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #4077 +/- ##
===========================================
- Coverage 82.34% 82.29% -0.05%
===========================================
Files 38 38
Lines 12951 12917 -34
===========================================
- Hits 10664 10630 -34
Misses 2287 2287
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@coderabbitai review |
|
/review |
Action not completed
|
|
Declined: the coordinated rollout is the maintainer's request and is under way. Every fleet repo carrying a Codecov file is getting its own rename PR into develop, and four are already merged (MediaTools #127, AudioCleaner #26, aiopurpleair #291, Blog #601). Until a repo's rename reaches its main, the audit reports |
…s Rule, Companion-Free Lint, Root hub_fetch_run, .codecov.yml (#4083) ## Summary Promotes burndown round 3 of the attended run of 2026-11-10, together with two pull requests from other hub sessions, from `develop` to `main`. - #4082: `configure.sh apply` refuses a repository the registry does not list, before any write. A repository whose entry is on `develop` but not yet on `main` is configured and audited from a hub checkout at `develop`. `OPERATIONS.md`, `AUDIT.md`, `GOVERNANCE.md` "Hub-Hosted Tooling", and the standup, audit, and branch-protection skill text now say so. - #4081: `WORKFLOW.md`'s contradictory trigger, merge, and release rules are reconciled. D1.5 requires a gate to trigger on `pull_request`, and the audit reports a gate that does not. A retarget is cleared by a push or a close and reopen. - #4078: `CODESTYLE.md` gains an Interrupts rule with Python and Shell mechanics. `build_dist.py` no longer carries a file's trailing link definitions into an include of its last heading. - #4076: `docker_lint.py` imports only the standard library, so the Lint tasks fetch no companions. The provenance label and the ruff task labels are corrected. `GOVERNANCE.md` "Repo-Scoped Secrets" states the owner-first host secret stem. - #4080, from another session: `hub_fetch_run.py` lives in the repository root for both hook shapes. - #4077, from another session: only `.codecov.yml` is accepted as the Codecov configuration name. Fixes #4061 Fixes #4011 Fixes #4051 Fixes #4048 Fixes #4060 Fixes #3947 Fixes #4072 Fixes #3915 Fixes #4059 Fixes #4071 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Documentation** * Clarified when repository checks and configuration use the `develop` branch, and documented that configuration changes are not applied to unregistered repositories. * Expanded scripting guidance for handling interruptions, cleaning up resources, and saving persistent state safely. * Updated workflow, coverage, and hook setup guidance to reflect current requirements and locations. * **Bug Fixes** * Audits now check only the declared baseline filename; repositories using a different filename are reported as missing. * Markdown heading extraction no longer includes trailing link definitions in the heading body. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
…ad (#4271) ## Summary The retired-path lane: #4251, #4253 and #4254 together, since all three edit the hub-only check or its helpers. - **#4251.** A carried baseline file that the manifest drops, and that the audit's hub-only check cannot see, owes a fleet-wide `retire` or `accepted` row in `spec/divergences.json` `gaps`. The audit sees a tracked regular file outside every tree source and repo-owned tree. `spec/validate.py` reads that set from `git ls-files -s` and pins every path the baseline has ever declared (`CARRIED_PATH_PINS`, 39, checked against the full history of `spec/files.json`), since the validate job runs on a shallow clone. A new baseline path must be pinned. A file moved into a tree takes an `accepted` row, with no exemption, since every exemption tried leaked copies. `codecov.yml` takes an `accepted` row, per the no-stale-name-guard decision on its rename in #4077. - **#4253.** A `gaps` row may carry `repos`, accepted only and cataloged repositories only, recording that they keep their own copy. `audit.gap_rows` splits fleet-wide from scoped rows once. `check_hubonly_carried` and the divergence report honor a keep, and the report shows it live, unverified, now resolved, or resolved. The gate and a schema conditional (`scopedGapAccepts`) hold the shape, and a path holds at most one fleet-wide row. - **#4254.** An unreadable retired copy is reported through `run.unread` rather than as one matching no past hub version. One helper, `history_keys`, serves `matches_hub_history`, `classify_verbatim` and `fidelity_pass`, each keeping its own normalization. The deletion check normalizes line endings only, on purpose. The maintainer chose the pinned table, the `accepted` row for `codecov.yml`, scoped `accepted` rows, and the stop rule below. `spec/audit.py` is 2983 lines, under its 3000-line ceiling. #4251, #4253 and #4254 stay open until the promotion carries their closing lines. ## Verification - Full suite: 4500+ tests OK, 12 skipped, on the push-5 head. The affected modules pass on the final head. - `spec/validate.py` OK on the shipped ledger. Before the `codecov.yml` row it failed on exactly that path. - `ruff format --check`, `ruff check`, `mypy` (109 files), `prose_lint.py --diff origin/develop` and `build_dist.py --check` are clean. - Local strict review: twelve recorded passes across six pushes, with findings per pass of 9, 4, 5, 3, 2, 2, 2, 4, 2, 3, 4, then 0 real in each of the last two. From pass 4 on, most findings were edges in the previous fix. The maintainer's stop rule after pass 11: fix the cheap real ones, file the rest. The last pass found no real defect. ## Filed - #4272: dropping a whole `trees` declaration leaves its target's copies unreported. - #4273: two latent edges in the drop check (the `retire` remedy for a moved file, strict UTF-8 decoding). The third, a missing ledger skipping the check, was CodeRabbit's finding and is fixed here. ## Open Edge, Not Filed - **tests/test_fidelity_honesty.py (edge, test layout).** The two new test classes sit above `test_main_spec_carries_the_ledger_retired_paths`, so that method now belongs to `ScopedKeepReportCase`. It runs and passes. Listed per the stop rule. ## Declined - **spec/audit.py `gap_rows` isinstance guards (over-hardening).** They follow the degrade pattern `load_ledger` documents, and live once. `spec/validate.py` and the schema refuse a malformed scoped row in CI. - **`hub_tracked_paths` returning None rather than raising (over-hardening).** A fixture test runs `validate.py` in a scratch tree outside git and asserts no traceback, so the gate reports that case. ## Dropped Findings - spec/fidelity_honesty.py `fidelity_pass`: its match/stale/differs classification restates `classify_verbatim` (pre-existing, consolidation, untouched text). - spec/validate.py `tree_carrying`: its include test repeats `scripts/carry.py` `included` and `audit.tree_path_included` (consolidation, dropped by the maintainer's stop rule). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Summary
The fleet accepted the Codecov configuration as
codecov.ymlor.codecov.yml, through a baselinealternativeslist that only this entry used. The fleet now accepts.codecov.ymlalone, and every fleet repo is being renamed by its own pull request.spec/files.jsondeclares.codecov.ymlwith no alternatives. The hub's own root file andcatalog/snippets/configs/codecov.ymlare renamed to.codecov.yml.alternativesmechanism is removed:spec/files.schema.json,spec/validate.py(alternatives_errors),spec/audit.py(declared_alternatives, the multi-pathread_baseline_file, thefoundplumbing throughbaseline_file_findings,Run.foundandintent_trail), andspec/fidelity_honesty.py..codecov.ymlas the one accepted name and calls any other name drift to rename. STANDUP.md,spec/type-model.md,spec/fidelity-model.md,spec/project-types.json,spec/checks.json,docs/reusable-workflows.md, and the PlexCleaner registry note follow. The generated skill includes are rebuilt.codecov.ymlnow reportsfile: .codecov.yml absent, which is the finding each fleet rename clears.Verification
spec/validate.pyOK,scripts/build_dist.py --checkcurrent,prose_lint.py --diff origin/developclean.Findings Declined or Deferred
codecov.ymlbeside.codecov.yml(introduced, declined). The maintainer chose no stale-name guard. The fleet rename usesgit mv, so no repo ends up holding both names.spec/workflow_reuse.pyfetchduplicatesfidelity_honesty.fetch(pre-existing).workflow_reuse.pyis untouched here, and consolidating it is a separate change.spec/validate.pyruns no unknown-key check onfiles.jsonbaseline entries (pre-existing). So the schema'sadditionalProperties: falseis unenforced there, and a strayalternativeskey would be ignored silently. That is a separate change.🤖 Generated with Claude Code