Evidence-Backed Completion

In multi-agent work, the single word "done" is one of the most expensive misunderstandings you can have. To the worker who drafted a fix or document, "done" means I finished writing it. To a checker, it means my check passed. To the requester telling customers or launching the next phase, it means this is live and people are protected.

Evidence-Backed Completion replaces one ambiguous "done" flag with four separate, append-only claims: reported_finished, checked, live, and accepted. Each claim names the exact version it covers, carries concrete evidence from the party able to observe it, and never implies another claim. Reach for it whenever work passes through several hands before it takes effect.

Group Verification and completion
Also known as Definition of Done, Attestation
Core rule Never conflate authored, checked, live, and accepted into one "done" flag
Defines records Claim

Why one "Done" status misleads everyone

Whenever a deliverable moves across multiple stages — drafting, independent verification, publishing or deployment, and requester sign-off — collapsing progress into a single status = done column guarantees silent gaps. A worker finishes a change, a checker reviews it, the ticket flips to Done, and the requester acts on it — only to discover days later that the new policy was never published to the help center, or the bug fix was merged but never deployed to production.

A second failure hides right beside it: silent version drift. A checker verifies version 1, the worker notices a small corner case and saves version 2, and the board still shows a green checkmark from version 1. Because nothing bound the check to an exact version, the revised artifact sails straight past verification.

Evidence-Backed Completion solves both failures by replacing mutable status labels with three enforceable rules:

  1. Four distinct claim kinds, never derived from each other. Authored (reported_finished), independently verified (checked), active where used (live), and signed off (accepted) are recorded separately by the party that can actually witness each fact.
  2. Every claim is pinned to an exact version. The worker's newest reported_finished claim establishes the version on offer. Any claim naming an older version automatically drops to earlier_version.
  3. The completion summary is computed, never typed. Comparing active claims against the request spec's required_claims tells every reader — human or agent — exactly what holds and what is still missing.

Why keep claims append-only and compute the summary on read? Because real systems roll back and revise. When a rollout reverts or a worker pushes a new revision, you do not erase history — you append a holds = false live claim or a new reported_finished version, and the computed summary immediately reflects reality without anyone manually editing a status field.

Single "Done" status Worker says "I'm done" Means: I authored version v1 Checker approves -> Done Saved or merged, not yet live Requester reads "Done" Tells users the fix is active Failure repeats in live use One label hid four separate facts Evidence-Backed Completion Separate version-pinned claims Every claim names version on offer reported_finished Worker · holds (v1) checked Checker · holds (v1) live No claim yet accepted Awaiting Requester Summary shows missing live step Complete only when required claims hold
A single "Done" flag hides the gap between checked and live. Separate version-pinned claims let the requester see at a glance that live has no claim yet before communicating to users.

Architecture and participants

Each participant writes only the claim it has direct evidence for. The Hub validates maker authority and evidence rules before appending any Claim row, then computes the Completion summary on demand by joining the job's claims with required_claims from its Request spec. A research report that is never deployed simply omits live from required_claims.

Worker reported_finished Checker Finding -> checked Live observer Hub records live Requester accepted (or policy) Hub — append-only claims & computed completion summary Claim log (append-only; one claim never implies another) job_id · kind · version · holds · statement · evidence · finding_id? · policy_id? Request spec Lists required_claims Computed Completion summary (never stored) holds · does_not_hold · earlier_version · no_claim · not_required Lead agent Reads summary; arranges missing claims Requester & Status board Sees exact version proof, never vague "done"
Four distinct parties append version-pinned claims into the hub. The completion summary is computed from claims and the request spec — never typed or mutated directly.
Worker
Records reported_finished naming the version on offer and stating the outcome in terms of the requester's goal, not a diary of edits.
Checker
Independently examines that exact version, writes a Finding, and backs a checked claim referencing that finding. Never checks a version it reported itself.
Live observer / Hub
Observes the real target environment (production deployment, published URL, or live system state) and appends the live claim with concrete environment evidence — or appends holds = false on rollback.
Requester
Defines required_claims in the request spec and records accepted (or grants standing acceptance authority to an agent through a named Policy).
Lead agent
Reads the computed completion summary to spot missing or outdated claims, arranges the missing check or rollout, and presents the full summary for acceptance.

