Skip to content

Name the Carried Trees Exclusion Wherever the Hub-Only Set Is Defined - #3547

Merged
ptr727 merged 2 commits into
developfrom
feature/3543-hub-only-trees-exclusion
Oct 28, 2026
Merged

ptr727 merged 2 commits into
developfrom
feature/3543-hub-only-trees-exclusion

Conversation

@ptr727

@ptr727 ptr727 commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Summary

spec/audit.py hub_only_paths excludes three things from the hub's tracked paths: the spec/files.json baseline, every hub path a trees entry covers, and every hub path below a repoOwnedTrees entry. Three prose statements of that set named only the baseline and the repo-owned trees. Each now names the trees exclusion too.

  • AUDIT.md, the carried-scope bullet.
  • RESYNC.md section 4, the detector sentence and its mermaid node.
  • spec/project-types.json, the carried.hubonly.absent assertion.

Each statement also says a trees entry covers only the hub paths below its source that its include patterns match, which is what hub_paths_below(source, include) does. The wording says "a trees entry" with no qualifier, since the code excludes every declaration whatever its appliesTo.

Verification

  • python3 spec/validate.py passes.
  • tests/test_spec_validate.py and tests/test_audit_helpers.py pass, 298 tests.
  • A recorded local-strict-review pass 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:88 and RESYNC.md:92, style: prose_lint.py --check sentence-length flags three older sentences on the touched lines that this change did not write.

Closes on promotion: #3543

🤖 Generated with Claude Code

ptr727 and others added 2 commits October 27, 2026 18:05
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]>
Copilot AI lite review requested due to automatic review settings October 28, 2026 01:08
@ptr727

ptr727 commented Oct 28, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 937bb1e4b840d6d9247a1177b68836d612ea9e71, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@coderabbitai

coderabbitai Bot commented Oct 28, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

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

Run configuration
  • 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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 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 trees exclusions and their source/include matching behavior in AUDIT.md.
  • Updates the detector explanation and Mermaid diagram in RESYNC.md.
  • Updates the machine-readable carried.hubonly.absent assertion in spec/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

codecov Bot commented Oct 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.50%. Comparing base (e1c3a01) to head (937bb1e).

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           
Flag Coverage Δ
python-3.13 81.50% <ø> (ø)

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.

@ptr727
ptr727 merged commit 3719d80 into develop Oct 28, 2026
14 checks passed
@ptr727
ptr727 deleted the feature/3543-hub-only-trees-exclusion branch October 28, 2026 01:29
ptr727 added a commit that referenced this pull request Oct 28, 2026
…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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants