Repository navigation
Fixes the last confirmed regression and hardens the differential tests. Patch release on top of v0.18.0.
Fixed
for-loop regression in generated Python: the loop arm still called the removed_exec_one— a two-item collection whose body sends a message producedinternal error: 'Agent' object has no attribute '_exec_one'instead of two outgoing messages. Loops now run through the ONE dispatcher (_run_one); a caught failure cuts the remaining iterations and the loop variable is restored (including on the failure path). The Rust runtime mirrors the cut exactly — the catch flag propagates through the loop and is cleared at thetryboundary — one semantics across both runtimes.
Added
- Block-aware statement splitting:
;at depth zero AND the closing brace of an inlinefor/catchblock end statements; payload/record/pattern braces never do; atrybody waits for itscatchbefore the statement completes;parse_for_blocksplits block-aware, so nestedforinsidetryparses. Unit test for the splitter included. - Parity hardening: new differential case combining
for+ captured values + interpolated outgoing sends + forced failure +try/catch; the catch proof moved to a dedicatedcaughtstate (the timer's flag no longer masks the assertion); capacity replay tests now declarecapacity 1;IN the program and assert the rebuilt host preserves it. SessionHost::replay()deprecated: it rebuilds ONLY from journaled session opens and rejects legacy journals it cannot reconstruct faithfully —replay_from()is the reconstruction path.
Docs
- README and llms.txt aligned with v0.15.0–v0.18.0: 210 tests (including the CI-run Rust/Python parity harness), 55 normative spec sections, lifecycle section covers §49–§55.
Verification
- 210 tests + the Rust/Python parity integration test, all green.
- SPEC 0.18.1-draft (§55 normative), CHANGELOG, Cargo 0.18.1.