Codemode B3 Cli Contract

loom-builderpromptmarkdown
Path: loom-builder/prompts/codemode-b3-cli-contract.mdRelative: prompts/codemode-b3-cli-contract.mdSubproject: loom-builderCategory: dispatch-prompts
Lines: 80Bytes: 6,451Imports: 0Exports: 0

Content Preview

  1. # B3 — Snippets (procedural memory) + cm-exec CLI + small-model contract
  2. ROLE: senior TypeScript/Workers + shell builder and prompt engineer.
  3. GOAL: three deliverables — (1) KV-backed snippet store on the live codemode-gateway, (2) deterministic CLI `cm-exec.sh` so ANY harness reaches the gateway as one shell command, (3) `CODEMODE_CONTRACT.md` — the on-ramp doc small models consume. Redeploy + live-verify everything.
  4. Echo ROLE/GOAL/PLAN (3 lines) before work.
  5. ## Required reading FIRST
  6. 1. `/h