fix(lab): serve scoped read/fetch schemas in backend active tools
The index arm's scoped read_document/fetch_documents variants were only in the harness's surface.tools; the backend derives activeTools from LOCAL_ASSISTANT_TOOLS, which selected the frozen upstream schemas for the markdown arms. The model therefore saw whole-read-only tools, hit the 64k tool-result cap on a 146k-char agreement with no offset to continue, and could not draft. Register MARKDOWN_INDEX_LAB_TOOLS when STRUCTURE_INDEX_ENABLED. Co-Authored-By: Claude <noreply@anthropic.com>
| Repository | eliziff/Beaver |
|---|---|
| Author | Eli Ziff <eliasziff@gmail.com> |
| Authored | |
| Parents | 606d55cb |
| Stats | 1 file changed , +5 , -2 |
| Part of | Evaluation harness: Beaver-CAN and LegalBench-RAG adapters |
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-1f101c7a.md
from inside the repo you want the change in.