Execution flow

Toggle between the normal progression — where four separate parties record four holding claims for version v1 — and the revision path — where a late fix creates version v2, automatically demoting v1's check to earlier_version, while the hub rejects an unsupported live claim from the worker.

Requester Hub Lead agent Worker Checker 1. Claim reported_finished (v1) 2. Summary: v1 reported; 3 missing 3. Assign check of version v1 4. Finding + checked claim (v1) 5. Live rollout finishes (v1) Hub observes rollout & writes live claim 6. Request acceptance for v1 7. Show summary (3 claims hold) 8. Record accepted claim (v1) Summary: all 4 claims hold (v1) Hub marks job complete

Each party backs only the claim it witnessed, and every claim names version v1. The summary transitions to complete only once all required claims hold for that exact version.

Concrete examples

Whether shipping a public policy page or deploying a backend fix, the pattern works identically wherever an artifact has a clear version and must cross distinct verification and rollout boundaries before the requester relies on it.

Example 1 — Publishing an updated customer refund policy

No code or unit tests
Goal & required
Update the public refund terms before an annual sale; request spec requires [reported_finished, checked, live, accepted].
Claims recorded
Worker A reports doc-rev-3 finished ("Refund window updated to 30 days across all regions"). Legal checker verifies doc-rev-3 against regional rules and links its finding to a checked claim.
What it prevents
On launch morning, the summary shows reported_finished and checked holding, but live: no_claim — the updated text is still sitting in the CMS draft queue while customers see last year's terms. The requester holds the announcement until the CMS publish job emits a live claim with the published URL snapshot.

Example 2 — Stopping duplicate payment charges on retry

Payments & production
Goal & required
Ensure retried payment webhooks can never charge a customer twice; requires all four claim kinds.
Claims & drift
Worker A reports commit 4f2a9c1 finished and Checker replays Tuesday's outage against 4f2a9c1, backing a checked claim. Because no deploy has run since Tuesday, live stays no_claim, stopping the requester from prematurely telling support that customers are safe.
Revision caught
When Worker A finds a missed edge case and pushes 9be0d27, the summary immediately shifts checked to earlier_version (4f2a9c1) until the checker replays the outage against 9be0d27, production deploys that commit, and the requester accepts it.

What this pattern is NOT — Single-turn interactive chat

Negative example
Scenario
Asking one agent in a live chat to summarize an article you read right away, or editing an unversioned whiteboard with no revision IDs.
Why skip it
When the requester inspects the answer immediately in the same session, their own eyes are already the verification and acceptance. And without a version identifier naming what each claim covers, a claim degrades right back into the vague word "done."

When to use and when to skip

Use Evidence-Backed Completion when

  • A deliverable passes through multiple hands or stages (author, checker, deployment/publishing, acceptance) before serving its purpose.
  • Work can be edited after someone checks it, making version-pinned proof essential.
  • The requester takes downstream action — notifying customers, starting dependent work, or closing a commitment — based on completion.
  • Derived boards or policy gates need machine-readable facts rather than scraping agent chat messages.

Skip it when

  • The requester reviews the output immediately in a single interactive session with one agent.
  • Artifacts have no stable version ID or digest that every downstream stage can reference consistently.
  • The task is tiny and low-stakes where attaching structured claims costs more effort than the work itself.
  • Every claim is rubber-stamped by the same actor — creating four records with zero independent observation.

Data model and hub invariants

Evidence-Backed Completion defines one append-only table — claims — pointing to jobs, request_specs (which defines required_claims), parties, findings, and policies. The completion summary is derived on read and never persisted as a mutable column.

Job PK id Request spec PK id Party PK id Claim PK id FK job_id FK request_spec_id kind version holds FK made_by_id statement evidence FK finding_id? FK policy_id? made_at Finding PK id Policy PK id 1 n 1 n 1 n 1? 1? 1? n
Each Claim binds one Job, one Request spec revision, and one Party to a specific version, with optional links to a Finding (for checked) or Policy (for delegated accepted).

Table: claims

