Clause-skeleton chunk mode: spans snap to clause/section starts

↗ view on GitHub · Eli Ziff · 2026-07-30 · 09767629

Per Eli: chunk contracts into a skeleton prior to retrieval like A2AJ
paragraphs - retrieval unit = citable unit. clauseChunkText packs
whole clauses to target size, subdividing only clauses over 2x target;
auto-falls back to character mode under 3 clause starts. Gold
ablation, lexical @4: maud R 0.049 to 0.089 (+82% rel), cuad 0.184 to
0.262, contractnli flat, privacy_qa -0.02 (weak numbering; density-
gated auto-mode is the follow-up). Sidecar params v3.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012AgUm5EcRKbT3duVFMbrQD
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents 9990823b
Stats 1 file changed , +60 , -2
Part of Legal agent-surface and context-compaction experiments

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

⬇ Download capture-commit-09767629.md