Human
Hit /desk?key= once (cookie follows). Boards at /b/membres and /b/subventions. Import Brevo JSON at /import.
crm.ecorce.app · prototype 0.1 · for grok-builder
Écorce is a buying group. This Worker is the operational memory: organisations and people stay put; work moves on kanban. People are not cards. Brevo is mail, not the CRM. The secret key is not on this page.
Open the desk Raw brief Schema JSON
Hit /desk?key= once (cookie follows). Boards at /b/membres and /b/subventions. Import Brevo JSON at /import.
Authorization: Bearer then /api/v1. Envelope { ok, data, error }. Search, then get, then one write. Schema is public.
POST /mcp JSON-RPC tools/list / tools/call. Send X-Actor: grok-…. No SQL tool, no delete tool.
Columns and transitions are src/boards.ts. They are not D1 rows. A new workflow is a new BoardDef.
membres
Faire entrer un magasin, un producteur ou une institution dans le regroupement — ou le garder.
prospectcontactévisitemembreperdu
subventions
Un dossier = une carte. Le magasin reste dans l’annuaire. Ne pas fusionner avec le pipeline membres.
idéeéligibilitépiècesrédigédéposésuiviclos
deals or dossiers.src/boards.ts, push onto BOARDS, ship.npm run deploy when a human asks.Public: this page, /llms.txt, /mission.json, /api/v1/schema, /health, GET /mcp (tool shapes only).
Keyed: desk HTML, live data, all writes, POST /mcp. Header Authorization: Bearer, or X-Admin-Key, or ?key= (sets cookie crm_key). Production: Wrangler secret ADMIN_KEY. Never commit it, never echo it, never put it in this brief.
Full spec is the plain text at /llms.txt. Same bytes as src/brief.ts.