mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:40:44 +00:00
The sub-agents doc was 412 lines of dense bullet lists describing spawn behavior, tool params, thread binding flow, allowlist rules, auto-archive behavior, announce semantics, and the sessions_history sanitization pipeline. Restructure for scan-first reading without losing reference detail: - Move spawn-behavior bullets into an AccordionGroup with four panels (Non-blocking + push-based; Manual-spawn delivery resilience; Completion handoff metadata; Modes and ACP runtime). - Convert sessions_spawn tool params into ParamField definitions so type/default/required render visually. - Wrap the thread-binding flow in a Steps component (spawn -> bind -> route -> inspect timeouts -> detach). - Convert manual thread controls into a 5-row table. - Convert allowlist fields (allowAgents, requireAgentId) into ParamField definitions. - Convert announce-context fields into a 6-row source/field table. - Surface the cost-budget guidance, sessions_spawn delivery-param exclusion, operational guidance, and the PAIRING_REQUIRED caller caveat as Note/Warning callouts where they were buried inline. - Sentence-case 'Tool Policy' to 'Tool policy' (heading-case fix). - Sentence-case 'Configuration Reference' link. - Alphabetize the Related list and add 'Background tasks' which was referenced inline but missing from Related. - Add sidebarTitle for explicit nav. Tool surface, depth tables, slash commands, defaults, allowlist semantics, sandbox-inheritance guard, per-depth tool policy, auto-archive timing, announce status sourcing, sessions_history normalization steps, concurrency lane, recovery rules, and limitations are unchanged. Pure restructure plus Mintlify upgrades.