lore: freeze the prompt block per session; deliver what arrives later as a message

the space was re-rendered into the system prompt on every turn, so each save moved the cached prefix and the next turn reprocessed the whole conversation. the block is now taken once per account and space and never re-rendered; the session's own saves are already echoed by their tool results. /lore reads the space again, and entries that were not in the snapshot reach the model as a lore-update message on the next turn. live/lore.test.ts runs the extension inside a pi session against a real PDS with pi's faux provider scripting the model, and asserts the system prompt is byte-identical across a tool save and a note, and that a record written elsewhere arrives as a message after /lore. `npm run test:live`; the default suite ignores it. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>


Author zzstoatzz.io
Co-author Claude Fable 5.1 Date Commit Parent 877c89fb