# Create and switch sessions

Use **New session** (+), or **Create session** when there are no open sessions,
to open **Start an AI session**. It shows **Runs on your main AI:** and the main
AI's model. A saved setup appears straight away: the dialog does not wait for
each AI tool's model list or start any AI tool. Without a change the new session
runs on the main AI and its chat starts in **Auto**, as the dialog's **Starts in
Auto** line says, with every [Chat settings](chat-settings.md) switch on.

To run only this new session on another AI, for example DeepSeek, select
**Change** beside the main AI. It opens **Custom AI**, the same choice as a
chat's **Custom** mode, and only then loads the model choices. Choose
**Orchestrator**, **Model** and **Thinking** and press **Apply**; a loading
error offers **Retry**, and **Configure more AIs** opens account setup when the
provider you want is not connected. **Cancel** there keeps the current choice. The
dialog then shows **This session runs on:** with your choice and says the
session **Starts in Custom**; the new chat runs on that AI in **Custom** mode,
and your main AI and other sessions are unchanged. **Use main AI** discards the
choice, as does closing the dialog. Choosing the main AI's own model keeps the
main AI. **Change** is offered only to the person who manages the workspace's
AI; a team member's sessions always start on the owner's main AI.

To change the main AI for every session instead, select **Change main AI for
all sessions**, which opens AI setup. Review any branch choice,
then select **Create session** (or
**Create branch & session**). While **Creating session…** is shown, the dialog
shows a progress bar and explains that it is copying the project source. It stays open: clicking outside,
pressing Escape, Close and Cancel cannot dismiss it. On success it closes and
opens the new session. If creation fails, review the error and retry or dismiss
the dialog. This works the same way on desktop and mobile.

On a phone the session's header controls (**New session** (+), a local
project's Git branch button and the session's GitHub account) sit beside the
project name while the chat pane is shown. With Preview or Dashboard shown they
make room for that pane's controls; choose **Show chat** to reach them again.
On a phone the GitHub account shows only its GitHub icon; on a computer hover
it to see which account the session's GitHub commands run as.

For a project with connected repositories, the dialog closes once the session's
own source is ready. The session then shows **Preparing connected repositories**
while Vibe64 makes the session's own copy of each one (one **[Connected]** line
per repository in the output), followed by the project's setup steps. The assistant can start when preparation
finishes; see [Prepare a session after updating its source](workspace-preparation.md)
for failures and retry.

Creation through an action without an explicit AI choice uses the main AI. An
explicit model choice, like **Change** in the dialog, makes the new chat Custom
and is preserved even when it is unavailable: fix its account or AI setup, or
choose another AI, before retrying. A team member's new
session still records the owner's main AI; main chat runs on the owner's AI. Colleague
can read the available choices and explain recovery; it must not claim a failed
request left no saved lesson without checking that lesson's current state.

The new session appears in the session list after its source checkout is ready.
Refreshing during creation does not report that checkout as missing. If a
**session needs attention** notice remains after creation, use **Check again**;
if the checkout is still missing, use **Copy recovery details** and ask your
administrator to restore the original work from a verified backup. Colleague
can explain the notice, but cannot restore missing source through session creation.

A session's checkout works on its own branch, `vibe64/<session id>`, and keeps
no local copy of the branch it was created from (such as `main`): nothing would
keep it current, so it would look like the latest saved work when it is not.
**Git log**, **Current changes**, **Save** and **Update** read the saved work
themselves; in a terminal, `origin/main` remains. The copy is kept only when Git
shows it holds commits found nowhere else or the checkout is not on its own
branch. Older sessions lose their copy once, during the Vibe64 update that
brings this, under the same check.

If creation reports **This session source already exists**, existing commits,
staged changes and files have been preserved. Reopen that session if it is listed;
otherwise keep the source and ask your administrator to inspect the recovery
details. Repeating creation does not reset or replace the checkout.

Colleague can explain the choices or create a session through its session
creation action when you explicitly ask it to do so.

An approved preparation operation may reserve a session and its exact saved
source before creation. If creation reports retained session state or unavailable
creation checks, keep that reservation and ask the owner to inspect it; retry must
not overwrite it or choose another session. The operation retains its verified
source rather than silently starting from newer project changes. These checks add
no desktop/mobile control or arbitrary source selection to Colleague.

## Switch between open sessions

Select a session tab above the chat to open that session's conversation and work.
The selected tab includes the Archive session control. Hover or keyboard focus
alone does not select a session.

