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
Commit c1bca11
Browse filesBrowse the repository at this point in the historyBrowse files
fix(session): drop session-denied tools from model requests (#147)
The tool list sent to the model was filtered only by the agent's
permission, while tool calls are checked against the agent ruleset
merged with the session's. Headless runs deny question, plan_enter and
plan_exit at session level, so the build agent still advertised
question and plan_enter on every step and the calls were only rejected
at execution.
Pass the session ruleset into LLM.stream and merge it with the agent's
before computing disabled tools, so any tool the session denies with
pattern "*" is removed from the request.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments