Fix subagent planning isolation and raise default max_iterations to 40
- run_ephemeral signature default: max_iterations=20 → 40 (consistent
  with spawn_agent's explicit default)
- _run_planning accepts system_prompt_override; when called from
  run_ephemeral, passes the subagent's isolated system prompt instead of
  _build_system_prompt(profile) which includes the full orchestrator
  persona and profiles block — subagents now plan with only their own
  executor context

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 5f7c7df commit 2d2d5c40e8407824b2aacc452994c3f6de54e8f5
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 17 Apr
Showing 1 changed file
View
navi/core/agent.py