clawdie-iso/live/operator-session
Sam & Claude df783f2a59 fix(vault): wire seed bootstrap → vault-fetch path + harden agent dir validation
Address the 5 review concerns on the secrets-out-of-the-box feature:

1. Seed↔fetch path alignment: _seed_split_env routes BW_* creds out of .env
   into ~/.config/vault-bootstrap.env (SEED_VAULT_BOOTSTRAP_REL), the path
   clawdie-vault-fetch actually reads — so 'seed bootstrap → fetch out of
   the box' now lines up without an explicit --bootstrap arg.
2. Drop unused COLLECTION_ID from clawdie-vault-fetch. Items are fetched by
   name via 'bw get password', which is fail-closed on ambiguity; document
   that item names must be unique in the visible vault.
3. Agent dir validation: _seed_agent_name_ok rejects leading-dot dirs
   (.Spotlight-V100, .fseventsd) and traversal; _seed_agent_has_payload
   requires a recognized payload so an empty/stray dir can't become active.
4. No phantom homes: extra agent dirs stage under /var/db/clawdie/seed/<agent>
   only — _seed_stage_agent never writes a home or SSH keys.
5. Bootstrap file mode enforcement: clawdie-vault-fetch now stat-checks the
   bootstrap file and refuses group/world-readable unless
   VAULT_ALLOW_INSECURE_BOOTSTRAP is set.

Also renames _seed_import_env → _seed_merge_env + _seed_split_env and adds
_seed_key_ok to guard env var names.

Checks: sh -n on vault-fetch/live-seed/build.sh; git diff --check;
./scripts/check-format.sh (prettier clean); 5 concerns verified present.

Co-Authored-By: Hermes & Sam <hello@clawdie.si>
2026-06-19 18:24:55 +02:00
..
autostart Fix XFCE tray volume and clock sizing (Sam & Codex) 2026-06-05 11:47:45 +02:00
icons Merge pull request 'merge/all-three-fixes' (#11) from merge/all-three-fixes into main 2026-06-04 20:04:23 +02:00
mcp-examples docs: add external MCP profile examples to ISO (Sam & Codex) 2026-06-13 19:54:17 +02:00
panel-skel Fix XFCE tray volume and clock sizing (Sam & Codex) 2026-06-05 11:47:45 +02:00
wallpapers Merge pull request 'Fix XFCE SVG icon sniffing (Sam & Codex)' (#9) from fix/xfce-svg-pixbuf-icons into main 2026-06-04 20:04:23 +02:00
xorg.conf.d Merge xfce-operator-usb: Track F Colibri, DeepSeek smoke, LLM provider harness 2026-06-04 20:04:23 +02:00
49-clawdie-power.rules Merge xfce-operator-usb: Track F Colibri, DeepSeek smoke, LLM provider harness 2026-06-04 20:04:23 +02:00
bootstrap.html feat(iso): ship git-backed AI source checkouts (Sam & Codex) 2026-06-15 09:09:14 +02:00
clawdie-bootstrap-launch.sh Merge pull request 'Swap bootstrap: colibri-tui primary dashboard, Firefox for docs' (#19) from fix/bootstrap-colibri-tui into main 2026-06-04 20:04:23 +02:00
clawdie-bootstrap.desktop Merge xfce-operator-usb: Track F Colibri, DeepSeek smoke, LLM provider harness 2026-06-04 20:04:23 +02:00
clawdie-live-audio Merge xfce-operator-usb: AMD ASUS hardware lane + XFCE panel polish (Sam & Claude) 2026-06-04 20:04:23 +02:00
clawdie-live-gpu feat(gpu): universal NVIDIA lane — detect + install branch at boot (Sam & Claude) 2026-06-04 22:19:36 +02:00
clawdie-live-power Merge xfce-operator-usb: Track F Colibri, DeepSeek smoke, LLM provider harness 2026-06-04 20:04:23 +02:00
clawdie-live-resolver Merge xfce-operator-usb: AMD ASUS hardware lane + XFCE panel polish (Sam & Claude) 2026-06-04 20:04:23 +02:00
clawdie-live-seed fix(vault): wire seed bootstrap → vault-fetch path + harden agent dir validation 2026-06-19 18:24:55 +02:00
clawdie-live-seed.README.txt Wire encrypted secrets: Vaultwarden fetch + per-agent seed import 2026-06-19 17:27:01 +02:00
clawdie-live-touchpad-guard Merge xfce-operator-usb: AMD ASUS hardware lane + XFCE panel polish (Sam & Claude) 2026-06-04 20:04:23 +02:00
clawdie-live-wifi Merge xfce-operator-usb: Track F Colibri, DeepSeek smoke, LLM provider harness 2026-06-04 20:04:23 +02:00
clawdie-noblank-guard.sh Merge xfce-operator-usb: Track F Colibri, DeepSeek smoke, LLM provider harness 2026-06-04 20:04:23 +02:00
clawdie-startx Merge xfce-operator-usb: Track F Colibri, DeepSeek smoke, LLM provider harness 2026-06-04 20:04:23 +02:00
clawdie-tailscale-up Merge xfce-operator-usb: Track F Colibri, DeepSeek smoke, LLM provider harness 2026-06-04 20:04:23 +02:00
clawdie-vault-fetch fix(vault): wire seed bootstrap → vault-fetch path + harden agent dir validation 2026-06-19 18:24:55 +02:00
clawdie-xfce-session Merge xfce-operator-usb: AMD ASUS hardware lane + XFCE panel polish (Sam & Claude) 2026-06-04 20:04:23 +02:00
clawdie-xfce-session-inner Merge pull request 'pi/main-live-boot-xfce-colibri-fixes' (#4) from pi/main-live-boot-xfce-colibri-fixes into main 2026-06-04 20:04:23 +02:00
clawdie-xfce.desktop Merge xfce-operator-usb: Track F Colibri, DeepSeek smoke, LLM provider harness 2026-06-04 20:04:23 +02:00
colibri-live-rebuild feat(iso): colibri-live-rebuild helper + image-size guard; bhyve on-demand (#60) 2026-06-15 18:04:32 +02:00
hw-report Merge pull request 'merge/all-three-fixes' (#11) from merge/all-three-fixes into main 2026-06-04 20:04:23 +02:00
hw-report.desktop Merge xfce-operator-usb: Track F Colibri, DeepSeek smoke, LLM provider harness 2026-06-04 20:04:23 +02:00
pf-live.conf Merge xfce-operator-usb: Track F Colibri, DeepSeek smoke, LLM provider harness 2026-06-04 20:04:23 +02:00
sddm.conf Merge xfce-operator-usb: Track F Colibri, DeepSeek smoke, LLM provider harness 2026-06-04 20:04:23 +02:00
sshd-live.conf Merge xfce-operator-usb: Track F Colibri, DeepSeek smoke, LLM provider harness 2026-06-04 20:04:23 +02:00
xprofile Merge xfce-operator-usb: Track F Colibri, DeepSeek smoke, LLM provider harness 2026-06-04 20:04:23 +02:00