Skip to content

refactor: remove decisionkind surface - #222

Merged
rlippmann merged 3 commits into
mainfrom
decision_refactor
Aug 3, 2026
Merged

refactor: remove decisionkind surface#222
rlippmann merged 3 commits into
mainfrom
decision_refactor

Conversation

@rlippmann

@rlippmann rlippmann commented Aug 3, 2026

Copy link
Copy Markdown
Owner

What changed

  • removed DecisionKind from the runtime and root public API surface
  • updated the root API contract fixture and related tests to stop expecting DecisionKind
  • rewrote affected tests to use DECISION_* constants instead of the removed enum

Why

  • DecisionKind had become redundant with the string-literal Decision union and the DECISION_* public constants
  • keeping a single named public decision-kind vocabulary reduces surface area without changing wire behavior
  • related to Review public API mutation boundaries #201

Checklist

  • pre-commit run (uv run pre-commit run --all-files)
  • tests pass (uv run pytest)

@rlippmann
rlippmann merged commit 93b8dfd into main Aug 3, 2026
18 checks passed
@rlippmann
rlippmann deleted the decision_refactor branch August 3, 2026 06:47
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