diff --git a/.agents/mind/gotchas.md b/.agents/mind/gotchas.md index 4af0424..46d0432 100644 --- a/.agents/mind/gotchas.md +++ b/.agents/mind/gotchas.md @@ -1,8 +1,10 @@ # Gotchas -- [2026-11-16] **CRLF notebooks:** step scripts must be LF-normalized in the parser, or bash sees `cmd `. Covered by a core test. +- [2026-11-16] **CRLF notebooks:** step scripts must be LF-normalized in the parser, or bash sees `cmd +`. Covered by a core test. - [2026-11-16] **Host key flow:** server emits `run.hostKeyUnknown` then `run.finished` (exit -1) for the aborted attempt; the web reducer must keep the prompt open (`status: hostKey`). - [2026-11-16] **tmux under systemd:** default KillMode=control-group kills the tmux server on restart; unit uses `KillMode=process` so Claude sessions survive (spec §6). - [2026-11-16] **Env names:** single data dir variable is `SHELLBOOK_DATA_DIR` (server config, auth, CLI, installer). SSH key: `SHELLBOOK_SSH_KEY`. +- [2026-11-16] **Exit codes vs errors:** a non-zero script exit is a normal result (check ❌) and goes only in run.finished; run.error is for transport/setup failures. ## Archive diff --git a/.agents/mind/index.md b/.agents/mind/index.md index e67bd7f..358f0fd 100644 --- a/.agents/mind/index.md +++ b/.agents/mind/index.md @@ -2,9 +2,8 @@ > Always-loaded. Everything else is on-demand. Update TOC when files change. ## Current Focus -- [2026-11-16] M0 core, M1 web viewer, M2 server exec, M4 server terminal/watcher, M5 auth/deploy merged on main (parallel agents). -- [2026-11-16] Round 2 in progress: M3 server (sensitive one-shot artifacts, retention, e2e SSH-key flow) + web xterm panel / M3 web. -- [2026-11-16] Open: first deploy to CT 501 behind Traefik (needs Proxmox access from the user). +- [2026-11-16] M0–M3 done and closed (#1–#4); M4 (#5) and M5 (#6) code merged, issues open pending Linux verification. +- [2026-11-16] Next: first deploy to CT 501 (deploy/README.md), then verify tmux + `claude` live-reload loop there and close #5/#6. ## Invariants - Displayed script == executed script (one substitution path). @@ -18,4 +17,4 @@ - `architecture.md` — 7 entries — why custom app, stack, AI integration, workspace split - `attempts.md` — 2 entries — marimo + marimo-pair trial and why it was dropped - `open.md` — 2 entries — open design questions -- `gotchas.md` — 4 entries — integration foot-guns (CRLF scripts, host-key event order, tmux vs systemd, env names) +- `gotchas.md` — 5 entries — integration foot-guns (CRLF scripts, host-key event order, tmux vs systemd, env names)