Changes touching this path
- the forge's published surfaces render themselves anonymously, and each response's cache class rides out of the selector that produced it (#751)
#749 built the read tier and nothing called it. This is the six surfaces
#466's table named -- profile, repo home, tree, blob, history, diff -- as
SSR routes over that tier, plus robots and a per-owner sitemap.
Three properties are structural rather than configural, which was the point:
STRICTLY ANONYMOUS (#486 Q4). No handler in site/src/server/forge.ts reads
a request, a header, a cookie or a token; each takes only what the URL
already says. So 'never serve one identity's view to another' is a fact
about the module's signature rather than a cache rule someone must
remember. Adding an identity parameter is the one edit that would break it.
THE CACHE CLASS IS CARRIED, NEVER RE-DERIVED. resolveSelector already
answers how a resolution may be cached; routes read loaderData.cache and
map it in one place. That is what keeps the ADR 0032 trap shut: a
change_id LOOKS like an address but is the durable handle carried across
amends, so it resolves 'revalidate', and a pinned version_id is the only
cache-forever class. Asserted twice -- a unit test on the header text, and
a live render proving one URL family splits three ways.
HONEST RENDERING (#497). A locked path shows its visibility tag and no
bytes; grant_log is never queried, so a grantee set cannot leak from a
surface with no way to learn one. Burned reads as a tombstone, sealed as
'Not published', absent as absent -- three outcomes a blank page would
have made indistinguishable. The 404 is deliberately one 404: 'no such
repo' and 'metadata private' must not be told apart.
Also here: a published-only repo (metadata private, paths published) gets
its index and nothing else -- no tree, no history, no diff -- which is
0005's barrier showing through the UI unchanged. Per #748 the profile
lists metadata-public repos only, there is no global directory, and the
sitemap is therefore per-owner: readable at a known URL is not consent to
be advertised.
vite.config.ts grows the prerender deny-list its own comment called
unnecessary -- true until a route read a database.
Acceptance: 49 tests green (31 new pure ones; the 8 read-tier tests against
a throwaway 0001-0005 cluster), npm run build clean with exactly the five
authored surfaces prerendered, and a 34-assertion end-to-end smoke -- real
sealed bytes through R2 -> decrypt -> unzstd -> highlighted HTML, all three
cache classes, every honest-rendering outcome. The client bundle carries no
pg, no SQL and no credential.
Publication: README.md, LICENSE-MIT and LICENSE-APACHE reach @world here,
the set .lootattributes has declared since #750. Operator-authorised at the
landing sign; nothing else in the tree changes tier.
2aa21bbe ·dbf3dbe6… - the change ledger becomes the history surface, banded by what the server can read (#760)
8ad80be0 ·diffdbf3dbe6… - the private shell learns to diff: two addresses, two keys and two openEntry legs meet diffLines in the page, and an unreadable side is named rather than folded into the pair's verdict (#1057)
94014155 ·diffdbf3dbe6… - the site stops shipping 298 grammars to highlight two languages, and a three-line meta helper stops dragging fifteen more into the entry chunk of every page including the ones with no code at all (#1244)
b06ca1b5 ·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 band prints its lock tiers as their own phrase, since a published path keeps its lock and the tiers count every path; the repo rail clamps the head's subject to three lines, the member layout loses the gap above Files, and the forge home lists live keys first with empty retired keys folded into one line (kumlnuvv, lrlwuopr)
02c5f009 ·diffdbf3dbe6… - names instead of keys in the rest of the views: history (workbench panel, ledger, path, quick open; the public history routes), pipelines (proposer, author, approvers, a non-runner pass signer), the proposal thread's replies and log grant, the roster's members, and the repo header's owner, read with the page as RepoHeader.ownerHandle so no page that names no one carries the handle read; PersonName kept out of the eager forge.tsx after it cost every page ~500 B; runner keys, ids and page titles stay keys; pinned in pipelines-names and handles tests (ymswpzpv)
1ab07b85 ·diffdbf3dbe6… - restore what the 559b9cd6 catch-up merge dropped: names instead of keys in the views (30a95158), the valued-flag refusals (af3aa57a), the superseding-version ferry hunk (3882bab6) and the notification settings' migration 0056 registration, restore classing, tests, /account panel and route entries (6a1f5fad), with CONTEXT and ADR 0097; the 25 files that differ from the clean three-way merge of a9087957 and the desktop's 1a4faff6 are set to that merge's bytes, keeping the desktop's own changes (ymswpzpv)
a7715d1f ·diffdbf3dbe6… - the forge repo, tree, file, history and diff pages take the owner and repo name in their repo bar as the page h1, laid out as the bar was, where they had no h1: with production markup rewritten and the lane stylesheet swapped in, all 284 frames of 10 routes on six targets are byte-identical to before and the bar items keep their boxes; PrivateGate takes the page title and draws it over each gate state with no h1 of its own, so /private/plan carries Plan and usage while loading, when Clerk or the gate chunk fails and in the signed-in notices (0 h1 on main in those states, 1 now, from review sweep 7), and /grants moves its hero there, so it is server-rendered; the account sections, the unlock card title, the grants card titles and the repo 404 sign-in heading become h2s under their h1, drawn as the h3s they were (h1 to h3 before), and ui.md names the h2 card title; overflowX and the small-target count are unchanged on every target, 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 364 passed, 88 skipped, and the suite is green at 2268 passed, 0 failed, 6 ignored (vxkkptos)
2acf916c ·diffdbf3dbe6… - the forge path crumbs draw as the docs breadcrumbs do: each segment holds its / and name at a 0.5rem gap, so the gap is 8 px on both sides of the / where it was 5.6 px before it and 0 after it (loot /crates /loot-cli), links in --color-text-tertiary and the current name in --color-text-primary, the separators aria-hidden and passing taps through; each crumb link is a 44 px target whose padding meets its neighbour at the middle of the /, with rows a target apart, and the focus ring drawn round the name (loot 31x21 and crates 47x17 to 55x44 and 71x44, ci to 44x44), folding in the crumbs item of ntrrwlmu; measured on production forge tree, blob, path history and diff pages with the lane stylesheet and markup swapped in, small targets go from 193 to 157 on every target, overflowX is unchanged, wraps fall before a / and elementFromPoint finds no overlap; 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 and the suite is green at 2268 passed, 0 failed, 6 ignored (yyxzuzvr)
2efc2d85 ·diffdbf3dbe6… - the forge repo bar names the page in a visually-hidden h1 that keeps its own box, with the owner, slash and name back as plain items of the repo-id row, where the h1 had display contents, which iOS VoiceOver may not navigate to (WebKit bug 261978); the anonymous RepoSubheader and the member repo page both change, so a screen reader hears the owner and name twice, once as the heading and once as the links; the repo-title rule goes, and the synopsis-span comment stops listing its users; over six owner and name pairs at five widths the bar, band, name and owner boxes match main in Chromium 156 and WebKit 27.2 (0 of 30 mismatches in each), each page has one h1 with display block, and with production markup rewritten and the lane stylesheet swapped in all 267 frames of 8 forge routes on six targets are byte-identical to before, overflowX and the small-target count unchanged; 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, 91 skipped and the suite is green at 2381 passed, 0 failed, 6 ignored (lmlwplok)
53c0a447 ·diffdbf3dbe6… - the forge path crumbs and repo bar mark only the page you are on as current: their links match exactly, the leaf crumb carries aria-current, the crumbs nav is labelled Breadcrumb and the tabs nav Repo, so /tree/tip/crates/loot-cli announces 1 current page (loot-cli) where it announced 5 (connor, loot, Code, loot, crates) and a blob or path-history leaf goes from 0 to 1; the docs crumb gap moves from 0.4rem to 0.5rem, 8 px each side of the slash on both hosts where the docs read 6.4, a wrapped label keeping its slash on its first line; /device shows the /account sign-in could not load note when the Clerk API is blocked, where it drew a blank page, with 1 h1 in every state; the repo bar owner and repo links already measure 71x44 and 45x44 on production, the 41 px reading came from newer CSS shot over older markup, so they take no change; overflowX and small targets unchanged, npm run gate passes (365 passed) and cargo test is green (2448 passed, 0 failed) (vzrzkqrq, rqlonuuo)
c99484dc ·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.