Dispatch Archive

loom-builder-solsourcetypescript
Path: loom-builder-sol/src/dispatch-archive.tsRelative: src/dispatch-archive.tsSubproject: loom-builder-solCategory: dispatch-system-sol
Lines: 172Bytes: 6,375Imports: 4Exports: 5

Content Preview

  1. /**
  2. * dispatch-archive — THE single source of truth for the Dispatch Artifact Contract.
  3. *
  4. * Contract (see /home/mikes/docs/pi-dispatch/DispatchArtifactContract-failure-payload-archive-2026-06-17.md):
  5. * every dispatched executor run MUST, on completion AND on crash/timeout/kill, persist its
  6. * FULL UNTRUNCATED payload to a permanent archive. This module is the ONLY place that writes
  7. * payload.json + mirrors to DISPATCH_ARCHIVE. Both the TS spec harness (run.ts) and every
  8. * bash dispatch pat