Skip to content

Prep for new machine setup#23

Merged
selfcontained merged 3 commits into
mainfrom
prep/new-machine-setup
Mar 10, 2026
Merged

Prep for new machine setup#23
selfcontained merged 3 commits into
mainfrom
prep/new-machine-setup

Conversation

@selfcontained

Copy link
Copy Markdown
Owner

Summary

  • Switch from Node 25.8.0 to Node 22 LTS (no features required bleeding-edge)
  • Derive dispatchBinDir from __dirname instead of fragile cwd fallback; remove DISPATCH_BIN_DIR env var
  • Default media storage to ~/.dispatch/media/ instead of /tmp/dispatch-media/ (survives reboots)
  • Add database connection retry loop on startup (15 attempts / 30s) for Docker boot-order resilience
  • Add agent guidance to stop writing temp files to repo root
  • Add docs/12-new-machine-setup.md — full setup guide for a fresh Mac
  • Add TODO.md tracking deferred items (auth enforcement, launchctl modernization, log rotation)
  • Clean up .gitignore for image files

Test plan

  • Full build passes on Node 22.22.1 (LTS)
  • Verify install-launchd on target machine
  • Verify dispatch-deploy --latest after install
  • Confirm media persists across reboot at new default path

🤖 Generated with Claude Code

selfcontained and others added 3 commits March 10, 2026 16:31
- Switch from Node 25.8.0 to Node 22 LTS across .nvmrc, package.json, and CI workflows
- Derive dispatchBinDir from __dirname instead of cwd; remove DISPATCH_BIN_DIR env var
- Default media storage to ~/.dispatch/media/ instead of /tmp/dispatch-media/
- Add database connection retry loop (15 attempts) for boot-order resilience
- Add new machine setup guide (docs/12-new-machine-setup.md)
- Add TODO.md for deferred items (auth enforcement, launchctl modernization, log rotation)
- Add temp file guidance to CLAUDE.md and AGENTS.md; clean up .gitignore
- Remove stale screenshots and tmp scripts from repo root

Co-Authored-By: Claude Opus 4.6 <[email protected]>
bin/preflight checks for all required (git, nvm, node, docker, tmux) and
optional (gh, claude, xcode, tailscale) dependencies, reporting what's
missing with install instructions.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Add a copy-paste prompt for kicking off setup via a Claude agent.
Remove stale friction points section (issues are resolved or in TODO.md).
Fix outdated references to DISPATCH_BIN_DIR and Node 25.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@selfcontained
selfcontained merged commit 126f3b7 into main Mar 10, 2026
1 check passed
@selfcontained
selfcontained deleted the prep/new-machine-setup branch April 9, 2026 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant