Loom Purpose Invariant

loom-builderpromptmarkdown
Path: loom-builder/prompts/loom-purpose-invariant.mdRelative: prompts/loom-purpose-invariant.mdSubproject: loom-builderCategory: dispatch-prompts
Lines: 39Bytes: 2,977Imports: 0Exports: 0

Content Preview

  1. # Task: loom-builder — `purpose` invariant field + fidelity-gate lint
  2. Repo: /home/mikes/leverage-loops-projects/loom-builder (Bun + TypeScript strict). Read src/types.ts, src/run.ts, src/gates.ts and existing tests first.
  3. ## PURPOSE (INVARIANT)
  4. Dispatch drift happens because the mission is stated once and paraphrased away across reformulations. Fix in CODE, not prompts: a spec-level `purpose` string that the runner injects VERBATIM into the initial prompt AND every reformulation/retry prompt,