Say that a handle move undo never merges the target into the source #140

Merged
svc-agent-writer merged 1 commit from docs/am5-r13-move-undo into main 2026-11-06 06:36:13 +00:00

Summary

ADR 0005 Amendment 5 ruling 13, operator word "fix r13".

-13. `handle.move` is a split into an existing Person. It ships with #109 and follows rulings 9 to 12, with the target in place of a new Person.
+13. `handle.move` is a split into an existing Person. It ships with #109. Its forward path follows rulings 10 to 12, with the target T in place of a new Person, and records a Separation between P and T.
+    Ruling 9 does not govern its undo. Undo moves the moved set back to P by source link and never merges T into P.

The first text read as an undo that folds T into P, which merges two different people (ADR 0002). The #109 gate read the ruling as forward-path only (spec Agent Adjustments R1). The code merged in #139 undoes a move by source link. This PR makes the ADR say what the code does.

Evidence

  • test_handle_move_into_existing_person_and_undo in tests/test_split.py (merged in 5ed5f94) checks that undo returns the links to P and that T survives.

Merge Danger

Door: two-way

Text only. No code, schema or test change.

Blast Radius: none

A spec whose Source Hashes include docs/adr/0005-reversible-writes.md goes stale on merge. Merge only when no Half-A or Half-B on this repo is live.

🤖 Generated with Claude Code

## Summary ADR 0005 Amendment 5 ruling 13, operator word "fix r13". ```diff -13. `handle.move` is a split into an existing Person. It ships with #109 and follows rulings 9 to 12, with the target in place of a new Person. +13. `handle.move` is a split into an existing Person. It ships with #109. Its forward path follows rulings 10 to 12, with the target T in place of a new Person, and records a Separation between P and T. + Ruling 9 does not govern its undo. Undo moves the moved set back to P by source link and never merges T into P. ``` The first text read as an undo that folds T into P, which merges two different people (ADR 0002). The #109 gate read the ruling as forward-path only (spec Agent Adjustments R1). The code merged in #139 undoes a move by source link. This PR makes the ADR say what the code does. ## Evidence - `test_handle_move_into_existing_person_and_undo` in `tests/test_split.py` (merged in `5ed5f94`) checks that undo returns the links to P and that T survives. ## Merge Danger **Door:** two-way Text only. No code, schema or test change. **Blast Radius:** none A spec whose Source Hashes include `docs/adr/0005-reversible-writes.md` goes stale on merge. Merge only when no Half-A or Half-B on this repo is live. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Say that a handle move undo never merges the target into the source
All checks were successful
ci/woodpecker/pr/validation Pipeline was successful
a658b74a9d
Am.5 ruling 13 said handle.move follows rulings 9 to 12. Ruling 9 makes
split undo fold the carved Person back, which for a move would merge two
different people. The #109 gate read it as forward-path only, and the
shipped code undoes a move by source link. The text now says so.

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