Column Postgres type Nullability Notes
id uuid NOT NULL, PK Immutable claim identifier.
job_id uuid NOT NULL, FK References jobs(id); permanent for the life of the claim.
request_spec_id uuid NOT NULL, FK References request_specs(id) current when the claim was made.
kind text NOT NULL CHECK (kind IN ('reported_finished', 'checked', 'live', 'accepted')).
version text NOT NULL Exact artifact version covered (commit SHA, digest, or document revision).
holds boolean NOT NULL true when established; false for an explicit retraction or rollback.
made_by_id uuid NOT NULL, FK References parties(id); the party asserting the claim.
statement text NOT NULL 1–2 sentences stating the outcome against the requester's goal.
evidence jsonb NOT NULL Array of {kind, url, summary} artifacts backing the claim.
finding_id uuid NULLABLE, FK References findings(id); required & unique for checked, NULL otherwise.
policy_id uuid NULLABLE, FK References policies(id) when an agent accepts under delegation; NULL otherwise.
made_at timestamptz NOT NULL Defaults to now(); determines newest claim per kind and version.

Seven hub invariants

  1. 01
    Claims are append-only and never reassigned Database constraint

    No UPDATE or DELETE is permitted on claims. Corrections or rollbacks append a new row for the same kind and version, and the newest made_at wins.

  2. 02
    Kind-specific foreign keys are enforced in the schema Database constraint

    CHECK ((kind = 'checked') = (finding_id IS NOT NULL)), partial UNIQUE (finding_id) WHERE finding_id IS NOT NULL (each finding supports at most one claim), and CHECK (policy_id IS NULL OR kind = 'accepted').

  3. 03
    Only the job assignee may report a version finished Hub guard

    record_claim rejects with only_assignee_may_report when kind == "reported_finished" and made_by_id != job.assignee_id.

  4. 04
    Checked claims require an active, unused finding from an independent party Hub guard

    record_claim rejects missing findings with finding_required, voided findings with finding_voided, reused findings with finding_already_used, and self-checks with cannot_check_own_version.

  5. 05
    Live claims must carry environment evidence Hub guard

    record_claim rejects with live_evidence_required whenever kind == "live" arrives with an empty evidence list. The hub never fabricates a live claim simply because a checked claim exists.

  6. 06
    Acceptance requires requester identity or delegation policy Hub guard

    record_claim rejects with no_authority_to_accept when kind == "accepted" is filed by someone other than job.requester_id without an authorizing policy_id.

  7. 07
    Completion requires every needed claim to hold on the version on offer Hub guard

    mark_job_complete computes the summary against the newest reported_finished version and rejects with required_claims_incomplete if any required claim is missing, retracted, or stuck on an earlier_version.

Reference implementation

The same minimal hub claim validator and computed summary in TypeScript, Python, and Elixir. Notice that the summary stores nothing — it derives exact completion status on every read directly from the append-only claim log.

-- Hub guards for Evidence-Backed Completion (append-only versioned claims)
import Std.Data.HashMap
open Std

inductive ClaimKind where
  | reportedFinished | checked | live | accepted
  deriving Repr, BEq, DecidableEq

inductive ClaimStatus where
  | holds | doesNotHold | earlierVersion | noClaim | notRequired
  deriving Repr, BEq, DecidableEq

structure Evidence where
  kind : String
  url : String
  summary : String
  deriving Repr

structure Claim where
  id : String
  jobId : String
  kind : ClaimKind
  version : String
  holds : Bool
  madeById : String
  statement : String
  evidence : List Evidence
  findingId : Option String := none
  policyId : Option String := none
  madeAt : Nat
  deriving Repr

structure Job where
  id : String
  assigneeId : String
  requesterId : String
  requiredClaims : List ClaimKind
  complete : Bool := false
  deriving Repr

structure CompletionSummary where
  version : Option String
  statuses : List (ClaimKind × ClaimStatus)
  complete : Bool
  deriving Repr

inductive HubError where
  | unknownJob | onlyAssigneeMayReport | findingRequired | findingVoided
  | findingAlreadyUsed | cannotCheckOwnVersion | liveEvidenceRequired
  | noAuthorityToAccept | requiredClaimsIncomplete
  deriving Repr, BEq

structure CompletionHub where
  jobs : HashMap String Job := {}
  findings : HashMap String (Option Nat) := {}  -- finding id -> voidedAt
  claims : List Claim := []

