connor / loot

connor/loot

Changes touching this path

  • connectForge, the SDK's forge backend (ADR 0112 §5): reads follow the forge's one head over signed bounded fetches, refusing several heads by name, after applying the session's own standing self-grants from the mailbox, and a pending edit reads as itself; push builds in the WASM core's new change.rs against the head read before the edits, sealing each path by the head's .lootattributes (no visibility from the caller, publishing only on allowReveal, relative one-line paths), stows, deposits self-grants and ingests through the settling loop lifted from publishTicket into ingest.ts, a moved head refusing as ConflictError before anything is sent and a 401 or 403 at /ingest as AuthError naming propose(); propose stows the change with its objects, claims it with the .lootpipeline kinds through Identity.proposalClaim, deposits keys to itself and Internal ones to the owner, never calls /ingest, and revises its earlier proposal under the same change id; loot_codec::proposal_wire::encode_claim takes the claim encoder from loot-net, whose bytes are unchanged, and the visibility census names the one new name match; a behaviour suite against loot-forge --dev and the release CLI, red under each of three mutations; SDK 93 of 93; propose end to end owed to urrqturu (nywvmxll) 96baef90 · dbf3dbe6…
  • the SDK lists what a session cannot open as sealed (rxtplnzl): list() marks such an entry sealed with why no-key, typed as the open union SealedWhy with out-of-scope reserved for agent keys, and a read of it throws the new SealedError, an AuthError carrying path and why; on a forge an entry is sealed when no held key opens it and the forge ships it none, an unkeyed Internal address being fetched once and cached since only its object carries a published key; a behaviour test with a second owner who acks every grant in her mailbox, red when never sealing and when sealing published entries; SDK 94 of 94 (rxtplnzl) 2f7dc330 · dbf3dbe6…diff
  • an agent key works a forge repo from LOOT_AGENT_KEY alone (urrqturu): connectForge(line) parses it through the shared codec, reads its head through /agents/fetch once per head, applying the grants that ride and listing what its scope holds unkeyed as sealed no-key and everything else it was not sent as sealed out-of-scope, a read of either a SealedError with that why; push() refuses before anything is sent, naming propose(); propose stows and claims as the account path does and hands its keys to itself and Internal ones to the owner through /agents/grants; an agent whose scope does not cover .lootattributes refuses to build rather than seal blind, ADR 0112 §5 amended; loot_codec::agent_wire takes the agent fetch and grants wire from loot-net, whose bytes and tests are unchanged; a behaviour suite where the owner registers the agent with loot agent add, the agent proposes and revises, and the owner trusts its grants, takes the proposal and reads its file, each of three mutations red; SDK 98 of 98 (urrqturu) 5b02dadf · dbf3dbe6…diff
  • a stale base never folds: connectForge's push and propose rebuild on a head that moved without touching any path the session writes, and refuse as ConflictError naming each path it did touch, nothing sent, ConflictError gaining paths; a race lost at /ingest rebuilds through the same rule up to three times; behaviour tests pin the conflict's paths and the clean rebase, red under a silent fold and under refusing every move; SDK 100 of 100 (lqqtwulr) a24a765d · dbf3dbe6…diff
  • the agent tools and three adapters (ADR 0112 §6): @lootbuild/sdk/tools defines loot_list, loot_read, loot_search, loot_write, loot_remove, loot_status, loot_diff, loot_discard, loot_checkpoint, loot_rollback and loot_propose over a connected forge repo with zod schemas and no framework, answering a loot refusal as a result carrying why and paths, with an in-memory search and a bounded Myers line diff behind pendingDiff; /ai-sdk, /claude-agent-sdk on plain MCP so the Claude Agent SDK and its native binary are no dependency, and /mastra wrap it, each framework an optional peer; one scripted session passes through each adapter against loot-forge --dev, red without the refusal's why, and the tarball alone installs none of the frameworks; SDK 104 of 104 (wmrxlzrx) 0a459597 · dbf3dbe6…diff
  • an agent session reads its own registration and resumes its own proposal: connectForge(LOOT_AGENT_KEY) reads /agents/self, so the door refuses a retired key at connect, marks an entry out-of-scope by the forge's own agent_in_scope rule and refuses a write outside its write scope with GuardError, and unless resume is off takes up its newest open proposal as the pending change based on the head it was built on, so the next propose revises it; loot_codec::agent_wire takes the self request, the agent row and the scope rules from loot-net, which delegates with bytes and tests unchanged; behaviour tests pin the resume, the write scope and the retired key, the resume red under mutation; SDK 106 of 106 (uwkkmuvz) 8b35368c · dbf3dbe6…diff
  • sdk: the chunked object layout in the codec, read everywhere, writers gated off (wxuqlvku) 2c733d1b · dbf3dbe6…diff
  • forge: chunked objects stored and served one at a time, /info chunked_objects, the CLI and SDK refuse hosts without it (nvmlutlq) 521558b1 · dbf3dbe6…diff
  • sdk: streaming reads through the object route, verified against the address at the end, in bounded memory (nxzrvxov) acd933f1 · dbf3dbe6…diff
  • agent-host: the agent host for hosted agents (ADR 0119 §2) in agent-host/, deployed and never published: a runtime-neutral core running the SDK tools over connectForge with the forge the key line names; one HostedAgent Durable Object per agent, ids from one function, keeping its pending change under an 8 MiB cap in values under 2 MB with a 7-day idle TTL by one alarm, never the key; a Census object counting active agents a month; a plain MCP endpoint at /<owner key>/<repo> on @modelcontextprotocol/server 2.3.1 serving 2026-07-28 and stateless 2025 initialize, with a loopback-only test credential the deployed entry never reaches; the SDK gains pendingState() and connectForge({ pending }), and refuses past 16 MiB a whole object that rode an agent head read; the sdk gate checks agent-host after the SDK and mcp/ (ntroovvq) 893040d7 · dbf3dbe6…diff
  • sdk: a forge session reads the head once per operation and frees the bundles it parses (utrnsmmq) 4b9a4cdb · dbf3dbe6…diff
  • sdk: a session taking up a pending change reads on from the base it fetched, so a wake downloads the head once (rkuvqmsv) a3ad1daa · dbf3dbe6…diff
  • sdk: a long agent session stays bounded, its newest 100 checkpoints kept and cleared by a propose, and no key of what it proposed kept (ntlpstnt, qozrzmpp) bab20321 · dbf3dbe6…diff
  • the SDK connectForge push and propose send deltas: the session asks the forge /info once, and to a forge that says manifest_delta the wasm forge change builder encodes the push ingest and the proposal offer through Frame::encode_over over the head /ref declared, as the browser ticket write already does, and whole frames to any other; the /info read moves into stow.ts beside the chunked_objects one and the ticket write shares it; /fetch still sets no deltas byte, since its readers hold no base outside the body; against a real loot-forge --dev a 40-file head took the push and the offer at the delta major 15 and the CLI cloned the pushed change back, while a transport with no get sent whole frames the forge also took; a refused delta is loud and nothing it sends outlives its detection, so it owed no kept test; ADR 0113 status amended; cargo test 2591 passed, the SDK 123 of 123 with the behaviour suites and the site gate green (qqmkotnk) 144d8dd8 · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • an sdk agent pendingDiff reads the head copy of a path as read does, so a chunked file its head read left out streams through /agents/object rather than failing the whole call with object bytes did not travel, and resume takes up an open proposal whose changed chunked object the tip read left out through the same route; seed-chunked adds notes.txt, published chunked text the agent reads and writes, and the sdk agent suite pins pendingDiff over an edit of it to the exact hunk; before the fix it went red (10 passed, 1 failed, object bytes for notes.txt did not travel) and so it did with the fix reverted; resume is unpinned, since no sdk writer seals a chunked object to seed it; cargo test 2593 passed and the sdk suite 124 passed (xmqnqslz) 4c365f70 · dbf3dbe6…diff
  • 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 · 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.