ExAgent.Continuation.Record (ExAgent v2.2.0)

View Source

Experimental, data-only continuation envelope. Existing snapshot codecs remain authoritative for history and qualified usage. No stored value resolves a module, template, credential or callable. Application JSON must already be secret-free.

Records are bounded to 8 MiB encoded JSON, 256 effect entries and 1024 receipts, reserving minimal cleanup receipts/bytes before admitting further work. Receipts live until the whole terminal record is explicitly deleted; reaching a bound rejects a write rather than evicting idempotency evidence.

Summary

Functions

canonical(value)

Canonical JSON v1: sorted UTF-8 object keys; array order and 1 versus 1.0 preserved.

counter?(value)

decode(json, key)

digest(value)

encode(record, key)

exact?(map, keys)

execution?(e)

intent?(intent)

key(arg1)

key_data(arg)

max_bytes()

nullable_timestamp?(value)

outcome?(outcome)

positive?(value)

receipt_reserve(e)

reference?(r)

snapshot(data, arg2)

snapshot_data(snapshot)

text?(value)

timestamp?(value)

unresolved?(e)

validate(record, key)