Changes touching this path
- the docs become fifty-six routed entries derived from one registry that the nav, the reading order, the search and the prerenderer all read, so those four can no longer drift apart the way ten hand-listed surfaces already had to be watched; the thirty-eight pages nobody has written yet are real bookmarkable URLs that say what they will cover and carry noindex until they earn a place in an index, rather than dead rows in a sidebar; and the byte gate learns to walk nested surfaces, which is the only reason the fifty-two new pages weigh anything at all instead of shipping past a gate that read one directory level (#1378)
424be083 ·dbf3dbe6… - 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 ·diffdbf3dbe6… - 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… - 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… - the docs rail and the Browse docs sheet scroll their own box to centre the current page row each time they are shown, so on the 53 docs routes the count opening with that row out of view goes to 0 on every target (desktop 3 to 0, narrow 31, phone 29 and fold-cover 20 to 0, fold-open and unfold 0 before and after, the same under reduced motion, the page never scrolled); the rail and sheet take 0.5rem scroll padding and the rail a 0.25rem bottom pad, so a focused row ring is whole at every scroll position (tabbing every row with every group open cut 6 to 9 rings per target by up to 4.6 px, and the Reference header 4.2 px on fold-open and desktop, now 0), and the comment says why; the /install platforms table uses StackTable with its rendered labels identical on every target; overflowX, small-target counts and headings are unchanged on the 318 route and target sweeps, and the only new rect overlaps are rail rows scrolled under the Console bar, which elementFromPoint shows take no hit; a UI change is off the must-test list, so no test was owed; docs surfaces grow 168 to 175 B and /install 474 B, each under its ceiling, the site gate passes at 363 passed, 88 skipped, and the suite is green at 2268 passed, 0 failed, 6 ignored (rqoyzuuw)
76783c5b ·diffdbf3dbe6… - the Browse docs sheet that reappears when a Fold folds back with it open now centres the current row, since the docs nav reveals the row whenever it is shown in a new form (rail or sheet, read off the wrap position) rather than only on going from hidden to shown, where it came back at the scroll the rail had clamped it to with the row out of view on 16 of 52 docs routes (20 with the rail hand-scrolled first), now 0; a resize that keeps the form and a group toggle still leave a hand scroll alone, and the review 4 and 5 probes read as before; the plan page section heads take the docs scale, --fs-h3 at weight 400 with --track-h3 (24 px 700 untracked before), and ui.md Type records the docs scale as drawn; overflowX, the small-target counts and every frame of the docs routes and /private/plan on six targets are unchanged, a UI change is off the must-test list so no test was owed, the docs-nav chunk grows 40 B gzipped with every surface under its ceiling, the site gate passes at 363 passed, 88 skipped, and the suite is green at 2268 passed, 0 failed, 6 ignored (pqvtlztz)
69a16903 ·diffdbf3dbe6… - the docs sheet close button, the search clear button and result rows and the on-page contents links answer across 44 px on every target with the #1378 look kept: close draws its 2rem button on a ::before inside a 44 px target pulled back by negative margins (32x32 to 44x44), clear spans the input height with its margins given back (18x18 to 44x44, the cross within a pixel of its place), results go 42 to 44 px tall and contents entries become 44 px rows (17 px before), each focus ring round what is drawn on a ::before or an inner span; the shot tool exempts an inline link in a li or dd sentence as it did in a p, since every list-item link it flagged sits inline in its sentence; over the 53 docs routes the old tool counts 194, 196, 193, 197, 197 and 196 small targets before and 29, 31, 28, 32, 32 and 31 after, the new tool 21, 21, 19, 21, 21 and 21 after (table-cell links left), the probe finds 0 of the named controls under 44 px and elementFromPoint gives no hit area to a neighbour, save the search panel the rail clips from 56rem up as before, overflowX 0 throughout; gate and cargo test green (uquzyqqn)
272d4d8b ·diffdbf3dbe6… - the docs search results panel escapes the rail scroll box from 56rem up and glossary terms alone in their cells answer across 44 px: in the rail the panel is fixed under the search box at the place usePanelUnderBox measures as the page or the rail scrolls, and the rail stacks above the content column while the panel is open, so searching grant from the rail went from 318 covered points per target over 53 docs routes on fold-open, unfold and desktop to 0, with the result focus rings whole and the rail no longer scrolling sideways (152 px to 0), the sheet unchanged at 0; a link that is the only element of a row first cell is an inline block padded to 44 px with negative margins giving the padding back and its focus ring on ::before round the words, so the glossary small targets went from 13 to 1 per target (the docs from 21 to 9, 19 to 7 on fold-cover, the rest links inline in a cell sentence), with 0 covered points, 0 overlaps, page heights unchanged and 1303 of 1319 frames byte-identical to before, the other 16 off by one level in the term column; search answers on a local build as on production (2 results for grant, the index being the bundled registry); the rail current-row reveal and fold-back probes stay at 0 hidden and 0 clipped, overflowX stays 0, a UI change is off the must-test list so no test was added, every surface stays under its ceiling, the site gate is green at 365 passed, 90 skipped and the suite is green at 2269 passed, 0 failed, 6 ignored (kpzuxrmw)
c7d99fea ·diffdbf3dbe6… - the docs search results panel stays below the Console bar after a page or rail scroll from 56rem up: its fixed top is the search box bottom or the bar foot, whichever is lower, and its height stops short of the viewport foot from there, so searching grant from the rail and sweeping the page and the rail through their range went from 45 covered result points to 0 on fold-open and unfold and from 318 to 0 on desktop on the grants page (606 to 0 at 1280 by 600, and 42 and 9 to 0 on desktop for the glossary and /docs), the sheet unchanged on narrow, phone and fold-cover; the rail current-row reveal, fold-back and uquzyqqn result-row probes give identical output with the rows at 44 px, 1321 of 1321 rest frames over 53 docs routes are byte-identical, overflowX stays 0 and small targets stay at 52; a UI change is off the must-test list so no test was added, every surface stays under its ceiling, the site gate passes at 365 passed, 92 skipped and the suite is green at 2439 passed, 0 failed, 6 ignored (oopqpnvq)
10c4ebb0 ·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.