system/bootstrap.md
Rebuilding a fresh Mac with all 5 repos? Use
bin/ecosystem-buildinstead.
See house-burn-down.md for the canonical recovery protocol.
This doc covers a quick single-app bringup once toolchain +.envare already in place.
cd mcritchie-studio
bundle install
bin/rails db:create db:migrate db:seed
bin/rails server
Visit http://localhost:3000 — dashboard shows the 9 agents (Alex, Avi, Carl, Shannon, Jasper, Steffon, Turf Monster, Mack, Mason), task pipeline, activity feed.
McRitchie Studio is passwordless-first.
http://localhost:3000/signin.alex@mcritchie.studio.http://localhost:<port>/_studio/local_emails.Legacy GET /login and GET /signup redirect to /signin. The engine still keeps route helpers and POST actions for compatibility.
Set environment variables:
bash
export GOOGLE_CLIENT_ID=your_client_id
export GOOGLE_CLIENT_SECRET=your_client_secret
Seeds are idempotent (find_or_create_by!) — safe to re-run anytime:
bash
bin/rails db:seed
# List agents
curl http://localhost:3000/api/v1/agents
# Create a task
curl -X POST http://localhost:3000/api/v1/tasks \
-H "Content-Type: application/json" \
-d '{"title": "Test task", "agent_slug": "mack", "priority": 0}'
# Start a task
curl -X POST http://localhost:3000/api/v1/tasks/SLUG/start
We emailed a one-tap sign-in link to . It expires shortly and can only be used once.
No email? Check spam, or close this and try again.