Repository navigation
Comparing changes
Open a pull request
base repository: ptr727/ProjectTemplate
base: 2.0.526
head repository: ptr727/ProjectTemplate
compare: 2.0.536
- 13 commits
- 56 files changed
- 3 contributors
Commits on Aug 30, 2026
-
Add a Local Review Engine That Records What a Review Covered (#1109)
Workstream 1 of the plan for #1104 and #1083: the capability every capture point will call. The capture points themselves (a git pre-push hook, the Skill steps) are separate changes, so nothing is gated yet. ## Why this shape #1104 asks that a local review run before every PR-bound push, not just before the first PR. That rule is **already written** in three Skills, including the fix-push moment: `local-strict-review` "When to Run It", `drive-pr` steps 2 and 6, and `pr-review-conduct` line 81 ("and again before any fix push"). It is not a wording gap. It is a rule that is read and not followed, which is #1083 question 1. So this adds something checkable rather than more prose: a pass records a receipt keyed on the content it reviewed, and a capture point asks whether that receipt still covers what is about to be pushed. ## The key Over the net content the branch introduces against its target, never over diff text or `HEAD`. That is what lets a review run *before* the commit while the check runs *at* the push: reviewing untracked work and committing it unchanged leaves the key identical, while changing one byte moves it. **Every identity is computed by git rather than reconstructed**, which is the load-bearing detail. A blob id built by hashing raw working-tree bytes cannot equal the one git stores wherever a `text` attribute or clean filter sits between them, and this repository applies one to every text file, so `git add` moved the key on any CRLF file until this was fixed. The working tree is therefore read by staging it into a throwaway index git builds, with object writes redirected into a throwaway object directory and the real one attached as an alternate. Without that redirection a read would permanently deposit the content of every unignored untracked file into the repository. Scope boundary, stated in the module and the README: the key covers net content, so a branch that adds a file and later deletes it, or a rebase that rewrites only messages, keeps its key. A feature branch lands as a squash, so the net diff is what lands and what a reviewer reads, but this does not cover the commit series. ## Backends `agent-skill` is the `local-strict-review` subagent pass, which only a live session can run, so the engine records it. `coderabbit-cli` is headless and is the one backend a git hook can execute by itself, kept opt-in because CLI reviews draw on the same hourly budget as this account's PR reviews. A rate-limited, errored, or completion-event-less run records no pass. **A pass records that a review ran over this content, never that the content is clean** — disposition stays judgment, per `pr-review-conduct`'s five outcomes. ## Verification `ruff format`/`check`, `mypy`, 930 tests, `build_dist.py --check`, `repo_gate.py`, `spec/validate.py`, both `prose_lint.py` runs. Three adversarial review passes ran against this diff before it was pushed, and this change is its own first user: the receipt was recorded through the engine. Worth flagging for review rather than buried: - Each fix was probed by reverting it and confirming the test fails. That caught **five tests passing for incidental reasons** (a mode test that only moved the key by adding a path, a crash test that never reached the handler, and three more), all since asserted on the mechanism they name. - One review finding was **declined with evidence**: it argued two stages of a conflict can share a mode and object, which dropping the stage number would collapse. No construction produced it — where our side's content equals the base, git records no modification and applies the delete cleanly. Checked against a delete opposite an untouched file, an identical rewrite, and a mode-only change. The stage number is carried anyway as defense, and the reasoning is in the code. - Two behaviours deliberately err toward demanding another review: a new unignored untracked file moves the key (it is exactly what a review must read), and `git add -N` leaves a phantom index state. Both documented. ## Known gaps, not fixed here No test yet for `core.fileMode=false`, a non-`text` clean filter, or content changing mid-backend-run. Named so they are not mistaken for coverage. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added a local review gate that tracks branch changes and reviewer passes. - Added status, record, check, and automated review commands. - Supports multiple review backends with clear outcomes for findings, failures, and incomplete reviews. - Validates review records and detects changes made after a review. - **Documentation** - Documented local review workflows, commands, testing instructions, and related guidance. - **Tests** - Added comprehensive coverage for review states, Git workflows, review records, backends, and command-line results. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for 2d53f44 - Browse repository at this point
Copy the full SHA 2d53f44View commit details -
Compare Vetted Reviewer Markers Without Regard to Letter Case (#1135)
## What happened `scripts/pr_review.py status` and `wait` reported `shapes=UNRECOGNIZED` on PR #1125, on a round that was clean by every other measure: `review_on_head=yes`, `unresolved=0`, `merge=CLEAN`, `checks=8/8`. The shape it could not place: ``` heading: ### Reviewed Changes ``` `### Reviewed changes` is the fifth entry in `VETTED_HEADINGS`. The only difference is the `C`. ## The defect `unrecognized_in()` compares each marker against the three vetted lists. `normal()` reduces a marker to ASCII, collapses whitespace and rewrites a count as `(N)`, but does not fold letter case, so a heading drifting by one letter's case reads as a shape never seen even though that exact section is already vetted. Every reader in the file was already case-insensitive: `SUPPRESSED`, `CR_OUTSIDE_DIFF` and `REFUSAL` all carry `re.IGNORECASE`, and the coverage reader parsed the file table correctly on that round and reported `coverage=full`. Only the membership test was not. An unrecognized shape blocks a review loop by rule, because every other field is then a reading of output the script does not fully understand. That rule is right and is unchanged here. What it cost was an override asked of the maintainer that nothing warranted, which is the shape `GOVERNANCE.md` "Verification Discipline" names: a vetting list whose entries stop matching for a reason that carries no meaning. It arrived loudly rather than quietly, which is better and still wrong. ## The change `unvetted(marker, vetted)` compares case-folded, and all three membership tests route through it. `normal()` is unchanged, deliberately: the report strings carry its value, and a reported shape's remedy names the shape beside the body it quotes, so a folded name would not match the body printed next to it. Two tests, one per behavior. `test_a_vetted_marker_survives_a_change_of_letter_case` carries a case per vetted list, and `test_a_genuinely_unknown_marker_is_still_reported` is the floor under it, since folding could have turned the check off. Both sit in `TestUnrecognizedShapes`, the class whose docstring owns the inventory contract. Three surfaces stated the comparison as a closed set that no longer held, and each now names where the fold happens: `normal()`'s docstring, the comment above the three lists, and the `scripts/README.md` vetted-inventory paragraph. That paragraph also carried a heading count correct when written and stale from the eighth entry onward, which is the count a maintainer reads when deciding whether a reported marker is a drift or a missing entry. ## Verification Reverting each of the three arms to `x not in VETTED_*` independently fails the suite, and in each case the single named failure is `test_a_vetted_marker_survives_a_change_of_letter_case` rather than another test tripping. Stubbing `unvetted` to return `False` fails nine tests including the floor, so the fold cannot be turned off silently either. Five local review rounds before this was pushed, all five on the five-line docstring rather than the code: the first four wordings of it were each false in a different way, three of them by asserting something about the report that `normal()` contradicts two functions up. Full gate set green: ruff, mypy, 963 unittest cases, `build_dist.py --check`, `repo_gate.py`, `prose_lint.py`, `spec/validate.py`, all seven Docker linters. ## Not in scope `scripts/README.md` says "332 bodies" where the code says 333, consistently across both files rather than as a typo, so settling it is a re-measure rather than an edit and belongs in its own change. Closes #1132 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Review-output markers now recognize capitalization variations consistently across headings, metadata labels, and summaries. - Case-only marker changes no longer incorrectly block review processing. - Unknown or genuinely unrecognized markers continue to be reported. - **Documentation** - Updated the documented inventory of vetted review-output headings to include all supported markers. - **Tests** - Added coverage for capitalization variations and unknown markers across supported review-output formats. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for c6a11c7 - Browse repository at this point
Copy the full SHA c6a11c7View commit details
Commits on Aug 31, 2026
-
Gate Every PR-Bound Push on a Recorded Local Review (#1125)
## What this is The local-review rule was already written into three skills, including the fix-push moment, and was still not followed. That is what #1104 reports and what #1083 asks the general question about. This adds the capture points the rule never had, and keeps the prose layer primary and agent-agnostic rather than replacing it. `scripts/local_review.py` shipped in #1109 as the capability. This wires it up. ## The hook `.husky/pre-push` runs `local_review.py check` and refuses a branch push that no recorded pass covers. A tag push and a branch delete pass straight through. It refuses rather than guesses in two states the engine cannot speak for. A pushed commit that is not this worktree's HEAD, since the engine reads the checkout it runs in. And a working tree holding tracked content that differs from HEAD, which closes an escape the engine cannot see on its own: a push delivers HEAD while a receipt covers the index and the working tree, so a fix staged over an unreviewed commit would otherwise pass the gate while the push delivered the commit. The order that follows is commit, review, record, push, and the skills now prescribe it. A check that could not run blocks as loudly as one that found no pass, in different words, because a gate that waves a push through when it could not run has stopped gating. No new `gh-write-guard` requirement was needed. See the open question below. ## Engine changes Three, each with tests proven by reverting the fix and watching the case fail. - `fingerprints` reads HEAD's tree for membership. Without it, content committed and then undone in the tree left the changed set while the commit a push delivers still carried it, and where it was the only changed path the whole set emptied. HEAD decides membership and contributes nothing to the recorded state, which is what keeps the ordinary commit invisible to the key. All 82 pre-existing cases pass unchanged, which is the evidence that property survived. - `check` treats a branch with no net content against its target as covered, there being nothing for a review to read. - `check` withholds its paste-ready record command when a recorded pass names a branch the check did not measure. The line it used to print ran fine, replaced the correctly scoped receipt, and passed every later check over a diff nobody read. ## Docs `GOVERNANCE.md` "Verification Discipline" gains the bullet it never carried, the rule having lived only in `AGENTS.md` and the skills. Its hook-criteria bullet and `host-setup/agent-safety/README.md`'s layer diagram gain the committed-hook layer between prose and the host hook, earned on weaker grounds because it is opt-in, visible and bypassable. The fleet map gains G13 and a P4 item for the gate reaching the hub only. `local-strict-review` carries the fleet's single enumeration of what a refusal means and what clears each one. Every other surface states the principle and routes there. That is deliberate: through this change's own review the count of refusal shapes went from two to four, and every round left at least one restatement behind. ## Scope limit The hook is hub-only. `local_review.py` is hub-hosted, so carrying the gate fleet-wide means a `catalog/snippets/` pre-push companion to the existing pre-commit snippets. Until that lands, this enforcement binds hub work only, and every other repo has the prose layer, which is the agent-agnostic primary layer by design. Tracked as G13. ## Open question for the maintainer The settled decision that no new `gh-write-guard` requirement was needed rested on `--no-verify` being the only bypass of a committed git hook. It is not. Whether requirement 4 should also cover that is a change to a host hook and a maintainer call, so the specific mechanism is recorded outside this repo rather than published here. ## Verification Nine local review rounds, 36 findings, all real and all fixed, before this was pushed. The tenth was clean and is the recorded pass. Three of the findings were bypasses that made the gate useless, and one was the engine defect above, which #1109 shipped and only a push-time capture point exposed. Full gate set green: ruff, mypy, 967 unittest cases, `build_dist.py --check`, `repo_gate.py`, `prose_lint.py`, `spec/validate.py`, both selftests, all seven Docker linters. The hook itself was driven against scratch repositories for every refusal and pass path, and verified wired in this repo: the real push refs exit 0 with the receipt present and 1 with it moved aside. Addresses #1104 and #1083. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added automated pre-push review checks for branch updates. * Review records validate target branches and pushed content. * Empty changes, tags, and branch deletions are handled appropriately. * **Bug Fixes** * Improved detection of committed changes reverted or removed locally. * Added clearer handling for review failures, mismatched targets, and unavailable tools. * **Documentation** * Updated contribution, governance, and workflow guidance. * Added coverage for review-validation scenarios, receipt handling, and push refusal resolution. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for 6811701 - Browse repository at this point
Copy the full SHA 6811701View commit details -
Review Hub Canonical Content Here, Before a Carrier Is the One to Rea…
…d It (#1148) Closes #1138. That issue is a grouping one and proposes no fix, naming only what a fix would have to address: the ordering, "whether hub canonical content can be put in front of a reviewer here, in full, before a downstream repository is the one to find it." This is that mechanism. ## The mechanism `scripts/canonical_review.py` reproduces the carrier's read in the repository that can act on it, and keeps a record of which content has had one. **A unit is what a reviewer reads whole.** One level-two section of a Markdown canonical, one file otherwise. That is the fidelity unit `spec/section-model.md` already declares and the unit key `spec/divergences.json` already uses (`<path> > <section>`). Splitting by section is what keeps the read proportionate: a reviewer asked for all 84 KB of `GOVERNANCE.md` on every edit reads none of it. A file the manifest carries by named sections contributes exactly those, so the two sections `GOVERNANCE.md` keeps for itself are not units, and an `interface` entry contributes none at all since its body is the carrying repository's own. The skills tree is keyed at `.agents/skills/`, where a fix lands, rather than at the generated `.github/skills/` the manifest names. **Coverage is over content, never over a commit.** A unit is covered while a recorded pass names its current digest, so editing it retires the pass and editing its neighbor does not. **The gate is on what a branch changes; the backlog is reported.** `check` refuses only the units this branch's own diff moved, measured from the merge-base. The 283 units nothing has read here yet are a burn-down in `reports/canonical-review.md`, the way `reports/divergences.md` carries fidelity, rather than a block on unrelated work. ## Where it binds - `.husky/pre-push` runs it beside `local_review.py`. Both gates run before either verdict is read, so one blocked push names every reason it was refused. - The hub's own `.github/actions/validate` hook runs the same check on every pull request. That is where it actually binds, since a hook a push can bypass raises the cost of skipping the rule without settling it. - `GOVERNANCE.md` "Verification Discipline" carries the rule, `AGENTS.md` routes to it, and the `local-strict-review` Skill gains "The Carried-Content Pass" with the brief, the commands, and a refusal-table row. ## Dogfooding The six units this change itself moves carry recorded passes. That pass raised eleven findings, every one fixed here, including a frontmatter lede that undercounted the skill's passes, a refusal table that claimed to be the fleet's one enumeration while missing the new shape, and a brief pointing at a unit "named below" that nothing below named. ## Verification - `python3 -m unittest discover -s scripts/tests`: 1012 tests pass, 45 of them new. - Each new guard was watched failing: seven mutations (fence awareness, fidelity selection, the declared-section restriction, the `cat-file` payload offset, the record digest binding, the headless-reviewer refusal, the path containment check) each fail the case that names them, and the suite is green with them reverted. - `ruff check`, `ruff format --check`, `mypy`, `prose_lint.py` (CI's nine checks), `repo_gate.py`, `spec/validate.py`, `build_dist.py --check`, and the four self-test suites all pass. - `docker_lint.py`: editorconfig-checker, actionlint, markdownlint, cspell, shellcheck, and shfmt all clean. PSScriptAnalyzer could not install its module in the container ("No repository with the name 'PSGallery' was found"), which is an execution boundary rather than a result; no `.ps1` file is touched by this change. One disclosure: this session was instructed not to spawn subagents, so both the diff pass and the six carried-content passes ran inline in the main session rather than in the delegated subagent the skill prescribes. They are recorded as `agent-skill`, which is that backend's kind. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added comprehensive tracking for complete reviews of canonical documentation. - Added digest-based coverage records, review receipts, and generated status reports. - Added local and pull-request validation for changed canonical content. - **Documentation** - Updated contributor and operations guidance with review workflows, coverage rules, and failure handling. - **Bug Fixes** - Pre-push validation now blocks pushes when required reviews are missing, outdated, or unavailable. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for c3b2898 - Browse repository at this point
Copy the full SHA c3b2898View commit details
Commits on Sep 1, 2026
-
Bump softprops/action-gh-release in the actions-deps group
Bumps the actions-deps group with 1 update: [softprops/action-gh-release](https://github.com/softprops/action-gh-release). Updates `softprops/action-gh-release` from 3.0.2 to 3.0.3 - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](softprops/action-gh-release@3d0d988...efb3536) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: 3.0.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-deps ... Signed-off-by: dependabot[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5838a36 - Browse repository at this point
Copy the full SHA 5838a36View commit details -
Bump softprops/action-gh-release from 3.0.2 to 3.0.3 in the actions-d…
…eps group (#1159) Bumps the actions-deps group with 1 update: [softprops/action-gh-release](https://github.com/softprops/action-gh-release). Updates `softprops/action-gh-release` from 3.0.2 to 3.0.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/softprops/action-gh-release/releases">softprops/action-gh-release's releases</a>.</em></p> <blockquote> <h2>v3.0.3</h2> <p><code>3.0.3</code> is a maintenance release with updated dependencies. It also safely classifies malformed GitHub API errors to avoid secondary failures (<a href="https://redirect.github.com/softprops/action-gh-release/issues/822">#822</a>).</p> <h2>What's Changed</h2> <h3>Bug fixes 🐛</h3> <ul> <li>fix: safely classify GitHub API errors by <a href="https://github.com/chenrui333"><code>@chenrui333</code></a> in <a href="https://redirect.github.com/softprops/action-gh-release/pull/822">softprops/action-gh-release#822</a></li> </ul> <h3>Other Changes 🔄</h3> <ul> <li>dependency updates</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md">softprops/action-gh-release's changelog</a>.</em></p> <blockquote> <h2>3.0.3</h2> <p><code>3.0.3</code> is a maintenance release with updated dependencies. It also safely classifies malformed GitHub API errors to avoid secondary failures (<a href="https://redirect.github.com/softprops/action-gh-release/issues/822">#822</a>).</p> <h2>What's Changed</h2> <h3>Bug fixes 🐛</h3> <ul> <li>fix: safely classify GitHub API errors by <a href="https://github.com/chenrui333"><code>@chenrui333</code></a> in <a href="https://redirect.github.com/softprops/action-gh-release/pull/822">softprops/action-gh-release#822</a></li> </ul> <h3>Other Changes 🔄</h3> <ul> <li>dependency updates</li> </ul> <h2>3.0.2</h2> <p><code>3.0.2</code> is a patch release focused on release reliability and compatibility. It reuses existing draft releases when publishing prereleases, supports replacing release assets on Gitea, hardens streamed asset uploads, and provides clearer release-creation diagnostics. It also includes TypeScript, coverage, and tooling maintenance merged since <code>3.0.1</code>.</p> <p>This release fixes <a href="https://redirect.github.com/softprops/action-gh-release/issues/795">#795</a>, <a href="https://redirect.github.com/softprops/action-gh-release/issues/438">#438</a>, and <a href="https://redirect.github.com/softprops/action-gh-release/issues/803">#803</a>. The upload transport hardening covers the historical failure reported in <a href="https://redirect.github.com/softprops/action-gh-release/issues/790">#790</a>, although current hosted Node 24 runners did not reproduce it naturally. The diagnostics work is related to <a href="https://redirect.github.com/softprops/action-gh-release/issues/786">#786</a> and does not claim a reproducible release-creation fix.</p> <h2>What's Changed</h2> <h3>Exciting New Features 🎉</h3> <ul> <li>feat: improve release error reporting and test coverage by <a href="https://github.com/chenrui333"><code>@chenrui333</code></a> in <a href="https://redirect.github.com/softprops/action-gh-release/pull/813">softprops/action-gh-release#813</a></li> </ul> <h3>Bug fixes 🐛</h3> <ul> <li>fix: publish existing draft releases as prereleases by <a href="https://github.com/godfengliang"><code>@godfengliang</code></a> in <a href="https://redirect.github.com/softprops/action-gh-release/pull/801">softprops/action-gh-release#801</a></li> <li>fix: upload small checksum assets reliably by <a href="https://github.com/chenrui333"><code>@chenrui333</code></a> in <a href="https://redirect.github.com/softprops/action-gh-release/pull/815">softprops/action-gh-release#815</a></li> <li>fix: replace existing release assets on Gitea by <a href="https://github.com/chenrui333"><code>@chenrui333</code></a> in <a href="https://redirect.github.com/softprops/action-gh-release/pull/816">softprops/action-gh-release#816</a></li> <li>fix: clarify release creation 404 errors by <a href="https://github.com/chenrui333"><code>@chenrui333</code></a> in <a href="https://redirect.github.com/softprops/action-gh-release/pull/817">softprops/action-gh-release#817</a></li> </ul> <h3>Other Changes 🔄</h3> <ul> <li>chore(deps): upgrade TypeScript to 7 by <a href="https://github.com/chenrui333"><code>@chenrui333</code></a> in <a href="https://redirect.github.com/softprops/action-gh-release/pull/812">softprops/action-gh-release#812</a></li> <li>chore(deps): remove unused TypeScript tooling by <a href="https://github.com/chenrui333"><code>@chenrui333</code></a> in <a href="https://redirect.github.com/softprops/action-gh-release/pull/814">softprops/action-gh-release#814</a></li> <li>dependency, Node 24 pin, and CI maintenance merged since <code>3.0.1</code></li> </ul> <h2>3.0.1</h2> <ul> <li>maintenance release with updated dependencies</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/softprops/action-gh-release/commit/efb35369e0ad2afab669f228072c1b0d510eae64"><code>efb3536</code></a> release 3.0.3 (<a href="https://redirect.github.com/softprops/action-gh-release/issues/840">#840</a>)</li> <li><a href="https://github.com/softprops/action-gh-release/commit/6441963a7597ab67f36fea0287a7ae58a9bfd8fe"><code>6441963</code></a> chore(deps): bump the npm group with 2 updates (<a href="https://redirect.github.com/softprops/action-gh-release/issues/839">#839</a>)</li> <li><a href="https://github.com/softprops/action-gh-release/commit/e5ee6bc58a36b838b92fc1217f2e4b414b5abcc8"><code>e5ee6bc</code></a> chore(deps): bump esbuild from 0.28.1 to 0.28.2 in the npm group (<a href="https://redirect.github.com/softprops/action-gh-release/issues/837">#837</a>)</li> <li><a href="https://github.com/softprops/action-gh-release/commit/d1e66170d32c9ec7bbcb7fae044d3d686ce304d3"><code>d1e6617</code></a> chore(deps): bump undici from 6.27.0 to 6.28.0 (<a href="https://redirect.github.com/softprops/action-gh-release/issues/831">#831</a>)</li> <li><a href="https://github.com/softprops/action-gh-release/commit/64037519ba20f54c01bc1dc90342c929aac5a2fa"><code>6403751</code></a> chore(deps): bump the npm group with 2 updates (<a href="https://redirect.github.com/softprops/action-gh-release/issues/835">#835</a>)</li> <li><a href="https://github.com/softprops/action-gh-release/commit/7c7184b6876126a5df15adc5b679dc450a393725"><code>7c7184b</code></a> chore(deps): bump postcss from 8.5.19 to 8.5.25 (<a href="https://redirect.github.com/softprops/action-gh-release/issues/833">#833</a>)</li> <li><a href="https://github.com/softprops/action-gh-release/commit/0f3f0d2943676d58f9698b3ab590c2056023d77d"><code>0f3f0d2</code></a> chore(deps): bump brace-expansion from 5.0.8 to 5.0.9 (<a href="https://redirect.github.com/softprops/action-gh-release/issues/832">#832</a>)</li> <li><a href="https://github.com/softprops/action-gh-release/commit/77fb938f2f95e717ce6705d2909af527263360a0"><code>77fb938</code></a> chore(deps): bump prettier from 3.9.5 to 3.9.6 in the npm group (<a href="https://redirect.github.com/softprops/action-gh-release/issues/830">#830</a>)</li> <li><a href="https://github.com/softprops/action-gh-release/commit/5a6f51711ce2ba103b78f5e9550f810679f11e0e"><code>5a6f517</code></a> chore(deps): bump brace-expansion from 5.0.7 to 5.0.8 (<a href="https://redirect.github.com/softprops/action-gh-release/issues/828">#828</a>)</li> <li><a href="https://github.com/softprops/action-gh-release/commit/a3c91c98f80000f5b06c7fc0327c54f51c6ab7d8"><code>a3c91c9</code></a> chore(deps): bump the github-actions group with 2 updates (<a href="https://redirect.github.com/softprops/action-gh-release/issues/825">#825</a>)</li> <li>Additional commits viewable in <a href="https://github.com/softprops/action-gh-release/compare/3d0d9888cb7fd7b750713d6e236d1fcb99157228...efb35369e0ad2afab669f228072c1b0d510eae64">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f44d29d - Browse repository at this point
Copy the full SHA f44d29dView commit details -
Bump softprops/action-gh-release from 3.0.2 to 3.0.3 in the actions-d…
…eps group (#1160) Bumps the actions-deps group with 1 update: [softprops/action-gh-release](https://github.com/softprops/action-gh-release). Updates `softprops/action-gh-release` from 3.0.2 to 3.0.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/softprops/action-gh-release/releases">softprops/action-gh-release's releases</a>.</em></p> <blockquote> <h2>v3.0.3</h2> <p><code>3.0.3</code> is a maintenance release with updated dependencies. It also safely classifies malformed GitHub API errors to avoid secondary failures (<a href="https://redirect.github.com/softprops/action-gh-release/issues/822">#822</a>).</p> <h2>What's Changed</h2> <h3>Bug fixes 🐛</h3> <ul> <li>fix: safely classify GitHub API errors by <a href="https://github.com/chenrui333"><code>@chenrui333</code></a> in <a href="https://redirect.github.com/softprops/action-gh-release/pull/822">softprops/action-gh-release#822</a></li> </ul> <h3>Other Changes 🔄</h3> <ul> <li>dependency updates</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md">softprops/action-gh-release's changelog</a>.</em></p> <blockquote> <h2>3.0.3</h2> <p><code>3.0.3</code> is a maintenance release with updated dependencies. It also safely classifies malformed GitHub API errors to avoid secondary failures (<a href="https://redirect.github.com/softprops/action-gh-release/issues/822">#822</a>).</p> <h2>What's Changed</h2> <h3>Bug fixes 🐛</h3> <ul> <li>fix: safely classify GitHub API errors by <a href="https://github.com/chenrui333"><code>@chenrui333</code></a> in <a href="https://redirect.github.com/softprops/action-gh-release/pull/822">softprops/action-gh-release#822</a></li> </ul> <h3>Other Changes 🔄</h3> <ul> <li>dependency updates</li> </ul> <h2>3.0.2</h2> <p><code>3.0.2</code> is a patch release focused on release reliability and compatibility. It reuses existing draft releases when publishing prereleases, supports replacing release assets on Gitea, hardens streamed asset uploads, and provides clearer release-creation diagnostics. It also includes TypeScript, coverage, and tooling maintenance merged since <code>3.0.1</code>.</p> <p>This release fixes <a href="https://redirect.github.com/softprops/action-gh-release/issues/795">#795</a>, <a href="https://redirect.github.com/softprops/action-gh-release/issues/438">#438</a>, and <a href="https://redirect.github.com/softprops/action-gh-release/issues/803">#803</a>. The upload transport hardening covers the historical failure reported in <a href="https://redirect.github.com/softprops/action-gh-release/issues/790">#790</a>, although current hosted Node 24 runners did not reproduce it naturally. The diagnostics work is related to <a href="https://redirect.github.com/softprops/action-gh-release/issues/786">#786</a> and does not claim a reproducible release-creation fix.</p> <h2>What's Changed</h2> <h3>Exciting New Features 🎉</h3> <ul> <li>feat: improve release error reporting and test coverage by <a href="https://github.com/chenrui333"><code>@chenrui333</code></a> in <a href="https://redirect.github.com/softprops/action-gh-release/pull/813">softprops/action-gh-release#813</a></li> </ul> <h3>Bug fixes 🐛</h3> <ul> <li>fix: publish existing draft releases as prereleases by <a href="https://github.com/godfengliang"><code>@godfengliang</code></a> in <a href="https://redirect.github.com/softprops/action-gh-release/pull/801">softprops/action-gh-release#801</a></li> <li>fix: upload small checksum assets reliably by <a href="https://github.com/chenrui333"><code>@chenrui333</code></a> in <a href="https://redirect.github.com/softprops/action-gh-release/pull/815">softprops/action-gh-release#815</a></li> <li>fix: replace existing release assets on Gitea by <a href="https://github.com/chenrui333"><code>@chenrui333</code></a> in <a href="https://redirect.github.com/softprops/action-gh-release/pull/816">softprops/action-gh-release#816</a></li> <li>fix: clarify release creation 404 errors by <a href="https://github.com/chenrui333"><code>@chenrui333</code></a> in <a href="https://redirect.github.com/softprops/action-gh-release/pull/817">softprops/action-gh-release#817</a></li> </ul> <h3>Other Changes 🔄</h3> <ul> <li>chore(deps): upgrade TypeScript to 7 by <a href="https://github.com/chenrui333"><code>@chenrui333</code></a> in <a href="https://redirect.github.com/softprops/action-gh-release/pull/812">softprops/action-gh-release#812</a></li> <li>chore(deps): remove unused TypeScript tooling by <a href="https://github.com/chenrui333"><code>@chenrui333</code></a> in <a href="https://redirect.github.com/softprops/action-gh-release/pull/814">softprops/action-gh-release#814</a></li> <li>dependency, Node 24 pin, and CI maintenance merged since <code>3.0.1</code></li> </ul> <h2>3.0.1</h2> <ul> <li>maintenance release with updated dependencies</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/softprops/action-gh-release/commit/efb35369e0ad2afab669f228072c1b0d510eae64"><code>efb3536</code></a> release 3.0.3 (<a href="https://redirect.github.com/softprops/action-gh-release/issues/840">#840</a>)</li> <li><a href="https://github.com/softprops/action-gh-release/commit/6441963a7597ab67f36fea0287a7ae58a9bfd8fe"><code>6441963</code></a> chore(deps): bump the npm group with 2 updates (<a href="https://redirect.github.com/softprops/action-gh-release/issues/839">#839</a>)</li> <li><a href="https://github.com/softprops/action-gh-release/commit/e5ee6bc58a36b838b92fc1217f2e4b414b5abcc8"><code>e5ee6bc</code></a> chore(deps): bump esbuild from 0.28.1 to 0.28.2 in the npm group (<a href="https://redirect.github.com/softprops/action-gh-release/issues/837">#837</a>)</li> <li><a href="https://github.com/softprops/action-gh-release/commit/d1e66170d32c9ec7bbcb7fae044d3d686ce304d3"><code>d1e6617</code></a> chore(deps): bump undici from 6.27.0 to 6.28.0 (<a href="https://redirect.github.com/softprops/action-gh-release/issues/831">#831</a>)</li> <li><a href="https://github.com/softprops/action-gh-release/commit/64037519ba20f54c01bc1dc90342c929aac5a2fa"><code>6403751</code></a> chore(deps): bump the npm group with 2 updates (<a href="https://redirect.github.com/softprops/action-gh-release/issues/835">#835</a>)</li> <li><a href="https://github.com/softprops/action-gh-release/commit/7c7184b6876126a5df15adc5b679dc450a393725"><code>7c7184b</code></a> chore(deps): bump postcss from 8.5.19 to 8.5.25 (<a href="https://redirect.github.com/softprops/action-gh-release/issues/833">#833</a>)</li> <li><a href="https://github.com/softprops/action-gh-release/commit/0f3f0d2943676d58f9698b3ab590c2056023d77d"><code>0f3f0d2</code></a> chore(deps): bump brace-expansion from 5.0.8 to 5.0.9 (<a href="https://redirect.github.com/softprops/action-gh-release/issues/832">#832</a>)</li> <li><a href="https://github.com/softprops/action-gh-release/commit/77fb938f2f95e717ce6705d2909af527263360a0"><code>77fb938</code></a> chore(deps): bump prettier from 3.9.5 to 3.9.6 in the npm group (<a href="https://redirect.github.com/softprops/action-gh-release/issues/830">#830</a>)</li> <li><a href="https://github.com/softprops/action-gh-release/commit/5a6f51711ce2ba103b78f5e9550f810679f11e0e"><code>5a6f517</code></a> chore(deps): bump brace-expansion from 5.0.7 to 5.0.8 (<a href="https://redirect.github.com/softprops/action-gh-release/issues/828">#828</a>)</li> <li><a href="https://github.com/softprops/action-gh-release/commit/a3c91c98f80000f5b06c7fc0327c54f51c6ab7d8"><code>a3c91c9</code></a> chore(deps): bump the github-actions group with 2 updates (<a href="https://redirect.github.com/softprops/action-gh-release/issues/825">#825</a>)</li> <li>Additional commits viewable in <a href="https://github.com/softprops/action-gh-release/compare/3d0d9888cb7fd7b750713d6e236d1fcb99157228...efb35369e0ad2afab669f228072c1b0d510eae64">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details>
Configuration menu - View commit details
-
Copy full SHA for d86b030 - Browse repository at this point
Copy the full SHA d86b030View commit details -
Publish a Package From the Repository That Owns It, Not From the Hub …
…Task (#1162) ## What broke Adopting the hub-hosted release chain breaks NuGet.org OIDC trusted publishing. The OIDC token's `job_workflow_ref` claim names the workflow the job actually ran from, so a push made inside `build-release-task.yml` carries the hub's ref and NuGet.org rejects the token exchange: ```text Claim 'job_workflow_ref' has value '<owner>/ProjectTemplate/.github/workflows/build-release-task.yml@<sha>' which does not start with <owner>/<repo>/.github/workflows/. ``` No caller setting fixes it, and a caller hook does not either, since a composite action runs inside the hub's own job. A smoke build never reaches the push (`nuget: false` and `smoke: true` both gate it off), which is why every pull request stayed green and the first real release is where it surfaced. ## The fix The shape `build-pypi` already used. The hub's NuGet leg builds the package and uploads `nuget-build-<branch>` beside the release asset, and the push moves to a `publish-nuget` job in the calling repository's own publisher, where the claim names that repository. Repointing the trusted-publishing policy at the hub workflow was the alternative and is **not** taken: it would let any repository calling that task publish the package. There is a second, independent reason the push belongs there. A called job declaring no `permissions:` runs under the calling job's whole grant, so a push anywhere inside the release task would put `id-token: write` on every job in it rather than at the one entry point D7.2 requires. ## Breaking interface change, gated behind the new pin | Before | After | | --- | --- | | `nuget: true` input on the task | removed; `enable_nuget` now means build-only | | `NUGET_USERNAME` mapped into the task | removed; read by the caller's own `publish-nuget` job | | `id-token: write` on the caller's `publish` job | removed; sits on `publish-nuget` only | | `nuget-push-default` action | `nuget-build-default`, since it no longer pushes | Each NuGet adopter owes a stub edit with its next pin bump. The worked stub is in `docs/reusable-workflows.md` "Adopting the Release Chain", and the ptr727/Utilities session has been given the shape directly. ## Why the diff is wider than the fix The canonical-content review read each changed `WORKFLOW.md`, `AUDIT.md`, `GOVERNANCE.md` and skill unit whole, as a carrier receives it. Two things came out of that. The fleet's own skills still taught the shape that caused the outage. `operational-vs-release-workflow` said outright that NuGet pushes from inside the build-nuget hook, and `workflow-ci-contract` still carried the removed `nuget` input and the old D7.2. Those are the files an agent reads before touching a release workflow. Nothing automated catches it: `canonical_review.py check` is scoped to changed units and those were not changed, so it and `build_dist.py --check` both passed clean. Defects unrelated to this fix, corrected here rather than deferred: a retired badge job, a build-leaf layer naming a file that does not exist, D7.2 requiring a permissions block the hub's own task deliberately omits, a 5C assertion that passes by construction on smoke, a `console` dimension resolving to no type in the catalog, an `environment:` key on a job that also carries `uses:` which GitHub rejects outright, one archive named both zip and 7z, a hardcoded default-branch literal, a target-surface enumeration missing the Docker leaf's `needs:` entry in three places, and mermaid labels whose `<branch>` placeholder is stripped as an HTML tag at render. ## Verification `test_release_guards.py` gains two guards: one fails if a package push returns to a hub-owned file, one pins the producer's and the documented consumer's artifact names to the same string. Both were proved by reverting the fix and watching them fail. All gates green: `prose_lint`, `repo_gate`, `build_dist --check`, the seven containerised linters, and the full `scripts/tests` suite. Note that `actionlint` does not lint composite actions here, so `nuget-build-default/action.yml` was hand-verified, including `upload-artifact`'s multi-pattern `if-no-files-found` semantics. ## Two open questions for the maintainer - `verbatim-tree` is listed as a dimension in `AUDIT.md` section 4 but resolves to nothing in the check catalog. It is a *fidelity* value from `spec/files.json`. Rename, relocate, or give it real check ids? - `AUDIT.md` section 0 requires a tracking issue but never says which repository it is filed against. Section 10's "sections 0-9 never touch the target" is true only if it is the hub. Fixes #1126 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added repository-owned NuGet and PyPI publishing workflows using secure OIDC authentication. - Added package artifact transfer and cleanup between build and publishing stages. - Docker releases now support multi-architecture images on the default branch and amd64 images elsewhere. - **Bug Fixes** - Prevented package publication when release builds fail. - Added duplicate-upload handling for PyPI and improved missing-artifact detection. - Standardized release asset naming and package artifact handling. - **Documentation** - Updated workflow guidance, governance, audit criteria, and reusable workflow examples. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for 0e6aacf - Browse repository at this point
Copy the full SHA 0e6aacfView commit details -
Supply a Real python3 on Windows and Remove the Alias Stubs (#1166)
Closes #1161. ## What was wrong `python3` did not reach the managed interpreter on a Windows host. It landed in one of three states and two of them were wrong: - a Windows **app execution alias stub**, which can only offer to open the Microsoft Store, or - a **foreign interpreter earlier on `PATH`**, which runs cleanly as the wrong Python and announces nothing. The second is the state that actually bit. On the maintainer's host `python3` was `C:\msys64\ucrt64\bin\python3.exe` at 3.14.5, which also made `scripts/host_gate.py` grade MSYS2 rather than the managed 3.13. ## What changed `install-tools.ps1` repairs both when it manages the `python` tool. It removes the two alias stubs and copies a real `python3.exe` beside the interpreter winget installed. The line is resolved from whatever version winget reports for the managed package id, through that line's PEP 514 registry key, so nothing in the repair names a version and it follows the pin when the pin moves. The removal is deliberately narrow, because it is the one action here that deletes something winget did not install. A file goes only when it is zero-byte, carries reparse tag `0x8000001b`, **and** its reparse buffer names the App Installer package. A Microsoft Store Python installs aliases under the same two names carrying the same tag, and those reach an interpreter somebody chose, so the target package is what tells a placeholder from a working setup. The gate keeps `py -3` as its first probe, now the only place that name survives. `python3` is the fleet's name everywhere a person or an agent reads one, but the gate measures the host, and `py` is the only name immune to both an activated virtual environment and a foreign `python3`. ## Two premises corrected by measurement Both were written from the issue's framing and both turned out false, so the prose states what was measured instead. - **The stub does not fail silently.** It writes to stderr and exits 9009 (49 as Git Bash reports it), so a `&&` chain does stop and it never produced a false pass. The harm is that it occupies the name. - **Removing the stub is not the Settings toggle.** The toggle keeps reading `On` afterwards, so the alias can return when App Installer is next serviced. The installer re-removes on every apply, and turning the toggle off is the durable fix. `TODO.md` carries this as a measurement pending a logout and a reboot. ## Verification All on Windows 11 Pro 10.0.26200, native. - Aliases toggled on from Settings, then: report names both, `-DryRun` previews and deletes nothing, apply removes both, re-run reports nothing to do. - A real 105 KB executable planted as `python3.exe` in the alias directory survived an apply untouched. `winget.exe` and the other 57 aliases untouched. - The package gate accepts an App Installer alias and refuses a Notepad one. - `python3` from Git Bash reaches 3.13.15. `host_gate.py` exits 0 and reports 3.13.15 both normally and from an activated virtual environment. - prose, repo (eol / eol-coverage / sha-pin), markdownlint and PSScriptAnalyzer all clean. Test suite failures are byte-identical to the untouched base commit, confirmed by diffing failure lists from a throwaway baseline worktree; the 6 `test_bootstrap.py` errors are pre-existing on Windows. A local review pass raised 8 findings, all fixed in this branch. Three were material: notes raised during an apply were collected into a list only `Show-Report` rendered, so every one was discarded (this also silently swallowed docker's existing notes); the removal was gated on the reparse tag alone, which would have deleted a working Store Python's aliases; and the repair ran even on a failed `-Reinstall`, which would have left a host with no `python`, no `python3`, and no Store fallback. The PEP 514 `-32` / `-arm64` tag branch is reasoned rather than measured, since this host carries no architecture-qualified install.
Configuration menu - View commit details
-
Copy full SHA for 6c3af5f - Browse repository at this point
Copy the full SHA 6c3af5fView commit details -
Read the Review-Loop Skills Whole, and Fix What Would Fail If Followed (
#1165) Unblocks the `develop -> main` promotion #1163, whose canonical gate refused because eight carried units from #1109 and #1125 had never been read whole. ## What the gate caught This is the defect #1138 describes, working as designed. Those units were written, reviewed and merged against diffs of a few lines each. Read whole, as a carrier receives them, the skills that teach the review loop misroute the commands they name. ## Fixed here The set that would fail, mis-target a write, or state something measurably false if an agent followed it. | Unit | Defect | | --- | --- | | `pr-review-conduct` | Every `pr_review.py` invocation shown without `--repo`, which the script gives no default on purpose: "the wrong repository is the failure this argument has actually had" | | `pr-review-conduct` | `reply` described as resolving a thread. It resolves only with `--resolve`, so an agent following it leaves every thread open and reads the Merge Gate as unmet | | `pr-review-conduct` | `Mechanics Live Elsewhere` omitted the `claims` subcommand and showed none of the required arguments, under a closing "Do not reconstruct the API operations by hand" | | `pr-review-conduct` | Effort reported as `Lite`/`Balanced`/`Max`; the digest prints it lowercased beside a separate `effort_source`, which also has an `unknown` value | | `drive-pr` | `gh pr view --json headRefOid` with no `--repo`, two lines above a merge that has one | | `drive-pr` | The `ls-remote` verify step compared against output it does not produce; it prints `<oid>\t<ref>` | | `drive-pr` | `--exit-code`'s exit 2, the one state the flag exists to detect, had no instruction attached | | `drive-pr` | The verify-then-delete step attributed to `repo-worktree`, which does not contain it | | `local-strict-review` | The five outcomes listed in an order contradicting the numbers cited beside them, landing "file a deferred issue" on "ask the maintainer" | | `local-strict-review` | "a receipt recorded over uncommitted work ... a capture point refuses on exactly that" — measured false; a commit alone does not move the key | | `local-strict-review` | "It holds no review logic", while `run --backend` performs a review and records its own count | | four units | A hub-only `.husky/pre-push` called the reader's own repository's | | `GOVERNANCE.md` | A bare `#1073` in verbatim-carried prose, resolving to each carrier's own issue of that number | ## Deferred to #1164 The rule disagreements and the gaps needing a decision rather than a wording fix: when the class sweep is owed, what a terminal review decline does to the Merge Gate, which repository a deferral is filed in, who may resolve an evidence-backed decline, a claim-time checklist carrying half its source section, and a loop prescribing three outward-facing writes with no permission gate in the section that prescribes them. ## Also here Two comment blocks in the package actions are cut back to the push rule, since the `path:` glob already shows the `.snupkg` and the `if:` already shows the smoke gate. That answers a Qodo finding on #1163. ## Method Three review rounds, each reading the units whole rather than as a diff. The first two fix rounds each introduced new defects, which is why there were three: one made a carried unit worse by pointing carriers at `.agents/skills/` and `TODO.md`, neither of which the manifest carries. The eight units are recorded in `reports/canonical-review.json` with their finding counts. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated workflow guidance for local reviews, pull request reviews, worktree isolation, merge cleanup, and finding disposition. * Clarified repository context, review evidence, effort reporting, timeout handling, and pre-push requirements. * Updated governance guidance and canonical review coverage records. * **Chores** * Refreshed review metadata and source digest information. * Removed outdated workflow comments without changing behavior. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for d8d6a67 - Browse repository at this point
Copy the full SHA d8d6a67View commit details -
Probe for the Interpreter in the Order the Spec Declares, and Enforce…
… Its Floor (#1167) Unblocks the `develop -> main` promotion #1163, whose last two open threads are against `.husky/pre-push` from #1166. ## What was wrong Both hooks said the interpreter is chosen "by running the probes `spec/host-tools.json` declares, in its order", then probed `python3` before `py -3`. The spec declares the opposite: ```json "probes": [["py", "-3", "--version"], ["python3", "--version"]] ``` #1166 changed that order deliberately and wrote the reason into the spec's own `why`: a bare `python3` is reached through PATH, so on Windows an activated virtual environment or an interpreter from MSYS2, Cygwin or Scoop answers ahead of the managed one and would be graded in its place, while the `py` launcher reaches a registered interpreter whatever is active and exists on Windows alone. It changed the spec and left both hooks behind, and the hooks' own comments then asserted an order they did not follow. Two reviewers found this independently on #1163, one of them twice. The pre-commit comment also still said native Windows "registers `py` and not `python3`", which #1166 made untrue: `host-setup/windows/install-tools.ps1` now supplies a real `python3` there. Separately, neither hook enforced the `3.13` floor the same spec entry declares. The engines import `datetime.UTC` at module level, so an older interpreter fails at import and exits 1, which reads as a gate refusal rather than as the gate never running. That is the one distinction `local-strict-review`'s refusal table exists to keep, and it was silently collapsed. ## What changed Both hooks probe in the spec's order and state why. The pre-push hook reads the version out of the probe it already ran and refuses below the floor, naming the interpreter and the version it found, and refuses an unparseable version for the same reason. ## Verification The comparison is `sort -V` rather than a string test, since `3.9.6` sorts above `3.13` as a string. Checked across the cases that separate the two: | Input | Result | | --- | --- | | `Python 3.13.5`, `3.13.0`, `3.13`, `3.14.1`, `4.0` | pass | | `Python 3.12.9`, `3.9.6`, `3.2` | refuse, below floor | | empty, `bash: py: command not found` | refuse, no recognizable version | The push that opened this pull request ran through the modified hook itself, on a host where `py -3` is absent, so the fallback to `python3` and the floor check are exercised live. `shellcheck` and `shfmt` pass on both files, as do `prose_lint`, `spec/validate.py`, `host_gate.py` and the full test suite. ## Note for #1161 The probe order here follows `spec/host-tools.json` because that is the declared ground truth and the hooks were the stragglers. If #1161 lands `python3` everywhere on Windows and decides the order should flip, flipping the spec and these six lines together is the whole change. The floor check is independent of that question. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved Python interpreter detection in commit and push checks, prioritizing the Windows `py -3` launcher with `python3` as a fallback. * Added clearer validation against the project’s minimum supported Python version. * Pushes are now blocked with an informative error when Python requirements cannot be verified or are not met. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for 44ae00b - Browse repository at this point
Copy the full SHA 44ae00bView commit details -
Answer Four Promotion-Review Findings Against Content Already on Deve…
…lop (#1168) Answers four review findings raised on the `develop -> main` promotion #1163 against content already merged to `develop`. The promotion's diff cannot carry a fix, so they land here. | Finding | Fix | | --- | --- | | `local-strict-review`'s refusal table says "no count of the rows is kept here to go stale against the table", then refers to two rows by position | Both now name the row by its own wording, so an inserted or reordered row breaks neither | | `OPERATIONS.md` explains why CI carries `!cancelled()` on `report --check` and leaves the local block beside it reading as though it behaved the same | States that the local block runs under `set -Eeuo pipefail`, so a failing `check` stops it and the gates below never run | | `test_canonical_review.py` creates a symlink unconditionally, which Windows refuses without the privilege or Developer Mode | Skips with the reason instead, so the case reports an execution boundary rather than failing as though the guard broke | | `test_pr_review.py`'s unknown-marker floor covers headings and metadata labels, while the positive case beside it covers all three vetted lists | Adds the `summary` arm, so turning off summary vetting can no longer leave both green | ## Verification The two test changes were checked by mutation rather than by reading. Vetting an unknown summary in `pr_review.VETTED_SUMMARIES` makes **exactly one** test fail, the new arm, and nothing else. The symlink guard still fails as before when a symlink can be created, which is the case on this host. `prose_lint`, `ruff check`, `ruff format --check`, `spec/validate.py`, `build_dist --check` and the full `scripts/tests` suite all pass, and the one canonical unit this moves is recorded. ## Not fixed here One finding on #1163 is declined rather than carried: `docs/reusable-workflows.md` naming `NUGET_USERNAME`. That is the NuGet mechanism's credential, declared fleet-wide in `spec/secrets.json` under `nuget-oidc` and identical for every NuGet adopter, so it is the mechanism the hub guide is supposed to describe rather than an adopter's own specifics. The reasoning is in that thread.
Configuration menu - View commit details
-
Copy full SHA for 10066ed - Browse repository at this point
Copy the full SHA 10066edView commit details -
Promote develop to main: NuGet OIDC publishing fix, local review engi…
…ne, canonical content gate (#1163) Promotes six commits from `develop` to `main`. | Commit | Change | | --- | --- | | `2d53f44c` | Add a Local Review Engine That Records What a Review Covered (#1109) | | `c6a11c7d` | Compare Vetted Reviewer Markers Without Regard to Letter Case (#1135) | | `68117017` | Gate Every PR-Bound Push on a Recorded Local Review (#1125) | | `c3b2898f` | Review Hub Canonical Content Here, Before a Carrier Is the One to Read It (#1148) | | `f44d29d1` | Bump softprops/action-gh-release from 3.0.2 to 3.0.3 (#1159) | | `0e6aacf4` | Publish a Package From the Repository That Owns It, Not From the Hub Task (#1162) | ## What reaches adopters on this promotion **The NuGet OIDC fix is a breaking interface change** and is the reason this promotion matters to a downstream repository rather than only to the hub. Adopting the hub-hosted release chain had broken NuGet.org trusted publishing, because the OIDC token's `job_workflow_ref` claim names the workflow the job actually ran from, so a push inside `build-release-task.yml` carried the hub's ref and NuGet.org rejected the token exchange with `HTTP 401`. The push now lives in a `publish-nuget` job in each publishing repository's own publisher, the shape `build-pypi` already used. Once this is released, every NuGet-publishing adopter owes a stub edit with its next pin bump: drop `nuget: true`, the `NUGET_USERNAME` secret mapping and `id-token: write` from its `publish` job, and add the `publish-nuget` job. Those two names are no longer declared on the task, so a pin bump without the edit fails at startup. The worked stub is in `docs/reusable-workflows.md` "Adopting the Release Chain". `ptr727/Utilities` is the repository that hit this and is waiting on the release. The local review engine and its pre-push gate (#1109, #1125) and the canonical-content review gate (#1148) also reach `main` here. ## State Every constituent PR was merged into `develop` under the `pr-review-conduct` Merge Gate, each with a review on its own head, full file coverage, and no unresolved thread. Closes #1126 Closes #1132 Closes #1138 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added automated canonical-content coverage and local-review checks before pushes. * Added reporting for review coverage, stale content, and outstanding documentation units. * Improved Windows Python setup with reliable `python3` availability and safer alias handling. * Added repository-owned NuGet and PyPI publishing flows with improved artifact handling and release gating. * Docker releases now use multi-architecture images on the default branch and amd64 images elsewhere. * **Bug Fixes** * Improved review marker recognition and release artifact validation. * Added CI checks to prevent incomplete canonical-content reviews from passing. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for 1fe2537 - Browse repository at this point
Copy the full SHA 1fe2537View 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.526...2.0.536