Skip to content

v1.91.204.0 fix(skill-start): unattended block promises GSTACK_RESULT only to skills that write it (#3281) - #3392

Merged
capy-ai[bot] merged 2 commits into
mainfrom
fix/gsta-83-unattended-block-result
Oct 25, 2026
Merged

capy-ai[bot] merged 2 commits into
mainfrom
fix/gsta-83-unattended-block-result

Conversation

@garrytan

@garrytan garrytan commented Oct 24, 2026 •

Copy link
Copy Markdown
Owner

What changed

gstack-skill-start --skill ship, unattended
/ship unattended: it no longer asks for decisions.jsonl, a gate list and a GSTACK_RESULT line nothing writes. It now says no result line is coming and names the record the parent reads (the ship receipt).

gstack-skill-start --skill autoplan, unattended
/autoplan unattended keeps the run directory, decisions.jsonl rows, the gate list and the result line, now with its real skill name instead of the <name> placeholder.

The unattended block that bin/gstack-skill-start prints keeps one set of decision rules for every skill: take the recommended option, leave unrecommended questions, consents, destructive options and the final gate pending, and never approve, publish or push. Only the sentence about the run's record now depends on the skill, and it follows docs/unattended.md (#3367):

Skill What the block says about the record
autoplan Writes the run directory (incl. decisions.jsonl, gate.json), writes the gate list, ends GSTACK_RESULT: skill=autoplan status=gate_pending run=<dir>
eval-plan Ends at the Step 4 spend approval with GSTACK_RESULT: skill=eval-plan status=gate_pending run=<outdir>; no helper writes its gate.json yet, so the parent reads the pilot report and ledger in <outdir>
ship / review / qa No run directory and no result line; stop at the first pending item and list it in the final report. Parent reads gstack-ship-receipt read --pr <n> --json / gstack-review-read / qa-report-*.md
any other skill Same as above; the parent reads the skill's own record named in docs/unattended.md

Why

Follow-up to #3281. The block told every unattended skill to append to decisions.jsonl, write a gate list and end with GSTACK_RESULT: skill=<name> status=gate_pending run=<dir>, but only /autoplan has helpers that write a run directory. A /ship, /review or /qa run was asked for files and a result line nothing writes, and a parent that trusted the block would wait for them. GSTA-69's #3367 fixed the doc; this makes the runtime prompt agree with it.

Approvals

Date Ask Words Covers Pending
2026-10-15 Paid focused runs and screens Garry: "it's fine run as many $93 paid gates as you want who cares" (CREW 5, standing) Paid cases for this PR —
2026-10-16 Merge through a train Standing approval (CREW 6, merge-train) Merge by GStack Minder Slot call

No product decision was needed: the task (from GStack Minder, GSTA-36) was to make the block match the already-approved doc.

Evidence

  • bun test test/gstack-skill-start.test.ts: 42 pass, 0 fail.
  • Negative control: with bin/gstack-skill-start reverted to main, the new docs/unattended.md: the run-directory contract covers every workflow skill, but only /autoplan has the steps and helpers to write it #3281 test and the updated unattended test both fail (old block still says skill=<name> and promises the result line to /ship).
  • Gate integrity: one expectation in the existing unattended test changed from the skill=<name> placeholder to skill=autoplan, which is stricter. One new test added. No threshold, budget, timeout, trial count or case kind changed. Weakening verdict: not weakened.
  • CI green at 8b7c954 (45 passed, 0 failed). Remote free-tier pregate: 10,281 tests, 0 failed ($0.04, Ubicloud); macOS and Windows obligations cleared by this head's Free Tests (40140674236) and Windows Free Tests (40140674293) runs.
  • Paid cases (the full PR-profile selection, 16 cases, at 8b7c954, Bun 1.4.2 and Claude Code 2.1.292 as pinned in CI): all 16 passed, no flakes. docsync-spawned, office-hours-auto-mode, plan-ceo-review-plan-mode, skillify-provenance-refusal and ship-docsync completion, current, failure, late-result, launch-failure, missing-asset, missing-marker, recovery, stale-after, stale-before, store and timeout-unsettled. None of these sets GSTACK_SESSION_KIND=unattended, so the changed block isn't printed in any of them; the run checks that nothing around it regressed.

Open in Capy

…lls that write it (#3281, GSTA-83)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

…d-block-result

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
@github-actions github-actions Bot changed the title fix(skill-start): unattended block promises GSTACK_RESULT only to skills that write it (#3281) v1.91.204.0 fix(skill-start): unattended block promises GSTACK_RESULT only to skills that write it (#3281) Oct 25, 2026
@capy-ai
capy-ai Bot merged commit 7b6d189 into main Oct 25, 2026
62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant