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.
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:
-
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. -
Every claim is pinned to an exact version. The worker's newest
reported_finishedclaim establishes the version on offer. Any claim naming an older version automatically drops toearlier_version. -
The completion summary is computed, never typed. Comparing active claims
against the request spec's
required_claimstells 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.
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.
reported_finished naming the version on offer
and stating the outcome in terms of the requester's goal, not a diary of edits.
Finding,
and backs a checked claim referencing that finding.
Never checks a version it reported itself.
live claim with concrete
environment evidence — or appends holds = false on
rollback.
required_claims in the request spec and
records accepted (or grants standing acceptance
authority to an agent through a named Policy).
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.
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.
Begins after version v1 is reported_finished
and checked (with live and
accepted still missing).
Nobody manually cancels the earlier check — reporting v2
moves the version on offer so the v1 check immediately
reads earlier_version. Meanwhile, the hub blocks the
worker's unsupported live claim with
live_evidence_required.
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-3finished ("Refund window updated to 30 days across all regions"). Legal checker verifiesdoc-rev-3against regional rules and links its finding to acheckedclaim. - What it prevents
-
On launch morning, the summary shows
reported_finishedandcheckedholding, butlive: 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 aliveclaim 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
4f2a9c1finished and Checker replays Tuesday's outage against4f2a9c1, backing acheckedclaim. Because no deploy has run since Tuesday,livestaysno_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 shiftscheckedtoearlier_version(4f2a9c1) until the checker replays the outage against9be0d27, 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.
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
-
01Claims are append-only and never reassigned Database constraint
No
UPDATEorDELETEis permitted onclaims. Corrections or rollbacks append a new row for the same kind and version, and the newestmade_atwins. -
02Kind-specific foreign keys are enforced in the schema Database constraint
CHECK ((kind = 'checked') = (finding_id IS NOT NULL)), partialUNIQUE (finding_id) WHERE finding_id IS NOT NULL(each finding supports at most one claim), andCHECK (policy_id IS NULL OR kind = 'accepted'). -
03Only the job assignee may report a version finished Hub guard
record_claimrejects withonly_assignee_may_reportwhenkind == "reported_finished"andmade_by_id != job.assignee_id. -
04Checked claims require an active, unused finding from an independent party Hub guard
record_claimrejects missing findings withfinding_required, voided findings withfinding_voided, reused findings withfinding_already_used, and self-checks withcannot_check_own_version. -
05Live claims must carry environment evidence Hub guard
record_claimrejects withlive_evidence_requiredwheneverkind == "live"arrives with an empty evidence list. The hub never fabricates aliveclaim simply because acheckedclaim exists. -
06Acceptance requires requester identity or delegation policy Hub guard
record_claimrejects withno_authority_to_acceptwhenkind == "accepted"is filed by someone other thanjob.requester_idwithout an authorizingpolicy_id. -
07Completion requires every needed claim to hold on the version on offer Hub guard
mark_job_completecomputes the summary against the newestreported_finishedversion and rejects withrequired_claims_incompleteif any required claim is missing, retracted, or stuck on anearlier_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
// Hub guards for Evidence-Backed Completion (append-only versioned claims)
type ClaimKind = "reported_finished" | "checked" | "live" | "accepted";
type ClaimStatus = "holds" | "does_not_hold" | "earlier_version" | "no_claim" | "not_required";
interface Evidence {
kind: string;
url: string;
summary: string;
}
interface Claim {
id: string;
jobId: string;
kind: ClaimKind;
version: string;
holds: boolean;
madeById: string;
statement: string;
evidence: Evidence[];
findingId: string | null;
policyId: string | null;
madeAt: number;
}
interface Job {
id: string;
assigneeId: string;
requesterId: string;
requiredClaims: ClaimKind[];
complete: boolean;
}
interface CompletionSummary {
version: string | null;
statuses: Record<ClaimKind, ClaimStatus>;
complete: boolean;
}
class CompletionHub {
private jobs = new Map<string, Job>();
private findings = new Map<string, { id: string; voidedAt: number | null }>();
private claims: Claim[] = [];
recordClaim(claim: Claim): Claim {
const job = this.jobs.get(claim.jobId);
if (!job) throw new Error("unknown_job");
if (claim.kind === "reported_finished" && claim.madeById !== job.assigneeId) {
throw new Error("only_assignee_may_report");
}
if (claim.kind === "checked") {
if (!claim.findingId) throw new Error("finding_required");
const finding = this.findings.get(claim.findingId);
if (!finding || finding.voidedAt !== null) throw new Error("finding_voided");
if (this.claims.some((c) => c.findingId === claim.findingId)) {
throw new Error("finding_already_used");
}
const selfReported = this.claims.some(
(c) => c.jobId === claim.jobId && c.kind === "reported_finished"
&& c.version === claim.version && c.madeById === claim.madeById
);
if (selfReported) throw new Error("cannot_check_own_version");
}
if (claim.kind === "live" && claim.evidence.length === 0) {
throw new Error("live_evidence_required");
}
if (claim.kind === "accepted" && claim.madeById !== job.requesterId && !claim.policyId) {
throw new Error("no_authority_to_accept");
}
this.claims.push(claim);
return claim;
}
completionSummary(jobId: string): CompletionSummary {
const job = this.jobs.get(jobId);
if (!job) throw new Error("unknown_job");
const newestFirst = this.claims
.filter((c) => c.jobId === jobId)
.sort((a, b) => b.madeAt - a.madeAt);
const version = newestFirst.find((c) => c.kind === "reported_finished")?.version ?? null;
const kinds: ClaimKind[] = ["reported_finished", "checked", "live", "accepted"];
const statuses = {} as Record<ClaimKind, ClaimStatus>;
for (const kind of kinds) {
if (!job.requiredClaims.includes(kind)) {
statuses[kind] = "not_required";
} else {
const ofKind = newestFirst.filter((c) => c.kind === kind);
const current = version ? ofKind.find((c) => c.version === version) : undefined;
if (current) statuses[kind] = current.holds ? "holds" : "does_not_hold";
else if (ofKind.length > 0) statuses[kind] = "earlier_version";
else statuses[kind] = "no_claim";
}
}
const complete = kinds.every((k) => statuses[k] === "not_required" || statuses[k] === "holds");
return { version, statuses, complete };
}
markJobComplete(jobId: string): Job {
const job = this.jobs.get(jobId);
if (!job) throw new Error("unknown_job");
if (!this.completionSummary(jobId).complete) throw new Error("required_claims_incomplete");
job.complete = true;
return job;
}
}
# Hub guards for Evidence-Backed Completion (append-only versioned claims)
from dataclasses import dataclass, field
from typing import Literal, Optional
ClaimKind = Literal["reported_finished", "checked", "live", "accepted"]
ClaimStatus = Literal["holds", "does_not_hold", "earlier_version", "no_claim", "not_required"]
ALL_KINDS: tuple[ClaimKind, ...] = ("reported_finished", "checked", "live", "accepted")
@dataclass
class Claim:
id: str
job_id: str
kind: ClaimKind
version: str
holds: bool
made_by_id: str
statement: str
made_at: int
evidence: list[dict[str, str]] = field(default_factory=list)
finding_id: Optional[str] = None
policy_id: Optional[str] = None
@dataclass
class Job:
id: str
assignee_id: str
requester_id: str
required_claims: list[ClaimKind]
complete: bool = False
class HubError(Exception):
pass
class CompletionHub:
def __init__(self) -> None:
self.jobs: dict[str, Job] = {}
self.findings: dict[str, Optional[int]] = {} # finding_id -> voided_at
self.claims: list[Claim] = []
def record_claim(self, claim: Claim) -> Claim:
job = self.jobs.get(claim.job_id)
if job is None:
raise HubError("unknown_job")
if claim.kind == "reported_finished" and claim.made_by_id != job.assignee_id:
raise HubError("only_assignee_may_report")
if claim.kind == "checked":
if not claim.finding_id:
raise HubError("finding_required")
if claim.finding_id not in self.findings or self.findings[claim.finding_id] is not None:
raise HubError("finding_voided")
if any(c.finding_id == claim.finding_id for c in self.claims):
raise HubError("finding_already_used")
if any(
c.job_id == claim.job_id and c.kind == "reported_finished"
and c.version == claim.version and c.made_by_id == claim.made_by_id
for c in self.claims
):
raise HubError("cannot_check_own_version")
if claim.kind == "live" and not claim.evidence:
raise HubError("live_evidence_required")
if claim.kind == "accepted" and claim.made_by_id != job.requester_id and not claim.policy_id:
raise HubError("no_authority_to_accept")
self.claims.append(claim)
return claim
def completion_summary(self, job_id: str) -> dict[str, object]:
job = self.jobs.get(job_id)
if job is None:
raise HubError("unknown_job")
newest = sorted((c for c in self.claims if c.job_id == job_id), key=lambda c: c.made_at, reverse=True)
report = next((c for c in newest if c.kind == "reported_finished"), None)
version = report.version if report else None
statuses: dict[ClaimKind, ClaimStatus] = {}
for kind in ALL_KINDS:
if kind not in job.required_claims:
statuses[kind] = "not_required"
else:
of_kind = [c for c in newest if c.kind == kind]
current = next((c for c in of_kind if version and c.version == version), None)
if current is not None:
statuses[kind] = "holds" if current.holds else "does_not_hold"
elif of_kind:
statuses[kind] = "earlier_version"
else:
statuses[kind] = "no_claim"
complete = all(s in ("not_required", "holds") for s in statuses.values())
return {"version": version, "statuses": statuses, "complete": complete}
def mark_job_complete(self, job_id: str) -> Job:
job = self.jobs.get(job_id)
if job is None:
raise HubError("unknown_job")
if not self.completion_summary(job_id)["complete"]:
raise HubError("required_claims_incomplete")
job.complete = True
return job
# Hub guards for Evidence-Backed Completion (pure functional core)
defmodule CompletionHub do
defstruct jobs: %{}, findings: %{}, claims: []
@kinds [:reported_finished, :checked, :live, :accepted]
def record_claim(%CompletionHub{} = hub, claim) do
with {:ok, job} <- Map.fetch(hub.jobs, claim.job_id) |> or_error(:unknown_job),
:ok <- validate_claim(hub, job, claim) do
{:ok, claim, %{hub | claims: [claim | hub.claims]}}
end
end
def completion_summary(%CompletionHub{} = hub, job_id) do
with {:ok, job} <- Map.fetch(hub.jobs, job_id) |> or_error(:unknown_job) do
newest =
hub.claims
|> Enum.filter(&(&1.job_id == job_id))
|> Enum.sort_by(& &1.made_at, :desc)
version =
case Enum.find(newest, &(&1.kind == :reported_finished)) do
nil -> nil
claim -> claim.version
end
statuses = Map.new(@kinds, &{&1, kind_status(&1, newest, version, job.required_claims)})
complete? = Enum.all?(statuses, fn {_k, s} -> s in [:not_required, :holds] end)
{:ok, %{version: version, statuses: statuses, complete?: complete?}}
end
end
def mark_job_complete(%CompletionHub{} = hub, job_id) do
with {:ok, summary} <- completion_summary(hub, job_id),
true <- summary.complete? || {:error, :required_claims_incomplete} do
updated = Map.update!(hub.jobs, job_id, &%{&1 | complete: true})
{:ok, updated[job_id], %{hub | jobs: updated}}
end
end
defp validate_claim(hub, job, claim) do
cond do
claim.kind == :reported_finished and claim.made_by_id != job.assignee_id ->
{:error, :only_assignee_may_report}
claim.kind == :checked and is_nil(claim.finding_id) ->
{:error, :finding_required}
claim.kind == :checked and finding_void?(hub, claim.finding_id) ->
{:error, :finding_voided}
claim.kind == :checked and Enum.any?(hub.claims, &(&1.finding_id == claim.finding_id)) ->
{:error, :finding_already_used}
claim.kind == :checked and self_reported?(hub.claims, claim) ->
{:error, :cannot_check_own_version}
claim.kind == :live and claim.evidence == [] ->
{:error, :live_evidence_required}
claim.kind == :accepted and claim.made_by_id != job.requester_id and is_nil(claim.policy_id) ->
{:error, :no_authority_to_accept}
true ->
:ok
end
end
defp finding_void?(hub, id), do: Map.get(hub.findings, id, :missing) != nil
defp self_reported?(claims, claim) do
Enum.any?(claims, fn c ->
c.job_id == claim.job_id and c.kind == :reported_finished and
c.version == claim.version and c.made_by_id == claim.made_by_id
end)
end
defp kind_status(kind, newest, version, required) do
of_kind = Enum.filter(newest, &(&1.kind == kind))
current = if version, do: Enum.find(of_kind, &(&1.version == version)), else: nil
cond do
kind not in required -> :not_required
current && current.holds -> :holds
current -> :does_not_hold
of_kind != [] -> :earlier_version
true -> :no_claim
end
end
defp or_error({:ok, val}, _err), do: {:ok, val}
defp or_error(:error, err), do: {:error, err}
end
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:
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_claimsper request so research briefs do not demandliveclaims 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
acceptedon 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
liveclaims match the version on offer. -
Never auto-derive one claim from another: the classic shortcut —
writing
livebecause a change merged, oracceptedbecause a check passed — destroys the entire value of separating the claims. -
Handle rollbacks by appending
holds = false: never delete the earlierliverow; 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_shaand tracks environment deployment outcomes separately from pull-request merge state. -
Kubernetes Conditions (
observedGeneration): reports typedTrue/False/Unknownconditions 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
Findingrecord that supports acheckedclaim; 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_claimsa 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 acceptancePolicy, and thePartymaking each claim.