feat(lab): native-control output-budget fix + live SSE tail viewer

↗ view on GitHub · Eli Ziff · 2026-08-07 · f1d04857

- mike_upstream_native_v1: raise MIKE_DEEPSEEK_MAX_TOKENS to 65536 (was 32768
  default). Measured 16-42-55: flash + reasoning-max consumed the entire
  32768 per-response budget as reasoning_content and truncated before any
  tool_use, authoring 0/1 deliverables. Headroom makes the native control
  drivable on flash at all; reasoning effort stays max for parity.
- chat.ts sseWrite: append each SSE event line to MIKE_LLM_RAW_SSE_PATH when
  set (per-response append stream, inert otherwise), so a running run's
  raw-sse.txt is tailed live instead of appearing only at the end.
- lab-beaver-arm.ts: set MIKE_LLM_RAW_SSE_PATH = runId/raw-sse.txt in the run
  child-process env (canonical writeFileSync record unchanged).
- scripts/lab-sse-live.ts: tail viewer (reasoning dim/italic, tool calls/results
  labeled, final content plain; --replay for finished runs; --task/--arm pick
  the newest matching run). Verified against an 08-03 closing trace.
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents b50267ae
Stats 3 files changed , +333 , -1
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-f1d04857.md from inside the repo you want the change in.

⬇ Download capture-commit-f1d04857.md