Changes touching this path
- loot-forge --restore-account undoes no removal made since the backup and holds no live transaction through its run, which keeps the /terms promise (review sweep 5): each copied table in pg::restore::CLASSING says how a row of it leaves the live forge, and where a removal deletes the row, one missing under a repo or key the live forge still holds is withheld, so a collaborator removed, a stored seed withdrawn, a key name cleared, a delivery acknowledged or a head a push dropped stays gone, while one under a repo or key the live forge lost comes back with it, so a lost repo returns whole and a repo made again since takes nothing of the old one. a unit census holds each class to the delete statements the forge and the site ship. the restore stages the dump rows in temporary tables of its own session, compares them in one read-only snapshot, asks the bucket with no live transaction open, and with --apply writes in one short transaction that locks the held repos ref rows first and decides again over what the comparison left (yuvtxxrm). measured on Postgres 18 with 16,525 addresses and 169,000 tree entries at 2 ms a bucket ask, the dry run longest live transaction went from 45.1 s of 47.0 s to 0.3 s and a push wait from 40.7 s to none, and an apply held 2.2 s. the forge also tags every answer to a handle-shaped path with X-Loot-Log-Path whether or not the handle resolves. the ADR 0046 and 0103 amendments, CONTEXT.md Account restore, Handle and Account tier, the account_tier.rs header, the --restore-account usage, and the forge.ts and handle route prose say so. red under named mutations, each restored: the holder rule off (1 failed of 1), every repo read as held (1 failed of 1), the bucket asked inside the snapshot (1 failed of 1), repo_member classed as kept (1 failed and 4 passed), an unresolved handle answered untagged (1 failed and 32 passed). cargo test green, 5118 passed over 149 test result lines with 15 ignored; ci/local.sh green on Postgres 18 with the restore suite at 5 passed and the site live suites at 136 passed; site gate green at 1257 passed, every surface under its ceiling. the grace write ordering is left for its own ticket. owes a forge release and deploy and a site deploy (kkxnznxu)
e7abc9d6 ·dbf3dbe6…
Renames are not followed. loot's tree maps a path to an address, so a rename is a delete and an add. This list is the history of the name, not of the bytes.