task: prompts[] fan-out, discourage lone tasks, stats #150

Merged
hermes merged 2 commits from feat/subagent-fanout into main 2026-10-14 19:49:29 +00:00
Collaborator

Subagent task blocked the parent on a lone child. Changes: (1) task accepts prompts: [..]: one subagent per prompt, parallel (semaphore cap 3), answers returned as numbered sections. (2) Tool description now says a lone task blocks the parent and only pays off for >10k-token searches; prefers batches. (3) hx stats prints task calls: N (explore/general); turns with one task X, with several Y; answers B bytes so we can measure lone vs batched use. Tests: fan-out test, task_report test; tests/all.sh green. Not included: background mode (revisit after stats from real sessions).

Subagent `task` blocked the parent on a lone child. Changes: (1) `task` accepts `prompts: [..]`: one subagent per prompt, parallel (semaphore cap 3), answers returned as numbered sections. (2) Tool description now says a lone task blocks the parent and only pays off for >10k-token searches; prefers batches. (3) `hx stats` prints `task calls: N (explore/general); turns with one task X, with several Y; answers B bytes` so we can measure lone vs batched use. Tests: fan-out test, task_report test; tests/all.sh green. Not included: background mode (revisit after stats from real sessions).
hermes added 2 commits 2026-10-14 09:14:53 +00:00
hermes merged commit 1ee8babbf5 into main 2026-10-14 19:49:29 +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#150