connor / loot

connor/loot

Changes touching this path

  • agent host: an awake object's heap is flat per call, measured under Node: heap.behavior.test.ts runs the front door, AgentSession and KeptPending against loot-forge --dev over 12,000 kept-session calls, checkpoints and wakes, collecting before each sample and diffing heap snapshots; the SDK's privateKeyring held about 100 B a call, so AgentSession now serves at most 1,000 calls (SESSION_CALLS) before opening a session from the store, after which 10,000 calls grow 33-39 B a call within noise and the suite asserts under 256 KiB of program objects (631 KiB without it); checkpoints grow 2.8 KB each without bound, filed as ntlpstnt for the SDK with the launch waiting on it, and the keyring as qozrzmpp; wakes are flat; workerd's isolate heap, read over the inspector, holds 9.2 MiB while its RSS grows, so that growth is workerd's own; the research note gains The heap over hours, ADR 0119 §2 and §3 say a session serves at most 1,000 calls; the cost mix moves to test/session-mix.ts; heap 3/3, e2e 9/9, cost 6/6, unit 20/20 (uwmzrowr) 190c6cc3 · 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.