Skip to content

chore: release 0.4.4#50

Merged
rlippmann merged 7 commits into
mainfrom
codex/state_private_refactor
Mar 20, 2026
Merged

chore: release 0.4.4#50
rlippmann merged 7 commits into
mainfrom
codex/state_private_refactor

Conversation

@rlippmann

Copy link
Copy Markdown
Owner

What changed:

  • Made engine.state read-only by removing the setter.
  • Kept state initialization/replacement via constructor input and import_json(payload).
  • Added public read helpers:
    • get_focus_value(state)
    • get_prohibited_items(state)
  • Exported helper APIs from the package root.
  • Refactored demos/examples to use helper accessors instead of direct nested state-key reads.
  • Updated README and spec docs to align state-access guidance with the public API.
  • Added targeted tests for:
    • read-only engine.state
    • helper behavior and defensive-copy semantics
    • clarify-without-mutation on mixed correction-style input.
  • Bumped package version to 0.4.4 in pyproject.toml and uv.lock.
  • Updated AGENTS PR guidance to clarify that a dedicated "Validation" section in PR text is optional.

Why the change was needed:

  • Tighten the public state API around explicit read-only access.
  • Provide stable convenience accessors for host integrations.
  • Reduce coupling to nested state layout in user-facing examples/docs.
  • Package the changes as the 0.4.4 release.

@rlippmann
rlippmann merged commit e83fbf0 into main Mar 20, 2026
8 checks passed
@rlippmann
rlippmann deleted the codex/state_private_refactor branch March 20, 2026 07:10
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