Skip to content

v0.18.0 — conformance

Choose a tag to compare

@mrschneider mrschneider released this 23 Oct 19:54
· 4 commits to main since this release

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 inside try/catch. One dispatcher now serves top-level and nested execution with explicit scope/output/error propagation.
  • Formatter obligations (§54) — pretty emits phase declarations and as <role> executor attribution; send payloads are ordered before targets; parse -> format -> parse is 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/fulfil INSIDE try, a forced failure exercising catch, and named-commitment lifecycle comparison.

Fixed

  • Formatter payload order: action_word emitted send payloads after the target — re-parsing swallowed them into the target role.
  • Phase peel dropped the trailing from clause (on inform in work from b reparsed with from: None).
  • Generated Python emitted Rust lowercase true/false literals (NameError at import) instead of True/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.