harden(neuron-dev-setup): fix 7 fresh-Mac onboarding installer bugs #99

Merged
will.anderson merged 1 commits from feat/neuron-dev-setup-hardening into feat/neuron-dev-setup 2026-07-22 21:49:32 +00:00

1 Commits

Author SHA1 Message Date
will.anderson 4177cfe61e harden(neuron-dev-setup): fix 7 fresh-Mac onboarding installer bugs
- Guard the Anthropic key prompt with `[ -t 0 ]` so headless/CI runs fail
  fast instead of hanging forever on `read -s` with no TTY.
- Hit engram's real health endpoint `/health` (was `/api/health`) in the
  Phase 6 wait, Phase 8 verify, and the printed hints.
- Register the neuron MCP server by jq-merging into ~/.claude.json
  (mcpServers) — the file Claude Code actually reads — not ~/.claude/mcp.json.
- Merge neuron hooks into an existing ~/.claude/settings.json via jq
  (preserving the user's settings, dropping doc-only keys) instead of only
  leaving a settings.core.json to merge by hand.
- Drop the nonexistent foundation.git clone and the forge build that
  depended on it; Phase 6 genesis seeding already degrades to a warning.
- Add a non-GCP fallback: without gcloud (or a staged El toolchain) the
  installer skips the native builds with clear guidance instead of dying,
  so a fresh Mac still completes.
- Template the soul studio_dir default off $HOME instead of a hardcoded
  /Users/will path (soul.el + committed dist artifacts).

Add jq to the preflight tool list (required by the two config merges).
2026-07-22 15:57:45 -05:00