ktg-plugin-marketplace/plugins/ultraplan-local/commands
Kjell Tore Guttormsen 34f62043f9 feat(ultraplan-local): add --gates autonomy-control flag to all four pipeline commands
Single autonomy-control surface (--gates) added to ultrabrief, ultraresearch,
ultraplan, and ultraexecute. When present, sets gates_mode = true and
re-enables approval pauses at every phase boundary + every wave for
high-stakes runs. When absent (default in auto), the chain runs continuously
to the main-merge gate (which always pauses regardless of --gates — that
boundary is the one always-on safety stop).

ultrabrief:    pause after auto-mode confirmation; emit brief-approved event
ultraresearch: pause after each topic completes
ultraplan:     pause after Phases 5, 7, 9
ultraexecute:  pause after each wave's worktrees finish, before merge-back,
               AND before the main-merge gate (MAIN_MERGE_GATE)

All four commands invoke the autonomy-gate state machine via the CLI shim
node lib/util/autonomy-gate.mjs (built in S8). Test pin in
tests/lib/gates-flag-coverage.test.mjs locks the contract.

Also wires the brief-approved stats emission into ultrabrief Phase 5 auto
path (was the SC4 wiring requirement from plan-v2 Step 11).
2026-05-04 07:54:30 +02:00
..
ultrabrief-local.md feat(ultraplan-local): add --gates autonomy-control flag to all four pipeline commands 2026-05-04 07:54:30 +02:00
ultracontinue-local.md feat(ultraplan-local): add /ultracontinue command for multi-session resumption [skip-docs] 2026-05-01 20:49:01 +02:00
ultraexecute-local.md feat(ultraplan-local): add --gates autonomy-control flag to all four pipeline commands 2026-05-04 07:54:30 +02:00
ultraplan-end-session-local.md feat(ultraplan-local): add /ultraplan-end-session helper for informal multi-session flows [skip-docs] 2026-05-01 20:58:46 +02:00
ultraplan-local.md feat(ultraplan-local): add --gates autonomy-control flag to all four pipeline commands 2026-05-04 07:54:30 +02:00
ultraresearch-local.md feat(ultraplan-local): add --gates autonomy-control flag to all four pipeline commands 2026-05-04 07:54:30 +02:00
ultrareview-local.md feat(ultraplan-local): add commands/ultrareview-local.md 2026-05-01 16:56:47 +02:00