Files
buzz/desktop/src-tauri
Hayt 0764bbcea4 fix(desktop): regenerate nest on archive, drop expect() in gate
Archive/unarchive commands submitted the relay event and returned without
refreshing AGENTS.md, so a just-archived agent lingered on the roster until an
unrelated edit or app restart. Wire try_regenerate_nest into both commands
after a successful submit, matching the ~20 other mutation sites; the regen is
fire-and-forget and races the relay's kind:13535 snapshot, so a stale render
self-heals on the next cycle.

Replace the production expect() on the NestRegenGate commit mutex with a
poison-to-io::Error mapping so a poisoned lock degrades to the same
warn-and-continue path as any other commit failure instead of panicking the
desktop process (root AGENTS.md: no new expect() in production paths).

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