Skip to content

0012: A verdict carries the identity of what it judged

Status: Accepted, 2026-11-29.

Several packages record verdicts: SDD’s spec and implementation gates, the fleet’s merge backstop, and ACED’s eval runs. Each verdict is about one version of a spec or a change. The thing judged keeps changing after the verdict: a spec gets another edit, and a branch gets rebased or patched. A verdict that names only the file or the branch then vouches for content it never saw.

pstack uses git patch-id to check that a verdict survived a rebase (pstack research, E16). open-ontologies reached the same rule independently: a certified verdict carries a digest of its inputs, so it can’t be reused on other content (open-ontologies research, E12).

  • A verdict records the identity of what it judged. That identity is a content hash of the judged bytes: a spec or other document, or the files a change touched. It needs no version control, so it works in a plain folder as well as in a repository.
  • In a git repository, a change may use its git patch-id instead. A pure rebase leaves the patch-id unchanged, so the verdict survives the rebase. A change that had to be adapted gets a new patch-id, so it needs a new verdict.
  • The verdict names which kind of identity it recorded, so a reader recomputes the same kind.
  • A verdict whose identity no longer matches reads as unevaluated, not passed. A reader compares the recorded identity with the current one before relying on the verdict.

Rejected:

Option Why not
Naming the file or branch only The verdict silently covers edits made after it.
Re-judging on every read It costs a full gate each time, when comparing two hashes is enough.
Using the commit SHA for a change A rebase changes the SHA without changing the change, so every rebase would wipe a valid verdict.
Requiring git patch-id for every change Work in a plain folder has no git, so it could never carry a verdict.
  • sdd2’s gates record the digest each verdict judged, and a stale verdict reads as unevaluated.
  • SDD v1’s combat log may gain an optional patch-id field.
  • The fleet’s merge backstop may use the patch-id to tell a pure rebase from an adapted change. Merged-result CI still runs either way.