Skip to content

Add first-class choice pseudo-states - #24

Merged
SandroMaglione merged 1 commit into
mainfrom
codex/choice-pseudo-states-implementation
Aug 7, 2026
Merged

Add first-class choice pseudo-states#24
SandroMaglione merged 1 commit into
mainfrom
codex/choice-pseudo-states-implementation

Conversation

@SandroMaglione

@SandroMaglione SandroMaglione commented Aug 7, 2026

Copy link
Copy Markdown
Member

Summary

  • add first-class, fully type-safe choice pseudo-states with typed target builders and ordinary TypeScript or Effect resolvers
  • settle choices across initial, event, always, completion, history, chained, ancestor, and parallel transitions without exposing pseudo-states in stable snapshots
  • extend inspection, traces, coverage, generated finite models, and the independent reference model with choice resolution evidence
  • add comprehensive runtime and negative type tests, documentation, and a public-API changeset
  • remove the standalone visualizer example

Changeset

  • Added or updated for a library or package-metadata change
  • Not required because this PR does not change src/ or package.json

Validation

  • pnpm check
  • Relevant example checks, when examples changed (the visualizer example was removed; no standalone package remains)
  • Reviewed the automated type-performance report, when the public TypeScript API or inference changed

Local pnpm perf:types passed on TypeScript 6.0.3, and the automated base-versus-PR report passed.

@SandroMaglione
SandroMaglione merged commit 1312de1 into main Aug 7, 2026
8 checks passed
@SandroMaglione
SandroMaglione deleted the codex/choice-pseudo-states-implementation branch August 7, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant