connor / loot

connor/loot

Changes touching this path

  • 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…
  • 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
  • ADR 0104 no longer says the docs host caches its pages (snmzospn): measured live after the qkqnquzw deploy, a docs HTML page sends no Cache-Control and misses the edge cache on every read, at 190 to 200 ms to first byte against 150 ms for a cached twin, because a docs-host build does not prerender the docs. the amendment now says what was measured, that a Markdown twin cache HIT carries X-Loot-Log-Path, and snmzospn files the caching gap under map slsvyqml. qkqnquzw gets a comment correcting its resolution 4b1d42b6 · 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
  • 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
  • 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) (conflict resolution: docs/adr/0104-the-docs-are-served-at-docs-loot-build-from-the-same-routes.md) d3cd7163 · 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.