# Goals and model changes

Claude cannot create a goal through its application tools. When you ask it to
create one, it explains the UI steps and can draft the objective for you:
choose **Set goal**, enter the objective, then choose **Start goal**.
For an existing unfinished goal, use **Resume goal** to continue it or
**Cancel goal** before setting a different one. These steps apply on desktop
and mobile; an objective written in chat alone does not create a goal.

A paused goal stays unfinished until you choose **Resume goal** or **Cancel
goal**, even when later chat replies say the work is done. While any goal is
open, a message that is just “Deslop”, or a [UI pass](ui-pass.md) message such
as “UI pass”, is refused because each runs in its own turn: open **Goal**,
choose **Resume goal** to finish it or **Cancel goal** to end it, then send it
again. The refused message is marked as not sent, so
**Cancel** or **Edit** on it works at once and the goal controls stay usable.
**Pause goal** and **Cancel goal** work even while a chat message is still
sending or its delivery is unconfirmed. **Set goal** and **Resume goal** wait
until that message is sent, or until you check it with **Retry** or remove it
with **Cancel**.

In the standalone local editor, open a session, choose a connected assistant,
and use **Send message** and **Set goal** in the same chat. These controls use
the selected local project's access checks and do not require a separate login.
After **Start goal**, both that button and **Set goal** show **Starting…** until
the goal shows as running, including while it waits for the current turn to end;
the goal menu then closes. Until then **Start goal** cannot be chosen again, so
one click starts one goal. If the turn ends without the goal starting, the menu
says so and keeps your objective. **Resume goal** likewise shows **Resuming…**
until the goal runs again; **Pause goal** and **Cancel goal** stay available
during that wait. **Pausing…** and **Cancelling…** last until the updated goal
is shown. A failed or uncertain request leaves the menu
and objective available for recovery; switching sessions keeps the new session's
draft independent.
Long objectives scroll inside the input instead of pushing **Start goal** out of
the panel. On short screens, scroll the goal panel to reach remaining controls.

After a goal completes, starting a goal with another selected assistant replaces
the old goal selection only when the new command is accepted. A status refresh
does not reactivate the completed goal.

After you change or reconnect an AI account in **AI Accounts**, an unfinished
goal keeps its model, role and conversation. Once the connection is ready, send
your next message or choose **Goal** → **Resume goal** using the current account.
A Codex goal running when you switch Codex accounts needs neither: its current
answer finishes on the previous account, then the goal continues on the new
account by itself. If Codex is no longer connected, it stays paused until you
sign in and resume it. A failed message that was never delivered can use **Retry**. You do not need to
cancel the goal. Access to its selected model is still required; an account change
during a pending delivery may require cancelling that request and sending it again.
These steps apply on desktop and mobile. Account sign-in and credential entry
remain your actions; Colleague can explain the recovery and offer supported help.

Open **Chat mode** while a goal is running or paused and choose **Senior**,
**Junior**, or **Custom**. A model or direct-mode change within the same tool
applies to the next turn, including automatic goal continuations. The current
turn keeps its settings; the goal keeps its objective, budget and progress. You
do not need **Pause goal**, **Cancel goal** or a reload to save settings.
Choosing **Auto** or a Custom model in another tool in **Chat mode** applies after
the goal finishes.

When the workspace owner saves a different tool or model for **Senior** or
**Junior** in **AI setup** (or **Model setups**), an unfinished goal started on
the previous main AI is cancelled the next time it would continue, as **Cancel
goal** would: when its current turn ends, when you choose **Resume goal**, or
after a server restart. This includes goals in projects that were not open when
the setup changed. The chat shows **Goal cancelled because the main AI changed in
AI setup**; the conversation, files and work done so far are kept. To continue,
choose **Goal** → **Set goal** again; it runs on the new main AI. A goal on a
**Custom** model is not cancelled, and neither a thinking-level-only change, a
Router or helper change, nor the first AI setup cancels goals. If the goal cannot
be cancelled (for example its AI is unreachable), the failure is recorded in the
operational log; choose **Goal** → **Cancel goal**. These steps apply on desktop
and mobile. Colleague can explain this and change the AI setup on your request;
it warns first that unfinished goals will be cancelled.

When changing a Codex model provider during a goal, the current turn finishes
before the same conversation continues with the new provider. If that change
cannot be applied, the goal stays paused. Check the selected model and account,
save the selection again, then choose **Resume goal**. An operator can inspect
the settings failure log if the problem continues; Colleague can explain these
recovery steps.

Temporary-chat and AI task Chat settings also remain editable while work is running or a goal is
paused. If goal status is temporarily unavailable, saving preferences does not
change that unobserved goal. Reconnect before resuming it.

Goal status updates as the assistant reports changes and when the chat reconnects.
Claude also refreshes goal status when its reply completes. Returning focus to
the browser alone does not request another goal read. Background status updates
keep known goal controls available. After the chat's native conversation changes,
**Loading goal…** appears until that conversation's goal is known; **Resume goal**
is not offered based on the previous conversation. A failed read shows
**Goal unavailable**. Wait for reconnection and use the offered retry control;
unavailable status does not mean the goal was cleared. A pending goal command
temporarily disables other goal commands and names that action; it does not mean
the coding turn has stopped.
If Claude fails while preparing a goal command, close the goal popup and choose
**Retry** on the failed command in the conversation. A confirmed failure before
delivery keeps the previous goal and permits that same command to be retried;
it does not leave a new goal waiting to resume after restart. If delivery is
uncertain, use the offered delivery check before resending. Reconnecting alone
does not resend the command. When the delivery check confirms the goal command
was accepted, its old error disappears without starting another goal. These
controls work the same on desktop and mobile.

OpenCode does not provide native goal controls. Its chat and live updates remain
available without a goal; choose a goal-capable assistant when you need to create
one.

To pause, resume or clear a Claude or Codex goal, see [Pause and resume a goal](coding-agent-goal-pause.md).

Claude and Codex use the same **Goal** control and status light. The light is
red and blinks, and the chip beside the message box shows the goal's clock, only
while the AI is working on the goal. Paused goals use a steady orange light.
A goal that is not running says so on the chip instead, with no red light and
no clock. An active goal that nothing is working on right now (between turns,
after **Stop**, or after a server restart until its continuation starts) shows
**Goal not running**; open **Goal** to see any error that stopped it, and your
next message continues it. The others show **Goal paused**, **Goal blocked** or
**Goal budget reached**. A goal waiting
because its AI account reached its usage limit shows **Goal waits: usage
limit** when Vibe64 continues it by itself once the limit resets, or **Goal
paused: usage limit** when no reset time is known; one whose account ran out of
credit shows **Goal paused: no credit**. The chip keeps to those few words; open
**Goal** for the explanation: when the goal continues (for example 05:01, with
the day when it is not today) or when the limit resets, and what to do next.
Open **Goal** to see its **Running time**: how long the AI has actually spent
working on the goal. Codex reports its own; for Claude, Vibe64 adds up the time
Claude worked on the goal from its conversation history. It counts only while
the goal is being worked on: time between turns, while paused, waiting at a
usage limit or across a server restart or deploy never counts. When work
resumes the clock carries on from its total: **Pause goal**, **Resume goal**, a
server restart or deploy, and Claude compacting its context during a long goal
never set it back to zero. A goal you cancel or finish and then set again starts
from zero.
With no goal set, **Goal** opens a 360-pixel-wide panel (the screen's width on a
narrow phone) whose objective box fills it. On narrow
panes, open **Goal** to see the timer. Pause, Resume and Cancel appear before long
objectives or blocker explanations, so recovery does not require scrolling
through the explanation.

Failed Main-chat messages offer **Retry** and **Cancel** on desktop and mobile.
**Retry** checks an uncertain attempt's original message ID first. If it was
already delivered, the failure controls disappear without another send. If the
AI proves it never received the message, Retry sends it once with the same ID;
while delivery is unknown, nothing is sent.
**Cancel** gives the message up for good, without stopping a newer goal or
deleting delivered conversation history. The server records it as cancelled and
stops any turn it may have started; the bubble shows that it is cancelling until
the server agrees, which it always does once it can be reached, and the message
never returns as a draft. While a message is unconfirmed, a newer message to the
same chat is not sent: its bubble says so and names the earlier message to
**Retry** or **Cancel**. Cancel frees the chat at once. Claude can prove that a
message never arrived once its work has settled without it in its history;
OpenCode once the OpenCode server that could have received it has stopped.
Colleague can explain
these controls; the person presses them in Main chat.

New goals pass exactly your objective to the native goal evaluator. Model and
role selection still use **Chat mode**; internal role instructions are not part
of the goal's completion condition. Starting a goal while Claude is busy keeps
its current process and instructions. An older goal retains its original native
condition when resumed; cancel it and set your intended plain objective again
if it was created with internal role instructions.

If Claude finishes its previous turn while **Set goal** or **Resume goal** is
preparing, Vibe64 retries that same goal command once only when the provider proves
it was not sent. No second click is needed for that race. A repeated failure or
uncertain delivery stays visible; check its receipt before trying again.

