Provisioning orchestrator for Juneau Digital Designs. Local-only — never deployed.
jdd-ops/
├── .env # master creds (gitignored)
├── .env.example # copy to .env and fill in
├── CLAUDE.md # session context for Claude Code
├── onboard.js # provisioning orchestrator
├── scripts/
│ └── update-agent-prompt.js # re-upload Retell prompt after manual tuning
└── clients/
└── {slug}/ # one folder per client
├── site.ts # intake schema (SiteContent)
├── .env.local # per-client secrets
├── agent-prompt.txt
└── repo/ # cloned client site (gitignored)
cp .env.example .envand fill in master credentials.npm install.- Ensure
TEMPLATE_REPOexists on GitHub and is accessible.
- Client submits onboarding form on juneau-digital-designs.
- Make.com delivers the JSON to you.
- Save it as
clients/{slug}/site.ts(exportconst CONTENT: SiteContent = { ... }). - Run:
npm run onboard -- --schema clients/{slug}/site.ts - Walk through the three human checkpoints from JDD_plan.pdf §12:
- Checkpoint 1 (~15 min) — review Vercel preview URL.
- Checkpoint 2 (~20 min) — call the Twilio number; tune
agent-prompt.txt; runnpm run update-prompt -- <agentId>. - Checkpoint 3 (~15 min) — submit contact form with your phone; confirm Airtable row.
- Load + validate schema
- Create per-client GitHub repo from
TEMPLATE_REPO - Clone the new repo into
clients/{slug}/repo/, writesrc/data/site.ts - Generate
.env.localwith placeholders npm install && npm run buildin the cloned repo- Claude generates Retell agent prompt →
clients/{slug}/agent-prompt.txt - Create Retell agent, buy Twilio number, create Airtable base
- Commit + push the client repo (Vercel auto-deploys preview)