fix(lab): documents_read_directly matches positional doc-N aliases; generate_docx counts as drafting

↗ view on GitHub · Eli Ziff · 2026-08-06 · 61b958ba

The chat surface only ever shows the model positional document IDs
(doc-0, doc-1, ...), but the counter matched upload UUID / filename /
source path - so documents_read_directly shipped 0 on every run. And the
single-conversation lab chassis never flips the harness draftingPhase
flag, so generate_docx was stamped research and drafting_tool_calls
shipped 0. Verified by recomputing over the employment v2 confirm-run
receipts: direct 0->5 (all five docs were read), drafting 0->1,
research 4->3, totals conserved.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011pfUVhNFTRvhYGXBwoKNj6
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents ddb08827
Stats 1 file changed , +14 , -4
Part of SourceDoc / DOCX engine: redlines, tracked changes, editing benchmark

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-61b958ba.md from inside the repo you want the change in.

⬇ Download capture-commit-61b958ba.md