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
Merge pull request #1038 from eneskirca/fix/relay-pendinglaunch-local
eneskirca5266932fe183
diff --cc CONTRIBUTING.mdindex 4bb4f2059,e7485caa4..213b51b07--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@@ -760,19 -755,19 +760,24 @@@ reply carries it (`queued` / `queuedIdsorchestrator that is told "opened" both act on a session that is not there. If you add a boundedretry anywhere, ask what the clock actually starts on and where its exhaustion becomes visible.- **A held launch is hostile input, and a gate nobody can read stays CLOSED.** `pendingLaunch` lives- in the git-shared `.nodeterm/project.json`, so `normalizePendingLaunch`+ **A held launch is an exec field, and a gate nobody can read stays CLOSED.** `pendingLaunch` is a+ command typed into a shell when its wait ends, so it is MACHINE-LOCAL like `shell`+ (`src/shared/node-exec.ts`): it rides workspace.json's `localExec`, never the git-shared+ `.nodeterm/project.json`, and a peer's or relay guest's value is dropped on `canvas:mut`. A write+ your renderer authors into a background project goes through `applyOwnNodeMutation`, never the+ peer path `applyNodeMutation` (which strips the launch and cannot clear one). Where a value is read+ (workspace.json is still hand-editable), `normalizePendingLaunch`(`src/shared/pending-launch-shape.ts`) runs at both serializer seams: an `after` that is not a listused to throw inside the canvas's dependency-signature selector. Its rule, and the rule for any new-gate you add (the `--after-pr` pull request wait is the latest): a value it cannot read turns the+gate you add (the `--after-success` wait is the latest): a value it cannot read turns thehold `manualOnly` or never-satisfied, never "no gate" — dropping it would start the node early, anda dependent that has launched cannot un-launch. A new gate field also goes in that module's `KNOWN`-set, and `launchesToFire` must treat a missing context for it as closed.+set, and `launchesToFire` must treat a missing context for it as closed. If both shells evaluate the+gate (the Server Edition's headless factory releases its own held launches), put the evaluation in+`src/shared` beside the shape, as `@shared/station-outcome` does, so the desktop and the server+cannot disagree about when a dependent starts. And never let a gate read its "satisfied" from a+file: a success a git commit can claim releases every dependent waiting on it — the station's+report lives in a transient core store, and its board-log line is display only.**Never move the user's view on a background agent's say-so.** Canvas-control requests route bySOURCE, and React Flow holds only the ACTIVE project's nodes — so the dispatch used to travel to the