chore: trim dead API surface, hot-path log garbage, test flake

↗ view on GitHub · Eli Ziff · 2026-07-27 · d947dc6d

knip sweep (script entry points and stage-3 surfaces excluded): 12
internal-only types lose their export, the mcpConnectors barrel drops
five type re-exports and validateRemoteMcpUrl nobody imported, and
llm/index's streamCodex wrapper goes private. contextBuilders no
longer materializes the whole doc index into fresh objects on every
chat turn for a dev-only log line. providerPdfLibraryBridge's backoff
test stops racing its detached background write under full-suite load
(waitFor 1s default -> bounded 10s).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUsMXzBsEJ27DjJVPSfW5o
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents de6a95ec
Stats 11 files changed , +24 , -46
Part of Internal cleanup, dead-code removal, and the canonical route builder

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

⬇ Download capture-commit-d947dc6d.md