Commit Graph

18 Commits

Author SHA1 Message Date
Mortdecai 43877eb78f docs(checklist): kitty needs the Local Network grant — else LAN ssh = No route to host
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 20:15:29 -04:00
Mortdecai dc29b7a087 docs: session handoff — kitty titlebar fix
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 20:04:37 -04:00
Mortdecai 3399829eb6 fix(kitty): keep macOS titlebar — it's the only drag handle; color it to match bg
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 20:00:13 -04:00
Mortdecai d86ede0036 docs: session handoff — mac base setup shipped & verified
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-15 19:43:11 -04:00
Mortdecai 617fc789b1 docs: reconcile CLAUDE.md/DECISIONS with what shipped (sudo approach, rrsync, set -e lessons)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-15 19:41:58 -04:00
Mortdecai d622cf6aef fix: chmod 600 the ssh Include file (ssh rejects group-writable config)
rsync -a preserved steel141's 664 perms; ssh on the Mac then refused
~/mac/config/ssh_homelab as an Include target, breaking all Mac-side ssh
including the backup transport. setup.sh now chmods it 600 after each rsync.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-15 19:40:58 -04:00
Mortdecai d7205a911c fix: pass pubkey to tank-side.sh via env, not ssh command arg
ssh re-splits remote command args on spaces, so -- "$PUB" arrived as $1=ssh-ed25519
(the key body and comment became $2/$3). The loose validation passed and grep -qF
matched any ed25519 key -> false '[skip] key present'; the key was never added.
Pass PUB via env (safe inside remote single-quotes) and require 'ssh-ed25519 AAAA*'.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-15 19:39:33 -04:00
Mortdecai af51e0cfa3 fix: make SparkFun removal and launchd bootstrap non-fatal under set -e
networksetup -removenetworkservice fails on the sole PPP-port service and
aborted the whole run at exit 4 (before pmset/backup agent). Both it and the
GUI-domain launchctl bootstrap (flaky over SSH) are now best-effort with a
warn; the LaunchAgent plist auto-loads at next login regardless.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-15 19:36:56 -04:00
Mortdecai 39f61f48ce fix: unattended sudo via temporary NOPASSWD drop-in with triple cleanup
Piping a password into ssh -tt's pty raced and hung on the real run (worked in
a fast test, blocked for 14 min in practice). Replace with a temp
/etc/sudoers.d/mac-setup installed by _install_sudoers.sh (validated
before activation), removed on every exit path plus a 40-min on-Mac
self-destruct. setup.sh now fails fast if passwordless sudo is absent
instead of depending on a primed tty ticket.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-15 19:32:24 -04:00
Mortdecai 507bec3f46 feat: run.sh entry point and Tahoe manual checklist
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 19:09:45 -04:00
Mortdecai c47a220993 fix: tank-side.sh dataset check as explicit if (SC2015)
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 19:09:24 -04:00
Mortdecai 6643ac003c feat: nightly rsync backup to tank with rrsync-restricted key and sanoid history
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 19:09:16 -04:00
Mortdecai 0d733c77e7 feat: setup.sh — preflight, homebrew, bash5 shell, hostname, Linux-feel defaults, Dock/debloat, DAW power profile
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 19:09:15 -04:00
Mortdecai bf0d48ec30 feat: Brewfile and included config files (bashrc, kitty, ssh homelab aliases)
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 19:08:10 -04:00
Mortdecai f672ef1ebd docs: implementation plan for mac setup
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 19:06:28 -04:00
Mortdecai f99f1e2f88 docs: record hostname + design decisions and rejections
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 18:55:36 -04:00
Mortdecai 4c6a8dae73 docs: point CLAUDE.md at repo + design spec
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 18:54:16 -04:00
Mortdecai fa76fd4a73 init: scaffold mac project + inventory + setup design
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 18:54:04 -04:00