Skip to content

feat(explain): supply Explanation.Verdict from the operational path, or say it was not computed - #55

Merged
agenticode merged 1 commit into
mainfrom
wave/u2-verdict
Aug 26, 2026
Merged

agenticode merged 1 commit into
mainfrom
wave/u2-verdict

Conversation

@agenticode

Copy link
Copy Markdown
Owner

Explanation.Verdict was nil-only. It is now supplied from the production
recommendation path's readout (recommend.Verdicts) rather than by re-running
decision.Evaluate here — a second evaluation can diverge from the verdict
operations actually reached, which is a fabricated audit trail. Where the path
reached none, the payload says so as a first-class VerdictOrigin state: thin is
not absent.

Also closes the §6.1 gap where a subject with no stored evidence exited 0 with a
200 payload that grounded none of its claims. Grounding state is now explicit.

BuildExplain now errors on a decision.Verdict whose Action is not one of the
three, and on Verdict and RecVerdict both being supplied. Both in-repo call
sites pass nil, so today's blast radius is zero. Goldens are unmodified and pass
unregenerated; BuildExplain's signature is unchanged.

…or say it was not computed

Explanation.Verdict was nil-only. It is now supplied from the production
recommendation path's readout (recommend.Verdicts) rather than by re-running
decision.Evaluate here — a second evaluation can diverge from the verdict
operations actually reached, which is a fabricated audit trail. Where the path
reached none, the payload says so as a first-class VerdictOrigin state: thin is
not absent.

Also closes the §6.1 gap where a subject with no stored evidence exited 0 with a
200 payload that grounded none of its claims. Grounding state is now explicit.

BuildExplain now errors on a decision.Verdict whose Action is not one of the
three, and on Verdict and RecVerdict both being supplied. Both in-repo call
sites pass nil, so today's blast radius is zero. Goldens are unmodified and pass
unregenerated; BuildExplain's signature is unchanged.

Co-authored-by: kording <74226694+kording@users.noreply.github.com>
@agenticode
agenticode merged commit 8d9e2b8 into main Aug 26, 2026
2 checks passed
@agenticode
agenticode deleted the wave/u2-verdict branch August 26, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant