Skip to content

Suspend client tools in the default chat runtime - #513

Merged
chubes4 merged 1 commit into
mainfrom
fix/512-client-tool-suspension
Aug 21, 2026
Merged

Suspend client tools in the default chat runtime#513
chubes4 merged 1 commit into
mainfrom
fix/512-client-tool-suspension

Conversation

@chubes4

@chubes4 chubes4 commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • accept request-scoped client tool declarations only through trusted server filters
  • route executor: client calls to canonical runtime_tool_pending outcomes
  • declare pending status/request/outcome in the canonical chat output schema
  • optionally persist pending requests through the host runtime-tool store for generic submission and continuation
  • preserve request-injection stripping, policy narrowing, alias safety, and host ability execution

Verification

  • strict Composer validation
  • default chat handler and frontend REST focused tests
  • full composer smoke
  • PHPStan
  • git diff --check

Closes #512.

AI assistance

OpenAI openai/gpt-5.6-sol via OpenCode general coding agents implemented, security-reviewed, and verified the client-tool suspension contract. Chris Huber reviewed and is responsible for every line.

@chubes4
chubes4 merged commit 9d07182 into main Aug 21, 2026
4 checks passed
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.

Default chat handler should suspend client-executed tools

1 participant