fix(lab): rethrow SSE provider error before conformance gates
A provider failure (e.g. claude -p 'Prompt is too long' at the 200K wall) ends the SSE stream with a typed error event; the route logs and swallows the exception. The runner ignored that event and died later at whichever conformance gate tripped first (0 deliverables / no echo), so main()'s catch classified an untyped gate error instead of recording context_overflow in run-state.json. Phase D burned 6 cells before this surfaced; rows retro-typed from their own raw-sse error events with provenance. 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 | 61b958ba |
| Stats | 1 file changed , +9 |
| 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-4fe53495.md
from inside the repo you want the change in.