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
RemoteToolHost::execute does not check the turn's scoped surface #4316
RemoteToolHost::execute checks the gate (eligible(): enabled, approval verifies, runner present, confirmer present when needed) but not the surface the turn actually offered the model. A model call to an approved remote tool that this turn's skill whitelist scoped out is still dispatched (after confirmation, for tools that need it). Built-in tools behave the same today.
Proposal: the turn passes its offered tool names to the executor (or the loop refuses a call whose name is not in the turn's offered list before dispatch), so a call to a tool that was not offered is refused as unknown. Found in the independent review of #4315; part of the #4291 remote-tool work.
Merged (#4322): the agent loop now refuses a model call to any tool that was not in the turn's offered list, before it reaches the executor. The refusal is an ordinary error result that names the tool and carries none of its arguments, so the model can recover; it is bounded by the existing iteration cap. An approved remote tool that a skill's whitelist scoped out can no longer be called by name. The independent review traced that the offered list is computed once per turn and is exactly what the model was shown. A skill audit found one built-in skill (Organization) whose instructions call update_node and create_node that its whitelist omits; that fix is in progress, and a second, lower-priority one (Schema Creation, delete_node) is filed separately.
Activity
fix(agent): refuse a call to a tool the turn did not offer (#4316)
fix(agent): refuse a call to a tool the turn did not offer (#4316) (#…
mstomar125 commentedon Nov 20, 2026
Merged (#4322): the agent loop now refuses a model call to any tool that was not in the turn's offered list, before it reaches the executor. The refusal is an ordinary error result that names the tool and carries none of its arguments, so the model can recover; it is bounded by the existing iteration cap. An approved remote tool that a skill's whitelist scoped out can no longer be called by name. The independent review traced that the offered list is computed once per turn and is exactly what the model was shown. A skill audit found one built-in skill (Organization) whose instructions call update_node and create_node that its whitelist omits; that fix is in progress, and a second, lower-priority one (Schema Creation, delete_node) is filed separately.