Realign code with the 2026-07-31 rulings
The trash sorts by modified descending — the arrival rank mint retires (Ranks.isOrderedForTrash one comparator, loader + merged order agree; the legacy deleted: migration stamps modified from the tombstone timestamp where parseable; delete undo steps validate existence-only; agent guide v8). Trash selection goes kind-blind — ranges, marquee, Select All, and the successor walk sweep both kinds; the guard moves to the exits (mixed-payload drop refusal, copy/cut validation). The copy stamping preflight widens back to comment depth (load-scoped posture — the board always loads, the gesture refuses whole). Fixes a latent no-op: trashed-lane drag restore never fired (DragSession.beginLanes hard-coded the board container). 2403 tests in 413 suites green. Claude-Session: https://claude.ai/code/session_01CqjXB7ASoWtbyoGod68k97
This commit is contained in:
@@ -186,7 +186,7 @@ struct InertGitTests {
|
||||
// the pair most likely to notice a `.git` at the root: the first walks into `<root>/.trash/`
|
||||
// and the second walks back out of it.
|
||||
try BoardWriter.deleteCardToTrash(
|
||||
at: board.url("\(board.laneA)/\(board.card1)"), inBoard: board.root, order: 1024
|
||||
at: board.url("\(board.laneA)/\(board.card1)"), inBoard: board.root
|
||||
)
|
||||
_ = try BoardWriter.moveItem(
|
||||
at: BoardWriter.trashFolder(inBoard: board.root).appendingPathComponent(board.card1),
|
||||
|
||||
Reference in New Issue
Block a user