Add MIKE_DISABLE_RESEARCH_TOOLS offline mode; LAB runner multi-doc support

↗ view on GitHub · Eli Ziff · 2026-07-28 · e5fef223

The flag removes CourtListener/A2AJ/public-legal tools AND their
system-prompt sections from the local assistant in one switch (flag off
is byte-identical to before). LAB arm-B runner now uses it instead of
splicing the tool array, saves every Beaver-authored document under its
own filename so LAB fuzzy deliverable matching applies (multi-deliverable
tasks), synthesizes answer text only for extension classes with no
created document, and fails loudly on ask_inputs pauses. Durability test
mock gains the new export.

Verified: flag off 29 tools, flag on 17 and system prompt 7173->3422
bytes served; durability suite 32/32.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016yXxuitxX5h4wm1v88hnga
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents df13d3d9
Stats 4 files changed , +78 , -65
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-e5fef223.md from inside the repo you want the change in.

⬇ Download capture-commit-e5fef223.md