connor / loot

connor/loot

Changes touching this path

  • forge.loot.build serves the forge app beside the protocol and loot.build keeps the brochure, ADR 0103 decisions 1 and 2: site/tools/surface.mjs reads which routes are the forge app off each route import graph at build time, a route that reaches Clerk, the vault or a forge database other than the anonymous read tier, and the /k/ repo pages; one build serves both hosts, and start.ts sends a forge app route asked on any other host to the forge with a 308, a brochure page asked on the forge to loot.build with a 308 and the forge root to /private with a 307, while the root route beforeLoad makes a navigation that crosses a full page load and SurfaceLink writes a crossing link with the other origin. the loot.build header loses the Private tab and the key chip for one Open the forge door; the sign-in and the unlock card say a reader signs in and unlocks once more on the new host, and brochure pages delete the device database a browser kept on loot.build. the forge sets X-Content-Type-Options nosniff on every answer, and no_site_route_sits_at_a_path_the_forge_serves reads the site route tree against server::protocol_path_patterns, every Route at both mounts. ADRs 0096, 0099 and 0103 and CONTEXT.md say so. red under named mutations, each restored: a forge route served on any host, a brochure page sent to the forge and the forge root sent to the brochure (each 2 failed and 12 passed), dynamic imports unread (7 failed and 7 passed), the account capability gone (3 failed and 11 passed), the repo pages gone (1 failed and 13 passed); on the built server with a split, the host middleware dropped (3 failed and 2 passed); in loot-forge, nosniff off and a site route at a repo endpoint path (each 1 failed and 1 passed). site gate green at 1174 passed with no split and 1178 with one; cargo test green, 5048 passed over 146 test result lines with 15 ignored. owes a forge release and deploy, the scripts repo edge from setup-forge.js, then a site deploy (lrvstoyz) e1ddbc90 · dbf3dbe6…
  • 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…diff
  • docs.loot.build serves the docs at its root, ADR 0104: the router rewrite reads a docs host path as its /docs route and writes a docs link at the docs host and every other at the brochure (lib/surface.ts docsRewrite and docsRoutePath), so the route tree, the prerender list, the budget and the reserved handles keep /docs. a path whose first segment is a handler route passes through, read off the route tree (tools/surface.mjs handlerSegments), and a test refuses a docs page whose first segment would collide. docs is a third surface: a docs page asked of loot.build or the forge answers 308 to the docs host without /docs, a /docs path on the docs host 308s to the address without it, a brochure page there goes home, and a forge server function is refused there. plain anchors go through docsLink, external entries redirect to their page, and the agent texts name the configured hosts, which fixes the live http links. a build naming a docs host skips prerendering /docs. the ADR 0103 amendment and CONTEXT.md Docs host and Agent texts record it; scripts 9bfc445 adds the DNS record, the docs vhost with a host-keyed cache and the probes. red under named mutations, each restored: handler segments not passed through, no canonical redirect, docs served on any host (2 failed of 55), the rewrite keyed on origin, surfaceOf ignoring the docs host, docsLink leaving paths, the texts reading the request origin, handler segments counting pages (1 failed each). surface.build.test.ts green on a three-host build at 7 passed; site gate green, ceilings raised 1 KiB on the record for about 420 B a surface; published_surfaces green. owes DNS and two site deploys (wvsxoxpy) 2269ba33 · dbf3dbe6…diff
  • each host wears its own bar (mtumkmvk): the Console bar keeps the brochure tabs on loot.build, the docs wear one with the word docs, home /docs and tabs loot.build and Install, since their own navigation is the left rail, and the forge one with the word forge, home /private and tabs Repos, Grants and Docs, Private renamed as the operator chose, with the [ key ] chip as before. useBar reads the forge surface and the docs routes, so /docs wears the docs bar on any host. the word hides below 56rem with the logo word, so the measured collapsed row is unchanged. surface.build.test.ts pins each bar on a three-host build, red when every page wears the brochure bar (3 failed of 11, restored), and the forge page assertion moves from the brochure install tab it no longer carries to its docs tab. header pins green at 24, site gate green at 1299 passed. wwpnyvkq gains the two 30 s stow sightings from wvsxoxpy lands efb77818 · dbf3dbe6…diff
  • a docs page read on docs.loot.build is logged as its /docs path, so the log-based metrics count it in its docs section (qkqnquzw): the docs host names the page route path in X-Loot-Log-Path (lib/surface.ts docsLogPath, set by start.ts host binding) where it is a docs page shape, and a path the host answers as asked, a handler one like /llms.txt, gets none. the edge half is scripts a0ddf3c, whose map reads the header as sent, which a cache HIT replays, and accepts the docs shape beside the handle one, with a docs probe on the docs vhost. a separate log for the docs vhost was dropped: the shipper bundle cannot read the route tree the pass-through set is read off. ADR 0104 and CONTEXT.md Docs host record it. red under named mutations, each restored: no shape check, no trailing slash dropped, a handler path handed off (1 failed of 28 each), the hand-off on every host (1 failed of 12 on a three-host build); scripts red with the map reading the upstream header, no docs shape in the map or its twin, no docs probe passed through (1 failed of 94 each). surface tests green at 38 passed on a three-host build, site gate green at 1300 passed with no client byte added, scripts green at 473 passed. owes a site deploy d52f1654 · dbf3dbe6…diff
  • the docs host edge holds a docs page: one rendered there sends public, max-age=0, s-maxage=86400 and Vary: Accept, so the edge keeps it a day and a deploy empties it, and a browser asks again every read so it never keeps a page past its chunks; not a /private path, whose nonce is per response. the Markdown a page address answers to a client taking no HTML is private and varies on Accept, which fixes a live defect: the edge keyed on the address served it to the next browser as the page. ADR 0104 and CONTEXT.md Docs host amended. red under named mutations, each restored: no Cache-Control, no /private exclusion, the negotiated answer as the twin, no Vary (1 failed of 11 each on a three-host build); site gate green at 1317 passed, 2 to 8 B per surface (snmzospn) ecba217d · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • every forge app page on forge.loot.build carries the strict script policy: the private documents keep their nonce and the rest, the cached /k/ pages among them, carry the sha256 hashes of their own inline scripts, computed from the body the header travels with, so a cached copy stays consistent; ADR 0096 amended; the split-build test is red with the policy removed (mvkmqszv) c31d72d5 · dbf3dbe6…diff
  • an old /private/<owner>/<repo>/… address is a 307 to its /k/ workbench whatever shape the owner has: movedFromPrivate took only a 64-hex owner, so /private/o/r/… reached the handle route, whose database read answered the brochure's host a 500; private is a routed segment and so never a handle, and the home and plan page stay; the split build's 308 test and the nonce test ask for the workbench's current address, the 500 red-proved on a three-host build (rukvqypu) dd758825 · dbf3dbe6…diff
  • review sweep 6 fixes over 2427e691, a9aa4877 and 7165a724: docs.loot.build answers a path no docs page has with 404 and the same docs not-found page, where it answered 200, since the docs splat route throws notFound from its loader and draws that page as its notFoundComponent, grouped into the page component chunk (a chunk of its own cost a docs page about 210 B gzip); on a local three-host build the brochure and forge hosts answer as before; a status a crawler or link checker reads is a contract other programs read, so surface.build.test.ts asks the built server for a docs miss on the host that serves the docs, red on the base build at 1 failed, 3 passed (three hosts) and 1 failed, 3 skipped (no split) with 200 for 404, and red again with the miss mutated to render a page; the plan card title is drawn as a card title, --fs-lede at 600 with a 1.4 line height and inherited tracking, where it took the --fs-h3 section-head size at 400, measured by injection under the real stylesheet with the section heads unchanged; the svmsyupt budget.json reason on 58 surfaces attributes the raise by per-commit builds (wlqzllly +186 to +193 B, pqvtlztz +26 to +70 B, svmsyupt -2 to +7 B, earlier lands +551 to +1,011 B) with no ceiling or measurement moved; frames and facts of the 53 docs routes on six targets are unchanged, every surface is under its ceiling, the site gate passes at 364 passed, 88 skipped, and the suite is green at 2268 passed, 0 failed, 6 ignored (rkpnnmmq) 7b99aaf0 · dbf3dbe6…diff
  • the two site tests that start the built server let it bind its own port: startBuilt in site/test/helpers.ts starts it on port 0 and reads the address it prints once it listens, where each test found a free port, released it and started the server on it, so a loopback server another test binary bound in between took the port, the built server exited, and that fixture answered /docs/quickstart with 404 inside a prove; reproduced with a 404 server on the picked port, which gives the sighting exactly; test files only, npm run gate 413 passed (wqspwslv) c30cebe5 · dbf3dbe6…diff

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.