Repository navigation
v1.91.204.0 fix(skill-start): unattended block promises GSTACK_RESULT only to skills that write it (#3281) - #3392
Merged
Conversation
…lls that write it (#3281, GSTA-83) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 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
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
/ship unattended: it no longer asks for decisions.jsonl, a gate list and a
GSTACK_RESULTline nothing writes. It now says no result line is coming and names the record the parent reads (the ship receipt)./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-startprints 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 followsdocs/unattended.md(#3367):autoplandecisions.jsonl,gate.json), writes the gate list, endsGSTACK_RESULT: skill=autoplan status=gate_pending run=<dir>eval-planGSTACK_RESULT: skill=eval-plan status=gate_pending run=<outdir>; no helper writes itsgate.jsonyet, so the parent reads the pilot report and ledger in<outdir>ship/review/qagstack-ship-receipt read --pr <n> --json/gstack-review-read/qa-report-*.mddocs/unattended.mdWhy
Follow-up to #3281. The block told every unattended skill to append to
decisions.jsonl, write a gate list and end withGSTACK_RESULT: skill=<name> status=gate_pending run=<dir>, but only/autoplanhas 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
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.bin/gstack-skill-startreverted 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 saysskill=<name>and promises the result line to /ship).skill=<name>placeholder toskill=autoplan, which is stricter. One new test added. No threshold, budget, timeout, trial count or case kind changed. Weakening verdict: not weakened.GSTACK_SESSION_KIND=unattended, so the changed block isn't printed in any of them; the run checks that nothing around it regressed.