Skip to content

plan: run-ID-addressed SDK controls - #1635

Merged
samuv merged 3 commits into
mainfrom
plan/sdk-run-controls
Sep 17, 2026
Merged

samuv merged 3 commits into
mainfrom
plan/sdk-run-controls

Conversation

@samuv

@samuv samuv commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Stage

Plan / Interface

Summary

Defines the architectural and acceptance contract for run-ID-addressed, prompt-free SDK controls over gRPC and HTTP.

The plan covers:

  • session.controls(runId) with typed ask resolution, cancellation, strict multimodal steering, and steer retraction
  • four bounded unary RPCs and exact HTTP mirrors
  • mandatory expected_run_id guards and a normative stale/error matrix
  • atomic ordinary/root-or-surfaced-child ask resolution with plan separation
  • server-owned post-acceptance rehydration and relay lifetime
  • exact HTTP JSON, response-correlation validation, and request-option behavior
  • an additive engine/agent.Run resolution seam and its API compatibility obligations

No implementation code is included. Merging this PR is the approval checkpoint before /plan-orchestrate may implement the contract.

Verification

  • acceptance-plan checker passed: 25 ACs, all decisions resolved
  • acceptance-plan checker regression fixtures passed
  • task docs passed
  • Matlatl: 0 broken links, anchors, ambiguities, or orphans
  • git diff --check passed

Relates to #1630

@samuv
samuv added this pull request to stack #1643 September 16, 2026 18:26
@samuv samuv mentioned this pull request Sep 16, 2026
16 of 24 tasks
@samuv
samuv force-pushed the plan/sdk-run-controls branch 3 times, most recently from 24d7325 to a983179 Compare September 17, 2026 07:36
@samuv
samuv force-pushed the plan/sdk-run-controls branch 2 times, most recently from f5bff95 to dad72ce Compare September 17, 2026 13:46
Relates to #1630

Co-authored-by: Codex <[email protected]>

Signed-off-by: Samuele Verzi <[email protected]>
Relates to #1630

Co-authored-by: Codex <[email protected]>

Signed-off-by: Samuele Verzi <[email protected]>
@samuv
samuv force-pushed the plan/sdk-run-controls branch from dad72ce to 1b9daf9 Compare September 17, 2026 13:49
Co-Authored-By: OpenAI Codex <[email protected]>
Signed-off-by: Samuele Verzi <[email protected]>
@samuv
samuv merged commit 7cfce15 into main Sep 17, 2026
29 checks passed
@samuv
samuv deleted the plan/sdk-run-controls branch September 17, 2026 14:44
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Sep 21, 2026
2 tasks
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.

2 participants