You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Discuss post-validation policy and final approval in protocol 2.0.0 draft revision 2 #237
The 2.0.0 draft approval gate authorizes submitted arguments before middleware transforms them. An invocation that opts into evaluating the final arguments must verify its resumable approval against the same values that will reach the module.
Proposal
Introduce an instance-scoped, code-configured policy evaluator after schema validation.
In the enabled strategy, compute the early approval obligation at Step 5 and authorize once against the final, validated invocation. Preserve the ordinary Step 5 timing for executors without an evaluator.
Bind final-scope resumption to the authenticated principal, caller, selected module and version, and canonical argument digest. Use the existing atomic consume contract for scoped credential stores.
Share the policy check across ordinary calls, preflight and streaming. Preflight reports approval requirements without issuing or consuming credentials. A denial blocks dispatch and producer startup.
Keep protocol version 2.0.0 and record this as draft revision 2.
Review and validation
Review the strategy boundary, effective argument projection, and the separation of legacy and final-scope credentials. Verify the shared conformance cases in Python, TypeScript, and Rust, and verify MCP polling and one-shot resumption against the packaged Core distributions.
Activity
tercel commentedon Nov 29, 2026
The approved draft revision and its three-SDK implementation were merged in #238. Closing this related specification discussion.