Ban tool use in every text-only session prompt (closes #528)#529
Merged
Conversation
Extend the no-tools clause from #517 (reply prompts) to every other prompt that runs through session.prompt(): triage classifier, needs_more_context haiku check, summarize-as-action-item, status nudge, rescope/reorder. Symptom: rhencke/orly PR #32 'Fix CI? <link>' comment got no fido reply for minutes because the triage classifier opened a Bash shell to investigate the linked failing CI run instead of just returning a category. Same pattern across all the other text-only prompts — opus sees a directive-shaped request and decides to do real work, holding the session lock and starving the worker. Adds prompts.NO_TOOLS_CLAUSE constant; prepends it to every classifier/ summarizer/status/rescope prompt.
rhencke
approved these changes
Apr 15, 2026
7 tasks
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.
Summary
prompts.NO_TOOLS_CLAUSEconstant and prepends it to every text-only session prompt:triage_prompt,status_system_prompt,rescope_prompt,needs_more_context,_summarize_as_action_item(both initial + shorten-loop).Symptom: rhencke/orly PR #32 "Fix CI? " comment got no fido reply for minutes because the triage classifier fired Bash calls to investigate the linked CI run instead of returning a category. Holds the session lock while opus grinds.
Test plan
Closes #528.