Skip to content

[1/6] Add Python goal routing foundation - #27110

Merged
aibrahim-oai merged 2 commits into
mainfrom
dev/python-goal-routing
Jun 9, 2026
Merged

[1/6] Add Python goal routing foundation#27110
aibrahim-oai merged 2 commits into
mainfrom
dev/python-goal-routing

Conversation

@aibrahim-oai

@aibrahim-oai aibrahim-oai commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Why

Goal continuation turns are emitted by the existing runtime as separate physical turns. The Python SDK needs private thread-scoped routing before it can present those notifications as one logical operation, without changing ordinary turn routing or the app-server protocol.

What

  • add private goal operation state and thread-scoped notification routing
  • add internal wrappers for the existing thread/goal/clear and thread/goal/set RPCs
  • include existing goal notifications in the SDK notification union
  • preserve ordinary turn-ID routing unchanged
  • add focused routing coverage

This PR does not expose a public goal API. It is the first of six focused PRs in the Python goal operations stack.

Test plan

  • online CI, including the Python SDK suite
  • focused typed-notification routing coverage

@aibrahim-oai

aibrahim-oai commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

@aibrahim-oai
aibrahim-oai merged commit 5a0f913 into main Jun 9, 2026
31 checks passed
@aibrahim-oai
aibrahim-oai deleted the dev/python-goal-routing branch June 9, 2026 20:35
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 9, 2026
@aibrahim-oai aibrahim-oai changed the title [1/4] Add Python goal routing foundation [1/6] Add Python goal routing foundation Jun 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant