Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — Clarifies two MCP tool descriptions to match their existing full-access, non-plan gate and updates the tool-list size snapshot. Permissions, execution behavior, and product defaults remain unchanged. You can add or adjust custom eligibility rules. Learn more. |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the
Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Note Written by Merged current main without rebasing and resolved the context-budget conflict by preserving main's current values and applying this PR's five-byte tool-description reduction. The diff remains three insertions and three deletions across the original three files. Blacksmith verification passed: 74 focused access/handler/budget tests and |
Keep main's agent context values and measure mcpToolListJsonBytes again on the merged tree: 48217 on main, 48212 with the two shorter descriptions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Note 🤖 Opus 5.5 replying on behalf of Victor. Merged current main in 3d385bf to clear the conflict in
|
|
Note 🤖 Opus 5.5 replying on behalf of Victor. @maria-rcks we ran the |
Keep main's agent context values and measure mcpToolListJsonBytes again on the merged tree: 48217 on main, 48212 with the two shorter descriptions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep main's agent context values and measure mcpToolListJsonBytes again on the merged tree: 48131 on main, 48126 with the two shorter descriptions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Note 🤖 Opus 5.5 replying on behalf of Victor. @maria-rcks Your report ran on |
|
Note 🤖 Opus 5.5 replying on behalf of Victor. Closing this: it is not a bug fix, and this repository now takes only bug fixes from outside contributors. The branch stays on my fork if it is useful. |
Problem
t3_environment_preferences_updatetold agents it works for a "full-access or default caller thread", andrun_scheduled_task_nowsaid it "Needs a full-access or default caller". Both tools sit behindMcpToolAccess.writesEnvironment, whose check (assertFullAccessinapps/server/src/mcp/threadAccess.ts) needs both runtime modefull-accessand interaction modedefault. A thread in approval-required/default mode reads the text as allowed and getscapability_denied.Change
Both descriptions now say "Full-access non-plan thread/client only." The access check and the tool schemas are unchanged. The new text is 5 bytes shorter, so
agentContextBudget.jsonlowersmcpToolListJsonBytesfrom 48131 to 48126. The six other tools behind the same check state no access rule and are left alone. This PR does not change the check itself (#25481 asks for that).Scope and approval
There is no prior issue. This is a small fix for an obvious bug: two tool descriptions contradict the check the tools enforce, and nothing else changes. The six other tools behind the same check (
t3_project_create,t3_project_update,t3_project_delete,t3_project_clone,t3_environment_link,t3_environment_unlink) state no access rule in their descriptions, and this PR leaves them alone. #25481 asks to change the check itself for users who cannot use full access; this PR does not.Verification
vp run check:changedand the access, handler and budget suites pass.mcp-tool-useon main52d621a6f1and head1ce3bdeeb4: agentgpt-6.1-sol(capture effort xhigh), shellgpt-6.1-terra, both through a CLIProxyAPI server on subscription quota (no per-token charge). The five cases that coverrun_scheduled_task_now, 3 samples each:3d385bf409(168 non-device cases on Codex): 324 of 340 graded samples pass. On maind313b2aff3, the 9 cases that missed on the head pass 6 of 20 samples, against 6 of 22 on the head. Of the 30 head samples that loaded the new text, 29 pass. The miss (thread-send-fresh-context) also fails on main.Real run on each revision: a test T3 server built from it, with the Codex CLI 0.167.1 (
gpt-6-luna) as the agent. A client readstools/list, then starts one thread per mode asking Codex to call both tools. In approval-required mode, Allow was pressed on each approval card (the client's approval response, sent over the WebSocket API). Below are the agent's calls to the two tools with the server's results, read back from each thread. On the candidate, the first full-access/default thread called neither tool, so that one thread was run again. Only the descriptions change.Before (main
52d621a6f1):After (head
1ce3bdeeb4):Not checked
mcp-tool-use. That route billsANTHROPIC_API_KEYper token, so it was not run.t3_environment_preferences_update, and none was added: no model failure from this text has been seen.Prior PRs
Generated with Claude Opus 5.5 and GPT-6.1 Terra and GPT-6.1 Sol in T3 Code Nightly