Changes touching this path
- SDK/WASM cross-session grant delivery: pull queues, accepting applies (#508)
e0bb183e ·dbf3dbe6… - an unlock files its cached self-grants without verifying their signatures: Keyring.file reads each blob through the new wasm peekSealedGrant (the claimed grantor and header, over the new loot_codec::envelope::split_unverified, the split unwrap_envelope now reads through too) and indexes a blob claiming this identity unchecked, while a foreign offer is still verified on arrival since the pending list shows it before any apply. keyFor answers nothing from an unchecked entry until its signature holds: an entry key comes out only through applySealedGrant, whose gate 0 verifies the same bytes, a header lock (expired, not yet revealed) is answered only after an unwrapEnvelope verify, and an entry whose signature fails is dropped as if never filed; addressCount counts an unchecked entry until a lookup drops it. measured over the real restoreMailbox in node with 7,824 cached self-grants: 664-755 ms before and 46-69 ms after, with 7,824 signature verifies before and 0 after, and 130-176 ms after over 20,000; opening a self-grant pays one verify, inside the apply, where it paid two. pinned in 3 new private-grants tests (the verify counts, a stranger grant relabelled as a self-grant refused at open and dropped, no lock from a forged header) and a loot-wasm and a loot-codec test. red under named mutations, each restored: filing verifies each self-grant (18 passed and 2 failed), a header lock answered unchecked (19 and 1), checked trusting an unverified entry (18 and 2), applySealedGrant reading the envelope unverified (19 and 1 over the site file, where the relabelled grant opened, and 17 and 2 over the loot-wasm grant_tests). cargo test green, 4829 passed over 144 test result lines with 14 ignored, and the site gate green at 892 passed. CONTEXT.md says so. owes a site deploy (pnwlklpl)
29207fed ·diffdbf3dbe6… - the Tickets list read opens its keys in batches while the object cache is read, in slices that yield to the page, and its cache read no longer waits for the unlock or for a write: loot_codec::envelope::unwrap_envelopes checks many signatures in one batch verification and verifies each alone when the batch does not hold, loot-wasm openSealedGrants passes each grant the gates of openSealedGrant over it, and Keyring.keysFor opens the keys of the list through it 32 at a time and asks keyForSettled for the rest; the object cache read is read-only and the write after it marks what was used, the entries of the list are read as soon as the route answers, under the identity the vault record names, and the read yields every 8 ms (pace.ts). measured in headless chrome over the 2,161 list objects of this repo: key opening 283 to 295 ms before and 205 to 208 after, the longest task 362 to 379 ms before and 80 to 81 after, which is the fold call and stays one task, and the cache read 138 to 177 ms before and 38 to 48 after. the read leaves the measures tickets.unlock, tickets.engine, tickets.cache-read, tickets.keys and tickets.fold. refusal.tsx now states that loot-wasm exports no encrypt, held by a test to the generated surface, where it listed the exports. red under named mutations, each restored: keysFor without the batch (1 failed and 22 passed), without the lone asks after it (1 and 22), a pacer that never yields (1 and 1), a yield to the microtask queue (1 and 1), a cache read that marks uses (1 and 2), a mark for an entry gone (1 and 2), eviction before the marks (1 and 2), the read ahead ignored (1 and 15), read ahead under any identity (1 and 15), keys opened after the objects (1 and 15), no fold measure (1 and 15), an encrypt export (1 failed of 1), a batch that passes unchecked (0 passed and 1 failed in cargo), and openSealedGrants over unverified envelopes (0 and 1 in cargo, 1 and 22 in vitest over the rebuilt wasm). cargo test green, 4888 passed over 144 test result lines with 15 ignored, the site gate green at 958 passed, and the SDK suite 176 passed. CONTEXT.md says so. the wasm gains merlin for the batch, 16.6 KB gzip. owes a site deploy (nqrklwsv)
2bc00291 ·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… - loot-core, loot-codec, loot-wasm, loot-hygiene, loot-identity, loot-revset, loot-ticket and loot-count production comments cut by 72% to the docs/agents/writing.md standard: history, ticket numbers, rosters and ADR retellings removed, contracts, formats and safety reasoning kept; comment-only, Rust token streams identical, test modules untouched (yrkykmsn)
c1305a2b ·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… - an automated cryptography suite and the two holes it found (rsnkzxrl): crates/loot-crypto-suite holds 44 properties over known answers (RFC 8032, 7748, 7914, NIST GCM, BLAKE3) through loot's own entry points, tamper and truncation of every sealed, wrapped and signed artifact, fresh keys, nonces, salts and ephemerals, seed envelope and seal and mnemonic protection, a forge filing no private key and refusing forged authorship and misaddressed objects, and static guards against weak generators, fixed nonces and non-strict verification; it found that a key wrapped to a low-order or weak recipient key was public and a low-order ephemeral unsealed, now refused by a contributory check and a weak-key refusal in key_seal, and that a small-order signer key verified universal forgeries on envelopes, authorship and attestations, now refused by loot_codec::sig (verify_strict, weak keys refused) which every verifier goes through, with the forge refusing weak keys at agent and runner add; ADR 0014 amended; the attestation/change domain-separation finding filed as nwypnkpu with an ignored test; 7 red before, 43 green and 1 ignored after, workspace 2496 passed (rsnkzxrl)
e9bd8509 ·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.