Changes touching this path
- the site reads forge trees through database functions of each read family and names no storage table: forge migration 0064 creates tree_at, entry_at, tree_under and bands for forge_read, forge_owner and forge_member, SECURITY INVOKER sql over that family views with EXECUTE for the family role alone, which Postgres inlines, so each statement plans byte for byte as the view query it replaced, and site/src/server/read/tree.ts calls them for the tree listing, the one-path read, the Tickets files and the History bands. measured as each tier on a throwaway Postgres 18 with 7.2M tree entries and a 7,240-path head, the answers equal before and after, server execution medians of 200 unchanged (listing 23.7 and 23.5 ms, one path 30 and 23 us, ticket files 0.62 and 0.57 ms, bands of a 50-version page 16.6 and 15.6 ms), planning up to about 0.1 ms more per statement for the inlining, and the tier reads through the site modules within noise over three interleaved rounds of 21. pinned by tree-functions.pg, which compares each tier view query with its function over a metadata-public and a metadata-private repo for the anonymous reader, the owner, a stranger and a member and refuses another family role the functions, and by forge-storage-boundary, which fails on tree_entry anywhere in site/src; red under mutations, each restored, 3 failed of 3: the owner one-path function without its path filter, the anonymous role granted the owner tree function, and tree_entry back in a site comment. cargo test green at 2268 passed over 69 test result lines with 6 ignored, the site live suites 92 passed through ci/local.sh, the site gate 365 passed. CONTEXT.md names the tree read functions. owes a forge deploy with --migrate, then a site deploy (nqlxwuzz)
56659d21 ·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.