harden(neuron-dev-setup): fix 7 fresh-Mac onboarding installer bugs #99
Reference in New Issue
Block a user
Delete Branch "feat/neuron-dev-setup-hardening"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hardens the
neuron-dev-setupinstaller with 7 fixes found while dry-running fresh-Mac onboarding. Stacked on #84 so this diff is just the fixes.Fixes
read -s) hung forever when stdin isn't a TTY. Now guarded with[ -t 0 ]: interactive prompts as before, headless/CI dies fast with a clear message to setANTHROPIC_API_KEY./api/health; engram serves/health. Fixed in the Phase 6 wait, Phase 8 verify, and printed hints (soul's correct/healthand engram's/api/nodesdata path untouched).~/.claude/mcp.json, but Claude Code reads MCP servers from~/.claude.json(mcpServers). Now jq deep-merges theneuronentry into~/.claude.json, preserving other servers and top-level keys (templated port kept intact).~/.claude/settings.jsononly got asettings.core.jsonto merge by hand. Now jq-merges the neuronhooks(dropping doc-only//keys), preserving the user's settings; idempotent on re-run.foundation.git— removed thefoundation.gitclone and theforgebuild that depended on it. Phase 6 genesis seeding already degrades to a warning when forge/seed are absent.diewhengcloudwas missing. Now it warns and continues; native builds are guarded on the El runtime/elcbeing present, so a fresh Mac without GCP still completes the install (services + Claude config laid down) with guidance to finish later./Users/will— the soulstudio_dirdefault baked/Users/will/.... Now derived from$HOME(soul.el+ the committeddist/soul.c,dist/neuron.c,dist/soul-with-nlg.elartifacts)./Users/willno longer appears anywhere in the tree.Also adds
jqto the preflight tool list (required by fixes 3 and 4).Removing the
foundation.gitclone and thegcloud-or-die step should clear the build failure on #84.