Changes touching this path
- the forge operator can take a namespace down, the technical half of ADR 0061 section 4 that ADR 0103 decision 9 builds: loot-forge --take-down <owner> [--apply], run with the superuser url and refused as the service role by Pg::with_operator, in one transaction records the takedown in migration 0034 namespace_takedown, removes the namespace repos with every row their cascades take, evicts into evicted_object each address its trees named that no other repo tree names, deletes their published_key rows, and removes the versions and manifests no other repo holds; without --apply the same transaction rolls back. server::require_pusher refuses the namespace own keys by name after the write rule and before any byte is stored, and ensure_repo refuses again inside the write transaction. an evicted address reads as destroyed wherever a burned one does, so it is refused on any later push, served to nobody, and the burn delete job deletes its bytes and drops every grant naming it. ADR 0048 section 4 no longer holds for a forge, and ADRs 0048, 0061, 0103 and 0046 and CONTEXT.md say what it drops, what it cannot reach and the policy choices it made. red under named mutations, each restored: on memory, the request door gone or asked before the write rule, the store refusal gone, a shared address or version evicted, a listing applied, no key row deleted, manifests kept (each 1 failed and 16 passed), repos kept and an eviction owing no delete (each 3 failed and 14 passed), evicted not read as destroyed (4 failed and 13 passed); on Postgres 18, the store refusal gone, the takedown unread, a shared address or version evicted, the grant drop blind to evictions, the role check gone, a listing committed, no key row deleted (each 1 failed and 6 passed), an eviction owing no delete (3 failed and 4 passed), evicted not destroyed (4 failed and 3 passed). cargo test green, 5045 passed over 146 test result lines with 15 ignored; ci/local.sh green on Postgres 18 with the same counts and the site live suites 112 passed. owes a forge release and deploy, which applies migration 0034 (vutntmlm)
15463c8f ·dbf3dbe6… - migration 0035 leaves the forge service role SELECT on namespace_takedown and evicted_object and UPDATE of evicted_object.bytes_deleted_at alone, what the serving forge runs against them, so it can neither record nor lift a takedown nor undo an eviction; pg::tests reads those grants from the catalogue as sets and attempts every other write as forge, each refused as 42501. tests/account_footprint.rs reads account_footprint after a takedown, with a tree of the account naming the evicted address, over both stores. CONTEXT.md, ADRs 0103 and 0048, store.rs, takedown.rs, pg/meta.rs and the 0033, 0034 and forge-schema headers drop the stale sentences review sweep 1 found and replace each hand-kept list with what defines the set. red under named mutations, each restored: on Postgres 18, no revoke and a whole-table UPDATE grant (each 2 failed and 260 passed, one the checksum pin), the catalogue check off with no revoke (1 failed), the column grant dropped (11 failed and 251 passed), SELECT on namespace_takedown dropped (97 and 165) and on evicted_object dropped (49 and 213); the evicted_object exclusion gone from ACCOUNT_FOOTPRINT, and the memory footprint excluding burns alone (each 1 failed and 2 passed). cargo test green, 5046 passed over 145 test result lines with 15 ignored; ci/local.sh green on Postgres 18 with the same counts and the site live suites 112 passed. setup-forge.js grants forge every table on each deploy before --migrate, so until the scripts repo stops that the narrowing lasts from one deploy to the next. owes a forge release and deploy, which applies migration 0035 (pzykwkos)
183c41d5 ·diffdbf3dbe6…
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.