Hover or keyboard-focus a session tab for one second to read its details; on
phones and other touch screens, tap the tab's info button instead. The details
list **Status**, **Assistant**, **Model**, **Work**, **Saves to**, **Session**,
**Session branch** and **Created**, with **Rename session**. **Saves to**
always names where that session's **Save** puts its work: the repository in
short form (`owner/name` for GitHub, the project's short name for Vibe64 Git,
or **Project repository** for a project folder on this computer, never a
folder path or sign-in details) followed by the branch, for example
`example-owner/example-app · main`. When the branch is not the project's main
branch, such as a session opened on another branch or a pull request's branch,
it is a highlighted chip followed by **(not main)** (naming the project's main
branch), so a session that saves somewhere else is obvious; a fork's branch
with the main branch's name reads **(not this project's repository)**. Until
Vibe64 has checked the session's work it reads **Checking…**, and **Unknown**
if that check failed, until the next check. **Session branch** is the
session's own working branch, `vibe64/<session id>`, not where Save goes. The
**Save changes** review and the Save button's hint name the destination the
same way. Reading the details changes nothing; it is the person's step, on
desktop and mobile alike.

A project link can initially select the session named in its URL. You can then
select another tab; session-list refreshes preserve that choice. Following a
different session link selects its named session. A session being archived is
temporarily unavailable for selection.

Vibe64 remembers the session you last opened in each project, per person.
Opening the project without a session in its address (project list, bookmark,
**Back** and in again, reload, another browser or device) goes straight to it;
the chat shows **Loading sessions.** until the session list is read. A session
named in the address, or opened by Colleague, wins and becomes the remembered
one. Tabs already open keep their selection. If the remembered session is
archived or no longer open, the project opens its usual session (the last tab)
without an error. Practice projects work the same way.

A link whose session is not one of this project's open sessions (another
project's session, or one that has since been archived) loses its `session`
part once the session list loads, and the project opens your remembered session
or its usual session instead; no chat, Preview or other session work starts for
the unknown session. Switching projects always starts the next project from its
own sessions, never the previous project's.

The session header gives its room to session names first, then **Save**, which
never leaves the header. The other actions follow in priority order: **Temporary
AI**, **Renew session**, **Pin session**, **Pull request** and **Prepare
workspace**. When the pane is too narrow, the lowest-priority action moves into
**Session actions** (three dots) first, so Prepare workspace goes first and
Temporary AI last; widening the pane brings them back. All header actions use
small, light outline icons. Update uses a vertical line through a circle,
distinct from the branching pull-request icon. Hover or focus a control to read
its action label.

During a session **Save** or **Update**, you can still open existing temporary
chats or an open AI task, read their saved history and keep a plain text draft.
The draft's save state appears in that chat. Sending or changing assistant work waits for the
repository operation to finish. If an Update response is lost, use the saved
Update status and recovery controls before requesting another Update; a reload
does not establish that the first one failed.

Colleague can explain the tabs and open an accessible session through its
navigation action when you explicitly ask it to do so.

## Reconnect a chat

If the conversation shows **Conversation subscription failed.**, choose
**Reload chat** to reconnect to the same session. This reads its saved history
and restores updates without sending your draft or repeating an earlier request.
Standalone Vibe64 supports this through the local editor for its selected project;
it does not require a separate login. Keep using the editor's localhost
address. If the error persists, report the project, session and exact error.
On phones, open the chat pane to find the same control. Colleague can explain
recovery and open the session; the person selects **Reload chat**.

## Lessons and session navigation

The session tabs and chat panel list the project's ordinary sessions. The **L**
button opens the Learning environment above the page without changing the
selected session (see [Choosing lessons and courses](learning-mode-ui.md)).

A lesson's practice sessions are ordinary sessions of its practice project and
appear with its other sessions. **New session** and **Archive session** are
ordinary session operations, not ways to start or end a lesson: start, resume
and end lessons through Learning → **Courses** and Colleague. Colleague can
explain this; it cannot grant access or repair saved identities. These rules
apply on desktop and mobile.

## Archive a session

[Archive a session](session-archive.md) covers archiving, unsaved work, and
retrying a cleanup that fails.

## The session's temporary folder

Each session has its own temporary folder, `tmp` beside its source and its
connected copies. The AI's shell commands, and every program they start, get it
as `TMPDIR`, so their throwaway files, and the Git repositories tests make, stay
in this session, apart from every other session's. Commands can also run in it.
Vibe64 makes it on the AI's first command and empties it when the session is
archived or renewed; nothing in it is saved or kept in the session's archive.

