* docs(kanban): correct the delegate_task comparison table
The table described delegate_task as a blocking call with no resume, no
human control and no audit trail. Top-level calls return a handle and
deliver the result as a later message; a finished or stopped child can
be continued; a running child can be steered or stopped; each child's
transcript is a stored session under the parent's.
The Kanban column overstated three things: a creating chat is subscribed
to completion and block events by default, a dispatched worker can
change only its own card, and `hermes kanban gc` prunes old events of
done and archived tasks.
* docs(delegation): describe delegate_task as the code runs it
Corrections found by checking each statement on the delegation pages
against the source:
- Nesting is decided from depth. delegate_task has no role parameter;
a passed role is accepted and ignored. The background parameter is
deprecated and ignored.
- Top-level calls are backgrounded only where the session can receive
a later message. One-shot runs, cron jobs, Kanban workers, stateless
API requests, inline gateway chats and a full pool join in the call.
- The blocked tools are delegate_task, clarify, memory, send_message
and cronjob_manage. execute_code is not blocked.
- A background process survives its session only with
persist_on_release=true, and never a gateway or host shutdown.
- A crashed or restarted child resumes when delegation.auto_resume is
on, and stays continuable for delegation.resumable_ttl_hours.
- The schema retry appends the output contract again. Subagent context
files use the flat 20,000 character cap.
- Routing: native-SDK providers ignore base_url precedence, a provider
default model applies before the parent's, max output tokens are not
carried, and /review follows the delegation section by default.
- Failure line, status values, diagnostic dump name and contents,
/agents rows, the steer delivery point, live transcript fidelity,
Slack's notice default and the worktree archive step now match the
strings and behaviour in the code.
* docs(config): delegation defaults and limits match the code
- max_concurrent_children defaults to 10, not 3.
- delegation.max_iterations defaults to 250, not 50.
- max_spawn_depth has a floor of 1 and no ceiling.
- DELEGATION_MAX_CONCURRENT_CHILDREN is read only when the config key
is null; the shipped default otherwise wins.
- An omitted delegation.api_key inherits the parent's key or uses the
named provider's own key. OPENAI_API_KEY is not read.
- A task's context rides the child's first user message, not its
system prompt.
- role="orchestrator" is gone from the delegation section.
* docs(delegation): state when the concurrency env var is read
DELEGATION_MAX_CONCURRENT_CHILDREN is read whenever no config value is
loaded: under --ignore-user-config or --safe-mode, and with the key set
to null. The previous commit named only the null case. The Delegation
page no longer offers the variable as a way to configure the limit.
* docs(kanban): say which chats are subscribed on create
Only a session with a delivery channel is subscribed to a task it
creates: a gateway chat, or a TUI or Desktop session. A classic CLI
run, a cron job or a scripted create is not, and kanban_create reports
it in the result's subscribed flag.