namespace CompletionHub

def allKinds : List ClaimKind := [.reportedFinished, .checked, .live, .accepted]

def getJob (hub : CompletionHub) (jobId : String) : Except HubError Job :=
  match hub.jobs[jobId]? with
  | some job => pure job
  | none => throw .unknownJob

-- A finding is void when the hub doesn't know it or it carries a voidedAt time.
def findingVoid (hub : CompletionHub) (id : String) : Bool :=
  match hub.findings[id]? with
  | some none => false
  | _ => true

def selfReported (claims : List Claim) (claim : Claim) : Bool :=
  claims.any fun c =>
    c.jobId == claim.jobId && c.kind == .reportedFinished
      && c.version == claim.version && c.madeById == claim.madeById

-- Claims are append-only: a valid claim is added, nothing is ever edited or removed.
def recordClaim (hub : CompletionHub) (claim : Claim) :
    Except HubError (Claim × CompletionHub) := do
  let job ← hub.getJob claim.jobId
  if claim.kind == .reportedFinished && claim.madeById != job.assigneeId then
    throw .onlyAssigneeMayReport
  if claim.kind == .checked then
    -- `let some x := e | alt` binds x, or runs alt when e is none
    let some findingId := claim.findingId | throw .findingRequired
    if hub.findingVoid findingId then throw .findingVoided
    if hub.claims.any (·.findingId == some findingId) then throw .findingAlreadyUsed
    if selfReported hub.claims claim then throw .cannotCheckOwnVersion
  if claim.kind == .live && claim.evidence.isEmpty then
    throw .liveEvidenceRequired
  if claim.kind == .accepted && claim.madeById != job.requesterId && claim.policyId.isNone then
    throw .noAuthorityToAccept
  pure (claim, { hub with claims := claim :: hub.claims })

def kindStatus (kind : ClaimKind) (newest : List Claim) (version : Option String)
    (required : List ClaimKind) : ClaimStatus :=
  let ofKind := newest.filter (·.kind == kind)
  let current := version.bind fun v => ofKind.find? (·.version == v)
  if !required.contains kind then .notRequired
  else
    match current with
    | some c => if c.holds then .holds else .doesNotHold
    | none => if ofKind.isEmpty then .noClaim else .earlierVersion

def completionSummary (hub : CompletionHub) (jobId : String) :
    Except HubError CompletionSummary := do
  let job ← hub.getJob jobId
  -- this job's claims, newest first
  let newest := (hub.claims.filter (·.jobId == jobId)).mergeSort (·.madeAt >= ·.madeAt)
  let version := (newest.find? (·.kind == .reportedFinished)).map (·.version)
  let statuses := allKinds.map fun k => (k, kindStatus k newest version job.requiredClaims)
  let complete := statuses.all fun (_, s) => s == .notRequired || s == .holds
  pure { version, statuses, complete }

def markJobComplete (hub : CompletionHub) (jobId : String) :
    Except HubError (Job × CompletionHub) := do
  let job ← hub.getJob jobId
  let summary ← hub.completionSummary jobId
  unless summary.complete do throw .requiredClaimsIncomplete
  let done := { job with complete := true }
  pure (done, { hub with jobs := hub.jobs.insert jobId done })

-- A claim kind the job doesn't require always reads "not required", whatever was claimed.
theorem kindStatus_notRequired (kind : ClaimKind) (newest : List Claim)
    (version : Option String) (required : List ClaimKind) (h : required.contains kind = false) :
    kindStatus kind newest version required = .notRequired := by
  simp [kindStatus, h]

end CompletionHub

Revision drift and evidence rejection trace

Walking Example 2 (duplicate payment charge fix) through these guards shows how pushing a new commit automatically demotes the prior check to earlier_version and how an unbacked live claim is blocked:

Execution trace: Example 2 (duplicate payment charge fix)
1. hub.recordClaim({ jobId: job_retry_fix, kind: "reported_finished", version: "4f2a9c1", madeById: worker_a, ... })
   hub.recordClaim({ jobId: job_retry_fix, kind: "checked", version: "4f2a9c1", madeById: checker_1, findingId: finding_replay_1, ... })
   -> summary("4f2a9c1"): reported_finished=holds, checked=holds, live=no_claim, accepted=no_claim

