Expand description
Compaction-aware delivered-slice index (spec §7.3): file-backed state keyed on (session id + cwd) recording contract slices already delivered IN FULL, so repeats collapse to a pointer line. Unlike the event log this table is deliberately mutable working state — spec §7.3 requires clearing it on compaction, and horizon expiry models content scrolling out of the agent’s context window. Invariants: a truncated first emission is never recorded (the agent never saw it); clearing one scope leaves every other scope intact.
Structs§
- Delivery
Index - Delivery
Request - One emission decision request.
completestates whether THIS emission will carry the slice in full — a truncated emission is never recorded as delivered (the agent never saw it).
Enums§
- Delivery
- How the caller should emit a slice this time.
- Delivery
Error
Constants§
- DELIVERY_
HORIZON - Emissions after which a full delivery is treated as scrolled out of the agent’s context and re-emitted in full.