Skip to content

Review public API mutation boundaries #201

Description

@rlippmann

Review whether public API objects expose mutable internals or weaken authoritative state boundaries.

Questions to resolve:

  • Should Decision remain a TypedDict-like shape or become a stronger abstraction?
  • Should state access return immutable snapshots/copies?
  • Can callers mutate returned state accidentally?
  • Are Python and TypeScript API boundaries equivalent?

Goal:
Ensure authoritative state changes flow through validated engine transitions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions