pi-mono/packages/durable/docs
Mario Zechner 7b597d1481 feat(durable): durable code mode (@earendil-works/pi-durable/codemode)
A codemode tool whose scripts call the conversation's tools as nested calls and
survive a restart. The script runs deterministically (pi-codemode start()); each
result is journaled before it is delivered. A rerun starts the script again from
the stored start data, delivers the journaled results in order (nested calls
reattach by key c<id>), checks every recorded call count, holds calls the
journal lacks until replay ends and checks them against earlier attempts' keys,
then continues live. A call launches only once the count of the drain that made
it is committed, so a rerun can prove which calls are new. Divergence, a changed
module version or sandbox fingerprint, and a passed deadline end the call with a
stored error; a decided outcome is returned without a VM. store()/load() keep
values per conversation, rewindable and forked as of the fork's entry.

pi-codemode: CodemodeRun.finished, set when the outcome is decided.
2026-10-11 21:31:48 +00:00
..
chord-delta-findings.md feat(chord): make immutable delta tracker canonical 2026-09-24 15:07:12 +02:00
pico-v5-chord-usage.md fix(durable): publish README and changelog, link the spec, add default export condition 2026-10-01 20:23:30 +02:00
pico-v5-handoff.md fix(durable): publish README and changelog, link the spec, add default export condition 2026-10-01 20:23:30 +02:00
spec.md feat(durable): durable code mode (@earendil-works/pi-durable/codemode) 2026-10-11 21:31:48 +00:00