You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
work evidence can cite an ops result (run, release, plan, gate answer), so work items meet the estate #3171
Part of the boundaries epic, #3166. Found by the epic audit.
Problem
A work item's acceptance criteria are ticked by evidence (workEvidence, work-evidence.schema.json), but evidence today is a check run in the factory (unit, integration, e2e). Work that touches real infrastructure has criteria like "release 42 is healthy in staging" or "the plan for prod has no deletes", whose proof is an ops result: a component run, a lifecycle plan, a release record, a gate answer. There's no way to cite one, so the work item and the estate never meet.
Proposal
Evidence may cite an ops result by reference: a run (chant run id, its runtime and outcome), a release ledger entry, a lifecycle plan digest, or a gate answer (the gates-as-decision-points issue), each with the digest of what it attests.
workEvidence verifies the reference against the ledger it names before ticking the criterion, the way it verifies a check run today.
#4023 adds the why chain to chant workspace graph --intent <region|node|sha> --json as trace (contract 1, chant 0.124.29). From each commit it names the work item the trailers link, the ci tag, the release that shipped the commit, the release gate resolutions that admitted it, and the deploy records per environment, each with its admission and its _plans/ release plan. Every link carries source: { ref, field, value } pointing at the ledger line. That is the reverse read this issue asks for, and the refs are what evidence citing a release, a plan or a gate answer would hold. Citing them on the work item itself is still this issue.
Landed on integration/chant-goal in f04fd52 (feature commit 3042609).
Evidence takes ops: a run (env, op, id), a deploy (env, runId, optional component), a gate answer (op, gate, at) or a release plan (digest), each with optional member and sha256. attachWorkEvidence (so the workEvidence activity and chant workspace work evidence) reads the record from the local chant/lifecycle branch before writing, and stores it as trace names a link: ref, field, value, the record's sha256, plus env and outcome for a run. A run's outcome must agree with result (work-evidence-ops-mismatch); a gated or waiting run is work-evidence-ops-unfinished; a record the branch lacks is work-evidence-ops-missing. The reference work schema and the three profiles gain evidenceOps.
Done-when: covered by packages/core/src/workspace/work-evidence-ops.test.ts, where an ok run of deploy-web in staging ticks a runtime criterion and verifies against the run ledger.
Not in this change: the reverse read through records --constrains waits on #3068. graph --intent's trace (#4023) already gives the reverse read from a commit.
Activity
lex00 commentedon Oct 18, 2026
#4023 adds the why chain to
chant workspace graph --intent <region|node|sha> --jsonastrace(contract 1, chant 0.124.29). From each commit it names the work item the trailers link, the ci tag, the release that shipped the commit, the release gate resolutions that admitted it, and the deploy records per environment, each with its admission and its_plans/release plan. Every link carriessource: { ref, field, value }pointing at the ledger line. That is the reverse read this issue asks for, and the refs are what evidence citing a release, a plan or a gate answer would hold. Citing them on the work item itself is still this issue.feat(workspace): work evidence can cite an ops result (#3171)
Merge goal-3166 into integration/chant-goal (#3171)
lex00 commentedon Oct 24, 2026
Landed on
integration/chant-goalin f04fd52 (feature commit 3042609).Evidence takes
ops: a run (env,op,id), a deploy (env,runId, optionalcomponent), a gate answer (op,gate,at) or a release plan (digest), each with optionalmemberandsha256.attachWorkEvidence(so theworkEvidenceactivity andchant workspace work evidence) reads the record from the localchant/lifecyclebranch before writing, and stores it as trace names a link:ref,field,value, the record'ssha256, plusenvandoutcomefor a run. A run's outcome must agree withresult(work-evidence-ops-mismatch); a gated or waiting run iswork-evidence-ops-unfinished; a record the branch lacks iswork-evidence-ops-missing. The reference work schema and the three profiles gainevidenceOps.Done-when: covered by
packages/core/src/workspace/work-evidence-ops.test.ts, where anokrun ofdeploy-webinstagingticks a runtime criterion and verifies against the run ledger.Not in this change: the reverse read through
records --constrainswaits on #3068.graph --intent'strace(#4023) already gives the reverse read from a commit.docs: boundary rows for the executor (#4402) and work-evidence (#3171)…