Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.
TypeScript adhdagent-orchestrationai-agentscanvasclaude-codecodexcoding-agentsdeveloper-toolselectrongeminilinuxmacosmultiplexeropencodeparallel-agentsterminalterminal-emulatorterminal-multiplexertmuxworkspace-manager
docs(browser): human docs + Settings copy for browser control (S8 PR10 Task 10.2)
Claude Code812e10c238aa
diff --git a/docs/SERVER.md b/docs/SERVER.mdindex 4de226581..3aa131c41 100644--- a/docs/SERVER.md+++ b/docs/SERVER.md@@ -490,7 +490,10 @@ Consequences worth knowing:`control unavailable` read to an agent like a transient outage, and an agent retries anoutage. `browser` additionally names why it is **structural** rather than unimplemented —a browser node on this edition renders in the **viewer's own** browser tab, which this- server has no debugger for, and never can. See `src/server/control-unsupported.ts`.+ server has no debugger for, and never can. The whole `browser` drive set shipped over+ S8 (nav/read/click/type/press/scroll/wait/screenshot/cookies) is therefore **desktop-only**:+ it needs Electron's `<webview>` + CDP, which this edition has none of, so there is no+ browser driving here at all. See `src/server/control-unsupported.ts`.The agent-messaging verbs (`send`/`reply`/`notify`) are additionally **verified-only atthe route** on every edition, so on this one an unverified caller gets the flat 403messaging refusal and a verified caller gets the samediff --git a/docs/node-identity.md b/docs/node-identity.mdindex 9be5d81c8..623f1e508 100644--- a/docs/node-identity.md+++ b/docs/node-identity.md@@ -195,6 +195,7 @@ The bearer is required everywhere; this table is about the *node* token on top o| `/context-link/*` | Accepted unless the node is latched; a refusal is **prose with a 200** | 403 | Every verb is a read, so the whole route sits in the tolerant bucket. || `/control/list` | Accepted unless the node is latched | 403 | Tolerant: leaks canvas shape, changes nothing. || `/control/<mutation>` | Warned during the window, refused after the cutoff, refused immediately if latched | 403 | Refusal happens **before** the handler. `write`/`close` still ask the human. |+| `/control/browser` | **Refused** immediately — no window, no cutoff to wait for | 403 | Strict from the day it existed via `STRICT_CONTROL_VERBS`, checked **before** both the `override` escape and the dated window, so `hookIdentityStrict: false` does not soften it. Identity is only the first gate: the per-project switch (off by default) and in-memory ledger ownership still apply after it. || `/codex-thread/{start,bind}` | **Refused** (403) | 403 | Strict from the day they existed — no upgrade population to protect. || `/codex-thread/fallback` | **Always accepted** | 403 | It reports a DEGRADE and grants nothing; refusing it would silence it in exactly the tokenless case it exists for. |@@ -208,6 +209,16 @@ there does not degrade a feature — it silently stops an agent's status, contexand the managed script's `curl -sS` has no `--fail`, so a 403 exits 0 and the node goes dark with noerror anywhere. `forged` is the single exception because nothing legitimate can produce it.+**Why the invented-`kid` escape does not reach `/control/browser`.** The "deliberate means inventing+a `kid`" hole above is real for `/control/list` and every `/context-link/*` verb: a made-up kid is a+*foreign* kid, therefore `legacy`, therefore it walks past the latch and the cutoff into those+tolerant routes. It does **not** walk into `browser`. `browser` is in `STRICT_CONTROL_VERBS`, where+`controlPolicy` demands `verified` and returns `refuse` for anything else — and `legacy` is anything+else. A foreign or invented kid is `legacy`, `legacy` is a refusal on this route, so the escape that+buys `/control/list` buys nothing here. This is the whole reason the strict bucket is checked before+the `override === false` branch: that branch returns `allow-with-warning` for a non-tolerant verb,+which would have handed browser control to any holder of the app-wide bearer forever.+**A pre-upgrade codex session degrades to plain codex until it is relaunched.** Its launcher readsthe per-node capability from an env var this build no longer sets, and the value the previous buildput there is the OLD derivation (`base64url(HMAC(secret, nodeId))`, no dot), which the current@@ -355,15 +366,16 @@ because it is a tri-state:`false` is for a user whose upgrade strands a live session: it gets the canvas back withoutdowngrading the app. Neither value ever admits a `forged` token.-Neither releases a verb in **`STRICT_CONTROL_VERBS`** either — but **that set is pre-positioned and-gates nothing today, and nobody's hatch has narrowed.** It contains one name, `browser`, which is-**not a verb this app has**: `ControlVerb` lists 24 and the browser one is `open-browser`, which is-deliberately *not* in the set. Measured over the real verb list, the set of verbs the hatch stops-releasing is empty. What exists now is the ORDERING: the bucket is decided one line below the-`forged` check, above every branch the hatch or the dated window can reach, and it admits `verified`-only — so the verb it is for cannot arrive through the `override === false` branch, which returns-`allow-with-warning` for every non-tolerant verb. The user-visible change begins in the PR that-creates the verb, not here.+Neither releases a verb in **`STRICT_CONTROL_VERBS`**, and as of S8 that is now a live restriction,+not a pre-positioned one. The set contains one name, `browser`, and `browser` **is a real verb**+(shipped over S8 PRs 7–9): it drives a real logged-in page — navigating, typing, clicking, reading+text and cookies. So the hatch releasing it would mean handing that to any holder of the app-wide+bearer, forever, which is exactly what must never happen. The ORDERING makes it impossible: the+strict bucket is decided one line below the `forged` check, above every branch the hatch or the dated+window can reach, and it admits `verified` only — so `browser` can never arrive through the+`override === false` branch, which returns `allow-with-warning` for every non-tolerant verb. Setting+*Require verified node identity for canvas control* to **Not required** keeps the warning window open+and releases the latch for the ordinary verbs; it does **not** release browser control.`open-browser` stays out on purpose, and the distinction is worth stating because the sentence abovesays "browser": **opening a node is not driving one.** The threat is an agent acting inside a page@@ -374,10 +386,11 @@ open a browser node with no way back, since the hatch by design cannot reach intresidual is named rather than hidden: an unverified caller can open a node onto a logged-in page andthe page's title then shows up in `list`. That is `list`'s tolerance, unchanged by this bucket.-The cost, when the verb does land: cross-instance failover loses it, because another instance's-token is a foreign kid and therefore `legacy`. Both shells wire it as a **live-getter** (`setIdentityStrictOverride`), so a change takes effect on the next request, not the next-launch — a stranded user must not have to restart the thing that is already broken.+The cost, now that the verb has landed: cross-instance failover cannot drive a browser node, because+another instance's token is a foreign kid and therefore `legacy`, and `legacy` is a refusal on this+route. Both shells wire the override as a **live getter** (`setIdentityStrictOverride`), so a change+takes effect on the next request, not the next launch — a stranded user must not have to restart the+thing that is already broken — but no setting reaches into the strict bucket to release `browser`.## Ids are path segmentsdiff --git a/src/renderer/components/settings/sections/AgentsSection.tsx b/src/renderer/components/settings/sections/AgentsSection.tsxindex 8baab9995..6998cbc65 100644--- a/src/renderer/components/settings/sections/AgentsSection.tsx+++ b/src/renderer/components/settings/sections/AgentsSection.tsx@@ -393,7 +393,7 @@ export function AgentsSection({ isActive }: { isActive: boolean }): React.JSX.El<SearchableRow {...ROWS.nodeIdentity}><FieldRowlabel="Require verified node identity for canvas control"- description={`Commands that open, write to or close nodes — and that read a linked node's context — must present the identity NodeTerm issued to the node they say they came from. Automatic starts refusing the ones that can't from ${NODE_IDENTITY_STRICT_DATE}; until then they still run and the reply tells you to restart that node. Set this to "Not required" if an upgrade left a running session unable to drive the canvas: it restores the behaviour from before this feature, past ${NODE_IDENTITY_STRICT_DATE} as well. An identity that is actually forged is refused whatever you pick here.`}+ description={`Commands that open, write to or close nodes — and that read a linked node's context — must present the identity NodeTerm issued to the node they say they came from. Automatic starts refusing the ones that can't from ${NODE_IDENTITY_STRICT_DATE}; until then they still run and the reply tells you to restart that node. Set this to "Not required" if an upgrade left a running session unable to drive the canvas: it restores the behaviour from before this feature, past ${NODE_IDENTITY_STRICT_DATE} as well. Browser control is the one exception — it always requires verified identity and this setting never releases it. An identity that is actually forged is refused whatever you pick here.`}control={<Selectaria-label="Require verified node identity"diff --git a/src/shared/project-capabilities.ts b/src/shared/project-capabilities.tsindex 8126db3be..4ee23ccae 100644--- a/src/shared/project-capabilities.ts+++ b/src/shared/project-capabilities.ts@@ -42,10 +42,13 @@ export const PROJECT_CAPABILITY_COPY: Record<ProjectCapability, ProjectCapabilitlabel: 'Let agents drive browser nodes they open',description:'Agents in this project can navigate, read, click and type in browser nodes THEY opened — ' +- 'never in browser nodes you opened. Any page an agent reads can try to steer it: a page can ' +- 'contain instructions, and the same agent can navigate anywhere and type anywhere. Nodes an ' +- 'agent opens use their own logged-out session, separate from your own browsing. A badge on ' +- 'the node shows when one is being driven, with a Stop button.',+ 'never in browser nodes you opened, and never in your own browsing (an agent’s nodes use a ' ++ 'separate session jar). Any page an agent reads can try to steer it: reading a page puts its ' ++ 'text straight into the agent’s context, and that same agent can navigate anywhere, type ' ++ 'anywhere and read the jar’s cookies. That is untrusted content, whatever the agent has ' ++ 'logged the jar into, and a path back out — all in one switch. Reading is shaped to reveal ' ++ 'less per call, but nothing here closes that channel. Cookie reads are traced and there is no ' ++ 'cookie-write; a badge on the node shows when one is being driven, with a Stop button.',cloneWarning:'This setting is saved in the project file (.nodeterm/project.json), so if you commit it, ' +'everyone who clones the repo gets it too.'