Loom Purpose Invariant
Path:
loom-builder/prompts/loom-purpose-invariant.mdRelative: prompts/loom-purpose-invariant.mdSubproject: loom-builderCategory: dispatch-promptsLines: 39Bytes: 2,977Imports: 0Exports: 0
Content Preview
- # Task: loom-builder — `purpose` invariant field + fidelity-gate lint
- 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.
- ## PURPOSE (INVARIANT)
- 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,