Add atomic, versioned notebook mutations, a searchable folder tree, and editor insertion forms. Validate notebook paths and symlink roots and retain drafts after external changes. Add yaml as a direct web dependency, reusing the existing workspace library for comment-preserving frontmatter edits.
13 lines
1.1 KiB
Markdown
13 lines
1.1 KiB
Markdown
# 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] **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.
|
|
|
|
- [2026-11-16] **Notebook root symlinks (#9):** validating only child components after realpath(root) permits a symlinked notebooks root. Notebook reads and mutations validate the root itself before walking children; regression-covered. Workspace CLI/filesystem writers remain trusted against concurrent path swaps.
|
|
|
|
## Archive
|