- A goal keeps pursuing one objective in the current conversation until it completes, pauses, blocks, or reaches a limit.
- A bounded loop runs at a reviewed cadence with fixed tool permissions, an iteration cap, and a three-day expiry.
Pursue a goal
Set a goal with a concrete objective:Goal commands
/goalshows the objective, status, elapsed time, token use, and budget when one is set./goal editopens the editor for the objective and optional token budget./goal pausestops automatic continuation but keeps the record./goal resumereturns an unfinished goal to active execution./goal clearremoves the goal from the conversation.
Goal statuses
A goal can be:active: automatic turns continue when the session is idle.paused: you stopped it, the continuation cap was reached, or the runtime parked it.blocked: progress needs input or an external change.usageLimited: the model provider stopped a continuation for account usage.budgetLimited: the configured token budget was exhausted.complete: the objective was achieved and no required work remains.
complete or blocked. It should use blocked only after the same condition prevents progress for at least three consecutive goal turns. You control pause, resume, budget changes, and clearing.
Goal limits and accounting
- Objectives can contain up to 4,000 characters.
- The default safety cap is 50 consecutive automatic continuations. A user message resets that counter.
- An explicit token budget stops the goal when cumulative use reaches the budget. Cached input tokens are excluded; uncached input and output tokens count.
- Plan-like modes suspend continuation without changing the stored active status. Returning to Act mode allows the next continuation.
- Pressing Stop during an automatic continuation pauses the goal. A user message that preempts a continuation becomes the next step instead.
- A pending question or confirmation prevents another automatic turn from starting.
/goal edit.
Schedule a bounded loop
Run/loop without arguments to open the interactive designer:
Workload profiles
- Research and report uses read-only tools. You can keep work in the current conversation or reuse one foreground
codebase-explorer,document-explorer, orweb-searcherchild session. - Update a plan can edit plan documents under Plan mode restrictions.
- Edit software can read and edit source files in Act mode. Shell execution is unavailable.
- Observe hardware can read status and buffered or saved telemetry in Debug mode. It cannot mutate live hardware.
Cadence and bounds
The designer offers these fixed choices:- Cadence: every 5 minutes, 15 minutes, or 1 hour
- Maximum iterations: 3, 10, or 24
- Early completion: stop when the goal is demonstrated, stop when the answer is complete, or disable early completion so only you or a safety bound can stop it
Mode transitions
Each profile has a target mode:- Research uses Plan mode.
- Plan maintenance uses Plan mode.
- Software edits use Act mode.
- Hardware observation uses Debug mode when Debug is available.
Manage a loop
Run/loop again while a loop exists. The control view shows its plan, state, completed iterations, failure count, and next run time. From there you can pause, resume, or stop it.
Embedder applies these runtime guards:
- Runs never overlap. A busy session or pending interaction delays the next iteration.
- Background task results land before the next iteration so it evaluates current evidence.
- Three consecutive failed iterations pause the loop.
- An iteration that reports a need for user input, new authority, or an unobservable external change pauses the loop.
- A completion marker stops the loop only when early completion was enabled in the reviewed plan.
- Pausing a running iteration aborts it without counting that aborted run.
An unchanged monitored condition is not a failure. The loop should report the
current evidence and wait for the next cadence unless it needs a decision that
scheduled observation cannot supply.

