Skip to content

work evidence can cite an ops result (run, release, plan, gate answer), so work items meet the estate #3171

Closed

Description

@lex00

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.
  • The reverse read: records --constrains/graph --intent can show, from an ops run, which work items it satisfied (Why overlay: decisions, work and releases on members and runs, from chant's read contract behold#471 renders it).

Done when

A work item's criterion is ticked by a component run's successful outcome in a named environment, and the evidence verifies against the run ledger.

Depends on #3068.

Activity

  1. added
    enhancement
    area:workspace
    boundaries
    on Oct 1, 2026
  2. lex00 commented on Oct 18, 2026

    @lex00
    ContributorAuthor

    #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.

  3. lex00 commented on Oct 24, 2026

    @lex00
    ContributorAuthor

    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.

  4. added a commit that references this issue on Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:workspaceboundariesenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions