Files
ShellBook/.agents/mind/index.md
T
Florian Schmidt 399628bf16 feat(deploy): one-step install/update from the Proxmox host (#6)
bootstrap.sh runs on the Proxmox host via
  bash -c "$(curl -fsSL .../deploy/proxmox/bootstrap.sh)"
It unpacks the repository into a temporary directory, runs
create-ct.sh and removes everything again; create-ct.sh also removes
the installer files it pushed into the CT. Nothing stays on the host.

install.sh now installs or updates: an existing checkout is pulled
(fast-forward, SHELLBOOK_REF pins are kept), the service is restarted
and health-checked, and the summary prints the address, the one-time
setup token while setup is pending, the Claude login state and the
SSH public key.

It also installs a root-owned `shellbook-update` that downloads the
installer from the repository and reruns it. Root never executes
scripts from /opt/shellbook, which the service user and its terminal
panel can modify, so deploy/update.sh is removed.

Verified in a Debian 13 container: fresh install, then an update that
pulls a new commit while a tampered checkout script is not executed;
bootstrap.test.sh checks that host and CT keep no installer files.
2026-11-16 10:57:42 +01:00

1.2 KiB
Raw Blame History

Project Mind — Index

Always-loaded. Everything else is on-demand. Update TOC when files change.

Current Focus

  • [2026-11-16] M0–M3 (#1–#4) and the UI-first follow-ups (#7 hosts/credentials, #8 chat, #9 notebook management, #10 settings/setup) closed.
  • [2026-11-16] Open: #5/#6 need a real CT 501 deploy (bootstrap.sh one-liner, setup token, real SSH run, tmux terminal). Not yet verified in a real browser or against real OpenSSH.

Invariants

  • Displayed script == executed script (one substitution path).
  • All shell quoting via core/shellQuote.
  • Secrets only as env vars; never rendered/logged.
  • Strict SSH host key checking with explicit TOFU.
  • check steps are side-effect free.
  • Notebooks stay plain, readable Markdown.
  • Everything doable from the web UI; files are storage, not the only way in.

Table of Contents

  • architecture.md — 8 entries — why custom app, stack, AI integration, workspace split
  • attempts.md — 4 entries — marimo + marimo-pair trial and why it was dropped
  • open.md — 2 entries — open design questions (sudo password, chat history)
  • gotchas.md — 11 entries — integration foot-guns (CRLF, host-key events, tmux/systemd, env names, pct exec PATH, TUN, chat paths, watcher timing)