End-to-End Workflow Example#
This walkthrough is a reproducible command transcript — every command below
was executed verbatim on a fresh fixture repository (git init + one commit +
README.md), and the outputs shown are the real outputs. It exercises the
entire lifecycle: user request → intent → validation → task → workflow →
implementation → evidence → checkpoint → resume (provider switch) →
verification bundle → fresh verifier verdict → completion gate.
Setup for the fixture:
1. Agent A records the intent#
The agent authors the frontmatter (ACKit validates, never infers):
2. Task + workflow selection#
The agent fills the task body (scope, criteria, notes) and adds a plan
reference (planRef: docs/plans/guard.md in the frontmatter; the plan file
must exist — doctor validates it).
3. Plan-first advancement (presence-gated)#
4. Implementation + evidence#
5. Agent A checkpoints and the session ends#
Completion is denied at this point — evidence is recorded but no verdict
exists and the stage is still implement:
6. Agent B (different model/provider) resumes#
No conversation history exists. Agent B loads the same repository state:
ackit pack --task TASK-0001 --resume builds the full task-aware context pack
with this resume section embedded.
For a portable, verification-bound transfer (digests travel with the context), export and re-validate instead of copying prose:
The import refuses moved state with VERDICT-STATE-STALE (exit 1) instead
of resuming silently stale work; see docs/concepts/checkpoints.md.
7. Verification + fresh verdict#
A fresh-context verifier consumes the bundle (intent + fingerprint,
workflow + gate requirements, task doc, criteria + evidence, verifier role
contract) and authors ackit.verdict.v1 (the verifier-authored input shape;
ACKit persists it as a state-bound ackit.verdict.v2):
8. Completion gate passes#
The agent ticks the second criterion checkbox in the task doc (the human checklist still applies), then:
The sanitized local journal captured every observable transition:
The denial paths (by design)#
- Missing mandatory evidence → completion denied (exit with
REQUIRED_EVIDENCE_MISSING/CRITERION_UNVERIFIED). - Verdict
REWORK_REQUIREDor blocking findings → completion denied (VERDICT_BLOCKING). - Latest verification attempt
fail→ denied (VERIFICATION_ATTEMPT_FAILED).
VERIFY failed → task completed is structurally impossible for
workflow-enabled tasks.