50d98fc1f3
delegation.max_iterations is the per-subagent tool-call budget. The old default of 50 truncated substantial delegated work: leaf agents spend ~15-20 turns on reconnaissance before producing output, then ran out of budget mid-task and returned 'completed but unfinished' summaries. 250 gives real delegated work room to finish. Changes: - config_defaults.py: delegation.max_iterations 50 -> 250; _config_version 35 -> 36 - tools/delegate_tool.py: DEFAULT_MAX_ITERATIONS fallback 50 -> 250 (kept in sync with the shipped default to prevent drift) - config_migrations.py: _migrate_to_36 lifts configs still pinned at exactly the OLD default 50 -> 250 on update, so existing installs inherit the new headroom. Any other explicit value (deliberate override) is preserved; unset inherits 250 at read time. - cli-config.yaml.example: doc the new default The cap is per-child and children run concurrently (max_concurrent_children default 3), so this raises worst-case fan-out cost; delegation.child_timeout_seconds (default 0 = off) remains available as a wall-clock guardrail, and users can still pin a lower max_iterations explicitly. Verified: migration lifts 50->250, preserves a deliberate 120, leaves unset untouched (3/3); DEFAULT_CONFIG reads version=36, max_iterations=250, fallback=250.