Skip to main content

Demo: the v0.5 trust flow (60 seconds + full test)#

ACKit in one arc: a task claims done → completion is blocked until proof exists → evidence and an independent, state-bound verdict are registered → completion becomes eligible → moved state stales the verdict and blocks again → a fresh bundle and verdict restore eligibility → completion succeeds → a checkpoint/handoff resumes in a second process with zero shared memory.

Everything below runs offline with no API key. The flow is executed — not narrated — by tests/e2e/trust-flow-demo.test.ts (runs in CI); this guide is the same command sequence with what each stage proves. Hex digests below are per-run values (git state differs per checkout); what is pinned are the exit codes, the stable codes, and the digest relations (equality vs inequality), all asserted by the test.

Prerequisites#

The flow#

What the demo asserts (contracts, not narration)#

  • MISSING_REQUIRED_ARTIFACT / MISSING_VERIFIER_VERDICT block proof-less completion (evidence contract, ADR-0026).
  • Registered bundleDigest equals the reviewed bundle’s digest, which equals current state (state binding ADR-0030 + independence proof ADR-0031).
  • VERDICT-STATE-STALE names the changed classes (sourceState); replayed verdict content refuses VERDICT-REPLAY-REJECTED.
  • Fresh bundle digests differ after state moves (binding sensitivity).
  • Handoff import in a fresh process validates digests recomputed from disk and renders the embedded resume (ackit.handoff.v2).
  • Review artifacts live under .ackit/ (excluded from binding), so exporting/authoring them never stales the proof (ADR-0031 §5).

Run it#

See also: docs/concepts/evidence-verification.md, docs/concepts/checkpoints.md, ackit status.