Repository navigation
v1.92.73.0 fix(review): read printed: fingerprint lines, stop on a foreign start checkout, give Step 11 its start token (GST-776) - #3798
Merged
Conversation
…ne; a printed: label is read (GST-776) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… takes Step 11's adversarial-review start (GST-776) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…he Capy skill's Step 11 note fits its context budget (GST-776) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ns once per stage, and logStart is validated; brief wording stays main's (GST-776) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…76 fix-check) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…d: REVIEWED_TREE) is read; a wrong tree is still refused (GST-776) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…-start ahead of the pass call (reader-drift order test, GST-776) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # capy/skill/gstack/SKILL.md # lib/capy-review-pass.js
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…erge" This reverts commit 61a9051.
…eiling after the main merge Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…-776-review-dispatch Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # capy/skill/gstack/SKILL.md # test/review-pass.test.ts
capy-ai Bot
added a commit
that referenced
this pull request
Nov 2, 2026
…refuse same-family voices, docs audit on Sonnet 5.5 (GSTA-167 PR B) (#3698) * ship: pin the outside voice to the certified model, refuse same-family voices, docs audit on Sonnet (GSTA-167 PR B) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * changelog.d: GSTA-167 PR B fragment Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix: pre-landing review fixes (outside voice with no provider prefix STOPs) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix: Step 11 review fixes (resume on dispatched voice models, case-insensitive family, every outside voice checked) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * changelog.d: GSTA-167 PR B review fixes Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * docs: outside-voice default and voice-models.json pin; Step 14.5 runs once on Sonnet (GSTA-167 PR B) Adds the prb-docs-2 auditor's docs/unattended.md paragraph and fixes capy/skill/gstack/SKILL.md:49 at the same byte count (22,365 B), so the 5,312-token context-budget ceiling is unchanged. The ship-driver test pins the new 14.5 wording instead of the dropped haiku aside. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * docs: trim capy SKILL.md:49 so it stays under the token ceiling beside #3798 '(14.5 runs once)' -> '(14.5 once)' and 'Otherwise' -> 'Else' (22,355 B, 5,310 tokens on main; 22,371 B, about 5,314 tokens merged with #3798 against its 5,315 ceiling). Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --------- Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…-776-review-dispatch Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # capy/skill/gstack/SKILL.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Readers that write
printed:before their REVIEWED_TREE line are now read. A pass whose shared start checkout is another checkout stops before any reader is sent. Step 11 takes theadversarial-reviewstart token by itself.Before/after as text: Readers that wrote printed: before the REVIEWED_TREE line are read; a pass whose start checkout is another checkout stops before any reader; Step 11 takes the adversarial-review start
printed: REVIEWED_TREE: <tree> <toplevel>, sometimes on the same line. The parser looked only at the start of a line, so it found nothing and failed both readers (COLLECT_WRONG_TREE, reported="none"), which restarted two passes.parseTreeLine(lib/review-brief.ts) now reads aprinted:label (plain, bold or inside the line's backticks) and the one-line form after an echoedcd … && echo …. The tree and toplevel are still compared exactly. Negative controls: a wrong tree (COLLECT_TREE_MOVED), a wrong toplevel and aNote:label are all still refused.cd, reviewed that other checkout, and Step 11 lost its outside coverage. Before a stage takes a start token or sends its first reader, lib/capy-review-pass.js now compares that directory's toplevel with the checkout /ship ships. It stops when they differ or the directory can't be read, so run /ship in the thread's own checkout. A start directory outside any checkout, such as a multi-repo/workspace, still dispatches, and the collect-time REVIEWED_TREE check stays the backstop. The probe runs once per stage, not on every poll.logStart: ["review"]withstage: "voices"used to run the voices with noadversarial-reviewstart, so Step 11.5 had nothing to bind. Voices now default to["adversarial-review"], and any other list stops before anything runs, as does a non-string entry. The Capy skill says Step 11 swapslogStartforstage: "voices".Why
GBRA-218 on gstack 1.92.25.0 lost two passes to a parse miss and lost Step 11's outside coverage to a reader that worked in the wrong checkout. Each fix has a test that failed first at f739756. This run reproduced the one-line
printed:shape live. The installed 1.92.25.0 refused it, and this branch's parser accepted it.Blast radius
The parser change only adds accepted prefixes before a fingerprint that is then compared exactly. A wrong tree or checkout is still refused; tests run against the real
collectbin. The start-checkout refusal changes one flow: /ship from a worktree beside a different start checkout (GBRA-218'swt-trainlayout) now stops up front instead of sending readers that may review the wrong tree. That is the accepted safe behavior (GStack Minder, GSTA-36). The fixture tests for GST-482 now start the host in the worktree; their assertions are unchanged. Thecapy/skill/gstackcontext-budget ceiling moves 5312 → 5315 because it was exactly at its limit. The ship skeleton cap (61420) is untouched, and the parity suite passes. Lanes read the Drive copy of the Capy skill, so GStack Minder copiescapy/skill/gstack/there after merge. This branch merges main twice: 83ae96e as a union, then f5cb6ec. The second merge keeps #3686, where the parent runs Step 9.2.1's QA probes and the pass refuses a QA reader. The pass program keeps main'swithPartshelper, its fix-check voices stage and its numbered repeat start keys, and that loop now walks the validatedlogStart. After the second merge, the Capy skill takes main's paragraph with only this PR's Step 11 sentence changed, and it measures under the 5315 ceiling.Approvals
Source: gstack-approvals record for capy/gst-776-review-dispatch (display only; not an approval citation).
Summary
GBRA-218 lost two review passes and Step 11's outside coverage. Readers that label the fingerprint line
printed:are now read, a pass that would send readers into another checkout stops before it sends any, and Step 11 takes the start token Step 11.5 checks.Test Coverage
Every changed path has a test. The Step 7 audit (pass 1) put value-weighted coverage at 80%, with no blocking gaps.
test/review-dispatch.test.ts(GST-776): theprinted:line on its own, on one line after the echoed command, bold and in backticks, read throughcheckReviewedTreeand thecollectbin, with the wrong-tree, wrong-toplevel and other-label controls.test/review-pass.test.ts: a foreign start checkout stops before any start token or reader (pass and voices stages); a matching start checkout dispatches; a start directory outside any checkout dispatches; an unreadable start directory (bad.git) stops; the probe runs once acrossNEXT: pollreruns; a non-stringlogStartstops; Step 11 defaults toadversarial-reviewand refuses["review"]before anything runs.logStart: []on voices is refused but not asserted in its own test; the ship-side unreadable-cwdSTOP is untested (passhas already run in that directory).Tests ran: focused 168
Tests ran: typecheck count unavailable
Remote pregate at tree 8f5c1dd (after the 0c84f4e merge): 3770 tests, 0 failed. CI-only lanes at a7a8cc2: Free Tests run 41412918839 (macos-named-regressions, cleared) and Windows Smoke run 41412918855, both green.
Pre-Landing Review
No blocking issues. The final pass, p10 at tree a8bbecd (after the main merge): the specialist (Sonnet 5.5 medium; testing, security, state machines) found nothing, and so did the red-team reader and the targeted gate reader. Before it, a fix-check of the 83ae96e merge hunks (Sonnet 5.5 medium) returned NO FINDINGS. After the f5cb6ec merge, a single scoped fix-check (Sonnet 5.5 medium) returned NO FINDINGS at tree 37bea9f, and R51 allows no third round. The finish route there runs under a written waiver: After the 0c84f4e merge (a7a8cc2), one more scoped fix-check of the merge hunks (Sonnet 5.5 medium) returned NO FINDINGS; it also confirmed the parser accepts #3830's REVIEWED_TREE brief shapes (bare, backticked, bold, list-marked,
Printed:-prefixed and the one-linecd … && echo … Printed: …) and fails closed on trailing prose or a trailing period.exception: GSTA-36 2026-11-02 #3798 post-merge route waiver — behavior delta at 37bea9f vs reviewed a8bbecd is the granted f5cb6ec merge resolution only (main's SKILL.md:49 paragraph plus this PR's one already-reviewed swap sentence, and main's plan extra in test/review-pass.test.ts); the scoped fix-check found nothing; focused 197/0; pregate 3644/0.
exception: GSTA-36 2026-11-02 #3798 post-merge route waiver, granted on the same terms for the 0c84f4e merge — behavior delta at 8f5c1dd vs reviewed 37bea9f is the granted 0c84f4e merge resolution only (main's SKILL.md:49 paragraph with #3698's edits plus this PR's one already-reviewed swap sentence); the scoped fix-check found nothing, including #3830's REVIEWED_TREE brief shapes against the parser; pregate 3770/0.
REVIEW_LOOP: passes=5 blocking_found=0 deferred=0 noted=2 fixed=2 scope=frozen fix_checks=2
Gate edits (the lead's own inventory, because Step 9 did not record a
Gate edits:line): 1 kept.test/fixtures/context-budget.json, ceiling for capy/skill/gstack 5312 → 5315. Reason: the skill gained the Step 11logStartsentence, and the budget was already exactly at its limit. After the main merge, the skill text was trimmed back under 5315 rather than raising the ceiling again. The eight GST-482 fixtures intest/review-pass.test.tsnow start their host in the worktree, and their assertions are unchanged.Outside review: GPT-6.1 Sol raised one Medium, recorded as a note below.
Review notes
The Step 11 voices at a8bbecd raised six findings. None blocks: classify gave fix=0 and blocking=0, and they are recorded as notes.
logStartomitted, the voices stage takes oneadversarial-reviewstart even when both voices run. Since v1.92.27.0 ship: each phase program returns the next phase's sections once, in code (GSTA-167 calls PR 3) #3670, main can record one start per row. This is advisory under lead judgment, accepted by GStack Minder. Step 11.5 binds only the native record, /ship logs one adversarial-review row that carries both voices, and adversarial.md already has the lead start a token for each outside pass. Follow-up: default to oneadversarial-reviewstart per planned voice.cwdis missing.printed:fails to parse. It fails closed, and nothing can be forged.Earlier passes' Lows were fixed: the probe on an unreadable directory, the once-per-stage probe,
--outin the STOP text,logStarttype validation, and the bold or backtickedprinted:label.Exploratory QA
Pass at a8bbecd (p10, functional surface). The two changed suites ran green, covering the
printed:label, the wrong-tree and wrong-checkout refusals, the start-directory stop and the Step 11 token default. No live probe ran on a Capy shared machine, so the start-checkout guard is covered by the fake-host tests. In passes p8 and p9, the QA reader wrote the echoed command instead of the bare REVIEWED_TREE line, and both passes were redone. That is more evidence for the follow-up below.Design Review
No frontend files changed — design review skipped.
Eval Results
Not run on this PR. The selector picks every dependent gate case for lib/capy-review-pass.js and lib/review-brief.ts (264 cases), so the train gate (
gstack/full-gate) covers them.Follow-up (needs a no-loss replay)
Change the brief's REVIEWED_TREE paragraph to ask for the bare line first and give the command only as the way to get it. This PR leaves the wording as on main, because reviewer-prompt changes merge only after a no-loss replay. Evidence from this run: on main's wording, 3 of 5 audit and voice readers wrote the command instead of the bare line, and after the merge the QA reader did the same in 2 of 3 passes.
TODOS
No TODO items completed in this PR.
Documentation
Status: blocked, shipped under the owner's named exceptions. Scope: docs/, README.md, capy/skill/gstack/. Audit gst776-docs2 ran at 9e9b20f. Since then, 320d64e reworded a STOP message, and the merges d70f2e7 (83ae96e), 72003e4 (f5cb6ec) and a7a8cc2 (0c84f4e) brought main's changes to capy/skill/gstack/SKILL.md, docs/review-policy.md, lib/review-brief.ts, lib/capy-review-pass.js and test/fixtures/context-budget.json. The audit found docs/review-policy.md, capy/skill/gstack/SKILL.md and the changelog fragment current with the code.
Documentation exception: accepted by GStack Minder (GSTA-36) 2026-11-01 via Captain reply to GSTA-237 under standing merge authority from Garry: the documentation audit predates 320d64e's STOP-message rewording in lib/capy-review-pass.js; no doc references that text.
Documentation exception: accepted by GStack Minder (GSTA-36) 2026-11-01 via Captain reply to GSTA-237 under standing merge authority from Garry: the documentation audit (gst776-docs2 at 9e9b20f) predates the main merge d70f2e7 (83ae96e) and the 38f1619 trim; the changed doc text is main's own reviewed text plus a two-word context-budget trim, and this branch's documented behavior (printed: label, start-checkout stop, Step 11 adversarial-review default) is unchanged and was re-reviewed clean at a8bbecd.
Documentation exception: accepted by GStack Minder (GSTA-36) 2026-11-02 via Captain reply to GSTA-237, GSTA-36 2026-11-02 #3798 exception: the documentation audit (gst776-docs2 at 9e9b20f) predates main's f5cb6ec changes to capy/skill/gstack/SKILL.md, docs/review-policy.md, lib/review-brief.ts and test/fixtures/context-budget.json, merged in 72003e4 under the rule 19 grant; this branch's own documented text over f5cb6ec (the Step 11 swap sentence and the review-policy GST-776 paragraph) is unchanged from the READY at 38f1619.
Documentation exception: accepted by GStack Minder (GSTA-36) 2026-11-02 via Captain reply to GSTA-237, GSTA-36 2026-11-02 #3798 exception (same terms, 0c84f4e merge): the documentation audit (gst776-docs2 at 9e9b20f) predates main's 0c84f4e changes to capy/skill/gstack/SKILL.md, docs/review-policy.md, lib/review-brief.ts and test/fixtures/context-budget.json, merged in a7a8cc2 under the rule 19 grant; this branch's own documented text over 0c84f4e (the Step 11 swap sentence and the review-policy GST-776 paragraph) is unchanged from the READY at 38f1619.
Test plan
bun test test/review-dispatch.test.ts test/review-pass.test.ts test/ship-driver.test.ts test/parity-suite.test.ts test/context-budget-ratchet.test.ts test/ship-budget-reader-drift.test.ts test/review-targeted.test.ts: 168 pass, 0 fail (at 8f5c1dd)bun run typecheck: exit 0