Skip to content

v1.11.0 — TUI /goal (goal loop Phase 2)

Choose a tag to compare

@erain erain released this 09 Jun 19:38
· 19 commits to main since this release

TUI /goal: drive the goal loop from inside glue run (ADR-0016 Phase 2, #322, PR #323).

  • /goal <objective> runs Agent.PursueGoal in the background on its own session ids while the chat stays usable: a live goal card in the transcript updates in place per iteration (verified [x]/[ ] checklist with evidence, iteration counter, token usage, last checker verdict), and the status bar gains a ◎ goal · iter 2/10 · 1/4 ✓ · 12.3k tok segment.
  • Subcommands: /goal status, /goal pause (cancels cleanly, keeps the verified checklist), /goal resume (continues from that checklist without re-planning), /goal clear.
  • Goal tool calls flow through the same in-card permission prompt as chat turns — pending permission requests are now a FIFO queue, so a concurrent goal + chat request can no longer drop one. --yolo makes goals fully autonomous.
  • GoalSpec.Checklist (library): seed PursueGoal with an existing plan — skips planning, respects done flags and evidence. The /goal resume mechanism, and the hook Phase 3 durable resume will reuse.
  • GoalSpec.Permission now applies to the planner and checker sessions too (was maker-only) — without this, the checker under an agent with no default permission policy (e.g. the interactive TUI) was denied every side-effecting tool and could not run builds or tests to verify evidence.

🤖 Generated with Claude Code