Changes touching this path
- ADR 0111: an agent key is a runner-shaped, path-scoped registration and an agent only proposes; CONTEXT.md's Agent key; the push-deposit and scope-grammar calls resolved, the scoped agent keys map's build tickets filed with waits-on, and the runner registrant gap filed (zxmwssll)
35cfee98 ·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… - the agent inbox reap (ADR 0111 §5): loot-forge --reap-agent-deposits --repo <owner>/<repo> lists and with --apply drops each agent deposit no declared head or open proposal's tip holds and every deposit of a retired agent, a job being no agent's root; agent_deposits and drop_agent_deposits on both stores, the restore classing agent_inbox Deleted by this reap, ADR 0111 §7's note amended; a conformance case on both stores, ci/local.sh green on Postgres 18 (pzxkowrx)
e67a72a0 ·diffdbf3dbe6… - scoped agent keys map: CONTEXT.md's Agent key and ADR 0111's status say built, and the map names its landed build, the open crypto review and the owed forge and site deploys (zxmwssll)
58b2513f ·diffdbf3dbe6… - a writing agent reads its rules: loot agent add and scope put .lootattributes in the read scope of an agent with a write scope that cannot read it, and say so, since an agent seals what it writes by those rules (ADR 0112 §5) and the SDK refuses to build a proposal without them, as runner add puts .lootpipeline in a runner's; ADR 0111 §6 and the agent keys guide say so; a unit test and the CLI end-to-end test updated (prmmwuro)
67f9db1f ·diffdbf3dbe6… - the hosted MCP map: ADR 0119 makes a hosted agent an opt-in agent key the agent host at mcp.loot.build holds, on Cloudflare Workers with a Durable Object per agent, reached by OAuth 2.1 through workers-oauth-provider where connecting a connector registers one agent through an owner-signed consent page and its seed rides the grant, so loot-forge still holds no key and takes no bearer; hosted agents are a Pro cap (Free 0) whose excess pauses at the agent door; @lootbuild/mcp publishes from mcp/; amends ADRs 0041, 0091, 0103, 0111 and 0112; CONTEXT gains Hosted agent and Agent host; the research and four calls resolved and thirteen build tickets filed (wzmntptw)
dbb761f4 ·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… - an agent head read leaves out the chunked objects it can open: serve::version_scoped skips an openable chunked object and its grants for /agents/fetch and still names an unkeyed one in unkeyed, while a runner version keeps carrying chunked objects, so an agent session streams them through /agents/object; the sdk agent suite now reads a published and an internal chunked file through read() and /agents/object with every head read under the 200000 bytes of either, replacing the test that called the private routed, and seed-chunked takes an agent key to seed them; with the skip disabled the new forge test went red (object tests 3 passed, 1 failed) and so did the sdk agent suite (9 passed, 1 failed, a 401011 byte head read); cargo test 2593 passed and the sdk suite 123 passed (lxnvtwnp)
51909de4 ·diffdbf3dbe6… - the loot binary reads LOOT_AGENT_KEY for four verbs, so an agent handed a key and a plain install reads and proposes with no SDK: loot agent self prints the registration the forge holds, loot agent files every path of the head as open, no_key_yet or out_of_scope, loot agent cat one file as plaintext, a chunked one whole through the object route, and loot agent propose -m <subject> <path>... offers the named files, read from the current directory, as one change on the head, sealed by the head rules through the builder the SDK uses, with its keys granted to the agent and the owner through the agent door; they run outside any repo, take the line from the variable or --key-file, keep nothing on disk and print one JSON object under --json, with refusals coded no_agent_key, bad_agent_key, out_of_scope, no_key_yet, no_such_path and needs_publish_consent; loot-wasm becomes a dependency of the binary with no lock change; the agent-keys guide, the CLI page, ADR 0111 and CONTEXT.md say the binary is a client, and the byte budget is recorded for the guide; with the client read-scope check removed the refusal test went red on the code (1 passed, 1 failed) while the forge still refused; cargo test -p loot-cli 594 and 187 passed, the site gate 413 passed (qtwprtkt)
6a06b63d ·diffdbf3dbe6… - loot keygen mints a key where a runner or an agent lives (myzqxyzs): --home <file> <url> --name <n> --can <kinds> writes the runner home runner once/serve --home read, --key-file <file> <url> the LOOT_AGENT_KEY=<line> an agent's --key-file reads, outside any repo and leaving a repo's own key alone, to a new 0600 file, refusing an existing one, printing only the public key for runner add/agent add --pubkey and answering --json (contract, pubkey, file, for) with no seed; runner add and keygen share home_body and write_secret; the runners and agent-keys guides print the lines, pipeline_guide.rs runs keygen --home, runner add --pubkey and runner once keyed by that file alone, agent_keys_guide.rs runs keygen --key-file, agent add --pubkey and agent self; keygen_elsewhere.rs holds the forms, 0600, no overwrite and the refusals; ADR 0091 §3 amended, ADR 0111 notes it
e9ce4637 ·diffdbf3dbe6… - loot agent add and loot agent scope say how many shipped paths the read scope reaches and name the Restricted ones before the forge is asked anything, and refuse a read scope that reaches one (restricted_scope) unless --allow-restricted, a person's act under ADR 0062, as runner add does; --json adds reaches and restricted after the frozen keys; the pin goes red with the refusal disabled or the scope check removed; ADR 0111 §8, workflow.md and the agent-keys guide say so (nstqlpxs)
f202c51e ·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.