Repository navigation
v0.18.0 — conformance
Implements all four findings from the second review round. Conformance release: execution paths, replay and formatting now preserve the same semantics.
Language (spec §53-§54, normative)
- Ordered session-open replay (§53) — session opens are journaled IN ORDER (with the role); replay processes the journal's own opens, so capacity limits and session-ID reincarnations replay exactly. Legacy journals (pre-open events) fall back to the role header. The replayed host's journal is identical to the original's.
- Single execution dispatcher (§54) — the generated Python runtime had two dispatchers that drifted:
enter,begin <id>and interpolated sends silently did nothing insidetry/catch. One dispatcher now serves top-level and nested execution with explicit scope/output/error propagation. - Formatter obligations (§54) —
prettyemits phase declarations andas <role>executor attribution; send payloads are ordered before targets;parse -> format -> parseis a semantic FIXPOINT and formatting is idempotent for a program using every language feature (proven by test). - Phase reachability — a declared phase that is never
enter-ed warns as unreachable (first step toward global phase analysis; cross-participant phase compatibility remains documented future work).
CI
- The Rust/Python parity harness runs explicitly in CI:
cargo test --test py_parity -- --ignored. The harness was strengthened:enter/begin/fulfilINSIDEtry, a forced failure exercisingcatch, and named-commitment lifecycle comparison.
Fixed
- Formatter payload order:
action_wordemitted send payloads after the target — re-parsing swallowed them into the target role. - Phase peel dropped the trailing
fromclause (on inform in work from breparsed withfrom: None). - Generated Python emitted Rust lowercase
true/falseliterals (NameError at import) instead ofTrue/False.
Verification
- 199 unit tests + the parity integration test, all green.
- Both bindings (acl-py, acl-ts) compile.
- Spec 0.18.0-draft (§§1-54, with an explicit out-of-scope note for cross-participant phase analysis); GRAMMAR/README/llms.txt/CHANGELOG updated.