Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/GLOSSARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Use these terms in issues, PRs, comments, and docs. If you need a term that is n
- **Works on threads:** the signed permission (the `settings` capability in a device's delegation) that lets one of the user's computers act on threads that run on another of their computers. Only computers get it; phones never do, and a phone keeps the smaller phone API.
- **Let my other computers work on this computer's threads:** the switch on the computer that runs a thread (Settings, Devices, where its row reads "Let other computers work here" and the switch keeps the full name; or `mousse-cli bridge threads on|off`). It is on by default, and a computer still needs Works on threads, and stays within its highest permission mode and its terminal switch. While it is off, that computer answers none of the thread actions that other computers send it, whoever holds Works on threads.
- **Private thread:** a thread that stays on the computer that started it. It is never listed, searched, opened or run from the user's other computers or phones, even with Bridge on, and the Run on menu is locked to this computer. Everything it starts is private too: its subagents, threads its agents create, and workflow agents; its agents cannot start work on other computers or send to a thread that is not private, and agents in other threads do not see it. A thread is private from the moment it is created (the lock button in the new thread's toolbar, or New private thread) and stays that way. Its worktree branch is `mousse/private-<id>` rather than a name from its first message. Its messages still go to the model provider like any other thread's. With its worktree off it works in the project's own folder, whose files and commits other computers can read through Git; a computer that browses the project's files can also see the Git records Mousse keeps for it, and one with terminal access reaches everything on this computer.
- **Expiry (of a thread):** the time a thread deletes itself, set from the new thread's toolbar (the clock), the thread's menu (Delete after…) or the bar above it, where it can be changed or removed before then; a private thread can start with one set in Settings → General → Runs. At expiry the thread, its subagents, worktree, checkpoints and attachments are deleted for good: not Settled, not in Recently deleted. Its branch and anything committed or pushed from it are kept. A run still going waits to end, unless the thread was set to stop it. A thread that expired while the computer was off is deleted on the next start, and no turn starts in an expired thread meanwhile. The agents' own session files (Claude Code, Codex) and the run history Mousse keeps for its runs are not removed, as with a permanent delete.
- **Expiry (of a thread):** the time a thread deletes itself, set from the new thread's toolbar (the clock), the thread's menu (Delete after…) or the bar above it, where it can be changed or removed before then; a private thread can start with one set in Settings → General → Runs. At expiry the thread, its subagents, worktree, checkpoints and attachments are deleted for good: not Settled, not in Recently deleted. Its subagents on other computers expire with it: their computer is given the expiry, and every change or removal of it, and deletes them then, also when it was offline at the time. Its branch and anything committed or pushed from it are kept. A run still going waits to end, unless the thread was set to stop it. A thread that expired while the computer was off is deleted on the next start, and no turn starts in an expired thread meanwhile. The agents' own session files (Claude Code, Codex) and the run history Mousse keeps for its runs are not removed, as with a permanent delete.
- **Qualified id:** the name of a thread or project on another of the user's computers, `<nodeId>:<id>`. A thread or project on this computer keeps its plain id.
- **Merged lists:** this computer's threads, projects and statuses together with those of the user's other computers, as one list for the windows on this computer (behind the routing flag). A row of another computer carries `node`, and its project says `sameAs` the project of this computer with the same Git history. The CLI and phones get this computer's lists alone.
- **Project group:** one entry in the sidebar's Projects view. A project of this computer and the projects of other computers that hold the same repository (they share a Git remote, so `sameAs` names the project here) are one group, with all their threads, each thread row still naming its computer. A project that exists on another computer only, or matches only by its first commit (`similarTo`: forks, templates), is a group of its own, named with its computer. A group stays, with offline rows, while a computer is out of reach.
Expand Down
2 changes: 1 addition & 1 deletion docs/net/threat-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ An agent can start a subagent on another of the user's computers (`delegate_task
- The thread there runs in the narrowest of the parent thread's mode, the parent's run and the limit that computer set for this one (it refuses a mode above that limit, so the service narrows to it first). A follow-up (`continue_subagent`) runs no looser than the run that sends it and the mode the subagent was started with. No fixed mode caps it (issue #1160): when that computer's limit for this one is Full access and the parent runs in Full access, the subagent runs in Full access there, so an agent on this computer can run commands on that one without anyone being asked. That limit starts at Auto-accept edits, so this happens only after a person on that computer raised it for this one. A task that is read-only here (`workspace: 'shared'`, or a plan ceiling) is sent in Plan mode.
- A thread another device started (a remote subagent's thread, or one a phone or another computer started) cannot start remote subagents, so a chain is one computer deep.

Where the other computer knows the agent mark (below), every call that changes a thread there carries it: `threads.create`, `threads.setModel`, `threads.setPermissionMode`, `orchestrator.send` and `orchestrator.abort`. That computer then handles them as an agent's, not a person's. An older computer gets them unmarked and sees a person on this computer, as before. Which form a subagent's calls take is decided by its first call and kept on its rows (`remote_subagents.marked`): the owner's replay ledger is keyed by method, so a task that changed form mid-flight could be sent twice. Either way the other computer's switch for other computers, the block, the device's highest permission mode, the first-use notice and the audit apply, and its thread is marked "from <computer>". A person on that computer can still raise the thread's mode up to the device limit; the subagent's questions and approvals wait there for them. A task runs until it ends or is stopped. The caller may give it a time limit (`maxMinutes`) after which it is stopped there; without one, an approval nobody answers holds its parent until someone answers it or stops the task.
Where the other computer knows the agent mark (below), every call that changes a thread there carries it: `threads.create`, `threads.setModel`, `threads.setPermissionMode`, `orchestrator.send` and `orchestrator.abort`. That computer then handles them as an agent's, not a person's. An older computer gets them unmarked and sees a person on this computer, as before. Which form a subagent's calls take is decided by its first call and kept on its rows (`remote_subagents.marked`): the owner's replay ledger is keyed by method, so a task that changed form mid-flight could be sent twice. Either way the other computer's switch for other computers, the block, the device's highest permission mode, the first-use notice and the audit apply, and its thread is marked "from <computer>". A person on that computer can still raise the thread's mode up to the device limit; the subagent's questions and approvals wait there for them. A task runs until it ends or is stopped. The caller may give it a limit (`maxMinutes`). A computer that takes it (`orchestrator.send` version 8, `deadlineMinutes`, on a marked call only) counts the task's running time itself, not the time it waits on a person there, and stops the run when it is used up (`run_time_limits`); an older computer is stopped by the caller after that many minutes of wall time. Without a limit, an approval nobody answers holds its parent until someone answers it or stops the task. The subagent's thread there gets its root thread's expiry (`threads.setExpiry`, sent until that computer takes it, also after a change or a removal), so that computer deletes it then, as it deletes its own threads.

#### Threads agents start on another computer (issue #1160)

Expand Down
Loading
Loading