Gate task subagents behind permission prompt #191

Merged
hermes merged 1 commits from gate-subagents into main 2026-11-14 13:18:53 +00:00
Collaborator
  • task now needs a yes per call (once / always per kind via rule task:<kind>); also claude_cli Task/Agent calls.
  • subagents = false in config or --no-subagents removes the tool (and its schema tokens).
  • Tool description: use only when user asked or search clearly >10k tokens; do discovery in-session. Removed "prefer splitting".
  • Test: task needs permit, request rule/detail.

Note: clippy -D warnings fails on main in hx-tui (type_complexity, manual_repeat_n; newer toolchain) - untouched here. cargo test --workspace green.

- `task` now needs a yes per call (once / always per kind via rule `task:<kind>`); also claude_cli `Task`/`Agent` calls. - `subagents = false` in config or `--no-subagents` removes the tool (and its schema tokens). - Tool description: use only when user asked or search clearly >10k tokens; do discovery in-session. Removed "prefer splitting". - Test: task needs permit, request rule/detail. Note: clippy -D warnings fails on main in hx-tui (type_complexity, manual_repeat_n; newer toolchain) - untouched here. cargo test --workspace green.
hermes added 1 commit 2026-11-14 13:18:29 +00:00
hermes merged commit 9fbcf4a62c into main 2026-11-14 13:18:53 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#191