mirror of
https://github.com/block/buzz.git
synced 2026-10-31 14:31:02 +00:00
Prompt length is a live complaint, and this change was contributing to it. Every rule is now a single sentence: - Preamble: 178 -> 83 tokens, close to the ~50 of the Berd original it ports. Both bullets kept; the prose around them was doing the work of a doc comment, so it moved into one. - base_prompt: the separate 'record as stated' and 'key by pubkey' bullets merged into one, and the agent-drafting paragraph collapsed from three sentences to one. - PERSONA_PACK_SPEC: two paragraphs to one. Docs-only, no runtime cost. Net injected per session: ~777 -> ~242 tokens. A new test caps the preamble at 400 bytes so a future addition fails there rather than silently taxing every turn. No rule was dropped — the reasoning that justifies each one lives in doc comments and this history, which cost nothing at runtime. Generated with Goose Signed-off-by: Clay Delk <clay.delk@gmail.com>