mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-08-09 22:38:46 +00:00
Sync the harness docs with the #3875 subagent middleware changes: - subagents.mdx (en/zh): fix built-in max_turns defaults (general-purpose 160->150, bash 80->60) to match code and config.example.yaml; document the new config (global + per-agent override) and add a 'Runaway guards' section covering the LoopDetection / TokenBudget / Summarization middlewares now mirrored on the subagent chain. - middlewares.mdx (en/zh): note that loop-detection, token-budget, and summarization guards are shared with the subagent chain (#3875), instead of implying they are Lead-Agent-only. Code, contracts/subagent_status_contract.json (v2), and config.example.yaml already reflect #3875; only the docs were lagging.