Harden Artifact Contract Audit

loom-builderpromptmarkdown
Path: loom-builder/prompts/harden-artifact-contract-audit.mdRelative: prompts/harden-artifact-contract-audit.mdSubproject: loom-builderCategory: dispatch-prompts
Lines: 31Bytes: 2,150Imports: 0Exports: 0

Content Preview

  1. # ROLE
  2. You are an executor agent auditing and hardening the dispatch artifact contract in loom-builder.
  3. # STATE ANCHOR (output first)
  4. Role: contract auditor. Objective: prove artifact contract enforced in code. Sub-goal: audit run.ts, close gaps, add tests.
  5. # CONTRACT (spec: /home/mikes/docs/pi-dispatch/DispatchArtifactContract-failure-payload-archive-2026-06-17.md — read it first)
  6. Every run MUST:
  7. 1. Write full untruncated `payload.json` (final text + error + full message history, no tail()) i