Files
buzz/desktop/src-tauri
DuncanandWill Pfleger 3f933e1751 feat(agents): add pure identity-binding helpers for the agent library
Phase-3 chunk 1 of the cross-workspace agent library ($2.5). Two keyring-free
pure functions with no production callers yet — the crash-safe mint protocol and
their insertion/removal transaction wiring land in Phase 4b per the resequencing
ruling:

- key_archive_protected(agent_pubkey): the deletion-safety predicate (P13-C1,
  widened by P17-C1). Scans RAW library.json entries so a quarantined entry that
  ever bound the pubkey still protects it; over-protecting only leaves a secret
  resident, while mis-deleting a live global key is irreversible.
- select_binding_seed: deterministic seed selection (P3-I2) — earliest
  created_at, ties broken by lowest pubkey; None only when zero instances exist.

Tests live in a new binding_tests submodule to keep the Phase-1 tests.rs suite
clear of the 1000-line file ratchet.

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