Repository navigation
fix(mcp): name the operation in the daemon-required refusal - #5482
Conversation
polylogue-tar1n.2 routed MCP privileged writes through the daemon, but its refusal said only 'start polylogued run to serve this operation'. The MCP error payload carries no separate field for the operation, so a client could not tell which privileged route refused. test_rebuild_insights_with_confirm_names_its_sealed_owner asserts the message names maintenance.insights.rebuild; the lane never saw it fail because its focused run was still queued when it handed off. Same gap #5474 closed for the CLI machine envelope, on the MCP surface. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01ToWqpkXotr573DiQex5vcy
|
Warning Review limit reachedNext included review available in 21 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Problem
polylogue-tar1n.2(wave 4) routed MCP privileged writes through the daemon, which is correct. But its refusal said only:The MCP error payload carries no separate field for the operation name, so a client is told that something privileged refused, without being told which route.
test_rebuild_insights_with_confirm_names_its_sealed_ownerasserts the message namesmaintenance.insights.rebuild.The lane that wrote this never saw the failure: its focused run was still queued in the shared pytest pool when it handed off, and it reported
MCP-4 BLOCKED-ON shared pytest pool resulthonestly rather than claiming a pass. I ran it during closure review.Fix
Both refusal sites interpolate the operation, as the CLI machine envelope already does since #5474.
Verification
Red before this change, green after.
🤖 Generated with Claude Code
https://claude.ai/code/session_01ToWqpkXotr573DiQex5vcy