Code
Code is the repository workspace: each Code Project binds one folder, and when that folder is a Git repository, worktrees, branches, and pull-request tools become available.
Code is always available, whichever other modes you turn off. Everything a Code thread shares with other threads, such as sending while a reply runs, access modes, attachments, decisions, settle, moving, and export, is in Threads.
Create a Code Project
- Select Code in the sidebar's mode switch.
- Select Add folder (+) beside Projects, then choose a folder in the native picker. A Git repository root is recommended but not required.
- Name the Project.
- When the folder is not yet a Git repository, leave Initialize as a Git repository checked so Octant runs
git initas it creates the Project. Turn it off only if you want to bind without Git.
The server checks that the folder exists, and the renderer receives an opaque receipt. Without Git, Git features report unavailable until you initialize a repository.
A Code Project remembers how new threads start: in this Project's current checkout, or in a managed worktree Octant creates. The default is the current checkout, which creates no worktree you did not ask for. Set the habit on the Project overview; the composer still lets one thread override it without changing the Project. Desktop and phone both inherit the default, and the new thread shows which folder it bound. A missing or unauthorized folder fails closed instead of inventing a worktree.
A Code task always works in a folder, so Send asks you to choose a Project first. To talk without a folder, start a Chat from the Work composer.
After you create a task, Octant opens it while the provider starts the first turn. The first prompt stays visible in the task, so a slow provider start does not keep you on the start screen. A startup refusal appears in the task, so you can correct the prompt or provider and retry.
Extra folders in a Code task
An extra working folder is shared, even for a task on its own worktree. Git, pull requests, changed files, and Review still cover the Code checkout only. Choosing Restart in from a terminal asks before it stops the shell and runs commands; Cancel keeps the process, and New terminal opens a separate shell. See Several folders.
To start from a GitHub repository instead of a folder, see Clone a GitHub repository.
Start from an issue
In a new task, choose Create from… and pick a GitHub issue or a Linear issue. Octant fills the prompt and gives the agent the issue's text, marked as outside content. Code Home's Up next and Start something new lists do the same when you choose an issue there. See Start a thread from an issue.
The thread is linked to that issue. A pull request it opens says it fixes the issue, and the agent may comment on it and move it (a Linear issue to another state, a GitHub issue only to closed). With Keep linked issues up to date on, Octant moves a Linear issue to In Progress, In Review and Done itself; a GitHub issue stays open until the pull request merges, then Octant closes it with a comment, provided Octant saw the pull request open while the switch was on. Link more issues from the environment panel's Link an issue…. See Linked issues.
Start a new project from a scaffold
A new Code thread with no messages yet shows Start a project. It lists the scaffolds Octant offers: Web app, Cross-platform app and Native Swift package. A scaffold whose tool is missing on this machine says which tool it needs.
- Choose a scaffold.
- Enter a New directory name. It is one folder name inside the checkout, with no slashes, not starting with a dot or
-, and not already taken. - Read the files it Writes and the exact command it Runs.
- Choose Start it.
Each scaffold runs a pinned version of its generator, so the same choice always makes the same project. It runs under the thread's access level and approvals; Plan refuses it. The generator runs confined, with network access so it can download, and it installs no dependencies. Its output shows below the list. A run that does not finish cleanly is never reported as a created project.
Scaffolds are not offered in a server Project.
Set up this workspace
A new Code thread with no messages yet can also show Set up this workspace. A preset arranges panes this thread could already open. Design studio opens the project overview, a Browser for your dev server's preview, and a Side Chat to iterate in. Choose Apply to open them.
A preset can also suggest skills. After you apply it, each suggested skill shows whether it is in use by this thread, installed but not enabled, or not installed. Applying a preset never installs, trusts or turns on a skill; do that yourself in Skills if you want it.
Plan mode
Plan is the fifth access mode of Code and Work threads, and it is strictly read-only: no write approval exists. On macOS, Claude in Plan can run read-only commands such as git log, git diff, rg, ls, and cat without asking. The sandbox lets it start only a short list of reading tools, refuses every write they try outside a scratch folder of its own, and gives them no network.
On Linux, each command Claude runs in Plan gets a sandbox of its own inside the runtime's: the system and Project folders are read-only, there is no home folder, sign-in or API key, no network beyond its own loopback, and a private temporary folder is the only place it can write. A computer that cannot start that inner sandbox, for example when Octant runs as root or nested user namespaces are off, offers Plan no shell at all.
Plan starts no MCP server of yours unless you mark it Read-only — allowed in Plan; see MCP servers in Plan.
The provider's own plan mode works in Plan too. When the agent asks to plan first, or to leave Plan with a finished plan (Claude's plan-mode tools), Octant shows it as a request to change the thread's mode, with the whole plan. Octant Shield and a provider's reviewer never answer it; you do. When you approve entering Plan on a provider that can hold Plan inside the running turn (such as Claude Code), Octant switches the session to Plan in place and the turn keeps going read-only — refusing writes, shell commands, unmarked MCP servers, and subagents for the rest of that turn. On providers that cannot switch in place, and always when leaving Plan, approving ends the turn and the new level applies from the next turn. An approved plan returns the thread to the mode it left, Ask first, Accept edits or Auto, never Full access. A Work plan or level-change request on the phone shows its own Plan block; Code level-change requests use the ordinary approval card.
In Plan the agent can still look at the page already open in the thread's Browser, propose a side task or a routine for you to confirm, and write the plan as the thread's own Canvas. It cannot publish or share that Canvas, and nothing in the checkout changes. Every Computer action, Project memory write, image generation or save, and message to another thread is refused, and helpers it starts run in Plan too. A thread in Plan rewinds the conversation only.
Claude Code and Codex plan in Plan the way they do on their own. Codex runs in its own plan mode, still read-only, and its finished plan becomes the reply. When Claude Code hands over its plan, the plan becomes the reply under a Proposed plan heading and the turn stops there; nothing leaves Plan by itself. A plan a provider writes this way is reply text; it does not become the thread's structured plan below.
Claude Code can also ask to change the level itself. Outside Plan, when it asks to enter plan mode, and in Plan, when it hands over a plan, you get an approval naming the level the thread would move to, with the plan as evidence. Approving a move into Plan switches Claude's running turn into Plan in place (read-only for the rest of that turn); approving a move out of Plan ends the turn and returns to the level it left before Plan (a thread that left Full access, or that you put in Plan yourself, returns to Ask first), taking effect on the next turn. Outside Strict, Octant then starts that next turn itself, and Claude begins carrying out the plan you approved without another message from you. It does not when you are already sending or running a turn of your own, since your message then runs at the new level, and declining starts nothing. Codex has no plan card to approve, so this is not available for Codex yet: move the thread out of Plan and send your next message. Claude never switches its own mode. Declining leaves the level as it was. Work threads in Plan work the same way.
A Work-to-Code promotion always starts in Ask first, never inheriting Work's access.
Propose and approve a plan
A Code thread's plan is a durable, ordered list of steps, not prose in the transcript. Choose Propose plan beside the composer's attachment controls to open the plan form. Write one step per line, with an optional reason after an em dash, and press Propose plan. The plan also appears beside the transcript, so it stays in view while you read.
The right dock's Plan tool appears only when the thread already has a current plan. When none exists, including after a withdrawal, the composer offers a new proposal; the dock does not show an empty form.
A plan starts Proposed · not approved. Nothing in it is work yet: the host refuses to start, finish, or drop a step until the plan is approved. Approve plan is the only way to approve it; changing a thread's access mode says what the thread may do, never that its plan was agreed. Approval records the exact wording you read, so rewriting the steps returns the plan to proposed and asks again. A step that survives a rewrite keeps whatever was already done to it.
Once approved, the steps are the thread's task list: Start, Finish, Drop, and Reopen each move one step, and the card counts how many are done. Withdraw puts the plan aside so the thread can propose a different one; the withdrawn wording stays in the recorded revisions.
Plans work in every access mode, Plan included, because deciding what to do is what a read-only thread is for. The host records the plan in its journal, so it survives a restart.
Agent replies in Code render as Markdown, so a plan an agent writes as a heading and a numbered list reads as one. What you type stays exactly as typed.
Fork and rewind in Code
Fork and rewind work as in every thread, with your files added.
Fork from here
Fork from here starts a second thread on its own worktree and branch, with the files exactly as they were when that reply finished, including changes nobody committed, so the fork and this thread never write to the same files. The fork starts approval-gated and carries this thread's provider, model, and delivery outcome, not its access. Octant refuses a fork from a reply that is still running, or from a point where it did not record the files, and says which.
The fork's first message carries the conversation up to that reply, never the replies after it. On the Octant Harness it continues the source's own session, tool activity included; on Codex (0.143.0 or newer), OpenCode, and Pi, it forks onto the provider's own session copy, leaving the source untouched. Otherwise, and whenever the fork runs on a different provider, Octant hands over up to 23 recent messages as text, each labelled with the provider and model that wrote it; hidden reasoning, tool activity, and the source's session stay behind. The fork's first reply says which happened and what was left out. If no readable conversation is left to hand over, Octant refuses to create the fork, or refuses its first message, and says why. In a fork, once its own turns are all shown, Load earlier messages continues with the thread it was forked from, starting at the reply you forked from.
Merge back to source
Merge back to source appears on a fork's own finished replies. It hands the fork's conversation (its messages after the fork point, or after its previous merge back, up to that reply) back to the thread it was forked from as text, each message labelled with the provider and model that wrote it. Nothing runs and nothing is asked: the source's next message carries the merged messages, and that reply says how many came over, what was left out, and that hidden reasoning, tool activity, and the fork's file changes did not. Code still reaches the source only through Git review. If the fork took in outside content, the source is marked as having taken it in too. Octant refuses a merge from a reply still running, a merge with nothing new since the last one, and a merge into a thread this window cannot reach, and says which.
Restore files to a checkpoint
Restore from here starts a second thread at a marked checkpoint and leaves this one untouched; the restored thread's row, in the sidebar and in the Project overview list, carries a fork mark.
Restore files to this point overwrites the working tree in place. It is named separately, asks for confirmation, and goes through the thread's approval path. Undo restore stays on the thread after a successful overwrite, however far back the restore was. Octant refuses the restore, and Undo restore, while another thread has a turn writing in the same checkout, and names that thread when it is in the same Project; wait for its turn to finish or stop it, then restore. Undo restore stays after a refusal. A restore is also refused while another restore of the same folder is running. A thread on its own worktree is not held up by other threads.
A restore only ever writes files back into the checkout they were saved in. After a thread moves to another checkout, such as its own worktree, its earlier messages no longer offer Restore files to this point, Rewind to here… on one of them rewinds the conversation only and says why, and Undo restore comes back only once you restore something on the new checkout. If you decline a restore's approval, nothing changes and Undo restore stays.
Rewind to here
Rewind to here… shows how many messages leave and which files differ from the point you go back to, and lets you choose Conversation and files, Conversation only, or Files only. Nothing changes until you press Rewind (or Rewind and restore files). Putting files back still goes through the thread's approval path, and Undo restore stays offered afterwards.
The Octant Harness continues its own session, cut back to the last reply you kept, and so does Claude Code when that reply recorded its place in Claude's session. Codex (0.143.0 or newer) (on the same folder and mode for a turn with an anchor), OpenCode, and Pi also rewind onto their own session copies, leaving the source untouched. Other providers and older releases cannot cut their sessions back, which their capability report says (Session rollback: None), so your next message starts a fresh session with the kept messages handed over as text, and that reply says so. The removed messages stay in Octant's record but leave the transcript and export, and the thread's usage figure counts only the messages it keeps; the Usage dashboard still counts everything that ran.
Octant refuses to put files back while another thread has a turn writing in the same checkout, and when a turn after that point wrote files without a recorded checkpoint; the conversation can still be rewound on its own. A thread in a Project on a server, or in Plan, rewinds the conversation only and says why.
On the phone
The phone app puts Fork from here and Rewind to here under every message of a Code thread. A rewind asks once, with the computer's own answer to what it would change.
Putting files back is different. Under Ask first and Accept edits, Octant asks for your approval, and it takes approvals only at the computer. A phone cannot give one, so there the phone rewinds the conversation only and says so in the sheet; restore the files at the computer. Under Full access the computer asks nothing, and the phone lists the files that would change and asks once before it puts them back.
Long Code threads
A Code thread opens on its newest turns and follows new output while you are there; long threads load like any other. The usage and context figures always cover the whole thread.
The phone app opens a Code thread on its newest 20 turns and says so when earlier ones exist; it has no Load earlier, so read those on the desktop. octant agent shows a Code thread's newest 50 turns, and its footer then counts them as newest 50 turns. In octant agent, Stop reports an interruption only when the host confirms it. If the turn finishes before Stop arrives, it reports that nothing is running; if the host refuses, the terminal shows the reason.
A reopened thread replays its recorded tool steps and thinking up to a limit, and says when it kept only the earliest. Code also keeps the provider's reported reasoning in the turn's own disclosure.
Follow-ups resume the same provider-native CLI session, including its tool history. Claude Code's background commands can keep running after a turn finishes, shown above the composer in the Background work row, and wake-ups Claude scheduled show there too; see Background work, workflows, and wake-ups. An empty Code thread can also continue a session you started outside Octant on Claude Code, Codex, OpenCode, or Pi. Octant sends only the new message and never silently starts a replacement session. If the saved session cannot be resumed, the task reports that failure. Older tasks without a saved session reference need a new task, and continuing after a host restart also needs an adapter that keeps a durable session identity.
In Code outside Plan, the agent lead can also call octant_report_finished to attach a host-verified proof receipt (running its checks in the checkout without marking Done), and Octant projects eligible receipts into local replayable run cases; see Finished with proof. When Octant Harness edits a file in Code, language-server errors come back directly with the edit result; see Post-edit error feedback.
Use the thread environment
Each Code thread owns an Environment tab in the right dock. Press Environment in the title band. The top names the repository, its branch, and its folder. A card under it says whether the checkout has uncommitted changes (click it to open Review) and offers Commit or push and Create pull request. Below that, one list: local servers, subagents (opens the Agents tool), computer use, pull requests, Delivers (one row that opens a menu of what the thread delivers), the working folder (a fixed one says "Fixed for this task. Start a new task to change it."; older tasks keep the Change working folder control), and usage. Switching the active pane shows that pane's Environment.
Local servers are compact rows grouped by process and port, with this checkout's servers apart from other classified leftovers. Open stays on a usable listener; Copy URL and details live in the row's menu. Stop appears only for an Octant-owned safe stop, or for a classified leftover after confirmation. Unmanaged processes say so and have no Stop. The same servers, across every Project, are on the start screen's Running services card.
Routines in the Environment lists this Project's routines; you can create one with New routine, and the agent can propose one. A Code routine runs in this thread's checkout, asks before effects, and cannot be proposed from Plan. A Code thread can also schedule a follow-up; that turn asks before effects even if the thread has since been given more access, and does not run if the thread has Full access. See Routines.
Tools beside a Code thread
The right dock shows overview cards when empty and the tools you open from the title band when not. Beside a Code thread it can hold Side Chat, Browser, Files, Canvas, Plan (when the thread has a current plan), Pull requests for the thread's Project, Delivery (when a target is set), Changes, Terminal, Tests, Run and debug, Vitals, iOS Simulator, Android emulator, or Desktop. Hiding Browser, Terminal, or a device pane does not stop its session on the host. Each thread remembers its open tools and the one selected.
- Terminal, confined to the Project folder. A thread's own terminal keeps running when you close its tab and reattaches when you open it again; an extra terminal you opened beside it belongs to that tab, so closing the tab stops its shell. The agent can use the thread's terminal for dev servers and other long-running commands: in Plan it cannot, at Full access it runs commands there without asking, and in every other mode it asks before each command it types, showing the command. See Editor and terminals.
- Files, which follows the checkout live: when anything changes a file, the tree relists and an open editor reloads. A file you edited but did not save is never overwritten; Octant reports the outside change as a conflict instead. If the host refuses or fails to open a file, the pane says why in plain words (a moved folder, a missing path, a dropped connection) instead of staying on "Opening…"; a failed reload keeps your open editor and its unsaved text. See Files. Closing a file tab, a file opened in the main area, Files, the thread, or its window asks about unsaved edits, one file at a time. If the same file is still open in another view, closing one doesn't ask. If a window is already asking about unsaved edits, quitting brings that window forward — answer it, then quit again. Save must succeed before the close can continue. Don't save drops that file's edits, and Cancel stops the close. Hiding Files or switching threads doesn't ask. When you quit from the app menu, the macOS Dock menu, or with the quit shortcut, Octant checks every open window before closing any of them. If a window cannot answer the check, Octant asks whether to close it anyway. If you choose Close anyway while Octant is still checking other windows, that window stops responding to input until the quit finishes or is cancelled.
- Quick open by file name (
Cmd+P) and search across file contents (Cmd+Shift+F), both confined to the thread's repository and both bounded. Octant says when it stopped before searching everything rather than presenting a partial answer as complete. - Review, beside the thread, including discarding a tracked file's uncommitted changes. Outside Full access it asks every time, because nothing can restore them. See Git and worktrees.
- iOS Simulator appears once Octant has found an Xcode project and the Apple toolchain. Android emulator is always launchable; a host without the SDK shows it as unavailable. An open device pane shows a live frame for the thread's device, or says plainly why the host cannot attach one. See Apple workbench and Android emulator.
- Desktop shows the thread's disposable desktops on a Linux host. From an active Code thread on a paired Mac, select Show Mac desktop to watch its primary display, then Take control to use the mouse and keyboard. See Computer use and desktops for permissions and handback.
- Vitals shows how busy the machine your thread works on is: a CPU history line with the core count, memory, network traffic, disk activity and space, GPU, and battery. It reads about every five seconds while on screen and keeps the last five minutes only in the window. A reading the machine cannot supply is left out rather than shown as zero, and a machine with no battery says so. For a thread in a server Project it shows that server's load over the Project's SSH connection, only from a window on your own computer and only for Linux servers.
- Extension tools allowed by the effective activation policy.
The thread list can be shaped too: rename a thread in place (double-click or F2), pin the ones you return to, and see which threads moved while you were elsewhere. Hovering or focusing a row shows a card with the Project, branch, provider and model, fork origin, recency, and the thread's linked pull requests from the cached snapshot (hovering never asks GitHub). Click a pull request to open it in Review; Cmd-click, the trailing GitHub control, or the row menu's Open on GitHub opens it in your browser.
Trace a line to an agent turn
In a Git-backed Code checkout on the thread's host, open a saved file, select lines in the editor and choose Which turn wrote this? from the context menu or line hover. Octant shows when each range changed, the provider and model, and an excerpt from the turn's prompt. Choose Show in thread to read the conversation. In Changes or a final turn review, turn on Attribute lines for a file to see the turns in the modified gutter and legend. Changes uses the version shown in the comparison.
Octant labels edits made between turns Changed outside this thread and edits made since the last capture Not yet recorded. A capture records all changes during a turn, including edits made by another writer during that turn. Git can remove earlier saved trees over time. Octant marks the unavailable history and shows the attribution it can still establish.
Teach the repository
Choose Teach the repo on an assistant message and describe the correction. In Code review, you can also add a note when resolving a finding. Octant can suggest a short rule. Edit the rule, select Preview changes to review the diff, then choose Apply from a local macOS or Linux window when the thread is out of Plan.
The card names the instruction file in the thread's folder, includes the branch in Code, and shows what the current runtime is known to read. Octant asks you to review again if the file changed since the proposal. Code runtimes that load the affected instruction file use the added rule on subsequent turns.
Pull requests and issues a thread worked on
A Code thread is linked to the pull requests on its own branch, to those Octant opened or reviewed for it, and to every pull request its agent created, merged, reviewed, commented on, edited, closed or reopened, whether through gh in a terminal or a GitHub tool. It is also linked to a pull request its agent reads one at a time: gh pr view, gh pr diff, gh pr checks or gh pr checkout of a pull request the command names, or a GitHub tool that fetches one. So a thread you ask to assess some pull requests lists them as it reads them. Listing or searching pull requests links nothing. A read that names only a number is taken to be in the thread's own repository; in a Project of several repositories, unlink it if that is the wrong one. A linked thread is offered for babysitting and line notes on that pull request; linking starts nothing by itself. A thread that has only read a pull request is listed with it but is not taken to be working on it: the second-model reviewer does not run for that thread, and failing checks open no follow-up on it, until the thread writes to the pull request. Claude and Codex threads report these; other providers do not yet.
- The row counts what the thread carries in small marks: the first pull request in its state's colour and how many more there are (#327 +15), the size of its stack when it is in one, the key of the issue the thread belongs to, and how many other issues it worked on. Point at a mark for its words. The Pull request row property shows or hides them all.
- The hover card lists up to 50 of them, one line each (Environment lists them all): open and draft first, then merged, then closed. The list scrolls after ten. Below them, it names up to five issues and counts the rest: first those the thread is linked to (the one it was created from, or one you linked), marked Linked, then the others it worked on. An issue that is both appears once. A linked issue the thread has not worked on shows only its number or key.
- The thread's Environment lists all of its pull requests and every GitHub and Linear issue it worked on, ten at a time with Show more. An open pull request ends with the step it is waiting for: Resolve ↗ for conflicts and Fix ↗ for failing checks, which open that page on GitHub, or Merge once it is ready, which opens the pull request.
- Choose a pull request in Environment to open it as a tab in the thread, with the same view as the Pull requests page. Its More actions menu offers Unlink from this thread: the thread stops listing it and is no longer one of its linked threads, until the thread works on it again. Only you can unlink, from a window on the computer the thread runs on or a device you paired with it at Full access.
A GitHub issue the thread worked on is listed only for a repository this window already reads, and a Linear one only while Linear is connected. Reading these lists never asks GitHub or Linear.
Stacked pull requests
When open pull requests in one repository build on each other (each one's base branch is the branch of the one below), Octant shows them as a stack. The hover card, the thread's Environment and the Pull requests list keep the layers together with the bottom one first, join them with a line, and give each one its place, such as 2 of 4. The order comes from the cached snapshot, so showing it never asks GitHub. Pull requests from forks are left out, and so is a branch that several open pull requests are based on, such as a release branch, or one that two pull requests share.
Open a pull request of the stack to see all of its layers beside its review. To merge them together, open the bottom layer and choose Merge stack. Octant reads every layer from GitHub again, then shows the exact commit of each and the branch they land on. Nothing merges until you choose Confirm stack merge. They merge bottom first, one at a time, and Octant stops at the first that does not merge; the result says which ones landed and why it stopped. A draft, a layer with conflicts, or one that moved stops it before anything merges. A stack of up to ten merges in one step.
Octant points each layer at the branch the stack lands on just before merging it. If it stops there, the layer stays based on that branch. Where the repository uses a merge queue, Octant stops once the bottom layer is queued; merge the rest when it has landed. Squash and rebase rewrite commits, so a layer that changes the same lines as the one below can conflict after that one lands. A merge commit avoids this.
In the thread's Environment, the Merge step shows on the bottom layer only. You can still merge a higher layer from its own review; the confirmation says which branch it merges into.
Work with pull requests
The dock's Pull requests tool lists the active Project's open and draft pull requests from the cached snapshot, and opens a selected row in Review in the same dock; the pull request named on a pane tab opens there too.
When you ask, the agent can open the pull request for the thread's own branch, as a draft or ready for review, and stack it on another branch that already has an open pull request. It can change that pull request's title and description, mark a draft ready or turn it back into a draft, add or remove labels the repository already has, close or reopen it, post a comment or a reply in a review thread, and merge it.
- Comments and replies post without asking at Full access. Below it they ask you first and show their whole text, unless you turned on Agents may comment on pull requests for the Project and the thread has read no outside content (details).
- A merge asks too, unless you turned on Agents may merge for the Project (in the Pull requests list, beside Auto-refresh), or the thread came from a routine you allowed to merge the pull requests it opens. A window on this computer or a browser you paired yourself (beside the Project's default mode, under Default modes) turns on Agents may merge; only a window turns on the routine's choice. Even then the merge goes ahead only if the head is the one the agent saw and the required checks have passed.
- On a thread linked to issues, the pull request it opens names each one as fixed, and once it is open the thread's Pull request updates note offers Merge when ready… for you to turn on (details).
- The agent never chooses another branch, never approves a pull request, and never deletes a branch. A thread that asks before acting shows you the exact change first; Full access goes ahead for the rest; Plan refuses.
The thread's pull request shows in Review and on its card, stacked ones included. The agent can also ask to watch that pull request, so Octant starts a new turn when its checks finish or a review, comment, or conflict arrives. Watching its own pull request needs no approval, and the watch ends on its own after ten wakes or three days (details). When a check fails, the agent can read the failed job's log and rerun a flaky check; a rerun asks you first below Full access (details).
Second-model pull request review
A Code Project can opt in to an automatic read-only review from a second model whenever a pull request head is ready, with a per-thread override. It is off by default and has no default reviewer model: pick a reviewer route (Octant suggests a different provider from the authoring thread), and Octant runs the reviewer read-only at Plan once per pull request head commit. Optional per-Project summary comments post one plain summary comment through gh (never a formal GitHub review), and an optional per-PR hand-back returns blocking findings to the authoring thread. See Second-model pull request review.
Include Browser proof
The New pull request form in Review has an Include Browser proof choice, off unless you turn it on. When the agent checked its work in the Browser, turning it on adds a Browser check section to the description with the agent's steps as a numbered list: the action, the element, the page address without its query, and the result, never typed text or field values. GitHub cannot take pictures from here, so the screenshots are not uploaded. Save screenshots… in the desktop app asks for a folder and writes them as browser-check-01.png, -02, and so on, and the section names those files so you can drag them into the description. A recording the agent kept of a check is saved the same way as an animated .png, which GitHub plays in the description. A browser you paired yourself reads the proof in the thread, but cannot include or save it; other paired devices cannot read it. See Browser proof.
Merge from a phone or browser
On the phone, a Code thread's pull-request panel has Merge… and Merge when ready… for an open pull request. Each reads the pull request again from GitHub, shows the short head it read, and waits for your Confirm. A merge goes ahead only if that head is still current and the required checks have passed; Merge when ready hands the merge to GitHub once they do. Labels, comments, replies, approving, requesting changes, close, and reopen stay on the desktop.
A computer can also ask for an owner unlock before a phone or browser merges. Turn on Owner unlock before a phone or browser merges under Settings › Remote access › Owner devices in that computer's own window; it is off by default. With it on, a merge, a stack merge, or turning Merge when ready on from a phone or browser asks you to unlock on that device first, with Face ID, a fingerprint, your passcode, or a passkey. This works only on a phone or browser that is an owner of that computer (see Owner devices). A merge from the computer's own window never asks. If the unlock is missing, cancelled, or does not check out, nothing merges and the screen says why.
Use managed worktrees
Code can create managed Git worktrees for isolated feature branches. A new managed worktree starts from origin by default when the selected branch has a usable remote: the server fetches the remote, resolves the exact commit, and creates the worktree from it. The existing checkout is never changed. See Git and worktrees.
Unmerged preview work
Inline worktree progress is part of #2837 and is awaiting release.
When you send the first prompt in a local Code window with New worktree selected, Setting up worktree appears below the composer and moves under your message when the thread opens. It shows the base branch fetch or local resolution, checkout, the optional Project setup command, and agent startup. After the agent starts, expand Worktree ready to see the timings again during this window session. If earlier messages are still loading or paged out, look for Worktree ready below the latest messages.
Prepare each new worktree
In the Project overview's Actions list, write a setup command and a folder relative to each new worktree. Check the review statement on that action and save to turn it on for future worktrees. Only one action can prepare worktrees.
Open Environment, then select the branch row and choose Worktrees › Setup to see the command and its output. In the inline progress preview, Setup details opens the same view. Choose a child checkout there to inspect its preparation. The first agent task waits for setup. You can Cancel setup while the command runs, Retry setup after a failure or interruption, or Skip setup. Plan cannot run setup. After a host restart, you decide whether to retry or skip interrupted setup. Output is kept only for the current host session. Setup uses the task's access and does not copy secret files or the parent environment.
Give a child your current edits
Children normally start from the committed revision. To hand over unfinished edits, open Worktrees › Child source on the parent task and choose Review current edits. Inspect the base revision and every included path, then choose Use this snapshot. Capturing a preview alone does not change the source.
Children prepared from that task then get independent copies of that snapshot, including its staging state. Later parent and sibling edits do not change their files. The child's details record the snapshot and its committed base. Choose Committed revision to go back to the default for future children. Ignored files are left out, and protected or incomplete captures are refused. A stale revision needs a new capture or the committed choice. An interrupted copy never starts a child or overwrites one on retry; prepare a new child instead.
Save actions
A Code Project can keep named commands such as Run, Test, or Dev. Open the Project overview and choose Actions. Add a name, the command, and optionally a folder inside the Project. Octant also reads the Project's package.json scripts and Makefile targets and offers them as suggestions; nothing is saved until you add one and choose Save actions.
Each action becomes a button in the window header (the first three, with the rest under More) and an entry in the command palette. Choosing one previews its actual folder and branch. A thread defaults to its active checkout; use Run in to pick the Project folder or an approved extra folder. Run action starts a dedicated process and shows output, exit status, and Stop action beside the task. Open terminal hands the run to a terminal when you choose. Closing the dialog leaves the run alone, and reopening attaches to it. A lost reply is reported as unknown and never launches a second command on its own.
Start and stay, or start on several models
On the Code start screen, press ⌘/Ctrl+Enter to start the thread and stay where you are. The thread starts its first turn in the background, and the composer is ready for the next one with the same Project, workspace and base branch, and a new branch name. The list under the composer adds a line for each start, saying whether it worked, with Open to go to the thread. Plugins and connectors you chose, and the issue or terminal session you chose under Create from…, go with that start, and the next draft begins without them. If a start created nothing, your prompt, files and choices come back; the Create from… choice comes back only if you have not begun the next draft. The Chat and Work start screens, and a draft opened from a paired to-do, send as Enter does.
To try one prompt on several models, open the model picker and Shift-click up to three more models beside the one you chose, or move to one and press Shift+Enter or Shift+Space; do it again to take one out. The model you chose stays chosen. The composer says how many threads will start, and Send becomes Start N threads. Each model gets its own thread in a new worktree, whatever the Project usually does; the first keeps the branch name shown, and each other one adds its model's name. Every thread gets the same prompt, quotes, files and Create from… issue or terminal session. A model you added starts on its own default settings, such as reasoning effort, and gets the plugins and connectors you chose only if it comes from the same provider; a model that cannot take your attached images is refused on its own. Your computer checks each start as it would any other. If one model is refused, the line under the composer says why, and the threads that started keep running. Use one model goes back to a single model.
The start screen has no tools
The start screen stays clean: it shows no change count, no tool buttons and no right or bottom panel, even with a Project chosen. The tools (Environment, Review, Terminal, Browser and the rest) appear once the task starts. For a Project terminal or browser without a task, use Zen.
Start a thread on another computer
Unmerged preview work
This section describes behavior in open pull requests #2711, #2739 and #2784, which are not yet in a release.
In the desktop app, the Code start screen's computer picker can name another computer you paired with this one, or a member of your hub. The pane then shows that computer's own start screen, and a thread you start there runs on that computer, in one of its Projects, with its providers and rules. Its replies, approvals and Stop work from this window, and the sidebar's On your other computers lists the active threads of each computer you paired directly. See Work on another computer.
Check your activity on Code Home
Code Home's Activity section sits below the start-screen cards. It counts your own finished work over a named timeframe on four cards: Pull requests merged, Issues closed, Releases published, and Successful runs. Each card shows its count against the matching stretch before it — this week against last week, for example — and names where the answer came from. Clicking the count opens the records themselves, at most 25 to a page against the same frozen read; a pull request or issue opens its GitHub page and a run opens the thread it belongs to. The comparison appears only for a complete read.
The header's timeframe control sets one range for every card: This week by default, or Today, Yesterday, Last 24 hours, This month, Last month, This year, or Total. Custom… asks for a start and an end date; a custom range covers both whole days in your time zone, and impossible or reversed dates are refused before anything is saved. Refresh activity reads again on demand; the panel never polls on its own.
Customize activity (the … button) chooses the history source and shapes the section: turn cards off and back on, move them with the up and down buttons, and pin a card to its own timeframe. Up to four cards can be pinned, and a pinned card shows its own range's name while the rest follow the shared one. Your choices are kept on this device.
The three delivery cards read Your GitHub account by default: Octant asks the signed-in GitHub account and counts only the merges, closures, and releases that account made itself. Recorded by Octant instead counts what Octant witnessed in its own record of your threads, and Successful runs always reads that record whatever the source is. When GitHub is not connected, or sign-in storage is not safe, the delivery cards fall back to what Octant recorded and say so.
A card says plainly when its answer is not complete: a card can be partial when one connected repository could not be read, or when the chosen range holds more history than a bounded read can cover — more than 200 merges, closures, or releases in one repository. A rate limit or a failed read is labelled rather than presented as a full count, and a stale answer keeps its age visible. The Releases card counts releases your account created and published inside the range. A release drafted more than 30 days before the range began is not counted, even if it was published inside it. Activity looks backward at finished work; what still waits on you is the Needs you card above it, answered in the Inbox.
Designate a Project planner
Open a Code Project overview and find Project planner. Choose an existing thread in that Project and select Designate planner, then open that thread and ask it to survey the Project and propose work. Its agent reads the Project's board and offers each task it proposes the way any agent offers a side task, aimed at the board instead of a card in the thread. Designation does not let it start tasks by itself, and you can remove it at any time.
The overview lists each proposal's exact task, explanation, and status. Choose Decline proposal, or Review and approve to choose the provider and model, checkout, and access for the work. The review opens under Review the planner's proposal, with the proposal's title and exact text; the task text and Project stay fixed. Approve and start described task creates an ordinary Code thread and sends that exact first message only after the host confirms creation. Open created task returns to its work. If its first turn fails, the task keeps the prompt and the refusal so you can recover there.
Reconnect or refresh before deciding again when the host is unavailable or a proposal changed. A lost reply can mean a task was already created, so Octant keeps its submitted identity and reports the uncertainty instead of creating a second copy or sending a first message. Inspect submitted task opens that identity; it may still be starting or unavailable. Approval stays blocked through closing and reopening the review, reloading the window, or using another window while the host has an unresolved attempt. A missing task or a still-pending proposal does not mean the first attempt ended. When the host proves creation did not start, refresh the proposal and review its repaired settings before approving again. Planner designation and decisions work only in a window on this computer, not from the phone or CLI.
Provider cloud sessions
You can send a separate text task to a provider's remote sandbox without moving your local thread or checkout. This is optional and may incur model and sandbox charges. It does not run your local tools or receive local command approvals.
- In Settings › Octant Harness › Model endpoints, open an eligible official OpenAI API-key endpoint and turn on Allow cloud sessions. The setting is separate for each endpoint and starts nothing by itself. A Codex subscription sign-in or a compatible gateway does not offer this.
- Open an existing local Code thread (on a window on this computer or a device you paired yourself; hub-introduced and restricted devices are refused) and expand Provider cloud sessions. Choose the endpoint and a configured model, then enter the text to send.
- Choose Review cloud task. Only that text is attached: no files, history, host tools, or credentials. Check anything you paste for private information.
- Read the remote execution and cost disclosure, approve the exact text, then choose Run in provider cloud. Plan refuses submission, though you can still inspect an existing job or ask to cancel it. A task with a thread or Project spend ceiling also refuses, because this API cannot enforce a hard limit on cloud charges.
The remote environment asks for no network and has no way to call back to the host. The panel shows the last-observed status, time, and untrusted text output, with truncation marked. It never applies returned code to your checkout. Refresh saved sessions reads the local receipts; Check remote status asks the provider about that session. Closing the window normally after the handoff does not stop the remote job. A ten-minute host watchdog, turning the setting off, or shutting down the host asks for cancellation, but Request cancellation does not prove the provider stopped running or billing.
If creation cannot be confirmed, the panel keeps Submission uncertain and does not retry. To submit a different task, review it again and acknowledge the earlier unknown work, which may still be running and billing. The earlier receipt and unknown usage stay intact, and the acknowledgement is not a cancellation. Jobs with a known provider session can be checked after a restart. Purging the local thread removes its local cloud input, output, and identity; it does not delete data the provider holds. API access, model eligibility, and actual charges depend on your own provider account.
Message receipts
An agent can send a short message to another Code thread in the same Project. Sending queues it for that thread's next turn; it starts no turn there. The agent gets a durable message ID and can ask for its status later. Work threads do not send or receive messages.
Queued means the host admitted the message. Delivered to provider means the recipient's provider accepted the turn carrying it. Acknowledged by recipient means that recipient explicitly reported receipt; understanding and action are separate. Agents shows the recent receipt states and refusals. An acknowledgement is never inferred from delivery or completion.
Only the actual recipient can acknowledge a delivered message. Status reads and retries use the same ID; sending again creates a new message. Messaging is unavailable in Plan and where the profile leaves out octant_threads.send, and a planner's board needs octant_threads.board. Queued messages have no expiry. An agent can also see the other threads of its Project.
Next steps
- Threads for what every thread can do
- Boards for delivery targets and status
- Git and worktrees for branches, commits, and pull requests
- Promotions for creating Code threads from Work