feat: audit session transcripts for numeric claims with no tool evidence #13
Reference in New Issue
Block a user
Delete Branch "feat/claims-audit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #12.
A figure gets derived once — sometimes against the wrong reference — then restated in later turns without being re-checked. Repetition raises confidence instead of prompting verification. That is exactly how "6,884 lines" (measured against
bb852fainstead ofmain) survived five turns and drove a branch decision that had to be undone.This adds a deterministic audit for it. No model calls, no token cost.
How it reads
The stale/unsupported split is the important part. Flagging every number would include "200ms" and "200MB" hypotheticals, which trains the reader to ignore the output.
Two calibration details worth reviewing
200MB"backed" by any output containing 200. The unit must agree, so6884 linesis not backed by6884 deletions— which is the honest verdict, and why the original mistake would land inunsupportedrather than clean.Usage
Output:
Limitation, stated plainly
opencode persists messages on flush, so a live session has no rows yet — this audits completed sessions. A live guardrail needs the plugin
contexthook; that is the follow-up (#12 can be reopened or a new issue filed for it).Tests
go vet ./...,go test ./...green