docs(plan): fold the mediation-plane spike verdict into §4.1 - #506
Merged
Conversation
The 2026-07-31 gateway spike: both agentgateway and ContextForge have a real per-tool-call external decision hook + a structured reject, but NEITHER can hold a call open for a minutes-long human approval (synchronous callouts on a bounded timeout). So §4.1 now records: - suspend-for-a-human is a deny-with-"pending" → idempotency-keyed retry protocol, not a blocking wait (sub-timeout approvals still resolve as a synchronous hold); - IBM ContextForge is the FIRST adapter (tool_pre_invoke ≈ our gate-hook shape, async, configurable timeout); agentgateway second (cleaner ExtMcp proto, Rust, ~10s deadline); - the EffectIntent → Decision contract gains a first-class `pending` outcome (allow / ask / deny / pending); - two unknowns for a hands-on test: agentgateway backend-timeout override on the guardrails channel, and the agent's client-side MCP request timeout. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Records the 2026-07-31 gateway spike outcome in
docs/agent-os-plan.md§4.1 (the mediation-plane wedge).Finding: both agentgateway and IBM ContextForge expose a real per-tool-call external decision hook + a structured reject, but neither can hold a call open for a minutes-long human approval — both are synchronous callouts on a bounded timeout. The bet is still viable; the primitive just has to be a protocol.
What changed in §4.1:
tool_pre_invokereturn shape ≈ our existing PreToolUse gate-hook; async; configurable timeout; out-of-process plugin). agentgateway second (cleanerExtMcpproto, but Rust + ~10s deadline).EffectIntent → Decisioncontract gains a first-classpendingoutcome (allow / ask / deny / pending).Docs-only; no code or version change.
🤖 Generated with Claude Code