Repository navigation
Name the Carried Trees Exclusion Wherever the Hub-Only Set Is Defined - #3547
Conversation
The hub-only set in spec/audit.py also excludes every hub path a carried trees entry covers. AUDIT.md, RESYNC.md section 4, and the carried.hubonly.absent assertion named only the baseline and the repo-owned trees, so each now names the trees exclusion too. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The hub-only set excludes every trees declaration whatever its appliesTo, so calling the entry carried read as an applicability filter the code does not apply. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain, with the documentation and machine-readable assertion aligned to the existing hub-only exclusion behavior.
No open issues 🎉
What changed in this PR
This pull request aligns the documented hub-only path exclusions with the existing spec/audit.py implementation by explicitly including paths covered by trees entries.
Changes:
- Documents
treesexclusions and theirsource/includematching behavior inAUDIT.md. - Updates the detector explanation and Mermaid diagram in
RESYNC.md. - Updates the machine-readable
carried.hubonly.absentassertion inspec/project-types.json.
This pull request is ready to be approved.
| File | Description |
|---|---|
spec/project-types.json |
Updates the carried-scope assertion to describe the complete exclusion set. |
RESYNC.md |
Aligns the resynchronization detector explanation and diagram with the implementation. |
AUDIT.md |
Documents how paths covered by trees entries are excluded from hub-only detection. |
Review effort: Lite
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3547 +/- ##
========================================
Coverage 81.50% 81.50%
========================================
Files 26 26
Lines 9065 9065
========================================
Hits 7388 7388
Misses 1677 1677
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:
|
…irectories, and GOVERNANCE.md Sentence Length (#3553) ## Summary Promotes `develop` to `main`, carrying round 2 of the resync-issue burndown: - #3546: the paragraph under `AGENTS.md`'s tier table and the `spec/model-tiers.json` note no longer claim a no-model dispatch runs at the session's own model. The `highest` bullet is the one statement of that rule. Three skills are regenerated. - #3547: `AUDIT.md`, `RESYNC.md` section 4 and the `carried.hubonly.absent` assertion now name all three hub-only exclusions. They are the baseline, the paths a `trees` entry covers, and the repo-owned trees. - #3549: `python-codestyle` `profiles.md` and `CODESTYLE.md` state that a profile belongs to a declared directory. Each deliverable takes one build-profile directory, lint-only Python may sit beside the component it serves, and only a split by purpose alone is forbidden. - #3551: every `GOVERNANCE.md` sentence is 25 words or fewer, except two in "PR Review Etiquette" that other carried files copy. This is the first slice of the #3531 cleanup, so it does not close that issue. - #3555: promotion fix for Copilot's finding on this pull request. `profiles.md` says an undeclared root is gated only where it tracks a root `pyproject.toml`. Every carried `GOVERNANCE.md` section changes wording here, so each fleet repository's verbatim copy differs from the hub until its next resync. Fixes #3537 Fixes #3543 Fixes #3492 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Summary
spec/audit.pyhub_only_pathsexcludes three things from the hub's tracked paths: thespec/files.jsonbaseline, every hub path atreesentry covers, and every hub path below arepoOwnedTreesentry. Three prose statements of that set named only the baseline and the repo-owned trees. Each now names thetreesexclusion too.AUDIT.md, the carried-scope bullet.RESYNC.mdsection 4, the detector sentence and its mermaid node.spec/project-types.json, thecarried.hubonly.absentassertion.Each statement also says a
treesentry covers only the hub paths below itssourcethat itsincludepatterns match, which is whathub_paths_below(source, include)does. The wording says "atreesentry" with no qualifier, since the code excludes every declaration whatever itsappliesTo.Verification
python3 spec/validate.pypasses.tests/test_spec_validate.pyandtests/test_audit_helpers.pypass, 298 tests.local-strict-reviewpass ran in two rounds. Round 1 raised that "carried" read as an applicability filter the code does not apply, fixed in the second commit. Round 2 raised nothing.Dropped findings
AUDIT.md:88andRESYNC.md:92, style:prose_lint.py --check sentence-lengthflags three older sentences on the touched lines that this change did not write.Closes on promotion: #3543
🤖 Generated with Claude Code