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 fdfd2ca
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(session): remove the question tool and plan mode (#147)
The question tool and plan mode need a person at the keyboard. Headless
runs only kept them in check through session deny rules, and the model
was still offered their schemas on every step.
- delete the question tool, the Question module and its rejection
handling in the processor, and AICTRL_ENABLE_QUESTION_TOOL
- delete the plan agent, plan_enter/plan_exit, the plan-mode reminders
and plan-file helper, and AICTRL_EXPERIMENTAL_PLAN_MODE
- delete two base prompts that nothing imports
(copilot-gpt-5.txt, anthropic-20250930.txt)
- drop the deny rules that run and the GitHub agent created for these
tools
- `aictrl run --agent plan` now fails with INVOCATION_INVALID_ARGUMENTS
instead of falling back to the default agent, which can edit files
Compatibility: the question/plan_enter/plan_exit permission keys still
load as no-ops, and sessions whose history calls these tools still
continue.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ and [JSON event reference](EVENTS.md).
68
68
69
69
### Non-Interactive Execution
70
70
71
-
In headless mode, Aictrl automatically rejects all interactive permission requests (like `question` or `plan_enter`), ensuring your pipelines never hang.
71
+
In headless mode, Aictrl automatically rejects all interactive permission requests, ensuring your pipelines never hang.
72
72
73
73
`aictrl run` does not offer the `todowrite` tool: its definition adds about 2.4k tokens to
74
74
every request, and a one-shot run has nobody following a todo list. To track a plan, instruct
0 commit comments