Files
buzz/desktop/src-tauri
npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 d3f45d3e3f feat(desktop): write persona-snapshot engram at agent spawn
At spawn time, after resolving the effective prompt/model/provider from
the linked persona, write a NIP-AE encrypted engram (kind:30174) to the
local retention store. The engram captures provenance (persona_id,
source_version) and the effective persona state so future relay
distribution can deliver persona updates without restart.

This is write-only — the engram is never read back into the prompt path.
load_from_retention remains dead code (zero call sites) until PR 3 wires
the read side. Errors are logged but never block agent spawn.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-06-10 11:14:08 -04:00
..