connor / loot

connor/loot

Changes touching this path

  • the private shell unlocks without waiting for its mailbox, and the mailbox pull becomes incremental: measured live, forge /pull-grants took 2.78 s of a 4 s /private load, because the whole mailbox of 1,640 standing self-grants was downloaded before the shell counted as unlocked. /pull-grants now takes an optional 17-byte cursor in its signed payload (a tag byte, then the inbox seq high-water mark and the forge clock at the answer, issued by the server and opaque to the browser, which may only send the all-zero one) and answers rows with seq past it or a reveal_at past its time, due on the forge clock, followed by the next cursor after the counted frames; the Postgres read takes a share lock on grant_inbox so a deposit that took a lower seq but commits later cannot fall behind every future cursor, and an empty payload answers byte-identically to before, so the CLI, the SDK and the relay client are unchanged and either deploy order works. the site keeps the sealed grant blobs and the cursor in IndexedDB beside the vault (version 2, the seed record kept), builds the keyring from them, shows the shell unlocked and pulls only the delta in the background; a file whose key is missing waits for an in-flight pull, the bars say keys are updating, and Lock clears every store with the vault. the gate shows Unlocking while a silent unlock runs rather than flashing the unlock card. forge tests on memory and Postgres and site tests, each red under a named mutation and restored; bash ci/local.sh green against Postgres 18 (4559 passed), site gate 819 passed. owes a forge deploy and a site deploy (#2403) 11cc1e3a · dbf3dbe6…
  • a Lock now closes the workbench cache, where the Tickets view kept the flat runs of content keys it handed the core, with the folds they opened, after the keyring had zeroed its own: forgetInMemory, the path every end of an unlock takes, empties and closes each held SessionCache, a write to one after that keeps nothing so a read in flight puts nothing back, WorkbenchContext.cache is typed as one so a plain Map is not assignable to it, and the workbench takes a new one for the next unlock. a read of the Tickets list again after a write reuses keys only when the keyring that opened the list shown is the one of this session, and otherwise reads from nothing. each lock telling carries the time the lock began, and a tab whose reader unlocked by passphrase or words after it keeps that unlock, where the telling sent once the wipe settles relocked it; an unlock recalled from the vault is relocked by any telling, and every unlock by a bare lock message from an older build. the broadcast doc no longer says a told tab re-reads the vault, and a silent unlock that throws, as on an IndexedDB error, says why on the unlock card. pinned: no fixture key reachable from the cache once the unlock ends, a read in flight putting nothing back, a read again under another identity asking its own keyring for every key, and the lock rules. red under named mutations, each restored: forget not closing caches (2 failed and 1 passed), a closed cache still keeping writes (1 and 2), reuse under any keyring (1 and 2), a lock telling ignoring the unlock time (2 and 3), a silent unlock counted as asked (1 and 4), a message without a time read as time zero (1 and 4), a released cache still held (1 and 4), and the card reason left bare (1 and 4). cargo test green, 4919 passed over 144 test result lines with 15 ignored, and the site gate green at 1006 passed. CONTEXT.md and ADR 0096 say so. owes a site deploy (kqpqnmqx) 80ed4a15 · dbf3dbe6…diff
  • a failure inside an unlock now ends it through forgetInMemory, which publishes locked, so the unlock card is usable where it sat disabled on unlocking, and a silent unlock throws the failure for the card to say, as for an engine that does not load, with the vault record kept; a vault holding a key the account holds retired asks for a key as one it does not hold does, where it unlocked as that key, and forgetInMemory forgets the keyring an unlock built before publishing it. also fixes yvonuouo: a lock telling carries an id, weighed at the time the tab first heard it by performance.now, where a time from Date.now could step backward and leave an unlock standing; an unlock takes its generation when asked for and stops at its next step once an end moves it, removing a seed it stored meanwhile, and a relocked unlock removes the seed it stored when still the one stored; forgetInMemory closes every workbench cache made since the last end, one no workbench shows included, so such a cache stays in memory until the unlock ends. red under named mutations, each restored, failed and passed of 24: no end on a failure (5 and 19), the silent catch swallowing every failure (2 and 22), a retired key not filtered (1 and 23), a wrong identity thrown (2 and 22), the built keyring not forgotten (2 and 22), a cache not kept from construction (2 and 22), the wall clock (2 and 22), no check once the engine loads (2 and 22), a seed stored as the lock was heard kept (1 and 23), a relock keeping its seed (1 and 23), and no check once the keyring is restored (1 and 23). cargo test green, 4919 passed over 144 test result lines with 15 ignored, and the site gate green at 1016 passed. CONTEXT.md and ADR 0096 say so. owes a site deploy (knqurkks) 8e9e4b6f · 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
  • 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

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.