Render premise corrections marked; salvage typed content on failed cells

↗ view on GitHub · Eli Ziff · 2026-07-30 · 799948f9

Per Eli: verified premise corrections should be shown to the user, not
buried in an abstention. renderLegalEvidenceAnswer now (a) renders any
premise_correction whose anchor re-verifies deterministically at render
time as a visible **Premise correction** with the contested words, and
(b) on failed cells salvages receipts-backed typed content - verified
corrections and exact no-attestation statements from the rejected
answer or last bounce, excluding claims the bounce errors name - above
the typed abstention line. Never parsed from prose; unverified anchors
never surface.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012AgUm5EcRKbT3duVFMbrQD
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents 880287eb
Stats 2 files changed , +148 , -20
Part of Legal agent-surface and context-compaction experiments

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-799948f9.md from inside the repo you want the change in.

⬇ Download capture-commit-799948f9.md