Files
buzz/desktop/src-tauri
Will Pfleger 5fffd16a1e feat(desktop): track catalog provenance on a copied persona
Adding another member's shared agent minted a fresh local persona with a new
UUID and no link back to the publication it came from, so the catalog had no
way to tell an already-added entry from a new one and every click added
another copy.

A copied persona now carries the publication's coordinate — publisher pubkey
plus the persona's d-tag — through create_persona and the unified agent
store, which is enough for the catalog to answer "already added" for a
foreign entry. The coordinate is normalized at the command boundary because
a value that cannot match a publication silently restores the duplicate it
exists to prevent. Absent on every non-catalog path, and skipped when
serializing, so existing records neither break nor gain a null key.

The create path moves to personas/create.rs, mirroring the edit-path split,
and CatalogSource to its own module to keep both files under the size cap.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-07-27 13:53:34 -04:00
..