System prompt carries the contract; structure and reads go on-demand
SLA prompt section no longer embeds skeleton outlines (up to 8 x 4k chars of per-document state as standing prompt weight): it now carries only the always-on contract plus a one-line-per-document inventory (name, ~tokens, handle count), and the model fetches outlines when it reaches for a document via the existing library_outline tool. Reading gains the compositional glue coding agents get from grep's file:line: library_find hits now carry their original-text offset (`at`) and deepest enclosing structural handle (`section`), and library_read accepts offset/max_chars windows for text without numbered structure - so the follow-up to a hit is a section read or a bounded window, not the 300k-char whole-document default. That default is unchanged pending an A/B (pilot-04 showed breadth-extraction tasks can lose recall under forced-lean reading). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018bhP89cYSdEEjHNPnxacns
| Repository | eliziff/Beaver |
|---|---|
| Author | Eli Ziff <eliasziff@gmail.com> |
| Authored | |
| Parents | ebc07ca4 |
| Stats | 3 files changed , +56 , -19 |
| 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-109dde4f.md
from inside the repo you want the change in.