Repository navigation
Comparing changes
Open a pull request
base repository: ptr727/ProjectTemplate
base: 2.0.672
head repository: ptr727/ProjectTemplate
compare: 2.0.680
- 9 commits
- 111 files changed
- 2 contributors
Commits on Sep 25, 2026
-
Add an Unattended Handoff Loop and an Attended Resume Procedure (#1806)
## Summary - **New `unattended-handoff` skill.** A lean orchestrator runs rounds. Each round dispatches a picker subagent, which picks or creates an `auto-<issue>` handoff whose work needs no maintainer decision. It then dispatches a worker subagent, which fixes the issue, merges as far as the invocation scope allows, and closes the lane out. The orchestrator holds only one-line returns, so its context stays flat over a long run. - **Scope is named at invocation.** `develop` is the default. `main` also merges each round's promotion PR, and `release` also dispatches the release. `merge-and-release` recognizes this as its one standing grant. - **Parking.** A worker that meets a maintainer decision parks the lane instead of asking. It pushes the branch, files a `decision` issue with a recommended option, comments the lane's state on the handoff, and labels the handoff `blocked`. - **"The Attended Session" in `session-handoff`.** "Resume the handoff" alone now picks the newest open link and resolves a parked lane's decision first. It drives to a mergeable promotion PR, asks every question as a dialog with the recommendation and its reason, writes the next link, and saves memories last. - **`blocked` is widened** (GOVERNANCE, `repo-config/README.md`, `labels.json`) to cover a handoff parked on a `decision` issue in the same repository. Only a session handing the link back removes it. - **`AGENTS.md` "Session Scope"** now names the closed-out track. `drive-pr` recognizes the attended procedure's main target. ## Verification - `build_dist.py --check`, `prose_lint.py --diff origin/develop`, `docker_lint.py` (7 linters), `spec/validate.py`, and the `test_build_dist` / `test_prose_lint` suites pass. - The local strict review ran over 4 recorded passes. The last pass raised 4 findings that are not yet fixed. They are answered in this PR's review loop. - The label description change is not applied to live repository labels yet. That is a separate fleet label-set apply. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e907c3b - Browse repository at this point
Copy the full SHA e907c3bView commit details -
Rename Three Skills and State Which Skill Wins Each Shared Trigger (#…
…1807) ## Summary A review of all fleet skills for naming consistency and invocation overlap. **Renames** (directory, frontmatter, and every reference, `scripts/pr_review.py` and its test included): - `code-review` -> `fleet-code-review`: it collided with Claude Code's built-in `code-review` and `engineering:code-review`, so "review this PR" could route to the wrong one. - `operational-vs-release-workflow` -> `branching-and-release-model`: "workflow" meant the branching model here, but GitHub Actions in `workflow-ci-contract` and a process in `upstream-contribution-workflow`. - `fleet-conformance-check` -> `check-this-repo`: to match `standup-a-repo`, `resync-a-repo`, and `audit-a-repo`. **Descriptions** (the only part an agent reads before loading a skill): - Added "which skill wins" sentences where triggers overlapped with no stated precedence: - `merge-and-release` / `branching-and-release-model` - `backlog-burndown` / `unattended-handoff` - `fleet-code-review` / `pr-review-conduct` / `local-strict-review` - `pr-review-conduct` / `drive-pr` - `unattended-handoff` scope / `merge-and-release` - the carried-file guards / `audit-a-repo` / `resync-a-repo` - Trimmed `session-handoff`, `workflow-ci-contract`, and `agent-conduct` under the skill listing's ~1536-character cutoff. - Narrowed `agent-conduct`'s completion trigger to a claim of done, verified, green, or fixed. **RESYNC.md**: a renamed `.github/skills` path must land together with the `.github/copilot-instructions.md` line that names it. Otherwise a downstream Copilot review loads a pruned skill and posts no coverage marker. ## Downstream impact `.github/skills` is carried verbatim with prune, and `.github/copilot-instructions.md` is carried too. Each fleet repo picks up the renames on its next resync, which the new RESYNC.md paragraph keeps in step. The old names' `reports/canonical-review.json` entries become orphans, which the engine reports by design. The renamed units re-enter the unread sweep backlog. ## Verification - `build_dist.py --check`, `prose_lint.py --diff origin/develop`, `docker_lint.py` (7 linters), `repo_gate.py --check eol`, and `spec/validate.py` pass. - The `test_build_dist`, `test_pr_review`, `test_skills_install`, and `test_canonical_review` suites pass. - The local strict review ran two recorded passes. The second pass's 2 findings are addressed in this PR's first fix commit. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e6a35f - Browse repository at this point
Copy the full SHA 6e6a35fView commit details -
Name a Pin by Its Mechanism, Never Its Value, and Audit for Copies (#…
…1809) ## Summary Agents repeatedly proposed "updating governance" after a Dependabot bump, because an instruction document had copied a pin's current value, such as "SHA-pinned at hub release 2.0.x". The value goes stale at every bump. This PR stops that at the rule and at the audit. - **GOVERNANCE.md "References"**: an instruction document names no value a pin holds, whether a release number or a commit SHA. It names the mechanism instead. The ban sits with the issue/PR/commit ban, ahead of the carve-outs, so the revision carve-out still covers a disproved-claims record. - **`comment-and-doc-style` reference**: `carried-doc-references.md` item 3 gives the reason and what to write instead. - **`spec/audit.py`**: `version_literals_outside_verbatim` flags a three-part version or a 40-hex SHA as a **drift** finding. It reads `AGENTS.md`, `GOVERNANCE.md`, `CODESTYLE.md`, and `WORKFLOW.md`. Downstream, it skips the verbatim sections; in the hub, it reads the whole file, since the verbatim sections are the hub's own copies. `.github/copilot-instructions.md` is excluded, because its disproved-claims records name revisions by design. `strip_sections` gains `keep_pins`, because its normalization rewrites a pinned `uses:` line to `<pin>` and would hide the value. The selftest has 8 cases. - **AUDIT.md** and **spec/fidelity-model.md** describe the new content scan. The hub's four instruction documents scan clean. Two downstream repos currently carry copied values in their own sections, and each gets its own cleanup PR after this merges. ## Verification - `audit.py --selftest` passes. - `build_dist.py --check`, `prose_lint.py --diff origin/develop --allow-comments`, `docker_lint.py` (7 linters), and `spec/validate.py` pass. - The new code comments match the surrounding density, so this PR carries the `comments` label. - The local strict review ran two edit rounds. The last pass raised 2 findings, which go into this PR's first fix commit. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2471843 - Browse repository at this point
Copy the full SHA 2471843View commit details -
Lead Every Choice With a Recommendation and Close Every Session in Or…
…der (#1808) ## Summary Makes two of the maintainer's standing instructions apply to every session, not only to the attended "resume the handoff" procedure: - **GOVERNANCE.md "Communicating with the User"** gains "Lead every choice with a recommendation and its reason": the recommended option comes first and is marked as such, and every option states its reason. A question with no defensible recommendation says so. An open question's own answer goes in its text, never as an invented option. It reaches every session through the `agent-conduct` and `session-handoff` includes. - **`session-handoff` gains "Closing a Session"**, the order every session writing a handoff ends in, with saving memories last. The memory step follows GOVERNANCE "Durable Knowledge": a lesson is committed or filed, and memory keeps only environment-specific nuance. Every `unattended-handoff` seat skips it. The parked-queue bullet now names the interactive-prompt bullet it defers to, not "the bullet above", because the new bullet sits between them. ## Verification - `build_dist.py --check`, `prose_lint.py --diff origin/develop`, `docker_lint.py` (7 linters), `spec/validate.py`, and `test_build_dist` pass. - The local strict review ran two recorded passes. The second pass found three ordering problems in "Closing a Session", which are answered in this PR's first fix commit. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 63792d8 - Browse repository at this point
Copy the full SHA 63792d8View commit details -
Ban Every Version Literal in the Four Instruction Documents and Catch…
… Abbreviated SHAs (#1813) ## Summary This settles one end state for the fleet, which the maintainer chose. `AGENTS.md`, `GOVERNANCE.md`, `CODESTYLE.md`, and `WORKFLOW.md` carry no three-part version and no commit SHA, full or abbreviated. That covers four kinds of literal, because no check can tell them apart: | Kind | Written instead as | | --- | --- | | a pin's value | its mechanism ("SHA-pinned to a hub release") | | an illustrative example | a placeholder (`1.0.N`) | | a minimum version | the name of the manifest or skill that holds the number | | a fixed constant | a description ("the all-zero placeholder version") | A two-part language minimum, such as a Python minor, stays. It is how such a rule is stated. - **Rule text:** GOVERNANCE.md "References", `comment-and-doc-style`, and its `carried-doc-references.md` item 3 state exactly what the audit enforces. - **Audit:** `spec/audit.py` also flags an abbreviated SHA of 7 to 12 characters mixing digits and letters, as a standalone token. Selftest cases cover both directions: an abbreviated SHA and a worked example are flagged, while a placeholder, a hex color, a hex constant, an all-letter word, and an identifier suffix are not. - **Docs:** AUDIT.md and spec/fidelity-model.md describe the widened scan. This follows up #1809, which banned only a pin's value. A fleet scan found worked examples, minimum-version floors, and constants in the same files. Downstream fixes follow, one PR per affected repository. ## Verification - `audit.py --selftest` passes, and the hub's four files scan clean. - `build_dist.py --check`, `prose_lint.py --diff origin/develop --allow-comments`, `docker_lint.py` (7 linters), and the `test_prose_lint` and `test_build_dist` suites pass. - The local strict review ran two edit rounds. The last pass raised 3 findings, which are answered in this PR's first fix commit. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fddeab3 - Browse repository at this point
Copy the full SHA fddeab3View commit details -
Refuse a Coverage Marker Indented Into a Code Block (#1820)
## Summary A `fleet-review` coverage marker on a line indented four or more columns sits in a Markdown indented code block, so it is quoted rather than stated, yet the coverage reader collected it as the round's own coverage. That is the failure direction that reports coverage nobody claimed. - `coverage_statements` now removes the marker from a code-indented line before the line is checked or kept. The marker is read within its line, so the three-space bound the sibling `CCR_OVERVIEW` and `CCR_FINDINGS` readers carry in their patterns sits on the line here instead. Removing it before the line is kept matters because every downstream reader sees the line already stripped, so a refusal inside the readers alone came back for an indented bullet. - `code_indented` measures indentation in columns and counts only spaces and tabs, so a line opening on other whitespace stays ordinary text. - The bullet and sentence readers are unchanged. ## Verification - A new regression test covers four and eight spaces, a tab, two spaces and a tab, indented prose, an indented bullet, zero to three spaces, and non-breaking spaces. Reverting the fix fails it, and so does reverting each part of the fix on its own. - `python3 -m unittest scripts.tests.test_pr_review` passes all 428 tests. ruff, mypy, and the prose and EOL gates are clean. Closes on promotion: #1725 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Coverage markers inside indented code blocks are no longer treated as review coverage statements. Markers in regular text, lightly indented lines, and bullet points continue to be recognized. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9f97ce7 - Browse repository at this point
Copy the full SHA 9f97ce7View commit details -
State That the Hub Commits Audit Reports and a Downstream Session Res…
…yncs Itself (#1823) Downstream sessions kept asking the maintainer for permission to open a hub pull request that commits their own audit report under `reports/`. `AUDIT.md` section 8 already forbids that, but the carried Fleet Bootstrap told every repository to "commit the report" without saying who, and `RESYNC.md` ended the same way. - **`AGENTS.md` "Fleet Bootstrap" and the host-wide fleet block.** The hub commits the report under its own `reports/`. A session in the repository being audited fixes its own drift, files its findings about the hub as issues, and leaves the report to a hub-side audit. - **`RESYNC.md`, the `AUDIT.md` section 9/10 diagram, and `resync-a-repo`.** Each names the hub as the report's author. `RESYNC.md` adds that a session resyncing its own repository leaves the report to a hub-side audit. - **`check-this-repo`.** It no longer says a downstream repository never resyncs itself. The maintainer settled that a downstream session may resync its own repository per `RESYNC.md`, with `resync-a-repo` from a hub checkout as the other route. The Fleet Bootstrap section is byte-locked, so every carrier reports drift on it until its next resync. Four local strict-review passes are recorded. The last one left three findings that are deferred to #1822 by the maintainer's choice. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 57e1e82 - Browse repository at this point
Copy the full SHA 57e1e82View commit details -
Strip a Tilde or Unclosed Fence Before Reading Review Coverage (#1825)
`FENCE` in `scripts/pr_review.py` stripped only a closed backtick fence, so a coverage marker quoted inside a `~~~` fence, or after a backtick fence that never closes, was read as the round's stated coverage, which fails open. `FENCE` now accepts either fence character and closes only on a run of the opener's own character at least as long as the opener. Every former `FENCE.sub` caller goes through a new `strip_fences` helper. The coverage reader runs an unclosed fence to the end of the body, where masking reads as no coverage and so blocks. Every other reader keeps reading past an unclosed fence as before, since masking the rest of the body there hid a suppressed section, which reads as clean. A closed backtick fence and a marker outside any fence read as before, including under CRLF line endings. Regression tests cover each quoting case, each case still read, and a suppressed section after a stray fence. Each fails with its part of the fix reverted. Closes on promotion: #1821 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0098467 - Browse repository at this point
Copy the full SHA 0098467View commit details -
Promote the Handoff Loop, Version-Literal Ban, and Audit Report Autho…
…rship to Main (#1827) Promotes `develop` to `main`. ## Carried - #1806: adds the unattended handoff loop and the attended resume procedure. - #1807: renames three skills and states which skill wins each shared trigger. - #1809: names a pin by its mechanism rather than its value, and audits for copies. - #1808: leads every choice with a recommendation and closes every session in order. - #1813: bans every version literal in the four instruction documents and catches abbreviated SHAs, following #1809. - #1820: refuses a coverage marker indented into a code block, per #1725. - #1823: states that the hub commits audit reports and that a downstream session resyncs itself. This covers the Fleet Bootstrap section, the host fleet block, `RESYNC.md`, `AUDIT.md`, `check-this-repo`, and `resync-a-repo`, and settles #1822. The Fleet Bootstrap section is byte-locked, so every carrier reports drift on it until its next resync. - #1825: strips a tilde or unclosed fence before reading review coverage, per #1821. Closes #1725 Closes #1821 Closes #1822 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Configuration menu - View commit details
-
Copy full SHA for 92737d1 - Browse repository at this point
Copy the full SHA 92737d1View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 2.0.672...2.0.680