Record the people_link rulings from the #78 grill #122

Merged
svc-agent-writer merged 1 commit from adr-0005-links-amendment into main 2026-11-05 11:25:23 +00:00

Summary

Records the #78 grill (2026-11-05) as ADR 0005 Amendment 2, so #78 can be built against one written contract.

 docs/adr/0005-reversible-writes.md
   Amendment 1 (2026-11-05)          # the shared write-action contract (#97)
+  Amendment 2 (2026-11-05): links
+    1-5   alias: unowned Handles only, pure addition, survives rebuild, undo refuses evidence-joined, no Owner
+    6-11  merge: ranked survivor, undo record keyed by source link, would-remerge and superseded refusals, add + update on undo
+    12    primary email prefers a contact-Source Handle
+    Examples the slice tests        # 7 cases
 docs/adr/0002-identity-and-merge.md
+  Amendment 1                       # pointer to ADR 0005 Amendment 2
 GLOSSARY.md
+  Attached Handle

Evidence

  • Grill of 2026-11-05, two rounds, 16 questions; the operator accepted every lean.
  • The rulings rest on code read at 3083bdb:
    • no sync path deletes a Handle (graph.py:428-438), so an Attached Handle survives a Mail peer rebuild;
    • ingest merges every Person an incoming record matches (graph.py:333-357), so moving an owned Handle would merge later with no undo record;
    • merge_persons deletes the merged-away Person and keeps no undo data (graph.py:235-265);
    • the primary email is the lowest-id matchable Handle (views.py:14).
  • Docs only; no code or test changes.

Merge Danger

Door: two-way

Nothing implements this yet. #78 builds to it after the merge.

Blast Radius: identity

Once #78 ships, merge undo and the primary-email order decide what the Owner sees for every merged Person.

🤖 Generated with Claude Code

## Summary Records the #78 grill (2026-11-05) as ADR 0005 Amendment 2, so #78 can be built against one written contract. ```diff docs/adr/0005-reversible-writes.md Amendment 1 (2026-11-05) # the shared write-action contract (#97) + Amendment 2 (2026-11-05): links + 1-5 alias: unowned Handles only, pure addition, survives rebuild, undo refuses evidence-joined, no Owner + 6-11 merge: ranked survivor, undo record keyed by source link, would-remerge and superseded refusals, add + update on undo + 12 primary email prefers a contact-Source Handle + Examples the slice tests # 7 cases docs/adr/0002-identity-and-merge.md + Amendment 1 # pointer to ADR 0005 Amendment 2 GLOSSARY.md + Attached Handle ``` ## Evidence - Grill of 2026-11-05, two rounds, 16 questions; the operator accepted every lean. - The rulings rest on code read at `3083bdb`: - no sync path deletes a Handle (`graph.py:428-438`), so an Attached Handle survives a Mail peer rebuild; - ingest merges every Person an incoming record matches (`graph.py:333-357`), so moving an owned Handle would merge later with no undo record; - `merge_persons` deletes the merged-away Person and keeps no undo data (`graph.py:235-265`); - the primary email is the lowest-id matchable Handle (`views.py:14`). - Docs only; no code or test changes. ## Merge Danger **Door:** two-way Nothing implements this yet. #78 builds to it after the merge. **Blast Radius:** identity Once #78 ships, merge undo and the primary-email order decide what the Owner sees for every merged Person. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Record the people_link rulings from the #78 grill
All checks were successful
ci/woodpecker/pr/validation Pipeline was successful
f308107a83
Add ADR 0005 Amendment 2 (links): alias attaches only an unowned
Handle and is a pure addition; Attached Handles survive re-sync and
Mail peer rebuild; alias undo refuses once evidence joined through the
Handle; the Owner takes no part in a link; merge undo restores the
merged-away Person from its undo record, keyed by source link, and
refuses would-remerge and superseded cases; merge undo emits add and
update; the primary email prefers a contact-Source Handle. Add a
pointer in ADR 0002 and the Attached Handle glossary term.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No description provided.