Changes touching this path
- the docs answer agents for almost nothing: /llms.txt indexes the written pages, /llms-full.txt holds them all in one file, and /docs/<slug>.md is each page as Markdown with front matter, all derived from the registry and the JSX the pages render (lib/docs-markdown.ts), built once per server process and answered with an ETag and a long Cache-Control, with no search endpoint since llms-full.txt is the search. the twin is answered on the docs splat route GET handler, which hands the page to next(), and at the page address to a client that takes no HTML; it is noindex with the page canonical. every docs page head carries its summary as description and links the twin, and the breadcrumb row ends in a Markdown link. the map slsvyqml and its children file the docs.loot.build move and a header per host. red under named mutations, each restored: a component not walked (2 failed of 25), planned pages linked (2 failed), no 304, a Link left relative, a headerless table kept a table, no Source line, the twin indexable (1 failed each). site gate green at 1282 passed; the change costs about 72 B on a non-docs surface and 130 B on a docs one, measured against a baseline build (ttwovonl)
35cd63b7 ·dbf3dbe6… - 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 ·diffdbf3dbe6… - 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 ·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… - 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/lib/docs-agent.ts)
31421f8f ·diffdbf3dbe6… - adopt: catch up to landed main
4d3f5d01 ·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… - the comment cuts that later merges took back are re-applied: in 63 production files where test-diet (ADR 0105) and the loot-core land kept main's side, a three-way merge favouring main only inside a collision puts 23,556 trimmed comment lines back; comment-only, every file token-identical to main. Comments and prose now 73,651 lines from 200,053, and the ticket is resolved (yrkykmsn)
bcfe36e3 ·diffdbf3dbe6… - /install serves both platforms' commands in its document and gains three sections, From a script or an agent, Update and Uninstall, which are also its Markdown twin: llms.txt links docs.loot.build/install.md in place of the HTML page and llms-full.txt carries it (lzzxswnq, and the documented half of ylpqyyuq); both served installers print LOOT_BIN=<absolute path> once the binary is in place, by dist's own install-dir precedence, and the page names LOOT_CLI_NO_MODIFY_PATH, LOOT_CLI_INSTALL_DIR and LOOT_CLI_UNMANAGED_INSTALL (qtqpzwlz); under an execution policy that blocks script modules the served PowerShell installer runs itself in a child PowerShell with a process-scope Bypass instead of reaching dist's refusal, which names a persistent Set-ExecutionPolicy, so the forge paste line is unchanged and works under the Windows 11 default (ltnyqozs); the installer tests went red before the change (6 passed, 2 failed) and the rewritten v0.4.39 install.sh printed the line in a throwaway HOME on macOS; the PowerShell half is unrun on Windows; site gate green at 407 passed with /install's ceiling raised about 2.8 KB on the record; files uqyvqvqv for the status fix in scripts (lzzxswnq)
1a9e6df6 ·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.