Skip to content

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.

docs(CLAUDE): keep the canvas-control skill text in sync with behaviour, same PR

Claude Codecfc5d2f431c6
diff --git a/CLAUDE.md b/CLAUDE.md
index 1263ddf12..881a1b735 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -1060,6 +1060,18 @@ persisted — only `unread`/`session`/`sessionId` go to localStorage under
control the desktop's canvas. The shim is generated source no compiler checks:
`canvas-control-shim.test.ts` runs it for real (/bin/sh against a real hook server, port AND
unix-socket transports) — keep it that way.
+ **Keep the agent-facing text in sync with behaviour, in the SAME PR.** The verb help agents
+ actually read is generated by `buildCanvasSkillBody` (the SKILL.md, rewritten into every config
+ dir by `installCanvasSkillInto` on launch) and `buildCanvasControlInstructions` (the
+ codex/gemini/copilot/opencode marker block) — both in `canvas-control-core.ts`. When you add or
+ rename a verb, change a flag, or change what an outcome MEANS (e.g. PR 7 turned a busy target's
+ `targetBusy` refusal into a deliver-on-idle queue), update those two functions in the same change,
+ or the docs describe a product that no longer exists and an orchestrating agent acts on the stale
+ contract. Derive from the code, never re-type: the retry guidance renders from `RETRYABLE`
+ (`messagingGuidanceLines`) so a new outcome kind lands in the text the day it is added — prefer
+ that shape over prose you have to remember to edit. `canvas-control-core.test.ts` walks both
+ generated bodies and must red on the stale claim (it pins the queue wording and the RETRYABLE
+ split); a doc line with no such test is a plan, not a fact — see the drift that shipped as #269.
**Flag syntax**: `--flag value`, `--flag=value`, or a valueless flag anywhere on the line. The
shim used to consume the next token after any `--flag` *unconditionally*, so `--read --node b1`
became `arg.read=--node` with `b1` silently dropped and the server answering about the wrong