Changes touching this path
- agent keys on the forge, slice 1 of ADR 0111: migration 0068 adds agent (repo, pubkey, name, read and write scope, registrant, retirement, last seen) and agent_inbox under 0017's repo binding, the store files a row once, rescopes only a live one, retires for good and touches once a window on memory and Postgres, /agents/add, retire, list and scope are the owner's and /agents/self is an agent's own row through the agent door (a live row, a registrant the operator's list and require_pusher_in still admit, a namespace not taken down), loot_net::runners::refuse_scope refuses a control character, a leading slash, a backslash, an empty, dot or dot-dot name and a duplicate for runners and agents alike, an add refuses an account key, a live runner's key, a read scope naming nothing and a write scope past the read scope, and a runner add refuses a live agent's key; agents joins the served segments; 5 route tests, a conformance case on both stores, the RLS fixture covering both tables, ci/local.sh green on Postgres 18 (srskqklq)
2e816768 ·dbf3dbe6… - agent keys propose, slice 2 of ADR 0111: one preamble, authenticate_party, admits a key the operator's list admits or an agent key through the agent door on /stow, where an agent stows as a proposer held to the rooted, whole and plan bounds, and on /propose, posture, read, list, take offer, take and withdraw, with the contribution door and the account gate not asked of an agent; /agents/grants takes key-only grants the agent signed and files each to its own agent_inbox or to the owner's grant mailbox when sealed to the owner or a live key of the owner's account, refusing any other grantee, another key's grant or a withheld one and judging the batch whole; the key-only parse is shared by runner and agent deposits with the runner wording unchanged; ADR 0111 §4 amended as built; 4 route tests (a shut door admits the agent and refuses a stranger, retired and orphaned agents are refused at the stow, the grants route files and refuses as above, the owner and write doors refuse an agent key), an inbox conformance case on both stores, ci/local.sh green on Postgres 18 (lklyxpuo)
f72f6cb5 ·diffdbf3dbe6… - agent keys write check, slice 3 of ADR 0111: loot_codec::written::written_paths is ADR 0098's rule (a path is written when it differs from every parent's entry, a deletion included) and forge_fold's written_paths now calls it; an agent's /stow judges every change it carries against its parents (carried or held) and its /propose every change of the offered stack, refusing a write outside the agent's write scope with a 403 naming the change and the path, so a deletion, a name-prefix neighbour, any write of a read-only agent and a stack holding another key's out-of-scope change are refused; ADR 0111 §5 amended as built; 2 route tests and 2 unit cases, red under mutation with the stack check off (1 failed of 1) and with deletions uncounted (1 of 1), each restored (wtmwnquz)
8d818d9f ·diffdbf3dbe6… - agent keys read filter, slice 4 of ADR 0111: /ref admits an agent through its door past the metadata axis, and /agents/fetch serves one version the repo holds, a proposal's included, with its node whole and the ciphertext and key-only grants of each object the agent's read scope covers, not burned and openable by its inbox deposit or a live published key, and lists the in-scope objects left out for want of a key; serve::version_scoped is now the runner fetch's too, its answer unchanged; the scope is the admitted row's, so a narrowing takes effect on the next read; ADR 0111 §5 amended as built; 2 route tests, red with the scope ignored (1 failed of 1), restored (tlmsqywy)
adbcce97 ·diffdbf3dbe6… - agent keys deposits and debt, slice 5 of ADR 0111: the owner's /agents/deposit files key-only grants sealed to live agents of the repo and /agents/debt answers each live agent's in-scope Internal and Restricted objects at the declared heads, not burned, embargoed or published, that it holds no key for (MetadataStore::agent_keyed on both stores); /info says agent_keys, and only there does a push list agents, deposit each one's owed held keys through the shared scoped planner the runner deposit now uses, and print a line for any agent still owed; measured over the last 493 landed changes a deposit is 269 bytes and a whole-tree agent costs a push 1.6 KB at the median and 21 KB at p99 (20 agents 32 KB and 425 KB), and agent_inbox grows about 2 MB per agent per 11 days, filed as pzxkowrx; loot agent deposit moves to qwrzyrqm; ADR 0111 §7 amended as built; a route test, a CLI push end to end, a planning unit test and agent_keyed in the inbox conformance case, ci/local.sh green on Postgres 18 (topvoxrp)
a02762ba ·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… - forge: hosted agents, ADR 0119 §1 and §4 — agent.hosted set only by the owner-signed registration's trailing hosted byte, /info hosted_agents, loot agent list shows hosted, plan_limit.hosted_agents (free 0, pro 5, migration 0072) counted per account under one lock at /agents/add with the typed 402, and the newest hosted agents past the allowance paused at the agent door, none retired (opnxlqzn)
641f6682 ·diffdbf3dbe6… - forge: a per-agent rate limit at the agent door, ADR 0119 §4 — a token bucket per signing key, never the address, 120 at once refilled at 20 a second for every agent key on every plan, chosen from measured SDK and MCP agent sessions and recorded in the ADR; past it a typed 429 with Retry-After and the wait in its sentence; nginx's per-address limit filed as twsvnxsy, which the hosted launch now waits on (nptsyzum)
bb93066f ·diffdbf3dbe6… - the hosted-agent consent page and the plan row, ADR 0119 §3 and §4: /private/connect reads the pending connection from the agent host by an opaque id (never from its query), refuses a repo not under the account or a forge whose /info lacks hosted_agents, lets the owner name the agent and pick its scopes (read . and write nothing by default, .lootattributes added for a writer as loot agent add does), names loot, Cloudflare and the model provider, signs the hosted registration with the new Identity.agentAdd and posts it to /agents/add, shows a 402 in the forge words with Pro offered, and returns only to the agent host own /consent/<id>/done; the private CSP adds the agent host to connect-src only when VITE_LOOT_AGENT_HOST_ORIGIN is set (ADR 0096 §2); loot_codec::agent_wire owns the /agents/add payload, its hosted byte and the scope and name refusals the CLI, forge and wasm share; the plan page gains Hosted agents, N per account, read through to_jsonb so it stays off before 0072; one vector file pins the envelope bytes, the 200 and the 402 for the forge test and the site test; ADR 0119 §3 gains the handoff contract as built; shot signed in on desktop and 320 px over eleven states with every write mocked, one h1, no small targets and no overflow (przzsrpt)
4b4c662d ·diffdbf3dbe6… - agent host OAuth, ADR 0119 §3: workers-oauth-provider 1.2.3 pinned, built per request for the one connector URL a request names (its resource, or its grant's), with CIMD and DCR, PKCE S256, iss returned, the 401 naming the connector's path-suffixed metadata, and claude.ai's, ChatGPT's and loopback callbacks taken; /authorize mints the key and keeps the connection in its own Durable Object under an opaque single-use id, the key line sealed under a key the starting browser holds in a __Host- cookie; GET /consent/<id> answers the page with CORS for the forge app and 404 when unknown, answered or expired; /consent/<id>/done completes only once /agents/self, signed with the minted seed, shows the agent live and hosted on that repo, with the registering key as the grant's user and the key line in its props; grants last 30 days unused and slide on refresh; one grant is one agent: the forge gains /agents/retire-self, an agent retiring itself through its row alone, signed once at /done and kept in the agent's object, and sent when a new connection supersedes the grant, the client revokes it, the forge answers the agent's row 403 after a refused call, or the object's alarm finds the grant lapsed or never completed; every forge request carries Loot-Agent-Host; ADR 0119 §3 as built, ADR 0111 and CONTEXT.md amended; oauth.test.ts gated (13), oauth.behavior.test.ts under workerd against loot-forge --dev with Claude Code's real CIMD document (9), e2e 9/9, the forge's agent tests 18; lvvwqxsr stays open for the live claude.ai and ChatGPT run, its comment naming what that needs (lvvwqxsr)
031612f4 ·diffdbf3dbe6… - forge: loot-forge --dev --agent-rate off|<burst>/<per-second> lifts or sets the agent door's per-key bucket (loot_forge::rate) for a suite that drives one key harder than any agent; refused without --dev before any mode, store or socket, pinned through the built binary and through modes; with no knob --dev keeps 120/20, so the e2e suite and nptsyzum's tests still meet the real 429; spawnDevForge takes extra args, and the agent host's heap (3/3, 12,000 calls) and cost (6/6) suites lift it and say why; ADR 0119 §4 names the knob (nrrrpkly)
e4eb4ef8 ·diffdbf3dbe6… - every forge route names its door in one exhaustive table: server::mounted pairs each Route with its Door and a handler whose caller type is that door, the router folds over Route::ALL, and the door runs before the handler decodes, so the owner routes that decoded before require_pusher now refuse a non-pusher 403 rather than 400, and /propose/door, /pipeline/approvers and /pipeline/grant-logs now refuse a taken-down owner as the other owner routes do; the hand list of agent-refusing routes, which accepted a 400, gives way to one table test over Route::ALL on an open and a listed forge, asking an agent and a runner key over a junk payload for exactly 403 wherever the door admits neither; with the owner door skipping require_pusher it went red (0 passed, 1 failed, /wants answered the agent 400) and so it did with the retiring door skipping the row (0 passed, 1 failed); cargo test 2593 passed and ci/local.sh green (nxwworvz)
644b30cc ·diffdbf3dbe6… - the forge door table test adds a listed key that may not push, which gets exactly 403 from every Owner route and the handler answer from every Listed route, and its control for a key admitted by its own standing asserts the handler answer, 400 for the junk payload or 200 where the handler reads no payload, in place of any non-403, and its comment says the open forge skips the Party, Listed, Reader and Mailbox routes for agent and runner keys, writes included, since setup-forge.js refuses to deploy an open forge; with agents/list filed as Listed over its Owner handler the test went red (0 passed, 1 failed), and so it did with agents/self answering 404 (0 passed, 1 failed); an sdk agent pendingDiff answers a too-large note again for a whole object past the runtime cap, where it threw WholeObjectTooLargeError out of the whole call, pinned in the sdk agent suite, red before the fix (11 passed, 1 failed); resume treats a 404 from the object route as an object it cannot open, so it throws the SetupError naming resume false rather than NotFoundError, unpinned since no sdk writer seals a chunked object; the offer_cost walks pin account_of at the single read Reader::new makes, red with a per-object account_of in readable_rows (3 passed, 2 failed); calls::Calls drops its fails and racing hooks, which had no setter; cargo test 2594 passed, the sdk suite 125 passed and ci/local.sh green against Postgres 18 (nnynvkrq)
df539b1f ·diffdbf3dbe6… - a forge door is rows its operator signs and invites a key redeems (ADR 0061 §3 amended, migration 0074): the deploy list LOOT_FORGE_ALLOWED_PUBKEYS names the operator own keys, which alone admit and revoke a key and mint an invite over /door/admit, /door/revoke, /door/list, /door/invite and /door/invite/revoke, and any key presents an invite secret at /door/redeem, so admitting a key takes no environment edit and no deploy; a live key of an account is admitted with any key of that account, a revoked key returns only by an admission signed after its revocation, and each act carries its signing millisecond, so a captured request sent again changes nothing; loot door admit, revoke, list, invite and redeem drive it with porcelain and JSON, /info says door_rows, the door 403 remedy names loot door admit and loot door redeem, and a door act refusal carries no other remedy; with the account join dropped the door tests went red (2 passed, 1 failed), with a row-admitted key allowed to write rows (0 passed, 3 failed), with a stale admission taken (13 passed, 1 failed) and with the door skipped (0 passed, 3 failed); cargo test 2609 passed and ci/local.sh green against Postgres 18 on the lane before it met landed main (uyxsxlqo)
eba60608 ·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.