After Claude acknowledges **Set goal** or **Resume goal**, Vibe64 waits briefly
for the native goal record linked to that exact command before saving its restart
identity. It does not wait for the work to finish. If this record is still missing
after 30 seconds, the control reports that the command was accepted but its goal
attachment is pending. Check the original receipt; do not resend it blindly.
Whenever **Set goal** or **Resume goal** fails, the goal control shows the
server's reason, even when the command already appears in the conversation,
instead of only **Could not change the goal.**

A Main-chat goal started or explicitly resumed after this release retains your
request to keep working across server restarts, including an unexpected server
exit. Vibe64 verifies the previous process has stopped, rechecks your current
project and AI access, then resumes the same native goal. Recovery does not
need a browser tab or the original browser login cookie. If workspace preparation
is already starting, recovery waits up to one minute for that operation's lock;
it does not send a second goal command. If continuing fails right after the
restart (for example the AI is still busy, slow to start or cannot be checked
yet), Vibe64 tries again about 30 seconds, 2 minutes and 10 minutes later. Until
then the goal control shows the error ending in **Vibe64 tries again shortly.**;
it disappears once the goal continues. A goal is never sent twice: an attempt
that may have reached the AI is checked, not repeated. An error still shown after
the last attempt stays visible on the goal control.
**Pause goal**,
**Cancel goal**, and **Stop** (until your next message) prevent that automatic
continuation. A completed
or cleared goal is not restarted. A Claude goal whose turn ended any other way
is not paused: it shows **Goal not running**, and a server restart or deploy
continues it, including after Claude compacted its context during a long goal.
After **Stop**, a restart does not continue it until you send your next
message: that message continues the goal, and a restart during or after its
turn continues it again, never twice. To keep it from continuing, choose **Goal** → **Pause goal**.

A goal waiting at its AI account's usage limit (Claude or Codex) gets no AI turn
while the limit holds. Vibe64 continues it by itself about a minute after the
limit resets, once, as the person who set it, whether the reset comes while the
server keeps running or after a restart or deploy (a goal whose limit already
reset continues as the server starts). The reset time is the one Claude names,
or for Codex the latest reset among the account's used-up plan allowances; open
**Goal** to see when it continues. If that continuation meets the limit again or
fails, Vibe64 tries again about 30 seconds, 2 minutes and 10 minutes later, then
leaves the goal waiting for you. **Resume goal** tries sooner (for Claude, your
next message also continues it), and **Pause goal**, **Cancel goal** and **Stop**
keep it from continuing. When no reset time is known, a goal out of credit, or a
Codex goal that reached its token budget, is not continued by a restart, a deploy
or by itself, and no AI turn is spent on it: after the limit resets, or after you
top up or switch AI account, choose **Goal** → **Resume goal** (for Claude, your
next message also continues it). **Pause goal** (Claude) and **Cancel goal** work
while it waits. Existing goals are not guessed from their
old paused status: choose **Resume goal** once to enroll the intended goal.

If the account changed, cleanup cannot be verified, or an interrupted goal
command has uncertain delivery, recovery stays stopped. Check the original
receipt and current account, then use **Resume goal** (a Claude goal that shows
as active offers **Pause goal** instead: send a message to continue it, or choose
**Pause goal** and then **Resume goal**); an uncertain command is
never replaced with a blind send. When the AI proves the interrupted command
never arrived, the goal control says that nothing was sent: set or resume the
goal again. After a crash, an accepted Claude command can
be recovered only when its saved native attachment identifies that exact command.
A different goal with the same text is insufficient; missing proof requires
explicit confirmation. Each goal that stays stopped after a restart shows its
error on the goal control, and the operational log names its project and the
person who set it, so an administrator can tell whose goal needs attention.
A copied development workspace never inherits permission to run its parent's
goals. Restart continuation applies to supported Main native goals; temporary, AI task,
logical and scoped conversations do not expose native goal controls or receipts.
Colleague can read a session's current goal (its objective and whether it is
active, paused, blocked, waiting at a usage limit or out of credit, or complete,
and when a goal waiting at its usage limit continues by itself) and explain
these controls. It cannot set,
pause, resume or cancel a goal itself: it tells you which **Goal** control to
use and can draft an objective for **Set goal**, or that you can ask Claude in
Main chat to pause the goal or to resume or continue it.

A paused Claude goal stays paused while you send ordinary messages in the same
chat, including after reloading or restarting the application. The objective
stays available in the goal control, and each message tells Claude the goal is
paused rather than gone. Choose **Resume goal** to continue it, or ask Claude in
chat to resume or continue it: Claude then uses its Resume action and the goal
continues once that reply ends, as [Pause and resume a goal](coding-agent-goal-pause.md)
explains; **Cancel goal** removes it. If Claude cannot confirm that its checker has been
suspended, the next message is not sent and the error remains available for
recovery. Do not treat that error as a delivered message.
