/oss:resolve run-push approval now offers Approve / Decline instead of Approve / Hold, matching foundry's renamed skip option. Declining still skips the push and records skipped-by-user.
/oss:resolve and /oss:review --reply hand off GitHub thread replies and resolutions as a single aliased GraphQL mutation with one approval. Text requiring --body-file keeps its own command.
/oss:release checks release categories and migration guides against the published baseline.
Each invocation pins a published commit for classification, migration snippets and adversarial review, including delegated and --append runs. The latest published maintenance-line tag is used when present. An unresolved baseline leaves Before claims unverified and without snippets. Breaking changes require prior public behavior and evidence it stopped working. A removal also needs a published deprecation warning or notice. These checks apply to proposed category promotions as well.
Every breaking, deprecated or removed symbol with verifiable code carries minimal Before and After snippets in MIGRATION.md and the draft, sourced from the pinned published commit and HEAD. A setting can use separate Before and After lines, or the guide can explain the change in prose when there is no code to show.
A symbol with several external callers gets one snippet, with the call sites listed as evidence lines under it.
A release with no breaking, deprecated or removed items writes the single line No breaking changes, deprecations or removals in this release.; deprecations or removals without breaking changes still get snippets.
A run of more than three mechanical items sharing one transformation (renames, same-shape deprecations, moved imports) collapses into one representative snippet plus an old → new table that still names every symbol, so migration-doc coverage checks keep matching.
The adversarial review checks snippets in the standalone migration guide as well as the draft. Every identifier in a Before line must resolve at the printed migration baseline and every one in an After line at HEAD, and a mismatch is a critical finding. The shepherd and humanizer passes keep fenced blocks byte-identical, and a changed fence is restored.
Appending or striking a migration item in an --append run removes its heading, prose and snippet together, so no orphaned code block stays behind.
/oss:review reports are easier to read and reuse:
A fixed Axes: line after the rating legend says Gate is the CI merge gate (or a premise rejection), Outcome the source judgment and Readiness the verification state, so Gate: REVIEW_V1_PASS beside a revision outcome no longer reads as a contradiction.
The versioned verdict rules validate Gate, Outcome and Readiness independently. Publication rejects approval beside a confirmed critical or high finding or readiness blocked only by a provisionable package. A terminal premise rejection uses the frozen review head and verified ground. A rejection discovered late retains assessed scope, evidence, findings and remaining work, including fill-gaps records.
A new report stays pending until the producer validates its original allocation and head, eligible verdict, and merge-ready findings. Refused or unfinished reports stay out of resolve intake and reuse, even when a newer run exists.
Reuse shows the published run’s table, findings, verdict and confidence. A newer pending run is surfaced separately. An explicit resume finds the original run and continues from its recorded checkpoint. A direct reply takes a validated publication, including a published premise rejection. When the PR moved, the reply names the reviewed commit and current unreviewed head.
The impact line distinguishes a stale or root-mismatched index, malformed change or caller evidence, and other causes of unknown impact, keeping the full specialist lineup. With codemap-py context, impact comes from an external per-head index of the reviewed source.
The legacy Codemap query is eligible only when the provider lacks context and the checkout is exactly the reviewed head. Refused requests and failed queries have separate causes.
/oss:review confidence follows named coverage gaps instead of constants:
The Codex co-review no longer adds a fixed 0.75 to the min and median. It takes its score only from its reply envelope, asked for a source-5 rating, and is named as a gap when it fails or is blocked (by the bridge's own confidence code, peer-unavailable when the bridge is absent), carrying the reply's own confidence gaps into the report.
The source rating is read from the saved Codex verdict, so it remains available without reading the transcript.
Ceilings cap the aggregate: Readiness incomplete 0.70, blocked 0.80, PR code not executed 0.80, a unit dropped by the fan-out cap 0.85. The publication gate enforces the Readiness ones.
The reviewer host's operating system, a missing Python package and challenger's skipped internal Codex pass are not gaps; an absent hardware class is named exactly, nothing broader.
/oss:review coverage of the territories that matter most:
Candidate validation keeps a candidate UNVERIFIED for a missing capability only with its kind named (hardware, package, approval or external, and for a package the failed provisioning step); a role the lineup promoted but could not slot counts as a missing reviewer.
Fan-out promotes a unit whose territory holds a changed changelog or migration guide, a CI workflow file or a stated performance claim into a slot ahead of the others, inside the same FANOUT_MAX cap. A promoted unit with no slot makes Readiness incomplete, and every unit that did not run is named as an Unreviewed dimension: line, checked against the run's lineup.md. --full and the cap stay the cost decision.
Fresh publication reconciles each spawned role against the original lineup. Every missing role or capped unit needs the visible disclosure and applicable rerun hint. A missed promoted role requires incomplete readiness and an unverified candidate must name its missing capability.
Fill-gaps validates the plan, frozen head and both prior evidence digests before release. Original run evidence can restore a missing report copy. Unusable or changed prior evidence withholds publication, directs the user to a full review and preserves the consolidator retry for actual carry violations.
Changes under .github/ bypass the docs-only and tests-only routes so the CI review and acceptance checks still run. Workflow changes in a code review promote the engineering reviewer, with CI test jobs covered by the pinned QA reviewer. Coverage rows give a rerun command for the missing unit.
If shared GitHub review parsing guidance cannot be loaded, the report records a coverage limit.
Fresh PR reviews, including explicit reruns at the same commit, collect every page of review bodies, inline comments and general comments before agents launch. Unavailable sources are named as coverage limits. Reply, reuse and fill-gaps use their saved evidence.
Reviews can provision Python dependencies for approved PR-code checks.
Provisioning uses an external, private environment for the PR head and installs only eligible base-declared names as official-index wheels. It validates head requirements, reads hash-pinned specs, and checks includes, constraints, locks, workspace declarations, project installer settings and the selected interpreter's configuration. Scoped sources exclude their named packages. Ambiguous routing, added names, lookalikes and direct references remain with the PR-code gate, with a specific reason recorded.
The PR-code gate compares direct references and source changes by package ecosystem and declaration. It reports unreadable manifests and changed include or lockfile sources it cannot compare, so a later plain spec or a name from another ecosystem cannot hide a change.
Provisioning verifies the cached environment against the selected Python, refuses an interpreter from the review checkout, and prunes only marked, unlocked environments unused for at least seven days. The fallback installer refuses unplanned transitive dependencies and omits inherited compiler settings. A partial install keeps its available packages and retries missing ones. The receipt names failed packages and causes, supplies the launch environment in host-native form, and names host facts. Test launches include the checkout source on PYTHONPATH.
Reviews reproduce author benchmark and memory claims.
Coordinated effects get separate claim records. Prose and tables pair values only for the same measurement, preserving rate numerators and denominators. Comparisons must describe the reviewed change. Measured effects with uncertain direction stay visible as not-run, with a parse reason.
The benchmark declares which claim IDs it covers, and each claim needs a matching sample source. Base and head run in separate processes from detached checkouts at the frozen revisions. Fork benchmarks bind the harness and benchmark under the existing PR-code decision for each exact revision. Missing approvals or evidence leave the affected claims unrun. Reports show verdict, effect, spread, execution tier and completed versus planned rounds.
Memory claims distinguish Python heap peak, process peak RSS and RSS growth. Allocation counts, device memory and unavailable measurements stay unrun. The report names an unavailable OS, architecture or accelerator required by a claim. An accelerator mentioned only elsewhere in the PR becomes a caveat after the claim's own requirements are checked.
/oss:resolve records and reports what a run did:
A run directory records how far the run got: an incomplete report stub is written when the lint and QA gate creates the directory and updated at the push step; the final report, now always saved to resolve-report.md as well as printed, replaces it. A run left idle or stopped part-way no longer leaves a directory with only lint and QA files.
Separate push approval shows the exact branch, checkout HEAD and configured remote. The single-use token lasts 15 minutes with up to eight pending per scope, and Hold cancels only the matching question in this session. Resolve retires pending run-push approvals across worktrees when it records the push outcome.
The report checks the remote after a skipped, blocked or rejected push. It attributes delivery from verified history and excludes only proven imports from recorded pull intervals and merge parents. Missing or shallow history makes delivery inconclusive. A skipped push remains your decision.
The leftovers list explains why recovery work was kept. It offers force deletion only where ancestry or exact changed tree entries prove a branch landed. An unproven branch gets inspection guidance. A worktree gets a removal command only if an independent ref will preserve its tip after the suggested cleanup.
A new run clears saved PR references from the last run.
Resolve tries to save the final report when its stub is missing or unreadable and reports the save failure inline if the write is refused.
Items only a GitHub write can close (a PR description edit, a thread resolution, an alert dismissal) appear with a ready gh command for your own approval instead of unexplained skips; a bot's PR overview or the author's note of what was not verified is no longer an action item.
/oss:resolve selects and commits more precisely:
Before the selection table each item carries advisory drift evidence from the review's recorded head (current, file-changed-since-review, file-removed, already-fixed-candidate, from read-only git in resolve_item_drift.py). The marker never deselects an item, a helper failure shows no marker, and Phase 1's already-fixed check stays the authority.
Grouped commit mode uses each group's edits, even for shared files and direct implementation. With hooks disabled, shared changes split by hunk where possible, including on older Git when a plain apply works. With approved hooks or unsplittable changes, the whole-file fallback preserves formatter output and names each later change proven to have landed. Non-ASCII paths survive replay.
Each group records its commit, landed items and recovery state. Close-out and the review ledger verify the receipt against the current branch and actual landed content before closing tasks. A hook reversal leaves the affected item pending, and a later group can reuse earlier absorption only while that change survives.
Commit preparation and hook retries share a deadline with time reserved for reconciliation. If the commit landed but the command failed or replay blocked, the report names that commit and closes only proven items. Resume reconciles the pending changes without committing the same group again.
Gap ledger and approvals:
Review and resolve write a validated gaps.jsonl using the canonical id table shared with Codex (a missing package by its distribution name, provisioning-not-attempted-<gate> for skipped provisioning). The plugin ships its own bin/gap_ledger.py and skills/_shared/foundry--gap-ledger.md, so this works with foundry absent.
The review registers an absent hardware class in .notes/known-limits.json the first time it sees one, with the OS and architecture it was seen on; later reviews show it once and stop deducting it only on a matching host.
Physical-device waivers require a direct observation of the exact absent class and match the repository and host. Package or driver gaps, skipped tests, and unavailable access do not establish device absence. The waiver is verified against the captured registry, and a failed append preserves the original deduction for retry.
Malformed ledgers are reported. Review and resolve carry open records from a matching run, preserve the full inventory beyond the console preview, and write a separate closure event when current evidence closes a carried gap.
A denied, unavailable, or declined bounded implementation challenge is emitted as the implementation-challenge-not-run workflow gap with its own deduction.
/oss:resolve and /oss:review record PR-code approvals with the guard's record subcommand instead of bind, so a worktree-isolated session no longer refuses the command, and the approval block no longer trips the approval-record guard on its case path test.
Confidence Block rule: scores come from named gaps only (no constant reviewer score, null or blocked contributions excluded and named, required controls enforced, closure notes dropped), same as foundry.
The adversarial loop uses foundry:challenger --codex-full for every round with Foundry installed, subject to the recorded Codex quota stop. Findings already present in the reviewed scope follow the same fix rules. A recurring invariant requires root-cause evidence and an invariant still open after three fix rounds prompts a redesign decision.
Blueprint matching preserves quoted data, including multiline values and literal # characters. A command with changed quoted text goes through normal permission checks.
The review checklist flags external pickle.load inputs and treats weights_only=True as a torch.load option so findings can name the applicable control.
Windows runs of the review and resolve helpers no longer fail quietly. Resolution notes print their arrows on a cp1252 console, merge-batch Git calls get 30 seconds instead of 3, and an undecodable blast-radius answer is reported as a failed query instead of an empty success. Agent wake-ups also find deliverables listed with Git Bash /c/... paths, so a finished agent no longer stays pending.
/oss:review verdicts weigh the remaining required work against the PR's own purpose and size. A finding whose fix reverses the PR's central change or rewrites most of its diff now yields Major revision (or Insufficient, but a good initiative) instead of Minor changes.
/oss:review continues while checks are pending or failing and refreshes CI once before consolidation. Its report reflects user reruns on the reviewed commit and marks unavailable checks explicitly; a failure seen on the reviewed commit still blocks when the refresh cannot read its checks. A CI gate record that cannot be written is named in the CI status, and a refresh that cannot read the checks then blocks rather than reporting a pass, also when the record was lost or the refresh could not switch to its own output directory. Reviewers tag a failing check [blocking] by the rule the CI gate applies: a failing required check, or any failing check when the project marks none required. A flaky-looking failure now counts until a rerun replaces it, where it used to be noted without blocking.
/oss:review compares a proposed change with the PR that already closed its issue before recommending closure as a duplicate. The report and maintainer reply link the earlier work, explain the overlap, and identify useful follow-up work when present. After any rejection, the follow-up offers the drafted close reply instead of /oss:resolve, which refuses a rejected head.
/oss:resolve repeats the PR number and link beside the delivery outcome. The final reply distinguishes a verified PR update from an unverified push, a failed or skipped push, and work held locally.
/oss:review and /oss:resolve accept SHA-256 as well as SHA-1 commit ids for the reviewed PR head: the review snapshot no longer stops on a SHA-256 head, --fill-gaps can rerun such a review, and resolve reads its rejection gate and head-moved check and verifies its push.
The pre-run scan of PR code now says when a flagged line is unchanged from the base branch: in a file the PR edits, the reason for a hit on a line it kept carries "on a line unchanged from the base branch", so you can tell an existing setting from a new one. The verdict is unchanged, because an edit elsewhere in the file can still change what a kept line does. --env now also refuses every variable name the scan reports as a secret read.
/oss:review and /oss:resolve take --sandbox to enforce the sandbox for fork-PR code, as Codex Rig's --sandbox does for its checks; without it nothing changes:
Every run of PR code stays in the sandbox and Run without sandbox is not offered; the question appears only when the scan's risk level is high or likely-malicious, or the scan is unusable.
A host without a usable sandbox runs no PR code: review reports an execution gap and resolve reports the tests as not run.
/oss:resolve no longer asks the PR-code question again when a base merge made the earlier sandbox approval stale and a rescan of the merged commit is clean: the approval is renewed in the sandbox and the run continues. An earlier unsandboxed answer, any finding or a host without a sandbox still asks.
/oss:release audit no longer reports the Codex adversarial pass as not completed with a bridge output limit on a large release range:
The bridge resolves the range to commits and partitions it by changed lines, and the audit runs the parts three at a time with no cap on how many calls that takes.
The pass counts as complete only when every part completed. An unfinished part is named as unreviewed scope, the findings of finished parts are kept, and binary or -diff files such as lock files are listed as not line-reviewed.
Needs a bridge plugin whose review accepts --partition-file; an older bridge rejects the flag and the pass is reported as not completed.
/oss:resolve asks its one up-front push question with Approve / Hold instead of Approve / Deny; Hold skips the push and leaves the branch for you to push, as Deny did. This needs a foundry release whose approval hook reads the new option set, with /foundry:setup run again so the loaded rule text matches.
/oss:resolve --worktree now pushes on the one up-front git-push-run approval instead of being refused by the push guard and asking a second git-push question:
The approval is bound to the checkout it was asked from, so a run in the session worktree names that worktree in the question and pushes with git -C <worktree> push <remote> <branch>. A worktree path the guard cannot carry (a space or special character) hands the push to you instead.
A push you approved that the remote then refuses (a GitHub server error, 403, expired credentials) is now reported as rejected-remote, not as a missing upstream: the summary says the push failed, the Push section quotes git's error line, the Confidence gaps note that the PR does not carry the commits, and the report ends with the command to retry.
The drafted-by line that ends /oss:release drafts and the demo notebook now shows AI Rig in bold inside the italic note, matching the pull request footer.
/oss:analyse no longer asks a follow-up question after its report. It ends with the report and a plain-text Next: list of suggested commands (for a PR: /oss:review, /oss:resolve, a reply draft) that you run yourself, where every thread, vitality, ecosystem and evolution run used to stop on a menu. The Stop hook still requires the matching header table in the final reply.
/oss:release and /oss:analyse no longer stop at the gh-write-guard on steps that hold no GitHub write. The release audit data gathering and the /oss:analyse drift check asked for permission, while the /oss:analyse pre-synthesis boundary block and the release change-gathering block (on every run) were blocked outright as if they were gh writes. Behavior is otherwise unchanged.
/oss:release drafts now end with a closing line, Drafted by /oss:release, an AI skill in AI Rig (linked to its docs) plus a short ask for a star on AI Rig, below the full-changelog link in DRAFT.md. Before, a draft carried no mention of how it was produced. The write step re-applies the line after the shepherd and humanizer passes and drops an earlier copy, so an Overwrite-guard Append leaves one; an --append run edits sections and leaves it in place. /oss:release demo scripts also gain a closing markdown cell with the drafted-by line, without the star ask. Setting AI_RIG_FOOTER=off in the env block of Claude Code settings drops both lines; the plugin's allow list gains Bash(printenv AI_RIG_FOOTER) so the check does not prompt.
Agent spawns in /oss:resolve and /oss:review:
/oss:resolve now passes each medium- or high-effort implementation group's effort level when it spawns foundry:sw-engineer. Before, the level appeared only in the prompt text, so every implementer ran at the agent's default extra-high effort; those groups now spend fewer reasoning tokens, while extra-high groups and the chain rule (one tier and effort per group) are unchanged.
/oss:resolve now names a single-item challenge retry challenge-<domain>-retry-<id> instead of leaving its spawn name open, so /foundry:profile counts retries apart from the chunk challenges.
/oss:review now spawns its architecture reviewer and its linked-issue analysis agent at high effort instead of the agent's default extra-high effort, because both only read and judge; they spend fewer reasoning tokens. Challenger, performance, qa and verifier spawns are unchanged.
/oss:review now runs the code-PR consolidator (foundry:sw-engineer) on sonnet at high effort instead of opus at extra-high effort. On five replays of saved reviews (four PRs, none with a high or critical finding) this cut the consolidation cost by about two thirds and the wall time by about half, with the same findings, severities and verdicts. A one-line readiness rule in the consolidator prompt keeps a completed assessment without a source judgment blocked and a missing role incomplete, so the publication gate no longer rejects those readiness labels. If the publication gate or a fill-gaps carry check still rejects the report, the one shared re-spawn runs on opus at high effort. Doc and test-PR consolidators are unchanged.
Shared rules:
The adversarial convergence loop can now stop early: adversarial_loop.py --early-stop --actions <loop-actions.json> exits 0 and reports eligible when the latest independent review of the current snapshot of a current-schema ledger has no open or pending security, critical, high or medium finding while a low or nit finding remains. The parent may then stop dispatching reviewers with outcome converged-no-medium (never clean) instead of running more rounds for low and nit findings. Filter or gate reviews and callers or users requiring a clean result are excluded, and the summary reason, exit status and --require-clean are unchanged.
The Confidence Block rule now states that **Gaps** is a bare header line, never a list item, and each gap opens with its (-0.NN) deduction, wherever a score's gaps are listed, chat summaries included; the one-line Confidence: field of a report header stays exempt. Before, a chat summary could show - Gaps: with deductions at the end of each line.
/oss:resolve and /oss:review no longer ask to run PR code for a PR whose only hit was pip install text in a Python comment, docstring or error message: the scan is clean, so resolve binds the sandbox and review runs the scanned head. Any real finding still asks, and the question now opens with one plain sentence on why the code is not treated as safe.
/oss:review test-gap agent now reads the CI checks.json of the snapshot first and runs nothing when a passing test job already covered the PR head; it runs targeted tests only for a finding no passing job covers, where it could rerun tests CI had already run green.
/oss:resolve reads the repository-hook decision of its PR-code step with jq -b, so on native Windows the decision word no longer carries a stray carriage return that turned run, none and ask into "hook inspection failed" and left hooks disabled.
/oss:resolve group commits run each commit fence as its own Bash call exactly as written and never copy fence text into a generated script or loop over groups in one command, because the commit guard cannot read a generated script and asked about it.
/oss:review shows the safety scan and the command it ran. A clean scan of the exact fork PR commit lets checks run in a disposable copy without a sandbox prompt. A changed checkout or incomplete scan requires a new decision.
/oss:resolve skips the fork PR code question when its scan and the earlier review both found the same commit clean and the host has a sandbox: tests then run in the sandbox, because resolve merges the base and edits files before testing and so never runs exactly the scanned commit. The final report identifies the commit and execution mode. Otherwise you can choose sandboxed tests, direct execution, or skip the tests.
/oss:resolve skips the fork PR code question only when the host has a usable sandbox; without one it asks, so tests are never silently skipped. /oss:review re-checks the clean scan inside its own approval step and refuses to bind anything but an exact auto result. When the checkout already differs from the scanned commit, the review's no-prompt approval is not bound and you get the normal sandbox question instead of a silent refusal.
Repository hooks:
/oss:resolve groups PR-code and hook questions with item selection and remembers your answers when you resume. Report-only runs settle these choices at checkout.
Remembered hook approvals apply to the hook version you inspected. Base-branch changes alone no longer trigger a hook prompt during a merge, and a previously unanswered hook question returns when you resume.
/oss:resolve re-checks the hook approval before every merge commit, including the unattended drift re-merge. An approval resolve made itself follows the merged files. A hook approval you gave that no longer matches the merged files is dropped: the merge commits with hooks disabled, nothing unapproved runs, and the report names it under Repository hooks. Staged edits to hook files and PR commits pulled in during the merge now count as changed hook inputs.
A hook question still pending when the base merge lands now shows the hooks of the merged files, drops itself when no hook needs approval, and says when it could not be refreshed.
/oss:resolve decides about repository git hooks from the local Git setup instead of asking every run: with no installed hook, or installed hooks whose in-tree inputs (hook scripts, .husky, .githooks, .pre-commit-config.*, package.json) the PR leaves identical to its base, hooks run or stay off with no question (Git's inactive .sample files do not count as hooks). Only a PR that changes a hook input, or a base that cannot be compared, shows the exact hook commands and asks, now with Run and remember for this repo and Never run hooks in this repo beside the per-run choices; a remembered approval is bound to the exact hook bytes (changed hooks ask again) and both choices live in the Git common directory, shared by linked worktrees, until resolve_commit_hooks.py --forget. An answered run, even a declined one, is never asked a second time, and the PR-code question is asked on its own when no hook question is needed.
/oss:resolve item agents are told to create and edit test and source files with Write/Edit instead of long Bash heredocs, so a run no longer stops on the commit-guard "cannot read this command exactly" prompt that a large Bash command naming git triggers.
/oss:analyse vitality no longer pairs open PRs as "tightly coupled" conflict candidates: the Codemap coupled query ranks single modules by internal imports, so the report now lists, per PR, the high-coupling modules it touches, filtered on that ranking's internal-import count. The conflict-candidate count covers shared-file pairs only.
The review header table printed in the terminal is shorter: Link, Date, Commit SHA, Agents, Review contract, Rating scale, Readiness and Gate stay in the report file only, and PR shows as a link ([#N](url)), so the table fits a terminal. The delivery check accepts the short table and the full one, and still requires every other field.
The review rating scale label is now source-5-v2 (level 3 MAJOR_REVISION); reports and sidecars labelled source-5-v1 (level 3 NEEDS_WORK) are still accepted, and a report mixing the two spellings is refused.
/oss:review now names level 3 of its review scale MAJOR_REVISION instead of NEEDS_WORK, so its outcomes read APPROVE, MINOR_EDITS, MAJOR_REVISION, INSUFFICIENT_BUT_PROMISING, REJECT, matching /develop:review. Archived reports and sidecars that say NEEDS_WORK are still read as level 3, and /oss:resolve and the release audit treat either name as a major revision.
/oss:resolve and /oss:review now apply the recorded PR-code clause to the review verifiers, the conflict resolver and the lint agent too; beside any answer but a known same-repo one, a clause that is not exactly the guard clause or the refusal is replaced by the refusal, and the guard clause covers every command that loads or executes checkout code. A run with no PR runs its tests directly only when its checked-out branch tracks origin through a branch ref: a branch with no upstream, such as one fetched by hand from a pull ref, keeps the gate until its first push, and a fork branch left checked out by an earlier run keeps it too.
A migration guide now words the scheduled removal of an API that was deprecated in an earlier release calmly and reassuringly: it says since which version users were warned, that the removal is the planned follow-through, gives the replacement with a short before and after, and avoids alarm words, so users who were warned long ago are not startled. A breaking change that had no earlier warning keeps direct wording. Release writing rules also ask for versions in prose to carry a v prefix (v0.25.0), so they read apart from plain numbers.
/oss:resolve and /oss:review no longer scan or ask about PR code when the PR comes from a branch in the same repository (not a fork): its tests run directly in the checkout with no prompt. Fork PRs, and PRs whose origin cannot be read, keep the scan, question and sandbox: the same-repo answer is cleared at the start of every run, a missing or null origin counts as a fork, and /oss:review reads it from its frozen PR snapshot.
/oss:resolve and /oss:review now record one PR-code decision per run in a clause file that every spawn follows, so the QA gate, item agents, Codex edits, issue and confirmation agents and the overlay run all execute PR code the same way (directly for a same-repo PR, through the guard after approval, or not at all). Before, the QA-gate tests, the Codex edit brief and the review reproduction runs ran without checking the answer to the PR-code question.
The PR-code question now always offers Run without sandbox beside the sandbox and Do not run options, instead of only on hosts with no sandbox, including the /oss:analyse reproduction question. It still runs in the disposable copy with a cleared environment but without containment, and the choice is recorded.
The PR-code guard shipped with the review, resolve and analyse gates now keeps the real checkout, including .env, out of the Linux sandbox and starts a bare program such as bash from the allowlisted PATH on Windows, so a full-suite gate no longer starts the WSL launcher there.
/oss:review, /oss:resolve and the /oss:analyse reproduction step now scan contributed code before running it and run it contained, instead of running it in the project environment with your full environment and no isolation. The guard shows you the evidence and a risk level, runs the command in a disposable copy of the working tree with an environment allowlist and a temporary home, and under a sandbox where the host has one (network denied, writes confined, the real home unreadable except the interpreter and tools).
/oss:resolve asks the PR-code question inside its existing hook-approval question, so it gains no extra stop; its QA gate, item agents and full-suite run all go through the guard under that one answer, and a declined answer is reported as an execution gap, never a pass.
Running without a sandbox is possible only on your recorded choice, and code the scan rates likely-malicious is presented as "do not run": choosing to run is your explicit override.
Packages the base ref declares and the official index supplies are trusted by name; added packages, direct URL/VCS references, index overrides, lookalike names and changed lockfiles are reported.
/oss:resolve stops sending action items to Codex for the rest of the run once the bridge reports a Codex quota stop (out of credits, usage limit or subscription), instead of repeating a call that cannot succeed for every later Codex-eligible item.
The item that hit the stop and every later one run through the specialists, and later challengers skip their own Codex cross-check.
The final report shows codex-blocked:quota rather than a no-op or failure; items Codex finished earlier keep their Codex co-author trailer.
Edits the stopped call left behind are saved as a patch in the run directory, the tree is restored, and the patch is handed to that item's specialists as a starting point, so nothing is lost and the merge-back no longer hits them.
Only the bridge's own incident record triggers the stop, never reply wording; rate-limit and capacity stops, older bridge versions and runs without the bridge behave as before.
/oss:resolve topic-group and all-items commits carry the Codex co-author trailer only when they include an item Codex implemented, instead of whenever Codex was available for the run, so a commit holding only specialist work, including items a Codex quota stop sent to the specialists, no longer credits Codex.
/oss:resolve on a bare review comment and /oss:analyse vitality apply the same Codex quota stop. Comment dispatch hands the comment to the matching specialist and ends the Codex review loop; vitality runs its remaining adversarial passes with the challenger alone and without its Codex cross-check. Both report codex-blocked:quota instead of a no-op or a timeout.
/oss:resolve, /oss:analyse vitality and /oss:review also stop calling Codex when a foundry:challenger reports that its own Codex cross-check stopped on quota (codex_blocked: "quota" in its envelope, which decides alone, or, when it returned no envelope, the ⚠ codex-blocked:quota line opening the first unfenced Codex Cross-Check section), instead of repeating calls that cannot succeed. Challengers without that signal behave as before.
Resolve and vitality skip Codex for the rest of the run and later challengers run without their cross-check; resolve's final report names the challenger as the source.
/oss:review skips its Codex co-review when the acceptance-gate challenger reports the stop, and the report says why. After that stop, or a quota incident on the co-review itself, the challengers verifying critical findings run without their Codex cross-check.
Review-and-fix loops pass --no-codex to later challenger rounds, dispatch no further security-filter review, and report it blocked with the quota cause instead of PASS.
/oss:analyse vitality loads its Step 5 and Step 6 instructions through the plugin's path renderer, so their helper calls resolve to the installed plugin.
get_plugin_install_path.py writes UTF-8 with LF newlines to stdout and stderr and resolve_shared_path.py does the same for stderr, so Windows callers get the plugin path without carriage returns and without locale-encoded messages.
/oss:resolve in pr and pr+report modes asks about pushing once, at Step 3d, with the git-push-run question, and its Approve is the push authorization: Step 10 no longer asks again and pushes with the remote and branch written out, asking only if the push guard refuses it. The post-PR browser action stays skip there (the report's Link: opens the PR); report mode keeps the intent menu and the Step 10 confirmation.
/oss:analyse <PR> now leads with a vitality verdict: whether the PR's intent still fits the current codebase and is worth pushing forward as is, with minor changes or with major rework. The new bin/pr_drift.py reads the commit graph for the last commit's age, how far the base moved and which touched files the base changed, renamed or removed since the merge base, so long-stale PRs get a judged direction (ALIVE, REVIVE-MINOR, REVIVE-MAJOR, SUPERSEDED, OBSOLETE, UNCLEAR) with cited evidence instead of a generic summary. A base-side file move is not a removal, an unknown measurement never reads as fresh, and the one-line ALIVE shortcut applies only to a complete measurement with no maintainer decline or merged duplicate; merged or closed PRs get Vitality: n/a. The report gains a Vitality: header line and a ### PR Vitality section, and the follow-up menu drops review and resolve for superseded or obsolete PRs in favour of a close-with-thanks reply.
/oss:analyse, /oss:review and /oss:resolve reports now show a bare PR, issue or discussion URL (Link:) in the header table, or under the resolve report heading, so the item is one click away instead of a bare #N to look up.
Review progress tables always come from the ledger and reconcile carried-over, repeated and new findings; reviews run without a ledger are disclosed in prose rather than tabulated.
Review-and-fix rounds on a filter or gate (parser, deny-list, permission gate) now keep the coverage table and invariant signatures even outside an explicit loop, run the loop helper from the second round, reject resolver briefs that list inputs or prescribe a refuse-list, and stop patching after two consecutive whack-a-mole rounds or a fix-introduced regression until the user decides on a fail-closed redesign; before, such rounds could repeat untracked with no stop. Regression tests added by such a round are named by the scope or behaviour they pin and merged into the owning test file, never by round or finding number.
/oss:release audit scans the dependencies the release ships instead of whatever the pip-audit binary's own environment contains: the locked runtime set from uv.lock (current lock required, no dev or default groups, non-dev extras included, packages gated by environment markers kept), else the pyproject.toml requirements including non-dev extras. It announces scan-skipped: <reason> rather than scanning installed packages when no shipped set exists (no [project] table, dynamic dependencies without a lock, uv missing, stale lock, timeout), lists requirements pip-audit could not audit as | skipped:, and reports a real vulnerability (pip-audit exit 1) instead of misreading it as a JSON parse failure. The install-and-rerun path reruns the same scan and the data-gathering block's timeout covers it. /oss:review dependency scans audit the PR's exported or pinned requirements instead of the reviewer's environment. The unused --runtime-from option and installed-metadata closure of parse_audit_json.py are removed.
Shell blocks in /oss:* skills and modes resolve PLUGIN_ROOT through the shared resolver before calling any bin/ helper instead of running plugins/cc_oss/bin/... relative to the current directory; modes with executable blocks load through the rendering loader. The review and analyse header hooks read their session sentinel only when it is a single-link regular file owned by the current user, and /oss:resolve preflight words a failed git fetch as a fetch failure.
Reviews assess material improvement claims against revision-bound tests or measurements, distinguish supplied evidence from independent reproduction, and treat unresolved shared-hardware noise as inconclusive rather than proof of a gain or regression.
/oss:analyse vitality confidence deducts only for the listed conditions (partial fetch, unresolved axis, disputed value, skipped review steps, --quick). Every other gap, including one that only could change a band, the Health Score or the Top Risk, is recorded as a (-0.00) Gap, so the Score reconciles with its Gaps (they sum to 1.0 − Score) and a run with every band right no longer reports itself under-confident from unlisted deductions.
/oss:setup retires old permission entries by exact rule text without tracking who added them, so an identical user-authored entry such as Bash(find:*) is removed too; every other user allow entry, all deny entries and unrelated settings are preserved.
sync_rules.py no longer replaces a real user file under --approve: that flag now replaces conflicting links only. Replacing a real file needs the new explicit --replace-user-files option, which first saves a .bak-<timestamp> copy beside it, and the script refuses a plugin root that is neither the executing plugin nor the current installed record.
Agent router external routing is now opt-in: embeddings and Anthropic key use happen only when AGENT_ROUTER_ALLOW_EXTERNAL=1 is set, and the routing cache moved to a private per-user temporary directory that is refused when symlinked, foreign-owned or not private.
The write guard now also covers MultiEdit and resolves symlinks and not-yet-existing paths before classifying a target. resolve_shared_path.py trusts an environment-named plugin root only inside the marketplace cache, and verify_blueprint_audit.py defaults --max-lines to 100,000 instead of 5,000,000.
Helper scripts and stores refuse unsafe or oversized input:
write_skill_contract.py accepts --keep-file only for the current session's keep-items file, refuses path-shaped session tokens, reads at most one 8192-byte line of keep items, and refuses a .temp/state that resolves outside the project's .temp or .reports.
release_setup.py exits 1 with a message when no trusted release skill directory exists instead of using an unverified path, release_append_publish.py accepts only hex marker SHAs and ends git option parsing before them, and resolve_changelog_file.py refuses a changelog or searched directory that is a symlink.
PR URLs must have a valid owner and repository, . and .. path parts are rejected in fetched repository paths, a -- in skill flags ends option parsing, contributor lines over 500 characters use the whole-line fallback, review-report lookup reads only the front-matter block and writes its result privately, and centrality parsing survives overflow and deeply nested input.
Quoted values, newlines and indentation survive actual intake, tracked stores are refused before access, repository, store and stdin reads are bounded, sentinel and temporary writes are private and atomic, whole-value validators use full matches, and Unicode line separators no longer split JSONL records.
Fetched content is fenced more safely in the evolution store: closing-marker lookalikes are neutralized with the shared folded-view matcher and fence tokens are 16 characters long instead of 4. The evolution report escapes : and . in markdown text as well.
The bin/python fallback launcher now ignores empty and relative PATH entries when it looks for a Python 3.10 or newer interpreter, so a python placed in the current directory or another relative location is no longer run by accident.
/oss:analyse evolution links fixes to features more accurately:
Links a fix to a feature in the binary view only when the cell's strongest signal is blame, blame context, changelog text, an LLM verdict or a manual override. Symbol, file and inherited overlap still carry soft weight but no longer count as a link: on hand-labelled repositories those cells were almost all false links, which held precision near 0.15. Stored scores are recomputed on the next run, and evolution_eval.py tune applies the same rule when it sweeps thresholds.
Keeps the branch commits of a pull request merged with a merge commit in its feature column, not only the merge commit. Blame points at those branch commits, so on repositories that merge pull requests this way (such as roboflow/supervision) a fix of such a feature used to land on a "non-feature" column and lose its link. A side branch longer than 100 commits is treated as a branch merge and not added.
Stops listing one feature twice when a release without a changelog section yields a commit-based column and a later release's changelog entry names the same commit together with the pull request's follow-up commits. The two fold into one column in the earlier release, the changelog entry becomes its alias (labels naming either ID resolve), and an entry cited by several changelog items is left unfolded because the match is ambiguous. Fix rows are never folded.
Stops turning a refactor into a feature column when it classifies releases that have no changelog section. A pull request labelled enhancement or feature is skipped when it also carries a refactor, cleanup, chore or maintenance label, or when its commit title reads as a refactor, tidy-up, rename, reformat, unused-code removal or "replace X with Y". An explicit feat: prefix still wins. Fixes were linking to such a column although it adds no capability.
Links a rebase-merged pull request to every commit it landed, not only the last one GitHub reports as its merge commit: commits that do not name their pull request are asked about once per release, and only when the entry cites a pull request no local commit names. A Reapply "<subject> (#N)" commit after a revert now belongs to pull request N, so fixes of the reapplied lines find their feature.
/oss:analyse evolution store and GitHub lookups are more robust:
The evolution store now drops superseded evidence, row and column records before and after scoring. A rescore appends a new row for every fix, so on a large repository one scorer change doubled store/rows.jsonl past the 10 MiB read limit and the next scan stopped with exceeds size limit; the files now stay at one record per fix. A rescore also writes all changed rows in one append per file instead of re-reading the whole store for every fix, so it no longer slows down quadratically on large stores.
Retries a GitHub lookup up to three times, pausing 2 s then 4 s, when gh fails at the network level (timeout, dropped connection). One transient error used to switch GitHub off for the whole run and leave a large repository with local-only fixes (72 instead of 174 on pytorch-lightning). An error the API itself returns is not retried.
Rebuilds its entries on the next run when a GitHub lookup failed during the previous one. A transient timeout used to leave local-only fixes and links cached under the normal key until --full, so a rescore kept the degraded result.
evolution_eval.py gained --top-k N, which keeps only the N best-scored links per fix, and gates a repository only when it has at least 15 labelled fix-feature pairs: a smaller sample reports gated: false and pass: null instead of a pass or fail, since a few pairs move precision by whole fixes. Without --top-k every link counts as before.
Review, resolve and release flows state their manual outcomes: a follow-up the user must run prints its exact command, a push failure has an explicit manual outcome, a fork or default-name checkout uses a separate local alias, the formatter retries once and stops when unrelated index changes appear, repository hooks that were not approved stay disabled, and the release baseline is validated with option-safe references.
Reviewer attribution lists Reviewers: after Readiness: as the develop review does, the review brief covers both GitHub Actions injection classes, the shared completeness contract includes PR conversation comments, and the three main skills now stay below 8000 measured tokens.
Raw text passed to the flag parser in analyse, release, review and resolve follows a literal --. parse-skill-flags.py parses flags token-aware and case-insensitively, and refuses a symlinked or out-of-tree state directory before a contract file is removed. Thread analysis fetches discussions with the packaged fetch_discussion.py, and the README documents the reproduction approval.
/oss:analyse evolution covers more release sources:
Reads a changelog written as one flat list per release. A bullet directly under a version heading is classified by its first words (Fix… or "no longer" as fixed, Add…, Support… or New… as added, Change…, Rename…, "now" or "instead of" as changed); a bullet that names no kind is left out and counted in a warning, and a subsection such as Documentation or Contributors is still ignored. On this repository's plugins/cc_oss/CHANGELOG.md 197 of 574 flat bullets are classified.
Uses GitHub Release notes as the last changelog source: a release with no changelog entries reads its notes (GitHub's generated What's Changed list included, each bullet classified on its own and its pull request URL read as a reference) before falling back to commit prefixes. The run reports which releases came from notes.
/oss:analyse evolution --tag-prefix "<p>" scans one package of a monorepo whose tags carry a prefix (pkg-v1.2.0, pkg@1.2.0): only those tags are releases, and the package gets its own store (<repo>.pkg-<prefix>) and report folder. Commit ranges still include sibling packages' commits, so it suits packages whose releases have changelog entries.
/oss:resolve no longer runs the repository's full test suite or the QA specialist when the run edited only user documentation (.md/.rst, never skills, agents, rules or prompts); linting still runs and the report records full test suite not run — documentation-only change as a zero-weight Confidence gap that never lowers the score or triggers another run. Mixed or code changes, a lint fix outside docs, or a run that merged the base branch run the suite as before. /oss:review records the same zero-weight gap on Docs-only PRs.
/oss:release audit and prepare treat Unreleased content more strictly:
/oss:release changelog audits and prepare add new entries only to a declared Unreleased section; when the changelog has none and its top section is an already-released version, they create ## [Unreleased] above it instead of appending to the released section or an older one.
/oss:release audit and prepare block on documentation that still calls the release unreleased: a new scan reports every unreleased, next release, coming soon, not yet released, TBD/TODO beside a version, versionadded/versionchanged/deprecated directive naming next, dev, unreleased or a version newer than the target, and a changelog Unreleased section that still holds entries once the target version heading exists. Audit lists each hit as a high blocker in the readiness table; prepare stops after finalizing the changelog and before writing the remaining release artifacts. Docs are never edited automatically.
The resolve lint and QA gate's docs-only filter now spells the commands/ directory as its own pattern branch, so the zsh audit check (23e) no longer reads the directory list as a name-to-program table and the plugin's own audit stays clean; edits under commands/ still count as instruction changes and keep QA.
/oss:analyse thread mode verifies more before it names a duplicate:
Fetch slots left over after the potential duplicates and thread-cited numbers go to the closest related candidates in the same component, since a shared cause often sits in the comments, not the snippet.
A fetched related candidate is promoted to potential duplicate when its body or comments show the same failure or root cause, even where the symptom is worded differently.
At an equal match, a candidate whose own comments defer to another issue loses the canonical pick to one that does not.
A fetch-verified verdict keeps a confidence deduction of at least 0.10 when potential duplicates compete or a same-area candidate was left unfetched.
/oss:analyse evolution no longer sends a fix to the adjudicator when every blamed line lands on a pre-window or non-feature commit. Such a row already has its bucket; an unknown verdict used to move it to the unknown residue.
/oss:review reviews and gates more reliably:
Reviews a frozen snapshot of the PR: it fetches the PR head, stops with a BLOCKED line when the head moves during collection, and reads repository source at that exact commit for the parent and every reviewer instead of the invoking checkout. With --worktree the review runs in a detached worktree at the PR head rather than a branch off your current HEAD, and the worktree is kept and its path reported. A failed diff read falls back to local git, CI check reads that fail now stop the review instead of silently counting as empty, and the PR is fetched from a matching remote by repository, not by guessing.
The direct-report fast path only accepts a file that carries a real Outcome: or Gate: header, and review gates now use REVIEW_V1_-prefixed names. The quality-gate agent is still pinned on every code PR except docs-only ones, including CI-only, docs plus CI and chore PRs, and the CI-only and docs-plus-CI modes now keep the second reviewer. Impact tiering sends test configuration and build, release and setup entrypoints to full review, and lines counted for size and API surface now come only from diff hunks of non-test files.
Codemap use is now verified: when the index currency cannot be verified the index is not used, and a codemap is only queried from a clean checkout of the reviewed commit. Codemap index states report unknown and --strict exits non-zero on an unverified index.
/oss:analyse approval, cache and vitality input handling:
Asks for approval before running anything from a thread: the exact reproduction snippet and command are shown inside an untrusted-content fence and the agent runs only what you approved, never thread-supplied install steps or hooks. Thread text, CI logs and workflow text are treated as data in the analyse, shepherd and CI agents, with fenced quoting and a rule never to act on embedded instructions.
Cache and resume are stricter: a cached thread is reused only when its live activity timestamp is no newer than the cache and the cache is valid, PRs always refetch their live conversation and reviews, discussion reply pages beyond the first are fetched, and --reply also works on a direct report path. Stale session state from an earlier run no longer leaks into a new one.
/oss:analyse vitality agents read their inputs only from session sentinels and stop with an error envelope when one is missing or unsubstituted, instead of trusting prompt values. Rate-limit warnings now cover the search and GraphQL budgets as well as core, the scraper pins github.com, and vitality version lookup picks the newest valid installed SemVer or the running plugin's own manifest regardless of the working directory.
/oss:resolve branch handling and dispatch:
Stops moving your branch on its own: preflight fetches origin without pulling, checkout requires an existing local PR branch to be exactly at the PR head (otherwise it stops and preserves it), refuses to proceed when the branch is ahead of the PR head, and saves and reports a detached caller HEAD. Report and comment dispatch refuse the default branch or an unknown default, report mode refuses uncommitted tracked edits, and the per-branch lock key no longer collides across branches with similar names.
Implementation dispatch via bridge:implement now records your item-selection decision, with its task set, workspace and network scope, and cites it in each brief; a missing record stops the dispatch. Required challenger and specialist spawns are no longer skipped by the small-work inline threshold, and review-agent changes that are only untracked files are now detected. A missing commit mode is reported as unset instead of assumed each. PR reference checks also refuse closed PRs and unverified checkout or push targets, and preflight ignores a symlinked cache directory.
/oss:release has a stronger breaking-change gate: waiver counts are persisted right after the truth check, no artifact is written before every required breaking-waiver approval completes, and the changelog audit edits the staged candidate in notes mode. When merged-PR discovery hits the 500-item cap it retries within the release date window and reports any remaining gap as a stated confidence gap, fetching the body of each unlisted associated PR, instead of paginating everything. The adversarial review now rebuilds its range and gather context in a fresh shell, and the public-facing voice pass runs through oss:shepherd.
Safer helpers: heal_git_artifacts.py now sweeps only .lock files directly in the git directory and removes only empty orphan worktree directories, leaving non-empty or standalone repositories reported only, and runs git without hooks or fsmonitor; merge_settings_permissions.py refuses malformed rules, unrestricted incoming Bash grants and rule files outside the plugin; ledger appends and the preflight cache refuse symlinked paths; the codemap cache is written atomically and rejects malformed artifacts; evolution reads changelogs with a size bound and truncates over-long lines with a warning.
The permission hooks are tighter: sentinel reads only allow input redirection from sentinel-shaped paths or /dev/null, refuse network devices, and limit export to the names shipped blueprints use; the blueprint hook now refuses raw carriage returns and trailing non-shell whitespace. Argument-injection guards were added for base SHAs, agent-watch deadlines are bounded to ASCII seconds up to one year, and PR signal checks report a failed git or gh read as failed rather than as empty.
/oss:review now asks first whether the PR is behavior the package is meant to have:
The sw-engineer reviewer derives the contract from README/docs, public API, existing tests, CHANGELOG and CONTRIBUTING/ADRs at the PR base, treating the PR title, body, commits and linked-issue framing as unverified author claims.
The report summary opens with Intended behavior: yes/partly/no/undetermined.
Contradicted contracts, undeclared or unimplemented behavior changes and out-of-scope behavior become intent: findings at HIGH or MEDIUM, for every change type including FIX without a linked issue.
The blind-solve pass is told PR text may be stale or misleading.
/oss:analyse thread mode's duplicate verification now fetches the first three candidate numbers it was given, skipping any non-number line, instead of reading three lines and dropping the bad ones, which could leave a candidate unverified.
/oss:analyse thread mode no longer asserts a duplicate it cannot judge. An issue cited only by number in the thread, absent from the search results, is listed as related and unverified until its fetched body shows the same failure, unless a maintainer named it. When every potential duplicate is still snippet-only, the report names no canonical and asks to verify them first, instead of picking one by wording or lowest number. On a request or question thread, a candidate that bundles the same ask with other questions the same answer leaves open stays related instead of being called a duplicate.
/oss:analyse thread mode now reads a 400-character body snippet for every duplicate-search candidate, discussions included, instead of titles only, then fetches the full body and recent comments of the top 3 potential duplicates to confirm or reject each one. A candidate is a potential duplicate when it shows the same failure (same error from the same trigger, same broken behaviour or same root cause); a shared generic error alone stays related. A candidate on the same named function or code path whose snippet is cut before its symptom also counts, and on a request or question thread so does one asking for the same work, settled by the same answer or named by a maintainer as its tracker. Incomplete evidence never demotes a same-failure candidate to related, blocker or "cannot confirm"; an unfetched one is marked (snippet only) with the action "verify, then close" instead of a plain close. The canonical is the item a maintainer named, else the strongest failure match among the analysed item and the duplicates, preferring search results over items only cited in the thread, then the lowest number, so an older analysed item is never closed in favour of a newer copy. Lookalike candidates each get their own line under Related instead of a bulk "unrelated" list, and the confidence deduction is sized by what the snippets settle: heavier for snippet-only duplicates or snippets cut before their failure, lighter for a "no duplicates" verdict whose snippets show each difference, none once the fetch confirmed every duplicate. A calibration run on real duplicate threads found 1 of 7 before this change.
/oss:analyse severity labels in the thread report:
Severity labels now sit only where the report template puts them (the duplicate lines and the Priority: field), not on side notes or extra "observations" lists, which read as additional findings.
The /oss:analyse thread report's severity rubric now points at the inline Severity: fields in the template below it instead of "above", so the rubric and the fields it governs are read together.
/oss:analyse vitality labels the Health Score by a fixed rule (🟢 ≥ 70%, 🟡 40–69.9%, 🔴 < 40%, applied to the printed one-decimal percentage) instead of leaving the badge to judgment, and picks exactly one Top Risk axis (worst band, then higher weight, then lower score, then lower axis number) instead of merging several. Its response confidence starts from the extractor's per-axis confidence and deducts stated amounts only for gaps that could move a band, the Health Score or the Top Risk; --quick carries a fixed −0.10 for the skipped review.
/oss:analyse evolution adjudication, caching and request rendering:
Adjudication (--adjudicate) names a feature column only when blame backs it: a blamed commit in that column's footprint, a link inherited through an earlier fix, or, for an add-only fix with no blamed lines, a blamed context line. Without usable blame it weighs symbols before entry wording: symbols shared with exactly one candidate decide even when the wording reads like another candidate's title. It answers unknown when blamed commits back no candidate and leaves doubtful columns out instead of naming them at low confidence, which the matrix would have scored as real links. The prompt template moves to v2, so verdicts stored under v1 are asked again on the next run. A calibration run showed 9 hedged false links across 3 of 10 synthetic requests and one missed unknown before this change.
Stops repeating the changelog parse and GitHub linkage lookups when only a later stage changes (blame evidence, scoring, the adjudication prompt); the entries cache now keys on its own algorithm version only.
New evolution_scan.py render-request --spec <file> --out <file> writes an adjudication request from fix specs with the production prompt and reuse key, without a store or clone, for calibration fixtures and for replaying a request by hand. A missing or malformed spec, a blank fix_id or a non-object candidate stops with a ! BLOCKED line instead of a traceback.
New /oss:analyse evolution [owner/repo | url] [v1->v2] mode shows, across releases, which features each fix repairs and which release introduced them. It links changelog "Added", "Changed" and "Fixed" entries to commits (SHA, PR, closing issue, then a low-confidence text match), blames the source lines each fix changed, and scores a feature × fix matrix. A fix can repair several features. Releases without a changelog section fall back to conventional-commit prefixes, marked as low confidence.
The report is one self-contained HTML page with inline SVG charts and no external script, plus a Markdown summary with static SVGs. It holds a fix-flow Sankey and release heatmap coloured by origin age, the most-fixed features, a burn-up of features, fixes and open bugs (marked approximate), a panel for bugs fixed before they shipped, and a count of every fix it could not place.
Scans are stored in .evolution/<host>/<owner>/<repo>/, which no cleanup sweep touches. A rerun resumes an interrupted scan, adds new releases and rescores from stored evidence and changelog links without blaming or querying GitHub again. Corrections in overrides.csv survive reruns and --full. A store lock stops two runs from writing at once, and moved or deleted upstream tags are picked up in the dedicated clone; your own checkout is never fetched or reconfigured.
The scan asks which releases to cover when no range is given, and remembers the choice. New flags: --full, --break-lock, --adjudicate (LLM decides ambiguous rows; off by default) and --bug-labels. Scoring weights are provisional until checked against hand-labelled fixes with the new evolution_eval.py, and the report says so.
/oss:release inline notes runs grade CHANGELOG problems like the delegated audit: a classified item with no PR or commit is flagged high, and a commit pulled in by a non-PR merge with no prior CHANGELOG entry is flagged medium ("unreviewed branch merge"). The setup block is described as running on every notes/demo run, inline or delegated, since it also creates the waived-changes ledger, and the notes-versus-prepare note now matches what notes actually spawns and writes.
/oss:resolve in pr + report mode reaches the legacy findings-parse rules without running Step 3a's mktemp block, which would replace the run's IMPL_DIR, and prints only the merged items table. The final report's Change values add perf and architecture, and its Status legend says challenge-rejected, matching the items it records.
/oss:review's perf brief asks for current behavior versus expected improvement per finding, which its report section requires.
The /oss:analyse thread and vitality modes mark their shared report-gate recovery paragraph as a policy sibling, so a later edit reaches both copies.
/oss:resolve and /oss:review load about 22K and 15K fewer tokens up front: /oss:resolve item selection, push and final report, plus its empty-argument review handoff and pr + report merge, now load only when the run reaches them, and /oss:review loads its PR acceptance gate, blind-solve agent and post-agent steps (validation, consolidation, reply gate, --reply draft) the same way. Every step, gate, flag and stop condition is unchanged.
Restyle the animated execution diagrams of the /oss:analyse, review, resolve and release skills: card text is short fragments instead of sentences, key names are bold and conditions or bounds are italic, and each diagram's legend explains the emphasis; stop and skip conditions and gates are unchanged.
/oss:release no longer announces work that an off-branch patch release already shipped. When a maintenance branch carries newer stable tags than the tag on HEAD's own history (HEAD at 1.11.0, patch tags 1.11.1 and 1.11.2 on release/latest), setup lists them and the new release_shipped_elsewhere.py helper subtracts the range commits those tags contain. Patch-equivalent commits (git cherry) with no release-side revert are dropped from notes, counts and PR associations.
Authors of backported commits are no longer credited a second time: gh_batch_query.py commit-prs and extract_contributors.py gain --exclude-file, which leaves out the commits the subtraction marked as already shipped.
Commits matched only by PR number, or reverted on the release side, are kept and flagged for verification against the released tree instead of being dropped. A failing git call during subtraction stops the run instead of reading as nothing shipped.
Breaking-change symbol detection diffs against the newest shipped tag, so symbols that a patch release already delivered are not reported as new API changes. The readiness audit prints a warning that its unreleased-commit and changed-file sections include those backports.
Resolve finds the PR behind an auto-selected review report through the new extract_review_pr.py helper instead of a sed command, and /oss:setup removes the old sed allow entry. That entry's regex * characters were read as wildcards, so it silently approved other sed commands and made Claude print a permission warning on every run.
Review outcomes now distinguish bounded, low-impact correctness, test and compatibility repairs from material behavioral defects or substantial repair. Final verdicts cite the controlling findings and their impact, keeping required fixes actionable under Minor and verification readiness separate from source approval.
Weigh production impact above file type: documentation and test gaps normally remain Minor without evidence supporting a stronger judgment. These factors inform one combined judgment: high-impact findings can control the verdict and are never diluted by minor items. Use the strongest confirmed consequence as the baseline, account for proven joint effects, and keep severity, source disposition and verification separate. Missing tests no longer receive an automatic High rating; numeric topic discounts require independent calibration before they can determine verdicts.
The vitality extractor's abandonment-banner and changelog-date patterns are built from raw-string pieces instead of f-strings with doubled braces, so the docformatter pre-commit hook no longer corrupts them into invalid Python on CPython 3.12.3; the patterns match exactly what they did.
Three script docstrings (fetch_pr_intel, gh_batch_query, extract_contributors) point at their tests' current folders.
Require proportional planning and challenge before accepted execution, then consolidate actual results with independent review and verification; routine authorized work gains no user approval prompt. Validate bounded outcomes, decompose larger work, and complete branches depth-first with focused context and useful disjoint sibling delegation; parent consolidation retains valid-evidence and mandatory acceptance gates.
The loop cost log moves to schema 2 and adds tokens_total, so a Claude review round records the background agent's subagent_tokens total and duration_ms (as duration_s) instead of leaving tokens null; schema 1 records stay accepted.
Review loops record the failing-before/passing-after check as a literal command line in the pre-baseline attestation and as a probe: entry on fix actions, so the parent can rerun it after later edits; the helper never executes it and reviewers do not receive it as a resolver account.
Assess confidence in the delivered result and how it was checked separately from completion status, while retaining required gates.
Accept case variations in reviewer invariant labels while preserving the original evidence, so valid challenge findings can proceed to action validation.
/oss:setup no longer stops at the permissions merge when the gh-write guard reads the retired Bash(gh api repos/*:*) allow rule in the command text as a gh write. The retired allow rules now ship in permissions-allow-retired.json and reach merge_settings_permissions.py through the new --drop-allow-file option, so settings.json loses the same rules and the command no longer names gh api. The merge also stops with settings unchanged when a retired-rules file is null or holds a non-string entry or an option path is empty, and refuses a drop or retire option given without the allow or deny merge it modifies.
/oss:analyse, /oss:release, /oss:resolve and /oss:review no longer pin a model and run on the session model. The pin swapped the model for one turn and back, rewriting the whole cached prompt prefix twice: about $1.4 to $1.5 per /oss:resolve run in an Opus session. Net of the Sonnet turns that now run on Opus, removing the pins saves about $0.4 per run there; the large saving comes from starting these sessions on Sonnet, where the main thread costs about $1.2 instead of $2.82.
/oss:resolve fetches the PR thread with the new fetch_pr_intel.py (conversation comments, reviews, inline comments with resolved-thread flags, positions and commit context, the PR's commits, linked issues including cross-repository ones, and each commenter's association, as one deduplicated file, no model) and the classifier subagent reads that file instead of running about ten gh calls. The subagent's prompt limits it to Read, Write and the deprecation filter's git describe / git show (plus one gh release list as that filter's fallback), and a failed required fetch, a bad argument or the 150 s time budget now stops with a message that names the cause instead of classifying a partial or stale thread; the script removes the previous output before every fetch.
/oss:resolve classifies the fetched PR thread on Haiku instead of Opus. Against the Opus runs on three real PRs the required-change items were identical, the cost fell about 90% (about $0.15 against $1.1 to $1.6 per PR), and instructions planted in a comment and a commit message were reported rather than followed; borderline status and change labels can differ. A missing envelope or a refused pr-vars.sh retries once on Sonnet, then on the agent's own tier.
Review loops add a pre-baseline attestation: before the first review of a diff the parent or its resolver wrote, the author lists each changed behavior's invariant, sibling routes, consumer and failing-before/passing-after check, and fixes the gaps within scope. Fewer avoidable defects reach a paid independent review. The reviewer never sees the attestation, it never counts toward scoring or clean acceptance, and it is skipped for review-only requests, unauthored code and continuations of a prior ledger.
Review-loop adversarial_loop.py helper and cost log:
adversarial_loop.py --append-metrics records each round's cost (route, brief bytes, duration, tokens, attested gaps; unknown values stay null) in an advisory loop-metrics.jsonl beside the ledger, so later investigations can price review rounds. It never affects scores, recurrence or clean acceptance.
Review loops report why a stalled round stalled: adversarial_loop.py --plateau-kind prints stuck (the fix did not land), whack-a-mole (the fix exposed new siblings) or mixed on stderr, and the loop rule recommends the matching next step. It is informational only and never changes the stop decision, exit status or JSON summary.
The cost log's route follows a shared vocabulary (parent, agent:…, bridge:…, codex:…, other:…) so routes can be joined to outcomes, and --append warns, never refuses, when a finding first reported after round 1 has no origin: evidence entry.
Review loops can pilot a leaner reviewer brief: adversarial_loop.py --brief-arm assigns lean or full per run directory, only for loops that are not filter or gate reviews and have no open security or critical finding. The cost log records the wording sent (brief), so about 10 runs can be compared by first-reported weight, rounds and brief size. A high or higher severity finding first found after a lean baseline pauses the lean arm.
The review-loop cost log and pilot flags are hardened: a rejected cost record now only warns (warning: metrics-rejected:…) and no longer hides the committed round's summary or progress table; records bind only to a valid current ledger, take fractional duration_s, keep one stripped route per line even after a partial write, and a brief-arm-pause file carries the lean-arm pause. --brief-arm refuses to combine with another action, --plateau-kind speaks only at a plateau or non-converging stop, the origin: warning also fires for an unknown class, and the attestation goes to a randomly named temp file outside the workspace so a reviewer cannot derive its path, and attested_gaps is null whenever no attestation was written.
The loop rule names where a first-reported finding's origin class is stored (an origin: evidence entry), so missed versus fix-introduced defects can be counted from the ledger.
Blueprint manifest re-checks reject unsupported shell forms and command overrides. Stale or tampered entries cannot regain auto-approval through the following forms:
Parameter expansions beyond supported reads.
Arithmetic beyond read-only $((…)) expressions.
Malformed or unterminated heredocs.
zsh glob qualifiers and misplaced array assignments.
Shell options outside pipefail, errexit, nounset and nomatch, including wrapped or constructed flags.
Wrapper options requiring operands.
Lookup-variable writes, including disguised names, invisible characters and arithmetic operands.
Unsupported $ expansions and named-descriptor redirections.
Unmodeled brace compounds, including inside nested case arms.
Command-shadowing functions and source/..
Blueprint and sentinel-read checks:
Blueprint checks keep ordinary text operands and quoted-delimiter heredocs as data, while checking command substitutions across lines in unquoted heredocs. Quoted assignment text avoids false rejections, and dangerous commands cannot hide in expanded heredoc text. Shell script paths held in variables require -- before the path to remain auto-allowed.
Blueprint checks and sentinel reads accept literal string-only printf/print formats with fixed widths, literal percent signs and newline, tab or backslash escapes. Supported formatted output remains auto-allowed under the stricter checks. Nonliteral formats, non-string conversions and unsupported escapes are rejected. Every format word is checked against that closed list whatever its first character, so a dash-leading print -f or printf format can no longer write a lookup variable, while print -rf, printf -- '-%s', env printf and inert quoted text stay allowed.
Sentinel reads require plain target names and reject lookup variables, prompt strings, hook arrays and command tables. Only empty IFS= prefixes on read are allowed, preventing other field-separator writes and shell-environment changes. Arguments accept supported variable reads, literal or variable defaults and trims; unsupported expansions and named-descriptor redirections are rejected.
Review loops:
Review → fix loops now keep a round ledger and progress table, making review history visible. Repeated invariants are tracked across all earlier rounds, including renamed findings, requiring root-cause evidence on repetition and stopping at the third occurrence. Action invariants must match their ledger findings after whitespace and case normalization, preventing inconsistent recurrence tracking.
Filter reviews require grammar coverage across every reader, exposing unmodeled constructs as findings and preventing clean verdicts with incomplete coverage. Repeated filter failures require defaults that reject unmodeled input, preventing another narrow bypass fix.
/oss:resolve full-suite scripts now separate shell options from the script path with --. Full-suite execution remains auto-allowed under stricter shell-option checks.
The adversarial-loop rule and the challenger dispatch rule list a reviewer reply truncated before its required closing block (envelope or ## Confidence) as an agent failure, so a cut-off reply is no longer scored as a complete round with fewer findings. Where the host can continue that reviewer, the parent asks it for only the remainder, in replies short enough to pass the transport, until the closing block arrives; a reply that adds nothing new records the failure.
The adversarial-loop progress table shows security findings in their own Security column ahead of Critical, instead of folding them into Critical, so a reader sees how many open findings are security bypasses. Score weights and the Weighted score column are unchanged.
The adversarial-loop rule treats any reviewer round that returns no deliverable, a refused findings write, an unparsable envelope, a safety-classifier stop or a blocked envelope as an agent failure, records its cause in loop-report.md (never as a round, where it would read as a clean review), re-dispatches that reviewer once with a brief that removes the cause, switches to another permitted reviewer route if the same one fails again or cannot be re-dispatched (no attempt left, no approval, or a cause no brief can remove), and stops as independence-unavailable only when no route remains, instead of letting the round drop out as not-run.
Adversarial review loops treat a foundry:challenger round that returns no deliverable or a blocked envelope as an agent failure, never a silent not-run: the cause is recorded and the round re-dispatched once. Security-filter reviews keep Codex enabled, so the challenger runs the bypass search through its Codex cross-check and needs no separate Codex row.
The file-handoff protocol lists the report names Claude Code refuses for a subagent Write (findings.md, report.md, summary.md, analysis.md and suffixed findings-*.md), so an agent names its file after itself and the report is no longer lost.
The runtime blueprint-allow.js hook refuses, even on a manifest hit, every command that can point a command name at another program: hash, builtin, alias, enable, functions, eval and their kin; any mention of the zsh commands/functions/aliases or bash BASH_CMDS/BASH_ALIASES tables, attached option prefixes included (set -Acommands); set -A, read -a, printf -v, name references and indirect expansions. Spellings that slipped past the earlier per-spelling checks, such as set -Acommands ruff /bin/echo and builtin -- hash -p …, are now refused.
The same hook reads each command as the shell's own words before judging it: quotes, backslash escapes, $'…' strings and line continuations are resolved and joined, and redirections are set aside with their targets. \rm, r""m, h$'a'sh, \-v and co""mmands therefore count as rm, hash, -v and commands, and a redirection such as printf 2>/dev/null -v … or 2>"a b" set -A … no longer hides the option or the command. A command word written as a pattern that can expand to a refused name (/bin/r?, {ha,}sh) is refused. The hook reads past the zsh precommand modifiers noglob, nocorrect and - and past a wrapper's own arguments (timeout 5 set -A …), and it judges the command text carried by a shell's -c (after options such as -o shwordsplit), a trap action, watch and env -S, so noglob rm -rf x and zsh -o shwordsplit -c 'set -A …' are refused. An option written after another option's argument (set -o noglob -A …, read -t 5 -a …, print -f '%s %s' -v …) still counts. Text the reader cannot settle is refused rather than guessed: a command that ends inside an unclosed quote; a $'…' escape bash and zsh decode differently, wherever it stands, assignment and redirection target included (a NUL byte, \u…, \c…, an unknown letter such as \m, an octal value above \377); an expansion inside a command word (h${x}sh); and a pattern among a wrapper's words or a POSIX bracket class in a command pattern (command h[a]sh …, /bin/r[[:lower:]]). A shell's -c script written after -- is judged like any other. Short options are read as clusters, so zsh -co shwordsplit '…', zsh -xo name -c '…' and env -iS '…' still reach the carried script, and every argument after a -c cluster is judged as script text. A / inside an expansion (h${x:-/}sh) no longer counts as a path separator. unset -f, -F or -m, which remove a function that shadows a command, is refused like unalias. A -c string counts as a bare variable (bash -c "$METRIC_CMD") only when it is exactly that variable, so invisible Unicode whitespace around it no longer makes the hook and the generator disagree. An expansion where printf, print, set, read, unset or a declaring builtin still reads options (printf "$o" …) is refused, since its value may be -v or -A. A quoted or escaped prefix ('h'${x}sh) no longer hides an expansion inside a command word, and a bracket class holding a quote or backslash (h[\!a]sh) is matched as any one character. The command after a zsh short or brace form (for x (a) cmd, select x (a) cmd, if true { cmd }, while … { cmd }, repeat 1 cmd) or after bash coproc is judged like any other command. The & of 2>&1 or &> no longer splits a command in two, an escaped quote in $'\'' no longer ends the string early (also when a line continuation splits $ from '), a parenthesis inside a quoted string no longer ends a $(…), and a {fd}> redirection is set aside like 2>.
The blueprint hook refuses a command whose raw text has a backslash-escaped blank at a line end or before #. The shell ends the command there, or keeps the rest of the line as an argument, while normalization would read a continuation or a comment, so a shipped digest could approve a different command. No shipped block contains the shape.
The sentinel-read shape lane judges every word a read receives: a sensitive variable such as PATH named anywhere, attached to an option (-aPATH) or after an option's argument, or a computed name (read "$V") refuses the command. Only the first name was checked before, so read -r IGNORE PATH < file could rebind command lookup without a prompt.
The plugin's blueprint manifest no longer auto-allows a line that is not a complete command on its own, a block that writes heredoc data, a block that sources a state file, or one that runs a variable's value as a command; those run after a prompt.
Review and resolve read their KEY=value state files (flags, gate, mode flags, pr-vars.sh) as data instead of sourcing them, so a value carrying a PR's CI check names or an agent-written line can no longer run as a command inside an auto-allowed block. The resolve reader also keeps a final line written without a trailing newline.
Follow the active Codemap provider’s automatic missing/stale-index preparation contract, preserving explicit confirm-first and frozen preferences across later tool calls and nested query helpers.
Review and resolve test selection honor the owning invocation’s disabled Codemap choice while retaining heuristic test plans and required verification.
Keep supported review source judgments separate from blocked verification and include the reviewed full commit SHA in report headers; retain explicit unavailable identity for unversioned or historical abbreviated sources.
Permissions and the blueprint hook:
The runtime blueprint-allow.js hook treats uv run and poetry run as carrying their wrapped command and flags hash name=/path, hash -p /path name (also the attached -p/path and bundled -rp spellings), builtin hash … and any write to the zsh commands / bash 4 BASH_CMDS tables (commands[x]=, commands=(…), +=, ${…:=…}, printf -v, read -A, or a write nested in a lookup subscript such as ${commands[$(…)]}; a plain ${commands[x]} or ${commands[$name]} lookup stays allowed), so a destructive command behind one of those, or a rebound command name, is refused even on a manifest hit.
Bash(eval:*) is no longer in the shipped allow list and /oss:setup removes it from settings.json, including an identical entry added by hand: ad-hoc eval commands now prompt, while shipped blocks no longer use eval.
Session sentinels and vitality state:
Helper scripts that write or read a session sentinel (parse-skill-flags.py, resolve_preflight.py, release_setup.py, extract_vitality_vars.py, detect_codemap.py and the other bin/ sentinel helpers) fall back to /tmp on POSIX when TMPDIR is unset, the directory a skill's ${TMPDIR:-/tmp} names, instead of tempfile.gettempdir(), which picks TEMP or TMP first; with either set, script and skill read different files. Native Windows keeps gettempdir().
extract_vitality_vars.py --keep-state in vitality mode:
extract_vitality_vars.py --keep-state stores a multi-line axis signal on one line, because the sentinel reader keeps only the first line; the whole signal reaches the report.
/oss:analyse vitality mode reads the extracted scores, confidences and weights from per-session sentinel files written by extract_vitality_vars.py --keep-state instead of running eval on the script's output; the script's default shell-assignment output is unchanged.
/oss:resolve treats every finding in a review's ### [blocking] Critical section as required work at any severity, and /oss:review places [blocking]-tagged findings (such as Block-tier test gaps) there at their own severity, so they no longer drop to optional [suggest] items.
/oss:resolve folds root-cause-merged review rows (merged_into) into the survivor's action item: the item lists merged_finding_ids and every symptom, takes the group's highest severity and [req] routing, matches a GitHub comment on any symptom's line, and gets one resolution.jsonl record per folded finding; a merged_into naming no single survivor keeps the row as its own item with a ⚠ warning, so no confirmed finding is dropped or dispatched twice.
The /oss:review publication gate refuses a non-text merged_into, so a malformed report fails at review time instead of hard-blocking /oss:resolve; the review consolidator keeps each merged row's own severity and section.
oss:cicd-steward rates findings on a consequence-based severity table and reports ubuntu-latest drift only when the prompt names runner reproducibility; oss:gh-scraper and oss:repo-warden stop on off-shape input with a single error or declined envelope, and /oss:analyse vitality surfaces the decline reason instead of a timeout.
oss:shepherd applies absent-from-input checks only to partial input and rates a feature shipped in a patch as its own medium finding; /oss:release lowers classification confidence when the Truth check is skipped with any Removed or Breaking Changes item.
The review checklist anchors documented-contract violations at MEDIUM, and the shared file-handoff protocol adds the unsupported decline status.
A rejected PR still allocates its report directory; the issue agent is foundry:sw-engineer and skipped for docs-only and non-code scopes; test paths are anchored to path segments; CI configuration other than .github/workflows/ and .github/actions/ prints a not-reviewed warning instead of spawning or skipping silently.
Runs the Codex co-review as a background bridge call beside the spawned review agents and writes its findings to foundry--codex.md itself, since the bridge runs Codex read-only and cannot create that file.
Routes a GitHub Actions-only PR to oss:cicd-steward with CI status, the acceptance gate and the challenger: .github/ and YAML files no longer qualify a PR for the narrow TESTS_CI lineup, which skipped all of them. Notebooks, requirements manifests, pyproject.toml and other config are no longer counted as docs or skipped as "no relevant files"; they get the code lineup, and a CHORE PR touching a notebook keeps qa-specialist for the OWASP/CVE scan like a dependency manifest.
Spawns the merged docs+lint unit as foundry:linting-expert with documentation folded in, still writing both foundry--linting-expert.md and foundry--doc-scribe.md. --fill-gaps reruns now use the same agents as the full review — foundry:sw-engineer for linked-issue analysis, foundry:linting-expert for the docs+lint unit — instead of foundry:doc-scribe for both.
/oss:resolve:
Stops with ! BLOCKED — not a pull-request URL when given a GitHub issue or repository URL, instead of continuing with an empty PR number that every later PR step silently skips.
Unknown flags are reported before parsing and ask Abort or Continue; a push is verified against the PR head commit; checkout uses --end-of-options and gh pr checkout --branch=; the conflict-resolution merge refuses an unrelated MERGE_HEAD and a refused merge exits 1; comment dispatch passes its task through a file in an untrusted-data fence; PR title and body are fenced and review and comment lists are paginated; the change scope is persisted for the lint and QA gate.
Action-item dispatch is split into dispatch-prelude, dispatch-phase1, dispatch-phase2 and dispatch-phase3, and the report-intake block moves to modes/report-intake.md, loaded only for report and pr + report runs; /oss:release loads modes/delegation.md and modes/append-cross-cycle.md on demand, and shepherd loads each sidecar guide per task type instead of all at once.
Pushes to a renamed fork correctly: Step 4 records the PR's head repository name and Step 10 passes it to derive_fork_remote.py --fork-repo, so a fork remote added at push time points at the contributor's repository instead of one named after upstream.
/oss:resolve report gate (find_review_report.py) and findings merge (merge_action_items.py) write stdout and stderr as UTF-8, so on native Windows a ! BLOCKED — message or a non-ASCII report path no longer reaches the calling shell block as undecodable console bytes.
/oss:analyse:
Persists its thread type, item and comments through sentinels, uses -F for GraphQL placeholders, reloads the codemap flag in every signal block, and runs the vitality codex review from one instruction block; a missing .done marker or unknown verdict counts as timed out.
Vitality refuses oversized inputs instead of reading them whole: a Group 1 dataset file over 64 Mi characters is reported missing, and an existing data file over the same bound stops assembly with exit 1 rather than silently dropping its records. /oss:resolve's specialist merge refuses a plan or centrality file over 10 Mi characters before any cherry-pick.
Read-only bridge:review passes in /oss:analyse vitality (independent Codex scorecard, adversarial rework) and /oss:release audit no longer ask Codex to write files it cannot write: Codex returns its findings, the orchestrator writes the report file and .done sentinel, so a completed Codex review is aggregated instead of always reporting ⏱ timed_out. A non-complete bridge status still writes no .done.
/oss:release:
/oss:release: audit rejects a ..HEAD range, reloads its range and target across blocks, picks the newest upstream review naming this PR, and numbers the report instead of overwriting it; --changelog derives the target version from the notes range, and the collapse guard on SUMMARY.md and MIGRATION.md fails closed when unarmed; prepare rejects an empty, v-only, option-shaped or slash-bearing version before persisting it; demo takes its range from the first range-shaped token.
/oss:release notes v1.2->v2.0 builds notes and CHANGELOG entries from the requested commits: Mode Detection now saves an explicit two-endpoint range for Gather changes, which ran in a fresh shell and silently fell back to LAST_TAG..HEAD. A lone version token (prepare v1.3.0) is never taken as a range, and each run clears the previous run's saved range.
/oss:release audit and /oss:resolve run version comparisons, commit-SHA extraction and deferred-file overlap checks through plugin-owned Python helpers, preserving their results and failure guards while avoiding multi-line shell quoting.
/oss:setup:
Validates settings with Python instead of jq, so machines without jq keep a valid permissions merge rather than restoring its backup; malformed JSON still triggers restoration.
Probes bare python, writes settings.json through a redirect that keeps a symlink intact, and drops model from its frontmatter.
Merges the shipped allow and deny rules through the new bin/merge_settings_permissions.py in one call instead of two jq blocks, keeping first-seen order without re-sorting.
Permissions and the blueprint hook:
Narrow broad find, node, claude, and sed allows while retaining scoped read-only rules and broad eval/python for existing recipes; ad-hoc commands outside shipped blocks now prompt unless a narrower rule covers them. Setup removes the old broad entries from settings.json, including an identical entry added by hand.
blueprint-manifest.json is regenerated with the allowlist gate: 1909 of the 1949 entries the previous gate admitted stay auto-allowed, including the /oss:review blocks that source their flag and gate files, the /oss:resolve dispatch and full-suite blocks, the /oss:analyse cache write-back mv "$CACHE_FILE.tmp" "$CACHE_FILE", and the /oss:review step that parks a refused report with mv -f. Two blocks are left out and prompt: the /oss:resolve lock cleanup that runs rm -f, and the uv add example in cicd-steward.
The bundled blueprint-allow.js refuses a manifest hit that hides a destructive command behind a case arm label or inside a function definition (case x in a) rm -rf /;; esac, f() { rm -rf x; }), which it let through before.
Hardening against untrusted input:
Keep-state parsing rejects unsafe sentinel identities before changing state, and bulk review commits sanitize PR references and bullet contents so embedded control characters cannot forge resolve markers or co-author trailers.
resolve_shared_path.py:
Without a registry or cache hit uses the cwd-relative plugins/cc_oss/... (or a provider's plugins/<name>/...) tree only inside that plugin's own source repository, where its .claude-plugin/plugin.json names it. Elsewhere it exits 1 with a ! message instead of printing the path, so a repository under review can no longer supply oss protocol docs or the codemap-py contract.
Rejects an absolute (/etc) or empty-segment (skills//_shared) subdirectory and a plugin name with a trailing newline, which could resolve to a path outside the plugin install. It also reads its own plugin name from plugin.json: in the installed cache the directory name is the version number, so the own-plugin lookup never matched there.
No longer executes a plugins/<dir>/bin/get_plugin_install_path.py found in the working directory, so a contributor checkout under review cannot plant code that runs while /oss:* skills resolve their shared files; it runs the helper shipped beside itself and ignores a registry installPath outside ~/.claude/plugins/cache/borda-ai-rig.
heal_git_artifacts.py worktrees keeps unregistered directories unless --include-orphans is passed, re-checks one right before deleting it, reports symlinked children as skipped and rejects a * managed prefix. The worktree-isolation leftover report and its approved removal both pass --include-orphans, so the list you approve and what gets removed stay the same.
check_oss_pr_signals.py prints secret matches as path:line: kind and never the credential value; line numbers are hunk-aware and removed lines are marked. The removed-export check matches whole identifiers instead of substrings and caps at 500 identifiers. A --latest-tag starting with - exits 1 and an --output-file symlink is refused.
fetch_gh_data_group1.py requests secret-scanning alerts with hide_secret=true and drops the secret field; repository parts . and .. and malformed cutoff dates are rejected, and a timed-out fetch is non-fatal.
resolve_pr_refs.py rejects head and base branch names git would read as an option and gains --local-base, the no-PR path for report mode and comment dispatch that publishes only the default branch. derive_fork_remote.py validates remote and ref names and gains --fork-repo for a fork whose repository name differs from origin's.
commit_action_item.py, commit_all_items.py and commit_lint_fixes.py use --literal-pathspecs and bounded git timeouts, so a changed file named like a glob no longer sweeps unrelated edits into a bot commit; the lint-fix commit is limited to dirty files inside the PR range and refuses without the base sentinel.
resolve_test_plan.py accepts only a plain runner command from project docs (no shell metacharacters, no python -c) and falls through to the Makefile or fallback otherwise. build_triage_batch.py, build_vitality_paths.py, detect_thread_type.py, extract_changed_symbols.py and extract_contributors.py escape or reject option-shaped and malformed input.
release_setup.py creates its sentinel directory 0700 and exits 1 when it is a symlink or owned by another user; release_append_marker.py, setup_release_dir.py and release_append_publish.py write atomically and publish only from their own stage directory. run_audit_checks.py skips symlinks and paths outside the root and fences matched lines as untrusted data.
resolve_centrality.py, review_impact_tier.py, classify_breaking.py, search_downstream_consumers.py, mint_finding_ids.py, vitality_extract.py, fill_gaps_scope.py and resolve_preflight.py reject malformed or unsafe input instead of crashing or acting on it.
agent_watch.py exits 2 when the batch file has no rows, reports an unreadable batch file as timed_out, and does not count a deliverable older than the batch file as done.
check_agent.py counts only agents in the installed plugin cache, so a .claude/agents/shepherd.md planted in the repository being worked on no longer makes /oss:release treat it as the installed oss:shepherd.
review_impact_tier.py reads at most 10 MiB of diff-impact JSON; larger input is not parsed and /oss:review falls back to the FULL lineup instead of holding the whole payload in memory.
Session sentinels written by the resolve, analyse, release and codemap helpers are created fresh with owner-only permissions and are never written through a file or symlink another local user planted at the same name in a shared temp directory; a sentinel that cannot be replaced stops the step instead of reusing someone else's value.
Repository text from the vitality data file (README, CONTRIBUTING, workflow files) reaches the rework agent inside an untrusted-data fence, and the Codex independent review is told that text is data, not instructions.
verify_blueprint_audit.py verify reports an audit-log line nested deeper than Python's recursion limit as a damaged line, like invalid JSON, instead of crashing the whole check.
Helper scripts and sentinels:
New bin/gh_batch_query.py: commit-prs maps a Git range to its merged PRs and pr-files lists the changed files of several PRs, 25 per GraphQL request, resumable with --offset-file. /oss:release gather and the codemap signals use it instead of one gh call per commit or PR; the release gather handles up to 500 commits per run and resumes from NEXT_OFFSET.
New bin/resolve_changelog_file.py resolves the changelog path (root, docs/, first one-level CHANGELOG*, else CHANGELOG.md) for release notes, prepare and audit, replacing the find | head -1 lookups.
New bin/symbol_exists_at_ref.py replaces the AST heredoc copied into the truth-check and gather prompts; bin/codemap_batch.py runs the review QA and docs codemap supplements as one codemap-py batch call instead of two per module; bin/filter_action_items.py validates and filters numeric item-id files for both resolve sites.
build_merge_plan.py gains --resume-from merge-result.json, merge_action_items.py resolves and mints the findings file itself (--report-file, --impl-dir, --persist-findings, --intake-accepted), and build_analyse_paths.py gains --mode report-file, so a thread report is written to the path the fast path probes and is reused.
parse-skill-flags.py no longer drops a --keep value whose quotes the shell consumed when the host substituted $ARGUMENTS (--keep "a b" used to arrive as --keep a b and persist an empty keep list); it now also accepts --keep 'a b' and --keep="a b", strips a dangling --keep from CLEAN_ARGS, and warns on stderr when the value was unquoted or empty, so a lost compaction keep list is visible instead of silent.
parse-skill-flags.py --keep-state <prefix> writes one per-session sentinel per parsed flag, value, CLEAN_ARGS and --keep value, and clears a crashed run's stale compaction contract only when no other session owns it (--inlined skips the clear); output without the option is unchanged. /oss:analyse, /oss:resolve, /oss:review and /oss:release read their flags back with IFS= read -r instead of running eval on script output, the contract clear in analyse, resolve and review no longer deletes a contract another session in the same directory owns, and the release audit checks reuse Mode Detection's parse instead of running the parser a second time.
Compaction boundary blocks in resolve, review and the dispatch phase call bin/compaction_boundary.py, and seven contract writers pass --keep-sentinel <name> instead of reading the keep sentinel inline.
Variables that were empty in a fresh shell are reloaded from sentinels: analyse and review CLEAN_ARGS, release RANGE, MIGRATION_DOC and CHANGELOG_FILE, and resolve CODEMAP_ENABLED and the index path, so the review-cache materialization no longer skips silently; the release delegation steps reload their branch, date, range and waiver file instead of always failing the assert.
Agents and skill conventions:
shepherd gains the Skill tool for the humanizer skill and uses gh-write approval wording; cicd-steward fixes the gh-action-pypi-publish name, risk-tier order and Python matrix and routes CHANGELOG policy to oss:shepherd; gh-scraper no longer uses BSD-only date -r; repo-warden records its partial-file path in a sentinel. The agents use ${CLAUDE_PLUGIN_ROOT} without a source-tree fallback.
repo-warden loads its scoring group through three fixed per-group blocks and reads the data file from the vitality session sentinel instead of an unset AXIS_GROUP and DATA_FILE; gh-scraper drops the unused Write tool; /oss:analyse parses --reply before the shared-path hard fail; the demo mode persists the output path its gate reloads.
Skill-owned halts print ! BLOCKED instead of the ⛔ form, and agent spawns carry a name and a delta-first prompt line.
The report-delivery hook recognises a /research:topic follow-up question that offers /research:topic plan as that workflow's own gate, so its report path, title and header-table checks apply instead of being skipped.
Sync write-guard.js: a tracked file never asks, and an untracked or gitignored file asks only for CLAUDE.md, AGENTS.md, .claude/settings*.json, .pre-commit-config.yaml and pyproject.toml. .github/**, CHANGELOG.md and lockfiles are no longer protected, so editing a newly created file there no longer prompts on every edit. A protected file that does not exist yet asks once on creation; later writes to it in the same session pass.
Sync the file-handoff protocol: a tool or permission denial that blocked part of a task returns done_with_concerns, never done.
/oss:analyse runs inline instead of as a forked background agent. The context: fork frontmatter made the harness hide the run as @oss-analyse: its phase tasks never reached the caller's TaskList and its progress was not shown.
/oss:resolve, /oss:review and the shared compaction contract follow foundry's non-blocking boundary gate: an advise decision starts the next phase (the resolve fan included) at once and shows a short one-line /compact hint at the next natural pause; only FOUNDRY_COMPACT_GATE=stop holds the run until continue.
/oss:release audit splits dependency CVEs by release scope. run_audit_checks.py diffs the range's dependency manifests and lock files and passes the touched package names to parse_audit_json.py --introduced, which reports new and pre-existing vulnerable packages. A CVE new in the range is a critical finding (red flag, verdict BLOCKED); a pre-existing one stays a medium warning and never blocks alone.
/oss:release audit counts dependency CVEs only for packages the built distribution ships: [project].dependencies, non-dev optional groups and their transitive runtime requirements. Test, docs and other dev-only packages are listed as not shipped and never become findings; an unreadable or dynamic dependency set falls back to scanning everything and says so.
Sync write-guard.js: a protected file git already tracks no longer asks before a write, since the write is diffable and revertible; untracked, new and gitignored protected files still ask, and .claude/settings*.json and .pre-commit-config.yaml always ask.
Sync the adversarial-loop rule: reviewer briefs that run adversarial shell cases require case files written with a file-editing tool and fake gh/git binaries.
Keep review coverage and confidence gaps as factual limitations; require a specific user decision for additional review and omit declined requests from findings and final actions.
Write report-path test sentinels with LF on every platform so Git Bash reads valid paths on Windows.
/oss:resolve no longer hard-blocks a review report that fails intake. It runs find_review_report.py --assess, prints every gap graded critical (a lost, unbacked, duplicated or stale finding, a confirmed row resolve's merge would refuse, an ambiguous verdict, an unreadable sidecar, or a blocked/missing QA review under a claimed-complete report) or degraded (a wrong readiness or aggregate-outcome label, another reviewer's coverage gap, open-concern bookkeeping, a legacy report), and asks: proceed with the valid parts (offered only with no critical gap and no REJECT_ gate), rerun review for selected gaps, rerun in full, or abort. The review's report, sidecars and findings are never edited. Proceeding passes merge_action_items.py --accept-degraded for that report only; the verdict re-check stays strict, and the final report records the degraded intake and its gaps.
--fill-gaps targeted reruns:
New /oss:review <N> --fill-gaps <report> --roles "…" --candidates "…": re-runs only the named reviewer roles and candidate checks against an unchanged PR head, carries every other record of the prior run into a new run, and publishes a confirmed candidate's missing finding row without re-validating it. fill_gaps_scope.py validates the selection, plans the run and verifies the carried records.
--fill-gaps refuses before any spawn unless the run it would publish can pass the publication gate. It checks the carried projection, which is the prior run minus the re-run roles and re-validated candidates, plus the rows to publish, with every other record verbatim. The check uses the gate's own record rules and varies only what the new consolidator may write. A refusal names the carried records to add to --roles/--candidates, or says that no addition can help. A sidecar, contract or open-concern gap that no rerun can repair is refused outright. The prior head-sha.txt must hold a 7–40 hex commit id. A named CONFIRMED candidate only gains its missing row when its record passes every rule and has no open concern; otherwise it is re-validated. Carried findings rows must also pass the producer row rules (merge-ready fields, unique ids): a failing row names its candidate as an addition, and a row naming no recorded candidate needs a full review.
New fill_gaps_scope.py triage --report=<report> | --assessment=<--assess JSON> prints whether resolve may offer a targeted rerun, plus the required and optional subjects, using the planner's own checks. It covers the recorded commit id, a moved head, a terminal REJECT, and whether the carried records can pass. Resolve's triage offers Rerun review for selected gaps only when the verdict is admissible and always includes the required subjects, so it never suggests a request the planner refuses. The one exception is a PR head that could not be checked: the rerun is still offered but not marked recommended, and the planner re-checks the head before any spawn. Triage also offers every rerun the planner would accept, adding any carried record the run needs to the required subjects; when the gaps lie outside every record (a header-only or aggregate-label defect), every recorded subject that plans alone is offered as optional. A QA or security role named by a gap is always required, and the rerun is not offered when that role cannot be named in --roles. Every refusal ends with a pointer to a full review. The verdict carries the resolved pr. When one optional subject sits beside required ones, or when more than 16 optional subjects are all of one kind, the user is asked instead of having it taken for them.
The fill-gaps projection lets the aggregate outcome follow its projected assessments, so a rerun can correct a mislabelled aggregate without re-running a healthy reviewer. Allocation refuses a --fill-gaps run that has no plan instead of falling back to a plain run. A null aggregate outcome beside a missing reviewer is now valid with Readiness: incomplete, because a missing reviewer outranks blocked; the strict gate and --assess apply the same rule.
mint_finding_ids.py --carry-from <prior findings.jsonl> keeps every carried row's id verbatim in a fill-gaps run, and a new row never takes a carried row's id. The consolidator passes it with the plan's prior_findings.
find_review_report.py --assess:
Prints the graded gaps as one JSON line; exit 2 on any critical gap, exit 1 when the report path cannot be published, else 0 with the report path published. The line carries head_moved (true/false, or null when the run recorded no commit id or the PR head cannot be fetched); a moved head drops the targeted rerun from resolve's triage and recommends a full rerun.
Never under-grades a report the strict gate refuses: a completed reviewer without coverage, rationale or evidence is assessment-unbacked, a non-string candidate id candidate-invalid, any record rule no label correction satisfies ungraded-rule (all critical), and a refused report always shows at least one gap. A malformed sidecar grades sidecar-malformed instead of crashing, a legacy gate line other than PASS, BLOCK or REJECT_<GROUND> grades legacy-gate-ambiguous (critical), and the QA reviewer is recognised by one shared pattern (qa, security, test) in both grading and the fill-gaps unit map.
Adds recorded_rejection, the report's Gate: REJECT_… line, even when critical gaps blank gate, and resolve's triage shows it. Deeply nested or malformed sidecars grade as gaps instead of raising RecursionError. fill_gaps_scope.py verify reports malformed plans and sidecars as problem lines, never a traceback.
The strict gate requires an assessment role to be a non-empty string. merge_action_items.py blocks a findings row or link whose fields have the wrong type, instead of crashing.
The carry check and the publication gate share one consolidator re-spawn per run. Before that re-spawn the refused report is parked as review-report.refused.md, and a final refusal empties the report-dir sentinel, so the delivery hook never demands a refused report. A consolidator that publishes a REJECT_ gate itself fails the gate: only Stage 1's terminal publisher may publish a rejection.
Resolve's report-mode lookup no longer aborts under zsh when a report lineage holds no file; the printed fill-gaps command quotes the report path, and the subject follow-up question stays within 4 questions of 2–4 options each.
/oss:review now checks its own publication before printing it as finished: after the consolidator returns, it runs find_review_report.py --report --producer, which applies the same intake check /oss:resolve uses plus producer checks: the header must carry Review contract: 1, and every findings.jsonl row must carry the fields resolve's merge requires (id, section, severity, title, change, author), with a known severity word and no id shared by two rows. A consolidator-published REJECT_ keeps its own reject route and skips these row checks. A failing report gets one consolidator re-spawn with the failure reason; a second failure stops with ! BLOCKED instead of delivering a report that resolve would reject (for example Readiness: complete with open UNVERIFIED concerns, a blocked reviewer, or a CONFIRMED candidate without a findings.jsonl row). The gate and resolve's merge share one row rule, and merge_action_items.py --recheck-verdicts now blocks on a publication row it cannot use instead of crashing.
find_review_report.py names the broken rule on rejection: incomplete-review-report is followed by a [gate] reason: line (for example open candidate 'V13' (UNVERIFIED) under readiness=complete). gate_line() is unchanged; the new gate_verdict() returns the gate line and the reason.
Sync the cross-validation protocol and consolidator prompt: aggregate readiness: complete requires every assessment complete and no open concerns.
When /oss:resolve sends a review item to Codex to fix, hand it the CodeQL alert the item links: fetch_alert_context.py reads it in the calling session (the child has no network) and appends it to the brief as delimited untrusted data, only for alerts in the PR's own repository and the item's own file. The helper now also writes the item line, with the reviewer's comment fenced as untrusted, and always ends with one line, outside and after every block, naming the caller-fetched block tokens (none when nothing was fetched), so a comment cannot pass a forged section off as fetched data. An item whose path holds a line break, a control character or </>, or whose line is not a line number, is refused and takes the ordinary path; a path with spaces is written as a quoted JSON string. A failed fetch, an unresolved repository, an alert elsewhere, a foreign-repository link, a link past the cap or a code-scanning link on another host, in another form or with its number in other digits each append a notice so the child returns UNCERTAIN instead of guessing. Links with http://, www. or a different host case are fetched too. Inside a fence, marker-shaped spellings get a word joiner inserted, never consumed, so identifiers and paths that merely mention them stay verbatim. The spellings, and alert links, are found on a folded view (format characters and invisible marks dropped, dashes unified, NFKC), so in-word zero-width, fullwidth and dash look-alike spellings cannot slip through; the comment itself reaches the child unchanged apart from the inserted joiners.
Require full_comment_text to keep the comment body verbatim, links included.
Drop the Suggestion column from the resolve report's Challenge Log; Resolution is the outcome, and suggestion_why stays in challenge-log.txt.
Sync the quality-gates rule: after each validated adversarial-loop round, print the progress table exactly, with all rows kept and each cell as old + new.
Stop the resolve picker from restating items the printed table and item options already show: the bulk question carries counts, notices and the saved table path, and the group-preview question carries the group count and path.
Make enforce-resolve-table.js require the saved table file (every pending and closed id as its own cell) instead of item lines in the question text.
Fix review validation publication: the reviewer instructions now require string-array assessment evidence and limits, open concerns only for UNVERIFIED or pending candidates, and no complete readiness beside an open candidate; the report intake gate accepts a single string for evidence and limits.
Show reviewer names and finding authors as roles only, using square-bracketed scores (Software engineer [3]); keep execution provenance in evidence and limits, omit skipped roles, and render a null score as [no source judgment].
Add owner-stamped atomic compaction contracts and boundary metadata; call Foundry's compaction gate when present and continue with an explicit fallback when absent.
Route medium- and high-effort single-file code, test, documentation, style, configuration and CI items to bridge:implement; keep architecture, performance, refactor and extra-high-effort work with specialists.
Ask follow-up questions with plain report path, title and outcome text within 1,500 characters; print the complete header in the final reply and remove duplicated option previews.
List pending resolve items in question text, using top items, exact type counts and the saved complete inventory when the budget is exceeded; print the full table once before selection.
Read pinned PR-head source in early challenges even after a clean merge, keeping freshness verification and source reads on the same revision.
Validate every review candidate at every severity before publication; write a version-one validation envelope separating source judgment, readiness, reviewer coverage and open concerns.
Keep missing reviewers and undecidable judgments distinct from rejection, retain all confirmed findings, and require compatible validation intake before resolve merges them.
Preserve VALID, affirmative REJECT, UNVERIFIED and ALREADY_FIXED evidence states through resolution; unverified items remain pending with an owner and next check, while already-fixed history needs revision-bound proof.
Recheck carried verifier and parent evidence against the source revision actually consumed by each resolve wave and preserve independent provenance across Git Bash paths on Windows.
Remove broad GitHub API allow and write-deny entries that conflict with Foundry's guarded read and approval lanes; use explicit GET for ecosystem search requests.
Include the optional GitHub-read lane in Bash audit verification.
Ask separately about target drift and then obtain a single-use push approval for the concrete scope; retain explicit skip and manual-push recovery outcomes.
Keep finding collection and selection in one stream with no conflict agent running beside the picker.
Start conflict resolution and read-only early challenge together after selection; early challenge reads pinned PR-head source, while implementation waits for conflict completion.
Preserve pending items and release the mutex on an unanswered group gate instead of choosing a silent default.
Assemble vitality datasets and compute rubric metrics in Python so large JSONL lines cannot disappear through truncated source reads.
Distinguish failed fetches, valid empty datasets, permission-limited alerts and pending contributor statistics; preserve missing-data confidence caps and compare unrounded metrics.
Fetch repository community and workflow evidence through bounded helper calls and carry extractor-applied bands, scores and confidence deductions into scorer output.
Keep every low finding as its own action item and table row, while bounding resolve challenge and implementation work by group rather than total selection size.
Process every selected resolve item in the same pass instead of imposing an item cap; bound challenge chunks to twelve items and implementation groups to five.
Persist predictable selection, grouping, dispatch and push decisions before unattended implementation and retain exact selected IDs in report mode.
Recheck target-branch freshness before QA and again before push, remerge and revalidate when the target advances, and report unverifiable freshness explicitly.
Keep non-fast-forward push recovery manual instead of repeating merge or push operations unattended.
Build grouped resolve subjects as valid Conventional Commits, preserving a single item's typed subject and deriving shared type/scope for multiple items.
Show the action inventory once immediately before selection and account for transcript flush delay before denying a report-table gate.
Enforce report-header delivery at Stop as well as follow-up questions so skipping the picker does not omit the report.
Keep reviewer ratings, legend, aggregate summary and findings overview in the delivered review, and report explicit confidence deductions in resolve handoffs.
Bootstrap Python without requiring Python to start the launcher: provide POSIX and native Windows entry points, probe supported runtimes, execute the workload once and preserve its exit status.
Run adversarial ledger checks through the packaged portable launcher.
Publish stable finding IDs and structured review handoffs, merging them into GitHub action items without losing unmatched findings or contributor attribution.
Persist resolution and release provenance as append-only ledgers with separate mutable headers.
Gate resolve selection on visible action-table delivery and choose lighter review only when changed symbols and transitive callers stay in tests or leaf modules.
Ground release truth checks in exact baseline and HEAD source coordinates, distinguishing a candidate binding from public-export proof and keeping uncertain absence qualified.
Reconcile typed breaking-change counts with individual evidence ledger entries before classification approval.
Capture the caller branch before resolve checkout and keep release append merges staged at stable user-visible artifact paths.
Warn when a running session uses an older plugin root than the active install.
Refold appended release summaries into a short hook, real user wins and an upgrade call; revalidate the final merged draft against current source and migration documentation.
Recognize conventional revert subjects as well as Git's default format and require evidence links for added changelog entries.
Retry a colliding worktree name once with a disambiguator and inspect stale worktrees only when the remaining failure actually names a candidate.
Overlap PR intelligence with checkout and trial merge, then overlap conflict resolution with item selection when their inputs are independent.
Replace Fine dispatch with Per specialist and Custom choices; per-specialist dispatch removes the five-item split while retaining ownership and coupling rules. Document each skill's actual fan-out and gate structure.
Let resolve users choose automatic, sequential, finer or previewed specialist dispatch, changing wave width while preserving file ownership and routing.
Enforce model-tier wave ceilings and show real formed groups only on the requested preview path.
Deliver one quality-rule variant per plugin, using OSS deltas when the Foundry shared rule is present.
Accept approved review outcome tokens with their optional leading verdict symbol during resolve intake, preserving rejection and incomplete-report checks.
Require a complete current report-header table before analyse or review follow-up, preserving diagnostic questions when delivery fails.
Block resolve intake on incomplete reports or failed report-path publication and keep implementation tasks open until every child reaches an explained state.
Load structural gates from the active registry-selected codemap-py installation, skipping orphaned cache versions and removing the local contract copy.
Remove the semantic companion --semble path and keep structural context or source reads as the supported review routes.
Resolve and gate a saved review report once before remediation, distinguish rejected or incompatible lineage, and reuse it instead of starting another review.
Group resolve commits by domain, file or specialist according to the selected strategy.
Store PR reviews under .reports/review/pr-<N>/run-<NNN>/ and allocate increasing run directories; resolve finds the newest report for the requested PR.
Fetch review bodies and inline comments independently, including collapsed findings, and refresh them even when the primary PR thread cache is reused.
Build release contributors from Git authors, coauthors and verified in-range PR authors, including bots when requested; use paginated commit-to-PR associations instead of merge dates as range proof.
Preserve historical changelog entries and remove only exact confirmed stale Unreleased claims for unshipped reverts or pivots.
Require independent review and targeted fixes in a bounded weighted convergence loop; never present a final local fix as independently verified before a later review.
Resume background agents from completion notifications instead of polling, and preserve partial or timed-out results explicitly.
Choose host-valid private temporary directories for commit authorization and preflight, avoiding POSIX paths interpreted as native Windows locations.
Remove location duplication from resolve inventory columns and label discussion rows pending · thread (no GH resolve) so they are not mistaken for resolvable inline threads.
Enforce strict scope exits for unrelated content and use concrete severity criteria in thread analysis.
Run a second quality pass only for a named actionable evidence or coverage gap; preserve caller-visible fixes that should not disappear into same-release feature deduplication.
Fetch one PR snapshot and reuse its metadata, checks and diff throughout review, including helper signal analysis.
Batch disjoint-file Bridge candidates while retaining per-item commits, and combine item and commit choices into one question call when the inventory fits.
Cap independent verifier agents and group compatible critical findings for verification.
Replace legacy Codex plugin calls with bridge:review and bridge:implement, checking installed, disabled and absent states before use.
Keep complex resolve work explicitly skipped when Bridge is unavailable, allow an explicit implementation-agent override, and retain independent vitality and release auditing through Bridge.
Standardize shared contract and Markdown formatting, including skill compaction state and review output instructions.
Add a cheap PR acceptance gate before full review: terminal rejection needs affirmative evidence for a defined ground, while blocking concerns continue to source review.
Record the acceptance decision and reviewed SHA in report metadata so resolve can detect a changed PR before acting on a rejection.
Stop treating cherry-pick or stable-branch release history as unexplained scope drift; inspect merge ancestry and distinguish raw branch merges from reviewed PR merges.
Verify release classification against actual changes instead of trusting fix: or feat: labels.
Extract shared flag parsing and changed-symbol extraction to reduce repeated shell and prompt work.
Require reviewers to consult existing structural answers first, limit extra queries and stop repeated lookup when the provider reports a complete answer.
Preserve all resolve commit choices and enforce actual report-table delivery before marking header printing complete.
Add /oss:setup to deliver plugin-owned rules as namespaced symlinks, validating sources before mutation and refusing to overwrite unowned destinations.
Validate commit IDs and structural module paths before they reach Git commands or cache paths; make report-path handling portable across Windows and POSIX.
Preserve low and cosmetic report findings during resolve extraction rather than silently dropping items already present in the source report.
Keep CI reruns, tag pushes and release creation human-owned and remove subagent-local task tracking that the parent cannot observe.
Add release --append: rerun the pipeline for newly landed commits and merge evidence-backed additions into existing artifacts.
Track processed commits, invalidate markers that are no longer reachable or have been superseded by a release tag, and reconcile earlier entries when later changes revert or replace them.
Guard whole-file summary and migration merges against accidental content collapse and reuse resolved contributor identities.
Use No.N for local item ordinals and full issue or PR URLs for cross-repository references, avoiding accidental GitHub links and reviewer pings in attribution.
Verify factual claims about names, versions, identifiers and counts before a resolve challenger marks them valid; reserve a source lookup when the referenced code cannot settle the claim.
Add opt-in --worktree isolation for PR review and resolution, keeping checkout and implementation off the invoking worktree and reporting the isolated path on exit.
Normalize pass, warning and failure symbols across analysis, release and review reports.
Add change-set diff-impact context and fix module iteration under zsh; stop issuing function queries with module-only names and use module reverse dependencies for importer context.
Scope temporary workflow state by session ID across analyse, release, review and resolve so concurrent sessions do not overwrite each other's flags, timestamps or paths.
Move reusable preflight state under .temp/state/preflight/.
Move the plugin source directory from plugins/oss to plugins/cc_oss and update helper, shared-document and skill fallback paths while retaining the oss plugin identity.
Dispatch independent resolve changes to specialist worktrees, retaining sequential Codex-first work and deterministic merge ordering by structural centrality.
Guard a resolve run with a branch mutex and HEAD fingerprint so concurrent runs or external branch changes cannot silently corrupt integration.
Map report sections to implementation categories and gate selections larger than twenty items before dispatch.
Bind reproduction dispatch to the selected role: QA for test examples, software engineering for other or ambiguous examples, and general-purpose only when Foundry is absent.
Add optional structural signals to thread triage and vitality, including candidate-symbol lookup, overlapping PR files, coupled modules and repository constraints.
Cache review structural queries by index state and classify release breaking changes with caller-package evidence.
Load only the assigned vitality scoring-group rubric instead of sending every scorer the complete thirteen-axis reference; label unassigned axes explicitly.
Batch compatible resolve work and clarify CI, documentation and release-agent scope to reduce unnecessary delegation.
Build a session-scoped agent index and route missing roles through local semantic matches, using OpenAI embeddings when configured or an Anthropic selection fallback before general-purpose dispatch.
Require shepherd's inline-suggestion table whenever findings identify file and line locations; verify the reply file and retry missing required content.
Block consolidation when the Agent tool is unavailable, preserve all readiness rows in release preparation, and use short PR references in draft notes.
Pass structural context to every applicable review dimension, including function blast radius and affected tests, rather than only the software reviewer.
Label discussion action items as lacking a GitHub resolve button in the selection UI.
Correct release mode detection, handle unknown flags explicitly and ask before using the initial commit when no stable tag exists.
Extract release truth checking and review scope, reviewer and consolidator prompts into dedicated files; run independent changelog audit and contributor extraction together after their prerequisites.
Separate resolve bulk item selection from commit-mode selection and use compact selection for large inventories.
Split PR and report intelligence and batch execution into resolve modes, requiring a result for every selected item and keeping user questions and task ownership with the parent.
Repeat lint and QA after fixes and block publication when blocking findings remain after three iterations.
Route documentation PRs to the documentation reviewer and preserve dedicated CI routing; override small-diff classification when refactor or performance intent demands deeper review.
Enforce sequential release phases, net-state classification, contributing-PR accumulation and explicit failure handling before downstream artifacts are produced.
Enable resolve structural context when an index is available, with --no-codemap to disable it and strict --codemap preflight when explicitly requested.
Compare documentation coverage of a significant release feature with similar existing features, including headings, explanation and examples.
Require concrete diff locations for review findings and primary evidence or independently corroborated experiments for external-standard claims.
Mark capped GitHub responses partial, distinguish null fields from missing fields, and keep real CI results separate from workflow or badge presence in vitality scoring.
Resolve review resources from the installed plugin before falling back to the checkout.
Preserve permission-denied and pending GitHub datasets as explicit partial evidence; guard zero-sample responsiveness and use one analysis timestamp for age calculations.
Fail immediately when shared initialization is invalid, derive the release trunk from repository metadata, and retain human ownership of public GitHub changes.
Expand vitality scoring to thirteen axes and recalibrate weights and response thresholds; detect stale-bot inflation instead of treating every closure as maintainer responsiveness.
Distinguish resolvable inline review threads from discussion comments and report findings; mark discussion items done only with evidence of a subsequent answer or fix.
Persist analyse drift and scraper time-window values across shell calls.
Check for existing helpers before accepting new abstractions, flag oversized review scope, and retain praise and learning notes after defect findings in contributor replies.
Persist authoritative action-item details in the implementation handoff and scan caller blast radius once before dispatch.
Preserve PR motivation and labels in resolve context, default ambiguous comment work to software engineering, and recompute authorization paths before cleanup.
Preserve resolve's selected commit mode across the full item loop without re-asking; make bulk and lint commits manage their scoped authorization cleanup.
Add change-category and severity fields to resolve action items for implementation routing.
Run PR checkout and conflict resolution even when no action items are selected; route available fallback implementation by change category while explicitly skipping unsupported complex work.
Extract release, vitality and resolve operations into packaged Python helpers:
Extract vitality score assembly and variable loading into Python helpers, renormalizing unavailable axes and loading all report variables in one JSON pass.
Extract release setup, audit, GitHub fetching and resolve commit/staging operations into packaged helpers.
Keep partial GitHub datasets explicit and validate Action SHA lookups before using them.
Resolve safety and staging:
Harden resolve parser output before sourcing it, refuse default-branch PR checkouts, and require a target-specific push confirmation.
Restore pre-item stashes on exit paths and centralize staging in a dedicated helper.
Route mixed documentation and CI PRs to the relevant two reviewers.
Parse resolve findings by contained section names, including numbered review headings.
Refresh the review health checkpoint when output advances so active reviewers are not marked stalled; expose GitHub rate-limit evidence to the scraper.
Recognize security-intent commit bodies during release classification and link public advisories without exposing vulnerability identifiers in public notes.
Explicitly support documentation and CI configuration PRs alongside Python review, while rejecting unsupported source-only languages.
Require explicit confirmation for a detected unannounced breaking change, stating the former behavior, new break and reason; prior deprecation followed by removal remains a separate classification.
Remove the separate Comment column from resolve inventories.
Launch linked-issue agents and Codex review in one batch; keep vitality report formatting and adversarial review with the orchestrator.
Expand literal values in delegated prompts, verify shepherd output exists, and print only the corrected release classification table after self-review.
Restore stashed changes before resolve commits so conflict markers cannot enter a committed result.
Use all CI runs as the pass-rate denominator, classify test and CI dependency alerts separately from runtime exposure, and compute active CODEOWNERS from commit evidence.
Require silence rate in responsiveness scoring and keep independent vitality review grounded in raw data.
Calibrate resolve effort per item and skip QA only when every selected change is limited to lint, typing, documentation or formatting.
Split vitality into a GitHub data scraper and three parallel axis scorers, with raw JSONL, partial scores, a shared rubric and a structured report template.
Keep shepherd communication draft-only and separate public reply drafting from direct GitHub publication.
Scope analyse caches by repository and extract review parsing and release templates into reusable files.
Replace repository health mode with vitality analysis, using timestamped GitHub evidence and weighted axes for maintenance, community, quality and security.
Reject unsupported review and release flags with the supported syntax; make skill triggers and scope redirects explicit.
Classify removal after a prior deprecation as Removed; reserve Breaking Changes for an immediate unannounced public break, and include migration examples for deprecations and removals.
Seed reviewer prompts with a bounded Codex finding list and expand output-path variables before dispatch.
Make structural and semantic review context opt-in through --codemap and --semble; fail preflight with setup guidance when an explicitly requested provider is unavailable.
Detect stable release branches from their first-parent tag and annotate cherry-picked changes in release classification.
Read resolved PR review-thread status when gathering action items, and allow simple resolution items to use a software-engineer fallback when Codex is unavailable.
Make skill boundaries explicit: analyse gathers evidence, resolve implements PR feedback, and review rejects unsupported source-language PRs.
Add adversarial PR review with an optional --no-challenge flag, task tracking, and a fallback challenger role when Foundry is absent.
Ask for confirmation when a report path is supplied to analyse without --reply; render resolve action inventories as Markdown tables with explicit status and notes.
Check documented behavior changes against deprecation requirements and keep narrowly scoped reviews focused on the requested surface.
Share one shepherd reply protocol between analyse and review; analyse replies now use the same summary and inline-suggestion format as PR review replies.
Introduce OSS thread, repository-health and ecosystem analysis; GitHub PR review; review-action resolution and conflict handling; and release notes, changelog, migration and readiness workflows.
Ship shepherd and CI specialist agents, with plugin-prefixed cross-plugin dispatch and general-purpose fallback roles when companion plugins are unavailable.
Restrict /oss:review to GitHub PRs; route local file and diff reviews to /develop:review, and check issue/discussion reproductions before reporting.
Track resolve action items and merge conflicts as tasks; add optional structural context for reviewers and keep public releases behind a human handoff.