fix(brief): a brief with no research topics prints its next steps instead of entering the auto-only phase

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kjell Tore Guttormsen 2026-10-22 15:12:59 +02:00
commit 8f9b0abfad
Signed by: ktg
SSH key fingerprint: SHA256:JakMjO6FTBBzN0Bhfj9saOoEjaFxlSdYuZQQpM/lF9Q
3 changed files with 35 additions and 3 deletions

View file

@ -965,7 +965,10 @@ printed `stamped: true`, then stop and print the next step:
## Phase 5 — Auto-orchestration opt-in (if research_topics > 0)
**Skip this phase if research_topics = 0.** Proceed directly to Phase 6.
**With research_topics = 0**, print the manual-path output below without the
`/trekresearch` lines (Brief, then `/trekplan --project {PROJECT_DIR}`, then
`/trekexecute --project {PROJECT_DIR}`), then run Phase 7 and stop. Phase 6 is
never entered without the operator's opt-in.
Ask the user via `AskUserQuestion`:
@ -1025,7 +1028,7 @@ Proceed to Phase 6.
## Phase 6 — Auto research dispatch (auto path only)
**Runs only when user opted into auto mode.**
**Runs only when user opted into auto mode, and only after Phase 4h approved the intent.**
### Step 6a — Confirm proceed