connor / loot

connor/loot

Changes touching this path

  • 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…
  • agent host: every request to forge.loot.build carries the Worker secret FORGE_AGENT_HOST_SECRET in the Loot-Agent-Host header, so the forge's nginx counts hosted agents under the agent host's own ceiling rather than per Cloudflare address (scripts db5fd5e: a map on the header empties the per-address key and nginx clears it before the forge; the agent host held to 4 in flight, half the forge's Postgres pool; per address 20 r/s burst 120, 20 in flight; nginx's 429 with Retry-After); a key line naming another forge connects without it; HttpRelayTransport takes headers sent with every request; ADR 0119 §4 as built; the secret added to lqrovzxp's list (twsvnxsy) e6e45aab · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • the agent host's KV namespace is named by id and its deploy asks nothing: deploy-worker.js mints its own token, sets the Worker secret in the upload and stops at Workers Paid, and the artifact cache purge reaches dl.loot.build (rszokouz) bd0c9c28 · 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.