The AI's Git decides by the repository a command acts on: the folder it names
with `-C`, `--git-dir`, `--work-tree`, `GIT_DIR` or `GIT_WORK_TREE`, not just the
folder it runs from. A repository in the temporary folder gets plain local Git:
`init`, `clone`, `commit`, `log`, and `push` or `fetch` between repositories in
that folder all work, with none of the session's GitHub sign-in and not your Git
name and email (a test names its commits' author itself, with `GIT_AUTHOR_NAME`
and the like or `git -c user.name=...`). From the temporary folder Git can read
the session's source and connected repositories, for example
`git -C <source> rev-parse --show-toplevel` or a clone of the source; a command
that changes them follows their own rules, as when it runs inside them, and one
that would change them from the temporary folder (a clone into the source, a
push to it) is refused. Git on another session's folder, another project or a
temporary folder all sessions share is refused too, with a message naming this
session's temporary folder for throwaway repositories. In the source, the Git and
gh commands that reach GitHub with your sign-in, the AI's and Save's, run no
program the AI or the repository picked
(see [What the AI's Git does with your GitHub sign-in](github-work.md#what-the-ais-git-does-with-your-github-sign-in)).

## Chat availability

The chat checks which modes you can use and shows the effective assistant or an
actionable connection message. Modes that run on the owner's AI are not listed
for team members. These lightweight
checks do not start a model or download its repeated execution plan. Opening
**Chat mode** still shows the available choices; access is checked again when
work is sent. Colleague can explain an unavailable mode, but cannot grant access.
The owner's Colleague can change Main chat's mode on request; a team member's
cannot, outside their own lesson (see [Main chat approvals](main-chat-approvals.md)).

To open the coding agent's own terminal, or leave it on a phone, see [Open the coding agent's terminal](session-terminal.md).

## Leave a dashboard tool

On mobile, use the **Dashboard** button at the top of Database, Files, Changes or
Architecture, then use **Dashboard section** to select another page. The **Dashboard** button works
even when you opened the tool from a direct link or its data is still loading.
Database opens Overview when the link does not specify a view; selecting ERD
or Data updates that view in the URL.

Colleague can explain these controls or navigate to another dashboard section
through its existing navigation action when you ask it to.

## Understand assistant activity

The dot beside a session tab pulses while that session reports active assistant
work, including when you are viewing another session. It stops when that work
finishes; you do not need to select the session to see the change. This also
works immediately after opening the project, before you have visited that
session. If its activity cannot be read, the dot does not claim it is working.
While the dot pulses, that tab's green **All work is saved** tick turns grey,
because the assistant can still change files; see
[Review, Save and work with GitHub](github-work.md).

**Loading assistant…** means the initial assistant connection is being prepared,
including after you select a different assistant. Checking an already healthy
connection keeps its current activity visible. A failed check or disconnected
browser shows recovery information and, when available, **Retry**.
Switching back to a loaded session reveals its existing chat without reloading
history or checking the assistant again. Hidden chats continue receiving live
updates, including changes to AI access and configuration. An empty set of tabs
does not prove that background work stopped. Colleague should inspect the exact
session before reporting its state. Returning after a real
connection loss can still require recovery. Known repository state is also reused;
explicit Refresh and checks for changes made outside Vibe64 remain available.
Opening a session also checks your AI access. Sending waits for that result;
the pending check does not itself mean the connection is unavailable. A confirmed
unavailable connection or access error is shown after the check returns.
When the session's AI account is not connected, the chat names it as AI
Accounts does, for example **Claude isn't connected. Reconnect it in AI
Accounts or choose another model. Your draft is kept.** Other accounts read
**Codex (OpenAI)**, **DeepSeek**, **GLM · Coding Plan**, or an OpenCode
connection's own name such as **OpenAI**. When Vibe64 cannot tell which account
is missing, for example a removed OpenCode connection to a provider it does not
know by name, or an OpenCode key whose chosen model is not enabled, the chat
shows **The selected AI connection is unavailable. Your draft is kept.**
**Go to AI Accounts**
opens AI Accounts in Account settings to reconnect it; to switch instead, choose
another model in **Models**. Nothing is sent until the chat can reach a connected AI. Desktop
and phone show the same notice; Colleague can explain it, but signing in
remains your step.
If chat stays on gray loading rows while the application Preview still works,
use **Reconnect** or **Retry connection** when shown, then reload the browser tab
if it remains stuck. Report the selected session and any failed chat/access
request status when asking for help; do not share cookies or tokens. Colleague can identify the
selected session and explain recovery, but cannot read the browser console.

**Sending to assistant…** covers delivery of your message. With Claude,
**Assistant is working…** replaces it as soon as Claude starts the turn, before
its first reply arrives; the composer is not left without a status in between.
**Assistant is working…** means the turn is active. Its animated dots require
the provider to report a live reasoning phase. Tool use and waiting between
provider events can keep the turn active without animating those dots. Reasoning
summaries may arrive late in a response; absent dots alone do not prove a stall.
Reduced-motion preferences also disable the animation.

With Claude, **Still working · waiting on 2 background commands…** (Main, with
the number running) means Claude has posted its answer, but commands it started
in the background are still running. The answer above is complete and readable.
The turn stays active until that command finishes or times out, and Claude may
then add a short follow-up reply after the answer; earlier replies stay visible.
Temporary chats and an AI task's Chat show the same text without the number.
In Main, **Stop** ends Claude's turn as Esc does in Claude Code and keeps Claude
running, so its background commands and agents run on: the chat stops showing
them as work, and when one reports back Claude answers it in a reply of its own.
Your next message goes to the same Claude. Pausing a goal or a Vibe64 restart
ends that background work. In a temporary chat or an AI task's Chat, **Stop**
also ends the background command, so press it there if you do not need it.

Colleague can explain these states. It should verify current session activity
through its available read operations before claiming that work has stopped.

## Lessons that do not need a practice workspace

A lesson without practical workspace steps can retain its own conversation and
saved lesson identity without creating a project, Git checkout or Preview app.
It does not use a coding session's source as a substitute. Your existing working
sessions and saved lessons remain separate.

If the lesson reports that its execution directory is missing, keep the session
and ask the administrator to inspect or restore it. Reloading does not rebuild
that directory or repeat your request. Archived lesson history remains readable,
but cannot continue running as the archived conversation. Colleague can explain
the reported error; it cannot grant another learner's access or silently replace
the saved lesson with newer content.

Start such a lesson from Learning → **Courses** (see
[Choosing lessons and courses](learning-mode-ui.md)); the ordinary
**New session** control still creates a working session with source.

## Pin a source session

Select the source session, then choose **Pin session as project source** in the
session header, or **Pin session** in **Session actions** when the header is
narrow. Its pin icon becomes filled. One session per project can be pinned.
Pinning and unpinning work while the assistant is busy or reconnecting; they do
not require an AI connection. Archive or renewal already in progress still blocks pinning.
You can still browse and work in other session tabs; the server-selected source
link stays on the pinned session. Cross-project requests addressed to the
server-selected session also keep that destination. Pinning does not Save,
push, freeze file contents, or publish.

The pinned session cannot be archived or renewed, and the project cannot close
or be closed by idle cleanup. Closing your browser does not remove the pin.
Idle cleanup otherwise closes an open project, with its Preview, terminals and
assistant processes, 30 to 35 minutes after its last recorded activity (opening
it, typing in one of its chats, session changes and assistant work). Opening the
project while idle cleanup is closing it waits for that Close, then opens the
project again. A chat message sent then, or after the Close, also reopens the
project and then reaches the assistant; if the project cannot open, the message
stays marked as not sent, with the reason. If idle cleanup closes the project
while a chat holds a draft or an undelivered message, the page stays, showing
**Idle cleanup closed this project** with **Reopen**; sending the message or
choosing **Reopen** opens it again. Otherwise the page returns to the project
list. Leaving the project or closing the browser does not close it sooner; close the project yourself to free its
memory at once, or ask Colleague to close it: it uses the same Close, which also
stops other sessions' running work, and reports a failed Close as incomplete
cleanup. A running assistant turn or active goal keeps it open. If one of the
project's sessions cannot be checked, idle cleanup leaves the project open rather
than guess, and the server log names that session; close the project yourself to
free its memory.
The pin survives server restarts. To change it, return to the pinned session and
choose **Unpin session**; tab selection then controls the source link again.
Other sessions show a disabled pin with **Unpin the project's pinned session first**.
Desktop and mobile use the same pin button beside Save. Learning sessions have
no source pin. Separate project pins do not affect each other.

Colleague can explain the pin or, on your explicit request, pin/unpin a named
session through its session action. Source cleanliness and saved-work checks
for host updates still apply to the pinned source.

## Answer clarification questions

When the agent asks numbered questions, answer each question using its own choices
or a typed response. This works the same way on desktop and phone. Choices should
appear beneath the question they answer, with one alternative per option. If an
option combines opposite answers (for example, “Yes / No”) or belongs to another
question, do not use it to communicate approval. Ask the agent to restate the
questions with separate choices. Colleague can explain the questions; your chosen
answers determine what work is authorized.
