refactor: delete dead CourtListener logger, TNA builder, unreachable branches

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

logRawOpinionPayload had zero call sites and was the only consumer of
the fs/path imports; buildTnaPinpointUrl had no production caller
(superseded by provider-native anchors); opinionText's html/plain_text
branches were unreachable because compactOpinion already sets text.

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 90e77d2d
Stats 3 files changed , +4 , -62
Part of A2AJ / CourtListener Canadian legal-source integration

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

⬇ Download capture-commit-d8234eb5.md