Changes touching this path
- plans through Clerk Billing are mirrored into the account tier, ADR 0103 decision 6: migration 0038 adds plan_limit, the one table that keeps what each plan allows, keyed on the Clerk plan slug and seeded free at 1 GB with no collaborator, runner or pipeline and pro at 50 GB with five collaborators and three runners, and account_plan, the plan in effect per Clerk user, written by the site billing module over forge_identity and left SELECT only to the forge role; the site writes a row only after reading the subscription again from the Clerk Backend API, when a Svix-verified webhook at POST /api/billing/webhook names a payer and on an hourly in-process pass over every account, deletes it when no plan is in effect, and refuses every delivery while CLERK_WEBHOOK_SIGNING_SECRET is unset; GET /api/billing/plan answers an account its plan and every plan limits. the pass is started by the planResync request middleware, after wideEvent, through outsideRequest in server/wide-event.ts, which runs it with the recorder store exited so its timers carry no request recorder. the account page UserButton opens the profile by navigation on the Clerk hosted Account Portal, because the profile Billing tab opens a checkout that loads Stripe.js and the account page carries no script policy on the origin that holds the seed, and a test holds every clerk-react import to a set checked to mount no payment surface. ADR 0103 takes a seven-day trial where it said fourteen, and ADRs 0103 and 0096 and CONTEXT.md say so. red under named mutations, each restored: a canceled item never in effect, no preference for a chosen plan, no secret guard and a pass that stops at a failure (each 1 failed and 15 passed), the signature unchecked (2 failed and 14 passed), the UserButton back to a modal with a PricingTable import (2 failed), ensurePlanResync called directly rather than through outsideRequest, and outsideRequest running its work under the store (each 1 failed and 23 passed), migration 0038 granting forge UPDATE on account_plan (2 failed and 75 passed, one the checksum pin); on Postgres 18, 0038 without its account_plan revoke (3 failed and 701 passed, one the checksum pin) and planOf ignoring the mirrored row (2 failed and 123 passed). cargo test green, 5071 passed over 146 test result lines with 15 ignored; ci/local.sh green on Postgres 18 with the site live suites at 125 passed; site gate green on the tree with the 406 fix at 1231 passed, every surface under its ceiling; scripts suite 428 passed. owes a forge release and deploy, which applies migration 0038, a commit of the scripts repo work, then a site deploy (lzntyyrz)
f6126a2c ·dbf3dbe6… - review sweep 3 fixes: a Clerk answer of 404 for a subscription no longer reads as no plan, so the plan sync throws and keeps the mirrored row where it deleted it and dropped a paying user to Free, and only a subscription Clerk answers in which nothing is in effect clears the row; the Clerk billing surface test now holds what ADR 0096 says, reading every Clerk package import, @clerk/clerk-js among them, and refusing any source that names a member of the Clerk instance that shows a component or names a payment, read off the pinned clerk-js, wherever the instance comes from, with the buildUserProfileUrl use on /account passing. ADR 0066 states what the forge deletes of the bucket have in common rather than a closed list of paths, ADRs 0046 and 0103 record the operator choice of 2026-10-02 for the one-account restore, ADR 0103 says which payers the scheduled pass does not re-read and loses a rewrap leftover, ADR 0096 corrects what the guard held, and plan.ts, the terms pin doc, ADR 0066, styles.css, nav-maturity, ADR 0046 section 8 and the budget drift reason point at what defines each set instead of re-listing it; in the scripts repo the BACKUP_WINDOW_PAGES and setup-site comments do the same. red under named mutations, each restored: a 404 read as no items (1 failed and 19 passed); an openUserProfile call on useClerk in account.tsx and an __internal_openCheckout call on the clerk-js instance (each 1 failed and 3 passed, where the old test passed both at 2 passed); @clerk/clerk-js dropped from the checked set (1 failed and 3 passed). cargo test green, 5075 passed over 145 test result lines with 15 ignored; site gate green at 1237 passed, every surface under its ceiling; ci/local.sh site live suites green on Postgres 18 at 128 passed; scripts suite 433 passed. owes a commit of the scripts repo comments once this lands, then a site deploy (vukqnzrx)
e0092c3f ·diffdbf3dbe6… - a test is kept only for a bug whose damage outlives its detection (ADR 0105, docs/agents/testing.md): disclosure, durable bytes, signed history, silent-pass refusals and machine contracts keep their tests, everything else is trusted or fixed fast, and assertions are on outcomes, never prose. the implementer brief asks that question before a test is written and owes a mutation proof only for a must-test pin. the suite is cut to it in one pass, Rust test functions 4848 to 1665, site vitest cases 1307 to 258 and SDK cases 160 to 64, with the living docs and comments that named deleted tests corrected and ADRs, tickets and released migrations left as history. cargo test green at 1945 passed with 6 ignored, the site gate green at 240 passed, the SDK at 75 passed with its one known macOS path failure from before the cut (ruwknvpw)
61f0184b ·diffdbf3dbe6… - site and sdk production comments cut by 71% to the docs/agents/writing.md standard: history, ticket numbers, rosters and ADR retellings removed, security reasoning, browser quirks and directives kept; comment-only, the TypeScript AST without comments identical, built bundles unchanged but for the build stamp (yrkykmsn)
d8c01375 ·diffdbf3dbe6… - docs/agents/writing.md is the standard for comments and docs: a comment says only the why the code cannot, rg and loot log answer who-calls, which-members and when-changed better than a cached comment, and history, ticket numbers, rosters and emphasis are deleted on sight. AGENTS.md links it. CONTEXT.md, AGENTS.md, docs/agents, the skills, specs, READMEs, research and evidence are cut by about 65% to it, every cited heading, § number and test-pinned string kept; files the yrkykmsn ticket (yrkykmsn)
8e3c7b83 ·diffdbf3dbe6… - the ADRs are cut by 71% to the docs/agents/writing.md shape: Context, Decision and Consequences in about a page each, amendments folded into the decision they amend, function tours, test counts, sweeps and ticket archaeology removed; every title, Status section, cited § and numbered decision kept. ADR 0103 folds in the vmusyoxz, snmzospn and xrqwmovz amendments and restores the operator rulings of 3e1a10ce that the loot-core comment land reverted (yrkykmsn)
0fc947d9 ·diffdbf3dbe6… - review sweep 7 fixes over f6259d06, 744cb15b and 064c8422 and the h1 gaps vxkkptos left: the Clerk sign-in and sign-up modals on /account and /device show their titles again (Sign in to Loot, Create your account), since only the in-place SignIn of the private gate hides its card title, through a new inPlaceSignIn appearance, so the in-page gate keeps one h1; clerk-js 5.127.1 gives the modal dialog no accessible name and appearance cannot add one, so the dialog stays unnamed with its title as its first heading; the version tree history link keeps the cell type and draws its word at caption size on a span that takes the focus ring, so with @property stripped in Chromium its geometry matches the registered one to 1/64 px (rows 83.61 px, 2.8 px off the lock) where it ran 1.9 px past its row with 0.41 px to the lock in rows of 78.8 px, and with the rule registered the tables and the focus ring are byte-identical to main on 6 targets; a .visually-hidden h1 defined once in styles.css names the forge home (Forge), the workbench (Workbench, its document titles now h2s drawn as before), /account while loading or failing (Account, where a Clerk load failure now shows the could-not-load note instead of a blank page) and the member repo gate notices (the repo name, through a new PrivateGate selfTitled prop), from 0 to 1 h1 in each gate state probed on local builds over a throwaway read tier; the 86 frames of 7 routes on 6 targets and the injected signed-in Activity and workbench layouts are byte- and box-identical, with overflowX and small targets unchanged; a UI change is off the must-test list, so no test was owed; npm run gate passes at 364 passed, 88 skipped with every surface under its ceiling, and the suite is green at 2268 passed, 0 failed, 6 ignored (sroqyoky)
6cacd747 ·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.