Changes touching this path
- review sweep 2 fixes for the forge app move and loot login: /device reads no code from its URL and the forge hands the CLI the bare page, so a link someone sent cannot approve their terminal; a key kept unlocked on loot.build is no longer wiped silently, a brochure page that finds one says the key moved and what unlocking on forge.loot.build needs, and removes it once the reader confirms; a server function call is weighed by the import-graph property routes are, the build writing it into each id (tools/surface.mjs serverFnId), and loot.build refuses a call whose module reaches a session, a key or account rows, the /metrics cookie calls among them; with no split the site still marks the forge app on the forge host, since browsers keep the 308s, and ADR 0099 says what that rollback gives up; migration 0037 revokes every privilege of the forge service role on device_login and device_login_miss; in the scripts repo the Clerk parties derived under the split are the forge origin alone and a set list naming the brochure is refused, and a site deploy empties the forge app cache beside its own; CONTEXT.md, USAGE, the CLI docs page and login.rs say when no remote changes, and the hand-kept lists and rewrap leftovers sweep 2 named say what defines each set instead. red under named mutations, each restored: the pre-fill restored and the code put back in the path (each 1 failed and 1 passed); the silent wipe back in the root, the remove button live without the tick and the database opened unlisted (each 1 failed and 5 passed); every call served on the brochure (1 failed and 17 passed), every id marked brochure (2 failed and 16 passed), no-split marking off (1 failed and 17 passed); on the built server with a split, the host middleware passing every call and the build naming no ids (each 1 failed and 5 passed), and on a build with the forge origin alone the old early return (1 failed and 1 passed); in the scripts suite, the brochure back among the parties and the forge app cache left out of the purge (each 1 failed and 12 passed); on Postgres 18, 0037 without its device_login revoke (3 failed and 5066 passed, one the checksum pin). cargo test green, 5069 passed over 145 test result lines with 15 ignored; ci/local.sh green on Postgres 18 with the site live suites at 120 passed; site gate green at 1198 passed with no split, 1203 with one, and the full site suite at 1199 with the forge origin alone; scripts suite 428 passed. owes a forge release and deploy, which applies migration 0037, a commit of the scripts repo work, then a site deploy (zrvquxls)
74d7c457 ·dbf3dbe6… - a forge deploy no longer gives back what a migration revoked from the service role: in the scripts repo the SQL setup-forge.js runs inside the forge database before --migrate moves to lib/forge-provision.js and drops its GRANT on ALL TABLES and ALL SEQUENCES to forge, so the default privileges, which reach a table as it is created, and the GRANT and REVOKE statements of the migrations decide what the role holds, and what a migration narrows, as 0035, 0037 and 0038 do, survives the next deploy. ci/test-main.sh provisions the forge database again after --migrate, as each later deploy does, so the pg::tests grant pins read the narrowed tables as a re-deploy leaves them, and a scripts test holds the CI copy to the statements setup-forge.js runs and to running them again after the migration. on a throwaway Postgres 18 the deploy grant step run twice after migrations 0001 to 0038 left every forge grant identical to after the migration, where the old step run once gave forge SELECT, INSERT, UPDATE and DELETE on namespace_takedown, evicted_object, device_login, device_login_miss, plan_limit and account_plan. the 0035, 0037 and 0038 headers (comments only), takedown.rs, ADR 0103 and the comments on the rls and account_footprint scratch grants say so. red under named mutations, each restored: the repair grant back in the CI copy (3 failed and 2 passed of the service role pins, which pass 5 of 5 with the repair and no second provisioning); in the scripts suite, the repair back in forgeDatabaseSql (2 failed and 1 passed) and the second provisioning dropped from ci/test-main.sh (1 failed and 2 passed). cargo test green, 5075 passed over 146 test result lines with 15 ignored; ci/local.sh site live suites green on Postgres 18 at 128 passed; scripts suite 436 passed against this lane. owes a commit of the scripts repo work once this lands, before the next forge deploy (zxxrztou)
ea6cb8b9 ·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.