Unattended /autoplan records the owner's relayed gate reply instead of refusing it (GST-3068) (#4484)

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.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
Garry Tanandcapy-ai[bot] authored and GitHub committed 2026-11-18 11:29:02 +00:00
1 parent 44170d6791
commit bbf48aa7ef
15 files changed
+119 -53

No files matched your search

+5 -2
View File
@@ -70,8 +70,11 @@ GSTACK_RESULT: skill=<name> status=<status> run=<dir>
`status` is one of `complete`, `reviewed`, `gate_pending`, `incomplete`,
`interrupted` or `refused`; `run` is where the run's record is. `/autoplan`
always ends `gate_pending` when it reaches the final gate, because the gate is
written and never approved. `/autoplan --ceo-only` ends `reviewed`: it runs the
ends `gate_pending` when it reaches the final gate with no owner reply, because
the session never approves the gate on its own judgment; when the owner's own
reply is relayed to it, the session records it with `gstack-autoplan answer
--by agent:<id> --owner-reply-file <file>` (see the driver steps below).
`/autoplan --ceo-only` ends `reviewed`: it runs the
CEO phase alone, asks nothing, writes no gate and approves nothing (see
[CEO-only runs](#ceo-only-runs)). Pure queries (`gstack-artifact schema`,
`gstack-gate render`) print no result line.