Repository navigation
Unattended /autoplan records the owner's relayed gate reply instead of refusing it (GST-3068) - #4484
Merged
capy-ai[bot] merged 3 commits intoNov 18, 2026
Conversation
…(GST-3068) SKILL.md and its unattended profile said to end at the gate and never approve, while DRIVER.md said to record a relayed owner reply with --by agent --owner-reply. One rule now renders into both, and gstack-skill-start's unattended block names the same exception. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Folds the duplicate 'Never auto-decide User Challenges' paragraph into Decision Classification, drops the restated gate-item contents already in the gate.json step, and drops the closing /ship suggestion that option A already makes. Moves the unattended pointer back to the end of the reply-parse paragraph, where gate-list.test.ts reads it. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
…e gate The terminal-line section still said the final gate is never approved. A session now records the owner's own relayed reply; it still never approves on its own judgment. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
capy-ai Bot
added a commit
that referenced
this pull request
Nov 18, 2026
- A test, or a scratch repository in the temp directory, can no longer write approval rows into your real Capy Drive (GST-3027). (#4466) - An unattended /autoplan run on Claude Code no longer says the publication guard is off while it is on. (#4481) - A phase report written only in reasoning now gets a denial that says so and names the fix. (#4481) - `gstack-autoplan revise` no longer refuses a plan that the first `next` accepted. (#4470) - `revise --plan` with a different file now says the run follows that file. (#4470) - A second-model plan review in `/autoplan` is no longer reported as unavailable when it actually ran (GST-3051). (#4471) - The /ship conductor trial plan now lets case reverts that conflict with later code be resolved by hand in docs, tests and the planted file, so large pull requests can be cases (GST-3003). (#4460) - A locked plan for a trial of /ship without its separate conductor subagent (GST-3003). (#4456) - A driven /ship now runs each phase as one command, counts its calls, and stops itself at 100 minutes. (#4451) - /ship stops asking owners to clear two kinds of bookkeeping noise: base-side merge text and a reviewer's confirmation prose. (#4458) - A base merge that only touched base-side text no longer stops `/ship` finish for an owner's grant. (#4458) - A reviewer's confirmation prose no longer becomes a Critical finding that only an owner can clear. (#4458) - A CI run that passed only after its failed jobs were re-run is now marked wherever gstack reuses it. (#4473) - /ship reuses CI's passing test run when merging the base changed no file, and stops instead of quietly starting hour-long test runs or reviewing an empty diff (GST-3019). (#4461) - /ship on Codex no longer stops at the test coverage audit. (#4489) - A cold first-use check before an app build reaches its owner (GST-3025). (#4465) - `skill_prefix=true` now survives updates when gbrain is installed. (#4454) - The OpenClaw docs no longer send you to ClawHub, which held only April 2026 builds of office-hours, ceo-review and retro and no longer has gstack skills (the docs also said four skills while listing three). (#4454) - `gstack-issue-links` no longer reads other repositories' issues as gstack's. (#4454) - /ship's pre-gate finds the tests of a monorepo app that imports through its own `@/` alias. (#4464) - /office-hours explains why it recommends a mode. (#4450) - /office-hours keeps its 34 founder videos and essays out of the skill file. (#4463) - Two `gstack-owner-answers add` runs for the same answer no longer collide. (#4490) - A Captain can check an ask against the owner's earlier answers before sending it. (#4467) - `gstack-post` stops reading /ship's own receipt identifiers as phone numbers, so posting a /ship PR body no longer needs a confirm. (#4488) - GitHub release notes now list every change in plain words, with a link to its pull request. (#4390) - gstack's router no longer gives bug reports a special rule, so the model fixes a bug the way it would without gstack. (#4442) - /ship's review plan now sorts Swift and Xcode files by risk instead of sending every iOS PR to the full review panel (GST-3041). (#4469) - /ship's review plan now sends Swift code that touches private user data to the full review panel (GST-3052). (#4472) - A round grant at /ship's review round cap now buys the fix round it names, in the same run or the next (GST-2968). (#4479) - The secrets check stops flagging three kinds of ordinary code as a secret, and catches two misses. (#4457) - A security finding's location and reason no longer go into a PR body. (#4486) - The token-capped /ship child on Claude Code now starts its prompt with the typed `/ship` command, so the skill actually loads. (#4487) - A /ship receipt now counts the second-model review's blocking findings, and refuses to be written while one is still open. (#4485) - A `/ship` with a token cap on Claude Code no longer stops at its first handoff. (#4452) - /ship's push step now always ends with one line that says whether it pushed (GST-3053). (#4474) - A PR's review-round count can no longer be overwritten by the body `/ship` posts. (#4440) - One queued record with a malformed path no longer stops artifacts sync for every project. (#4455) - A failed artifacts push stays reported until a push succeeds. (#4455) - The /sync-gbrain memory row no longer says OK when pages failed to import. (#4455) - ### Tests (#4495) - A policy-floor test no longer fails once gstack's own version reaches the minor after the newest policy key; it now checks a floor above both, so the v1.101.0.0 release can pass CI. (#4495) - CI now uploads free-suite test results to Trunk with analytics-uploader v2.1.8 and analytics-cli 0.17.0, up from v2.1.6 and 0.16.2. (#4453) - Packing a checkout for a Ubicloud run no longer fails when git beside it is rewriting a ref. (#4447) - The /plan-ceo-review HOLD SCOPE eval no longer fails a review because its follow-up question didn't repeat the mode name. (#4447) - Unattended /autoplan now records the owner's relayed gate reply instead of refusing it. (#4484) - Unattended /autoplan now runs the second-model review you turned on, and waits for it instead of ending the session. (#4459) - Two /autoplan runs started in the same second no longer share a run id. (#4459) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
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.
An unattended /autoplan run that's handed the owner's reply at the final gate now records it and finishes, the same way whichever instruction file the agent reads.
Before, autoplan/SKILL.md said "never approve" while autoplan/DRIVER.md said to record the relayed reply, so the outcome depended on which file the model followed.
Nothing to do; this fixes existing instructions and adds no new feature.
What changed
AUTOPLAN_UNATTENDED_GATE_RULE(scripts/resolvers/autoplan-driver.ts) renders word for word intoautoplan/sections/unattended.mdand DRIVER.md step 4. It says three things: never approve on your own judgment; with no owner reply, the run stops atstatus=gate_pending; record a reply relayed from the owner yourself withgstack-autoplan answer ... --by agent:<id> --owner-reply-file <file of their words>, and never hand the owner the command to run. DRIVER.md's old "You never approve the gate for the owner" line is gone, and its--by humannote stays in step 4.sections/unattended.mdand settle the gate by its gate rule instead."answer --by agent --owner-reply[-file]already existed and already binds the owner's words.Evidence (GEVA-549, no new paid eval)
GEVA-549's day-one eval (at e671a53, and the same text at a2a421b and 798782a) produced two outcomes from one relayed "rec":
answer --gate-rev 4 --reply "rec" --by agent:claude-opus-5-5 --owner-reply-file ..., then APPROVED and status=complete.This PR changes no eval pins or arms.
Size: paid for inside autoplan's existing cap
The rule adds 282 bytes to
sections/unattended.md. Autoplan's parity cap (SKILL.md plus sections, 1.1804 × 101,979 bytes) had about 1 byte of room on main, so these cuts inautoplan/SKILL.mdpay for it. The cap is not raised.uc<n>approval"uc<n>item (why= you said / both recommend / why / blind spots / cost if wrong)./shipwhen ready to create the PR."That's 294 bytes cut against 282 added: the union is 120,360 bytes, 15 under main's 120,375. The 12 per-host SKILL.md size pins in
test/fixtures/skill-md-size-allowlist.jsongo down to the new sizes (pins only go down).Tests
test/autoplan-unattended-gate-rule.test.tschecks five things:bin/gstack-autoplanparses.test/gstack-skill-start.test.tschecks that autoplan's unattended block names the exception and that no other skill's block mentions--owner-reply.test/host-conformance.test.tschecks the new pointer text instead of the removed "end here".Review notes (below the blocking floor, not fixed here)
Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.
scripts/resolvers/autoplan-driver.ts:88Gate rule's answer command omits --rec-hash; a copiedrecreply after recommend is refused with GATE_REC_STALE, which names the hash (fails safe, one retry)autoplan/sections/unattended.md.tmpl:9'Relayed to you' is prose-only; the CLI cannot verify the words came from the owner. DRIVER.md already allowed this before the PR; needs a policy call (narrow wording or a provenance field)autoplan/SKILL.md.tmpl:403Unattended branch defers to the gate rule, which does not mention APPLY:/amend_pending handling or owner-brief close; DRIVER.md step 4 covers APPLY:docs/unattended.md:42Human doc still says the skill never approves; humans only, nothing runs wrongDocumentation
Status: updated (one factual correction, no blockers)
Scope: base 44170d6 to head d36b3ae on
unattended-autoplan-records-relayed-owner-reply, with 2 commits and 14 committed files, and no staged, unstaged or new files. The change gives unattended /autoplan one gate rule, rendered fromscripts/resolvers/autoplan-driver.tsintoautoplan/sections/unattended.mdandautoplan/DRIVER.md: a session never approves on its own judgment, and it records an owner's relayed reply with--owner-reply-file.gstack-skill-startnames the same exception.Documentation health:
docs/unattended.md: Updated. The terminal-line section no longer says /autoplan always endsgate_pending; it now says that happens only when there is no owner reply, and how a relayed reply is recorded.docs/troubleshooting.md: Current.owner-reply-requiredalready documents--owner-reply-file.autoplan/*.tmpl: Current. These are the authored sources of the change.README.md,AGENTS.md,docs/skills.md: Current. No gate details there.Coverage debt:
AUTOPLAN_UNATTENDED_GATEis an internal resolver. The relayed-reply path has reference coverage indocs/unattended.mdanddocs/troubleshooting.mdand how-to coverage indocs/unattended.mdstep 4. It has no tutorial (a common gap, not critical).Diagram drift: none found.
Agent notes
R56: this is a correctness fix to existing instructions, not a new part of gstack, so it needs no new evidence that it helps. GEVA-549's two runs are the evidence.
Out of scope and left alone: capy/skill/gstack/SKILL.md ("an unattended run never approves its own gate", which is still true); DRIVER.md's
--words-by agent:<id>command line (gate semantics).Decision trail: captain drive reports/GSTA-611-decisions.tsv.
Thread GSTA-611, issue GST-3068.
Plan: exempt: bug fix (R65)
Plan check: exempt bug fix
REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=0 fixed=0 scope=frozen dispatches=1
Pre-Landing Review: 4 issues — 0 auto-fixed, 0 asked (0 fixed, 0 skipped), 0 deferred, 4 noted
Gate edits: none detected (4 listed, 2 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Post-review edit: docs/unattended.md's terminal-line paragraph no longer says the final gate is never approved (Step 14.5 docs audit, commit 2b08808), one scoped reader clean (anthropic/claude-opus-5-5), not a review round.
Approvals
No approvals recorded for branch unattended-autoplan-records-relayed-owner-reply.
Plan: exempt: bug fix (R65)