Repository navigation
Count plan-ledger refs as citable, not delivered - #1297
Conversation
A ledger row shows one task of a snapshot or a document without its text, so recording the whole entry delivered let coverage read complete over withheld content. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PR Summary by QodoKeep plan-ledger refs citable without counting them as delivered
AI Description
Diagram
High-Level Assessment
Files changed (10)
|
Code Review by Qodo
1.
|
The server lists unreadable plans only within the budget the available plans leave and counts the rest in plans_unavailable_omitted; the renderer copies it verbatim. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A source an outline or unfollowed page already names is left out, so its shortfall is not counted twice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit 17a2720 |
AI-3090 (no GitHub issue)
What & why
A plan_ledger row shows only part of a lane entry (one task of a snapshot, a document's key and path without its text), yet the renderer recorded every ref it printed as a delivered event, so coverage could read complete while canonical content was withheld. Ledger refs now go to a separate
Citableset: a handle or literal ref still expands for citation, but only an events page or body read delivers the entry.Where to look
JudgeLedger.TryExpandconsults delivered and citable events;IsDeliveredand coverage read delivered only.citable, written only when non-empty.Verification
EvidenceCoverageMeasureTests12/12,EvidencePageRendererTests8/8,EvidenceFirstViewReaderTests5/5,JudgeLedgerTests5/5.unread_rangeswhile consulted, and is complete once read_events delivers it; with the renderer marking ledger refs delivered again, that test fails.🤖 Generated with Claude Code