Something went wrong. Try again.
small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
Something went wrong. Try again.
Keep an idle orchestrator's prompt cache warm while its children run
A session whose turn ended with child agents still running re-sends the request that turn actually sent, with only the output budget lowered (1, or 16 on the Responses protocol), just before the cached prefix would expire: the shortest TTL its cache marks asked for, or the cache table's first tier where the provider caches on its own and a hit extends the lifetime. Pings stop after floor(write / read) in a row, when one finds the cache gone, on a small prefix, and on any new activity. Each ping is a ledger row of kind warm, so its cached tokens measure the TTL it bet on.
Author
ptr.pet Date (Sep 28, 2026, 8:24 AM UTC) Commit
Copy SHA
Parent 4fb0d3e3 4fb0d3e353b2d137993abfa556251f94da625893 Change ID Copy change ID