Skip to content

fix: #3333 scope Realtime tool approvals by qualified key#3340

Merged
seratch merged 1 commit intomainfrom
fix/realtime-qualified-approval-keys
May 10, 2026
Merged

fix: #3333 scope Realtime tool approvals by qualified key#3340
seratch merged 1 commit intomainfrom
fix/realtime-qualified-approval-keys

Conversation

@seratch
Copy link
Copy Markdown
Member

@seratch seratch commented May 10, 2026

This pull request fixes #3333 Realtime tool approval state for namespaced function tools. Realtime approval items now carry the resolved tool namespace and lookup key, and approval reuse goes through the shared approval-status lookup instead of checking only the bare tool name.

This prevents an always approval for a namespaced tool such as crm.lookup_account from being reused for a separate bare lookup_account tool, and it keeps always rejection message reuse aligned with the same qualified approval key. The regression coverage uses the public tool_namespace() helper and verifies the runtime approval, pending-call, and rejection-output behavior directly.

@seratch seratch added this to the 0.17.x milestone May 10, 2026
@github-actions github-actions Bot added bug Something isn't working feature:realtime labels May 10, 2026
@seratch
Copy link
Copy Markdown
Member Author

seratch commented May 10, 2026

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@seratch seratch merged commit 970db97 into main May 10, 2026
10 checks passed
@seratch seratch deleted the fix/realtime-qualified-approval-keys branch May 10, 2026 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working feature:realtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Realtime approvals should use qualified tool lookup keys

1 participant