connor / loot

connor/loot

Changes touching this path

  • 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 · dbf3dbe6…

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.