Snippet extraction and claim lint were still on the frozen v1 part table.
opencode 2.0.24 moved tool calls into session_message.data $.content and
stopped writing part at 2026-11-01, so every later session produced no
snippet candidates and no lint evidence: 1,475 completed write/edit/shell
calls are in v2 that v1 never saw.
Both readers now prefer v2 and fall back to v1 only where v2 has nothing,
so a migrated session is never counted twice.
Shape differences handled: the tool name moved from $.tool to $.name,
write/edit input carries 'path' as well as 'filePath', completed output
is $.state.content[] rather than a flat $.state.output, and the shell
tool is emitted as both 'bash' and 'shell'. v2 has no patch parts, so
PatchHash stays empty for v2 candidates; supersession already derives
from the last full write, so nothing depends on it.
feat: live guardrail for restated figures (opencode plugin) (#15)
Co-authored-by: David Gwilliam <dhgwilliam@gmail.com>
Co-committed-by: David Gwilliam <dhgwilliam@gmail.com>
feat: audit session transcripts for numeric claims with no tool evidence (#13)
Co-authored-by: David Gwilliam <dhgwilliam@gmail.com>
Co-committed-by: David Gwilliam <dhgwilliam@gmail.com>