Repository navigation
State the Root Gating Condition in the Python Profiles Reference - #3555
Conversation
A repository declaring no Python directory has its root gated only where it tracks a root pyproject.toml, since the resolver falls back to no directory otherwise. The sentence now states that condition, which WORKFLOW.md D1.2 also states. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
A recorded local strict-review pass covers head |
There was a problem hiding this comment.
🟢 Approval recommended
The review found no active issues, and the changes consistently document the tracked-root pyproject.toml gating condition across the canonical and regenerated skill references.
No open issues 🎉
What changed in this PR
This pull request corrects the Python profiles reference to state that the repository root is gated only when a tracked root pyproject.toml exists, aligning the documentation with resolver behavior and WORKFLOW.md D1.2.
Changes:
- Clarifies the root-gating condition in the canonical reference.
- Regenerates the GitHub Copilot and Claude skill copies.
- Updates the Python skill source digest.
| File | Description |
|---|---|
.github/skills/python-codestyle/references/profiles.md |
Regenerated GitHub Copilot skill reference with the corrected root-gating condition. |
.claude-plugin/fleet-skills/skills/python-codestyle/references/profiles.md |
Regenerated Claude skill reference with the corrected root-gating condition. |
.claude-plugin/fleet-skills/.source-digests/python-codestyle |
Updated source digest for the regenerated Python skill. |
.agents/skills/python-codestyle/references/profiles.md |
Canonical Python profile reference with the corrected root-gating condition. |
Review effort: Lite
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3555 +/- ##
========================================
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)
…3557) ## Summary The per-directory Python profile rule from #3549 and #3555 still met per-repository wording in four places. Each now states the rule: a profile belongs to a declared directory, not to the repository. - `python-codestyle` `SKILL.md` "Two profiles" names the build trait as a deliverable, not "the repo's deliverable" (#3548). It states that a profile belongs to a declared directory, and that a uv workspace is declared once, by its root. - `SKILL.md` "Toolchain" says mypy may be a build directory's only CI checker (#3548). - `SKILL.md` gates an undeclared root only where the repository tracks a root `pyproject.toml`, per `WORKFLOW.md` D1.2 (#3554). - `references/profiles.md` "Adapt before propagating" calls the default bundle a toolchain, not a profile, and sets its axes per declared directory (#3550). - `spec/type-model.md` "Profiles: build vs lint-only" says Python's profile belongs to each declared directory (#3552). - `spec/project-types.json` `python.profileNote` drops "the repo's deliverable" and "embedded in a non-Python repo". It states the per-directory rule and the workspace exception (#3552). The rewritten sentences are split to 25 words or fewer. - The python-codestyle generated copies and source digest are regenerated with `scripts/build_dist.py`. ## Deferrals, filed - #3556: the registry still declares one `profiles.python` value per repository, which `spec/validate.py` and the schema accept. This change's bounds covered only the spec's Python profile text. ## Verification - `spec/validate.py` passes. - `tests/test_spec_validate.py` and `tests/test_audit_helpers.py` pass under unittest. - `scripts/build_dist.py --check` reports the distributions current. - `scripts/prose_lint.py --diff origin/develop` reports no violation, with `--check sentence-length` too. Closes on promotion: #3548, #3550, #3552, #3554 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Summary
This is a promotion fix for thread
PRRT_kwDOQ5caqM6w9liQon #3553.The Python profiles reference said a repository declaring no Python directory has its root gated. The resolver returns no directory when no root
pyproject.tomlis tracked, so that claim held only for some repositories. The sentence now gates the root only where it tracks a rootpyproject.toml, which is the conditionWORKFLOW.mdD1.2 already states.The skill copies under
.github/skills/and.claude-plugin/fleet-skills/are regenerated withscripts/build_dist.py.Pre-existing findings, filed
.agents/skills/python-codestyle/SKILL.md:160,pre-existing: the same unconditioned root-gating claim in a file outside this change, filed as State the Root Gating Condition in the python-codestyle Skill #3554.Closes on promotion: #3492
🤖 Generated with Claude Code