Repository navigation
Fix eight problems users reported in skill instructions - #4686
Merged
Merged
Conversation
The Aside check asks you to open Aside when its CLI says the app isn't running (#4366). /test-audit finds the current branch's test plan (#4216). /verify explains a repo with no declared checks (#4346). /ship checks the sections it kept when updating an open PR (#4379). /spec --execute records the branch its spawned session ships from (#4616). /design-shotgun passes a reason so taste memory learns (#4618). Second-model reviews read a repo's own agents/ folder as code (#3924). Captain docs say crew threads read CREW.md, not AGENTS.md (#4296). Co-authored-by: thehashrocket <[email protected]> Co-authored-by: ElNeMeR70 <[email protected]> Co-authored-by: szsunyuan <[email protected]> Co-authored-by: atharva081106 <[email protected]> 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>
The second-model review boundary that /ship and /review use is a reviewer brief pinned at no-loss-tested bytes, so it waits for a no-loss replay (#3924 stays open for it). Size pins re-measured once for the remaining growth from the Aside probe (#4366). Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Rebuild the Step 19 --replace repost from the live body so the PR's run history survives. Review-Finding: p1/specialist-batched#1 reader=red-team Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Reread the live PR body before the --replace repost and stop if it changed; the design-shotgun taste reason names only the dimensions the feedback speaks to. Size caps re-measured under the Captain's grant. Review-Finding: p2/outside-voice#1 reader=outside-voice Review-Finding: p2/outside-voice#3 reader=outside-voice Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This was referenced Nov 22, 2026
Closed
Closed
This was referenced Nov 22, 2026
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.
Fixes eight user-reported problems in skill text agents follow: Aside asks you to open the app when it's closed, /test-audit finds your branch's test plan, and /codex reads your repo's own
agents/folder. Goal: gstack skills do what their docs promise.Nothing to do as a user; it arrives with the next gstack update.
What changed
ASIDE_NOT_RUNNINGwhen the Aside CLI exits 1 with "isn't running", so the agent asks you to open Aside instead of falling back to the headless browser. A new test fixture copies the real CLI (exit 1, real wording)./test-auditStep 1 setsBRANCHthe way the plan writer does before looking up the eng-review test plan./verifysays whatCHECKS: nonemeans (READY_FOR_SHIPnever follows) and offers agstack:verify:line./shipchecks the sectionsgstack-postkept. To drop one an earlier run wrote for an older head, it starts from the live PR body (which keeps the PR's review history), reads the body again just before posting, and stops if someone changed it in between./spec --executepoints the spec archive at the spawned branch, so/shipcan link and close the issue./design-shotgunpasses--reasontogstack-taste-update, naming only the taste dimensions your feedback speaks to, so taste memory fills in without recording opinions you never gave.agents/makes Codex skip a repository's own agents/ folder #3924: /codex's filesystem boundary named everyagents/folder, so Codex could skip a repo's own agent code. See "The /codex boundary" below.AGENTS.mdtemplate, now say worker threads readCREW.md, not the coordinator's ownAGENTS.md.Why
Each report was a case where an agent following gstack's own instructions did the wrong thing. It fell back to a worse browser, missed a test plan, stalled on a repo with no checks, left a stale PR section, lost a spec link, learned nothing from a design pick, skipped code it was asked to review, or put rules where worker threads never read them. Every fix was reproduced on main c2b4f0d first (a failing test for #4366 and #4216, a command repro for the rest).
Blast radius
Skill text and the generated SKILL.md files, the codex host's boundary line and the shared Aside readiness probe that every browser skill renders. The probe change adds one shell
casearm on output it already captured;test/aside-probe-shell.test.tsruns the real probe under bash and zsh against a fake CLI that prints the real exit-1 message (script ran). Everything else is prose, pinned bytest/skill-text-user-reports.test.tsand the regenerated goldens.The /codex boundary (#3924)
This narrows /codex's own safety boundary on purpose. /codex told Codex not to read "~/.claude/, ~/.agents/, .claude/skills/, or agents/". A bare
agents/also covers a repository's ownagents/folder, which is code under review, so Codex skipped it in consult mode. /codex's copies (the skill, its consult, challenge and review modes, and the codex host's boundary line) now say "... .claude/skills/, .agents/, or any agents/openai.yaml" and that other files in the repositoryagents/folder are code to review. Installed skills and everyagents/openai.yamlstay protected by name, and.agents/is now named explicitly.The same sentence in the second-model review that /ship, /review and the plan reviews run (
CODEX_BOUNDARY) is unchanged: it's part of a reviewer brief pinned at no-loss-tested bytes, so it changes only after a no-loss replay. That stays open on #3924.Security read
No CI, install script, dependency, network, auth or process-spawning code changes. The Aside probe change is a shell
caseglob on output already captured; it never prints that output. Outside PR branches were read as text only and rebuilt on main.Size growth
The Aside probe arm (about +90 bytes in every skill that runs the browser check) raises 30 SKILL.md size pins, 8 skeleton caps, 8 size-ratio caps, the /verify context ceiling (3231 to 3282 tokens) and /ship's recorded size total, each to its measured value. The review fixes add 60 bytes to /ship's recorded size total (419 to 479) and raise the /design-shotgun skeleton cap from 36,278 to 36,335 bytes, both measured.
Pre-Landing Review
Two full review passes and one follow-up check on the final head, plus a native adversarial pass and a second-model review (GPT-6.2 Sol). Three blocking problems were found and fixed, all in text this PR adds: one in the /ship body cleanup (details recorded privately), the cleanup overwriting a PR body someone edited between the read and the post, and /design-shotgun's reason claiming all four taste dimensions. One blocking item sits in unchanged lines and is listed under Deferred findings; nine notes below the bar are listed under Review notes.
Deferred findings
Blocking findings in code this PR did not change (review scope: frozen). They stay on this PR and are not filed as issues.
test-audit/SKILL.md.tmpl:61/test-audit can select another branch's eng-review test plan by suffix matchReview notes
Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.
ship/sections/pr-body.md.tmpl:316Re-run read-modify-write with --replace can overwrite PR body edits made between fetch and replacescripts/resolvers/aside.ts:108Aside isn't-running match is an English substring with an ASCII apostrophedesign-shotgun/SKILL.md.tmpl:181--reason "" is double-quoted shell text built from user feedbackscripts/resolvers/outside-voice-steps.ts:1agents/ boundary relaxed only in /codex; other Codex passes still skip agents/ (on purpose: the shared copy is a pinned reviewer brief)test-audit/SKILL.md.tmpl:61-$BRANCH-eng-review-test-plan- can match another branch whose name ends in -$BRANCHtest/fixtures/qa-only-bookkeeping-joins-public.json:8Captured replay fixture rewritten to the new probe while keeping the original run claimchangelog.d/outside-fixes-skill-text.md:1Note says no fallback; workflow asks once then falls backExploratory QA
Functional smoke on the gstack-post body merge and the new tests (4 captures, report-only). The success probe passed; the riskiest changed edge (the --replace repost) reproduced the first review finding (run history dropped), and after the fix the same replay kept the history and removed the stale section. Captures run on the final text: pass. Limits: no live GitHub round trip; Aside, Codex and the other fixes rely on CI's full test run and the targeted tests.
Design Review
No frontend files changed, so design review was skipped.
Eval Results
The eval selector found no PR-pass cases for this diff (its selected behaviors are scheduled release coverage), and the PR's eval workflow routed green with no slices to run. No paid evals ran.
Scope Drift
Scope Check: CLEAN
Plan Completion
Plan completion audit: not run (no plan is bound to this branch and no docs/designs/ file matches). This is a bug-fix batch with a repro per report.
Issues
Refs #3924
Refs #4216
Refs #4296
Refs #4346
Refs #4366
Refs #4379
Refs #4616
Refs #4618
TODOS
No TODO items completed in this PR.
Tests
bun teston skill-text-user-reports, skill-md-size-guard, skill-size-budget, catalog-budget, parity-suite, context-budget-ratchet, host-config and module-size-ratchet at the final tree: 144 pass, 0 fail.Agent notes
Agent notes
Thread GSTA-803 for GStack Minder (GSTA-36), the crew Captain. Rulings: A1 (#4410 left open, queued behind #4664); B1/C1 then E1 (CI showed CODEX_BOUNDARY is a pinned reviewer brief, so only /codex's copies change, the oracle change was reverted, and #3924 stays open for the review copy); D1 (size pins raised to measured values); F1 (grant a-f4e436a01811: one scoped fix-check for p2/outside-voice#1 and #3 after the round cap). #4404 was closed as niche. The safety-codex-boundary case (Codex 0.160.0) passed on main c2b4f0d and on the earlier head b039674; that head changed CODEX_BOUNDARY, which this head no longer does.
Pre-landing review: pass 1 (batched testing, security, state-machines and red-team reader) found p1/specialist-batched#1, a red-team finding fixed in c2f6b8c; pass 2 (scoped red-team and fix-check) clean; Step 11 native adversarial (5 Low) and outside voice openai/gpt-6.2-sol (3 blocking: #1 and #3 fixed in 81a177f under F1, #2 deferred as outside the changed lines; 2 Low noted); the granted fix-check at 81a177f found nothing blocking (2 informational notes: residual race after the second read; the stop sits after a successful merge post).
REVIEW_LOOP: passes=2 blocking_found=4 deferred=1 noted=9 fixed=3 scope=frozen ledgers_read=3 fix_checks=2 dispatches=3 est_input_tokens=42359
Gate edits: none detected (35 listed, 30 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Review-loop exception: accepted by Captain GStack Minder (GSTA-36) 2026-11-22 via gstack-approvals round-grant a-f4e436a01811: Two one-line fixes to text this PR adds: reread the live body before the --replace post, and name only the taste dimensions the feedback speaks to. (fix-check at c2f6b8c, 0 findings)
CI carry: CI_CARRY: accepted ci-carry tree=fd85b2f56149 tests=38822 runs=45003237843/1 profiles=ci-reuse/free-tests heads=81a177f5f13c
Pregate: PREGATE: requires-remote cleared (final tree); macOS lanes cleared from run 45003237843, windows-smoke from run 45000978615.
Documentation (Step 14.5 audit docs-a1):
Status: current. The docs match the diff and no edits were needed.
Scope: the committed diff c2b4f0d2..81a177f (53 files, 5 commits). There were no staged, unstaged or new files. The audit read the authored templates for /codex, /design-shotgun, /spec, /test-audit, /verify and the /ship PR-body section, the Captain docs and templates, and the changelog fragment.
Documentation health:
crew/docs/captain.md: updated in this PR. It now says crew threads readCREW.md, not the drive-rootAGENTS.md.captain/templates/AGENTS.md: updated in this PR, and it matches the doc above.crew/docs/recommended-harness.md: current. It already saysCREW.mdis what every thread reads.captain/templates/CREW.md: current.docs/standalone-binaries.md: current. Its description ofgstack-taste-updateis still correct.changelog.d/outside-fixes-skill-text.md: current. It covers all eight fixes.Coverage debt: the new
gstack-taste-update --reasonflag and the newspec_brancharchive field have reference text only inside their skills. Neither has a how-to or a binary-table mention. This is a common gap, not a critical one.Diagram drift: none.
Approvals
Approved: yes (record r-20fc3f6179e0). The full approval record stays private.
Plan: exempt: bug fixes from user reports, each reproduced on main c2b4f0d first (--kind fix)
Plan check: exempt bug fix
🤖 Generated with Claude Code