Changes touching this path
- the site server records every request as one wide event and prints it as one JSON line (ADR 0101): lib/wide-event.ts holds the rules the browser will share, the declared field catalogue and its reductions, the error capture that scrubs a message and drops it on /private and /api/private, and the tail sampler that keeps every error, every request of 2 s or more and every signed-in surface and 5 percent of the rest at a recorded sample_rate; server/wide-event.ts is the per-request recorder, which also prints exact per-minute counts. start.ts runs every request under it first, timing.ts spans land on it, withPrivateSession and withSession record their caught error on it where they printed it raw with console.error, and router.tsx reports the loader and render errors the router answers 500 without throwing, seen live as a 500 event with a null error before that seam. no identity yet. ADR 0101 section 6, the glossary and ylmnvrtp now name the browser as the forge caller, since the site server reads the forge database directly. pinned in test/wide-event.test.ts, 21 tests; red under named mutations, each restored, failed and passed of 20: the private message kept (1 and 19), a raw path kept (2 and 18), an undeclared key kept (1 and 19), an error sampled like the rest (5 and 15), the quote scrub gone (2 and 18), only kept events counted (1 and 19), a throw not recorded (1 and 19), our own traffic not marked internal (1 and 19), spans not forwarded (1 and 19), the owner seam printing raw (1 and 19), the middleware off (1 and 19), and of 21: the router seam off (1 and 20). site gate green at 1049 passed. owes a site deploy (oqqwzwkp)
bb784ff1 ·dbf3dbe6… - the browser reports its errors (ADR 0101): lib/error-capture.ts, eager on every page at about 944 bytes, sends an uncaught error, an unhandled rejection or a router-caught error with the page last 20 steps and a page load id held only in memory to POST /api/errors, which reduces it by the server rules and prints the wide-event line with no database credential; privateFetch carries the page load id and the private seam records it with the account reference, neither for a caller who objected and never failing the request; a browser error whose last step was a forge 5xx carrying x-loot-event is upstream and opens no issue, one with no forge event is ForgeUnreachable (ylmnvrtp); migration 0007 files page_load, account_ref and crumbs; /privacy gains the browser paragraph the operator approved, and its sentence that no identifier is kept now names the two. pinned in errors-client.test.ts, 15 tests, and errors.pg.test.ts, 8 over Postgres 18; red under 11 named mutations, each restored, each 1 failed of 15. site suite 1082 passed (pvypzlpl)
b908ba9f ·diffdbf3dbe6… - the errors view reads a range with totals and a chart over four tabs, issues, events, routes and releases, each filtered and searched, and opens every event whole, its fields, spans, error chain, breadcrumbs and journey, and no page scrolls sideways at any width; route templates fold every public repository path to one per verb and key the per-minute counts and the issue routes, which migration 0008 folds and indexes, so a tab answers in 30 to 350 ms at the live shape where it took 14 to 26 s. pinned: the search fills nothing in, a template per verb, the event filter binds every value; red under named mutations, each restored. site gate 1093 passed, pg suites 18 passed over Postgres 18 (usyyyzkx)
Perf-Baseline: reset object_gets and graph_sorts moved with 587f93b, whose negotiation workload now builds the forge push a land makes (opywoozo); this change touches no Rust
71c23069 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - the forge bar shows the signed-in account's Clerk avatar menu in place of the [ key ] chip (account and plan, this device's unlock and lock, sign out), reading who is signed in from the Clerk a page already loaded so a stranger's visit still fetches none, and fetched on the forge's pages alone (323 B per budgeted surface); the forge's / is its home, its /private sent there by a 307 so the rollback holds, with grants and the workbench left at /private; EXP marks the brochure's door and the forge's Repos and Grants by a data-exp attribute and never the account; ADR 0103 amended, CONTEXT.md Forge app, Private shell and Alpha build amended; site gate green at 1325 passed, the split and rollback builds' suites green, red under ten named mutations, each restored (vmusyoxz)
789f7003 ·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… - 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) (conflict resolution: site/src/server/wide-event.ts)
67ade862 ·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…
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.