@ feat(lab): SECT-INDEX carries body-relative @N offsets; find shares the markdown plane

↗ view on GitHub · Eli Ziff · 2026-08-04 · 98f4f182

- structureIndexExperiment: index lines anchor into the served markdown and
  emit @N body offsets (line-anchored display for article/section/schedule,
  parent-relative enum token for subsections). Verified on the covenants docx:
  309/310 spine lines anchored, 0 bad slices.
- localAssistantTools: servedDraftingText shares one served-text computation
  between read_document and find_in_document (find-plane change gated on the
  index flag only, so e2e/markdown-swap arms keep the plaintext find surface);
  offset/max_chars windows are body-relative under the index arm; scoped-only
  refusals harmonized to head:20 + @N.
- upstreamMikeBenchmarkSurface: orient-first prompt is now batching-aware and
  points at the @N offsets.
- deepseek: snapshot the tool list once per tool-loop so the serialized prefix
  stays byte-stable across rounds (prefix-cache identity).

Co-Authored-By: Claude <noreply@anthropic.com>
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents 75b67279
Stats 5 files changed , +318 , -41
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-98f4f182.md from inside the repo you want the change in.

⬇ Download capture-commit-98f4f182.md