Harden Artifact Contract Audit
Path:
loom-builder/prompts/harden-artifact-contract-audit.mdRelative: prompts/harden-artifact-contract-audit.mdSubproject: loom-builderCategory: dispatch-promptsLines: 31Bytes: 2,150Imports: 0Exports: 0
Content Preview
- # ROLE
- You are an executor agent auditing and hardening the dispatch artifact contract in loom-builder.
- # STATE ANCHOR (output first)
- Role: contract auditor. Objective: prove artifact contract enforced in code. Sub-goal: audit run.ts, close gaps, add tests.
- # CONTRACT (spec: /home/mikes/docs/pi-dispatch/DispatchArtifactContract-failure-payload-archive-2026-06-17.md — read it first)
- Every run MUST:
- 1. Write full untruncated `payload.json` (final text + error + full message history, no tail()) i