2. // Worker A discovers an edge case and pushes commit "9be0d27"
   hub.recordClaim({ jobId: job_retry_fix, kind: "reported_finished", version: "9be0d27", madeById: worker_a, ... })
   -> summary("9be0d27"): checked automatically flips to "earlier_version" (4f2a9c1); complete = false

3. hub.recordClaim({ jobId: job_retry_fix, kind: "live", version: "9be0d27", madeById: worker_a, evidence: [] })
   -> error: live_evidence_required (claims without production evidence are rejected)

4. hub.recordClaim({ jobId: job_retry_fix, kind: "checked", version: "9be0d27", madeById: checker_1, findingId: finding_replay_2, ... })
   hub.recordClaim({ jobId: job_retry_fix, kind: "live", version: "9be0d27", madeById: hub_sys, evidence: [{ kind: "deployment", ... }] })
   hub.recordClaim({ jobId: job_retry_fix, kind: "accepted", version: "9be0d27", madeById: requester_dana, ... })
   -> ok (all four required claims hold for "9be0d27")

5. hub.markJobComplete(job_retry_fix)
   -> ok (job marked complete against exact verified version "9be0d27")

Tradeoffs and practical guidance

Evidence-Backed Completion replaces cheap optimistic checkmarks with durable proof. Weigh three honest tradeoffs before turning on all four claim kinds:

  • Evidence overhead on small tasks: attaching artifacts and statements takes effort. Tailor required_claims per request so research briefs do not demand live claims and routine tasks do not block on manual acceptance.
  • Evidence presence vs. evidence strength: the hub can enforce that evidence exists and came from an independent party, but it cannot automatically tell a shallow check from a deep replay. Pair this pattern with Policy Gate when specific verification methods matter.
  • Requester acceptance bottleneck: requiring human accepted on every job queues work behind the requester. Use Delegation Policy to authorize an agent to accept low-risk classes automatically.

Practical implementation notes

  • Standardize one version identifier end to end: if code uses a commit SHA and deployment pipelines report a build number, map build numbers back to exact commits so live claims match the version on offer.
  • Never auto-derive one claim from another: the classic shortcut — writing live because a change merged, or accepted because a check passed — destroys the entire value of separating the claims.
  • Handle rollbacks by appending holds = false: never delete the earlier live row; append a retraction so the audit trail records both the rollout and the revert.
  • State results against the goal, and name what isn't proven yet: distinguish "the retry guard is written" from "retried payments cannot double-charge customers in production" so readers never mistake implementation for live protection.

Known uses and related patterns

  • in-toto Attestation Statement: binds typed predicates to exact artifact content digests across software supply chains; Evidence-Backed Completion applies the same version-bound attestation model to multi-agent job completion.
  • GitHub Check Runs & Deployments: pins every check run to an exact head_sha and tracks environment deployment outcomes separately from pull-request merge state.
  • Kubernetes Conditions (observedGeneration): reports typed True / False / Unknown conditions tagged with the exact spec generation they observed so stale status is immediately detectable.
  • Contrast with Agent2Agent (A2A) TASK_STATE_COMPLETED: a single terminal task state tells the caller an agent stopped cleanly, without saying which artifact version was independently verified, live, or accepted.
  • Scrum Definition of Done: codifies team completion expectations as a shared agreement; Evidence-Backed Completion turns that agreement into durable, version-pinned hub records.
  • Volgenic: binds code reviews to exact commit SHAs and records production rollout observations separately from merges so live status is never inferred from merge alone.

Related patterns

  • Policy Gate — defines the Finding record that supports a checked claim; Policy Gate permits or blocks one step, while Evidence-Backed Completion tracks what has been proven so far.
  • Close-Out Triage — the natural counterpart: Evidence-Backed Completion proves what was done, while Close-Out Triage accounts for everything left undone.
  • Request Spec — holds the requester's goal statement and specifies which required_claims a job must satisfy.
  • Derived Status Board — renders the requester's view of completed versus in-flight work directly from these computed summaries.
  • Durable Job, Delegation Policy, & Orchestrator-Workers — define the Job (so claims survive worker restarts), the acceptance Policy, and the Party making each claim.