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(windows): run-config gate, Git Bash resolver, worktree path identity
review74dcff0a8153
diff --git a/CLAUDE.md b/CLAUDE.mdindex 640506558..fc66b3ec5 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -39,6 +39,11 @@ means — and what you may assume when writing a feature — is three tiers, notplatform where they cannot work they must either use a platform-appropriate mechanism or beclearly gated off — a feature that throws `EACCES`/`EPERM` on Windows because nobody checked is abug, not an accepted limitation.+- **Run configurations (launch.json run node) are gated off for process launches on a Windows core**+ — the launcher is a POSIX `sh` script stopped and hot-reloaded by POSIX signals. The core's+ `gateEntriesForPlatform` marks those entries unsupported with `RUN_WINDOWS_REASON` (browser+ configs and browser-only compounds still run), and the add menu / Dock / palette disable the row+ from the core's own platform (`useCoreIsWindows`). A pwsh launcher is the follow-up.- **New code is platform-neutral by default.** Do not hardcode POSIX assumptions. Publish filesthrough `renameAtomic`/`writeFileAtomic` (`src/core/fs-atomic.ts`), not a bare `fs.rename` — theguard test (`fs-atomic.guard.test.ts`) enforces this. Resolve path separators / absolute-path@@ -7381,6 +7386,11 @@ the Settings section and ShortcutsPanel start disagreeing about what a chord mealayer (`ok:false` changes no facts). Staleness from the status poll likewise needs **twoconsecutive** failed reads (`WORKTREE_STALE_STRIKES`), and the streak is scoped per projectso a there-and-back tab switch cannot forget it.+ - **Path identity** — compare worktree/repo paths through `worktreePathKey` (`shared/worktree.ts`),+ never by string: git prints `C:/r/wt` on Windows while a typed binding says `C:\r\wt` or `c:/…`.+ The key folds separators + case only for a Windows-SHAPED path (backslash, drive letter, UNC);+ a POSIX path keeps exact case — keyed on shape because this module runs in the renderer, whose+ platform is not the core's. The removal guard also refuses a bare drive root.- **Destructive safety** — `createdByApp` gates removal: nodeterm deletes only worktrees itcreated; one the user merely **adopted** unbinds by default, and deleting its directory is anexplicit opt-in that **defaults to off** (its branch is kept either way).diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex d258adf6a..68769577b 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -499,6 +499,15 @@ anything else. Board-level fields survive every transform — `pullLinks` is onearguments and lines above cmd's limit fail explicitly. Keep stdin direct: PowerShell's textpipeline changes Unicode and line endings under Windows PowerShell 5.1.+- **Need a POSIX `sh` on Windows? Resolve Git Bash, never spawn bare `sh`.** A stock Git install+ puts only `Git\cmd` on PATH. `resolveWindowsSh` (`src/core/windows-sh.ts`) walks Git's real+ layouts, then PATH minus WSL shims; the codex hook wrapper's batch candidate list is derived from+ the same data, so add a layout there, once. With no shell, say "Install Git for Windows" — the+ project setup-script runner is the worked example (it also sets `CHERE_INVOKING=1`, or Git Bash's+ login profile leaves the project folder). And do not type a chained command line (`a && b '<x>'`)+ into a terminal for the user: PowerShell 5.1 and cmd parse it differently. Type one bare command+ and do the rest in-process (Source Control's publish fallback, `lib/publishFallback.ts`).+- **The phone reaches a Windows desktop through the relay only.** Everything the iOS app sends overSSH is POSIX sh plus tmux, and Windows OpenSSH hands out `cmd.exe`, so Windows pairing installs noSSH key and requires remote access instead of an SSH server (`src/shared/pairing-gate.ts`). Do not