connor / loot

connor/loot

Changes touching this path

  • the browser opens what the forge cannot: own-private read ships an owner read tier, a once-per-device unlock, and a grant mailbox that never acks (#1043) c8dd4da1 · dbf3dbe6…
  • the private shell stops dying a minute after /account: it authenticated with Clerk 60-second __session cookie while no Clerk JS ran on /private to refresh it, so every private call 401d and a reload wiped the vault. per the operator grill (ADR 0096, reversing #930 dec. 4), Clerk JS now runs on the private routes, loaded on demand behind PrivateGate so public pages carry none, under the strict nonce CSP widened only for Clerk (its frontend API host read out of the publishable key, img.clerk.com, the Turnstile and protect hosts, and worker-src blob: for its session timers) with the request nonce passed to ClerkProvider; every private call goes through one privateFetch that sends a Bearer from getToken and retries once with a fresh token, and /api/private/* no longer accepts the cookie; the vault is wiped only when Clerk reports signed out or a different user, or on Lock, and an HTTP status never wipes it; signed-out /private renders SignIn in place and returns to the requested URL, and the private bar gains Sign out beside Lock. the vault, private shell and CSP comments and CONTEXT.md now say what is true: the wrap key can decrypt, so any script on this origin can recover the seed, and the wrap protects it at rest; the boundary is this origin script set, loot code plus Clerk. tests for the CSP, bearer lane, retry and wipe triggers and the built server, each red under a named mutation and restored; site gate 804 passed, every surface lighter; a CSP-enforcing signed-out load renders SignIn with no violation and /why loads no Clerk; workspace suite 4549 passed. the operator live check closes the ticket (#2396) 25ab3fa8 · dbf3dbe6…diff
  • the repo page is laid out by reader, ADR 0103 decision 4: /k/<owner>/<repo> stays one cached server-rendered page, README first with the files under it and an About rail with the clone command, who can read what, the live heads and a sign-in offer, and its 404 carries the same offer; an owner or member unlocked on the origin gets tabs, the head file table with sealed paths, the README opened in the page, the roster count and the workbench on the dot, drawn in the browser from a module and a Clerk a stranger visit never fetches; the home leads with the keys waiting to be accepted above the repos, which link to their one address; proposals, pipelines, settings and activity need reads the site does not have and are not shown. red under ten named mutations, each restored; site gate green at 1304 passed, about 215 B a surface (kkmzrqtm) 31dbf3e4 · 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
  • the site chrome from a UI review: the header writes backdrop-filter in the standard spelling alone, since Lightning CSS kept only the -webkit- twin of the pair and Chromium and Firefox drew no blur; install, why, evidence, trust, known-issues and license title themselves; body is a viewport-tall column so the footer ends a short page; the live strip sizes its address column to the address; /private says rotating a key never strands its repos in place of a ticket number. test/built-pages.test.ts pins every prerendered title and the built header rule, red under the restored -webkit- line and a removed install title (1 failed each); site gate green at 1319 passed (qxqyqrvo) e89ec1f3 · 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
  • 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/routes/private.index.tsx) 92e3adf6 · 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 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 · dbf3dbe6…diff
  • the grants and the workbench leave /private: /grants, and a repo's workbench at /k/<owner>/<repo>/workbench/…, under the /k/$owner layout; old /private/grants and /private/<owner>/<repo>/… answer a 307 there; the private CSP, signed-in surfaces and route-shape scrub learn the new paths, the scrub red without its workbench rules; the plan page stays, the forge's POST /plan holds /plan (sywswsxx) b43fa9b9 · dbf3dbe6…diff
  • the forge home connects a computer: a card makes the web door's paste line for sh or PowerShell from the unlocked browser (sign in, start a repo or clone one), loot login beside it, a first-run default and a wait for the first push, and a backup reminder until the 24 words are written down; shell syntax in a line refused, red with the name pattern loosened; budget recorded for ~48 B on brochure pages (vnqnpukk) 17dd695d · dbf3dbe6…diff
  • a retired key's repo opens at its /k/ address: the /k/$owner layout 301s a retired key's path to the live key only where the live key holds a readable repo of the name and the retired key does not, and the key's own page only while it lists none (ReadTier.ownerRedirect), since retiring never moves a repo; the workbench under /k/ (sywswsxx) had made the home's retired-key links strand, so the home now links every repo to its /k/ page; pinned against Postgres, mutation-checked with both keys holding the name; ADR 0100 and 0103 amended (oznokxzk) 35592e07 · dbf3dbe6…diff
  • the forge home is a ledger (ADR 0097 §10, the operator's pick of the Activity prototype): a side list of filters with counts — waiting on you, all, proposals, pipelines, elsewhere — beside a dense table by day of what happened, read from /activity, and Waiting on you drawn as ledger rows, read from /proposals/mine (the reader's move: review, or read the answer), the owner tier's approvals to run and silent runners, and the mailbox's offers, longest waiting first, then a quiet count of proposals waiting on their proposers; both forge reads signed in the browser with request bytes from loot-wasm's new encoders (encodeProposalsMine, encodeActivity, frozen against loot-net's), a per-device marker marks what is new and the forge stores nothing about reading; the rows are lib/private/ledger.ts's, pinned in test/ledger.test.ts (sentences by title or short id, jobs, runners, an unknown kind dropped, filters and counts, waiting order, calendar days, the marker); a proposal opens its repo until toyysqrq gives it a page (roywztwy) ce9e8045 · dbf3dbe6…diff
  • the forge repo pages answer across 44 px targets (ui.md, Touch): each file and directory name in a tree table fills its cell, padded so a one-line row is 44 px tall, with its focus ring drawn round the name on an inner span; the owner and repo links, the Code and History tabs, the ledger version links and a version tree history link grow by padding given back with negative margins, the ring on a ::before round the word, and the history link takes the cell padding (a registered --cell-pad) as its margin, so wrapped under its lock it stops at the cell edge while a 0.75rem row gap keeps it off the lock; on production data with the lane stylesheet swapped in and main tree markup, phone small targets go from 28 to 1 on the repo page, 42 to 1 on a version tree, 55 to 1 on the ledger and 62 to 58 on a path history, overflowX stays 0 on every target, and elementFromPoint finds no grown target over another control, its lock or the next row; a UI change is off the must-test list, so no test was owed; the stylesheet grows 209 B gzip 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 (nuzztqkv) d879bad3 · dbf3dbe6…diff
  • review sweep 7 fixes over f6259d06, 744cb15b and 064c8422 and the h1 gaps vxkkptos left: the Clerk sign-in and sign-up modals on /account and /device show their titles again (Sign in to Loot, Create your account), since only the in-place SignIn of the private gate hides its card title, through a new inPlaceSignIn appearance, so the in-page gate keeps one h1; clerk-js 5.127.1 gives the modal dialog no accessible name and appearance cannot add one, so the dialog stays unnamed with its title as its first heading; the version tree history link keeps the cell type and draws its word at caption size on a span that takes the focus ring, so with @property stripped in Chromium its geometry matches the registered one to 1/64 px (rows 83.61 px, 2.8 px off the lock) where it ran 1.9 px past its row with 0.41 px to the lock in rows of 78.8 px, and with the rule registered the tables and the focus ring are byte-identical to main on 6 targets; a .visually-hidden h1 defined once in styles.css names the forge home (Forge), the workbench (Workbench, its document titles now h2s drawn as before), /account while loading or failing (Account, where a Clerk load failure now shows the could-not-load note instead of a blank page) and the member repo gate notices (the repo name, through a new PrivateGate selfTitled prop), from 0 to 1 h1 in each gate state probed on local builds over a throwaway read tier; the 86 frames of 7 routes on 6 targets and the injected signed-in Activity and workbench layouts are byte- and box-identical, with overflowX and small targets unchanged; a UI change is off the must-test list, so no test was owed; npm run gate passes at 364 passed, 88 skipped with every surface under its ceiling, and the suite is green at 2268 passed, 0 failed, 6 ignored (sroqyoky) 6cacd747 · dbf3dbe6…diff
  • tables on signed-in pages stack on phones: the /private/plan Plans table and the console home owner card repo table take StackTable, so below 40rem a plan row is a block with Storage, Collaborators, Runners and Pipelines labelled under its name (Runners and Pipelines sat scrolled out of view on narrow) and a repo row puts its name, generation and metadata pill on their own lines (ingress-smoke split at its hyphen and the pill wrapped on phone), and a README table wider than two columns takes StackTable in markdown.tsx and stacks below 40rem of the README column through a container query in repo-page.css, since that column is narrower than the screen: on the scripts repo page the Need, Mechanism, Example table went from 7 to 14 of 21 cells past its box on every target, desktop included, to 0 on all six; ui.md Table says how a README table stacks; overflowX and the small-target count are no worse on the 18 signed-in shot pairs, a UI change is off the must-test list so no test was owed, eager bytes move by under 6 B per surface, the site gate passes at 392 passed, 93 skipped, and the suite is green at 2567 passed, 0 failed, 7 ignored (nwvoltvt) 8b23e4c1 · dbf3dbe6…diff
  • error states on signed-in pages give a next step: a failed read on the forge home (the repo list and the activity), the plan page (the plan and the storage), the account page (the account and the email choices) and the workbench repo header ends its sentence with Try again, a button that reads again in place; the grants page mailbox note ends with a Try again link that reloads, since the mailbox pull runs once per unlock; the workbench No such repo notes, in the shell and the history, path history and roster views, end with Go to the forge home; .next-step in styles.css draws the step as a prose link across a 44 px target, and a .wb-link in a workbench note takes the same target; ui.md Empty, loading and error states says which step and how it is drawn; the words saying what failed stay, and try again shortly leaves the account notes; drawn signed in with mocked failed reads on six targets, each state shows its step where none was, each new step measures 44 px tall, the workbench Try again in the history and roster notes grows from 22 to 44 px, and overflowX stays 0 with small targets no worse on the 78 pairs; with the mock answering a second read, Try again on the home re-reads the repos and the activity once each and draws them; a UI change is off the must-test list so no test was added; site gate green at 392 passed, 93 skipped, and the suite green at 2567 passed, 0 failed, 7 ignored (sqkqqwvv) 55e9a13f · 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.