Split spawn_csv from multi_agent (#14282)

- make `spawn_csv` a standalone feature for CSV agent jobs
- keep `spawn_csv -> multi_agent` one-way and preserve restricted
subagent disable paths
This commit is contained in:
Ahmed Ibrahim
2026-03-10 18:42:50 -07:00
committed by Michael Bolin
parent 39c1bc1c68
commit a4d884c767
9 changed files with 72 additions and 6 deletions

View File

@@ -385,6 +385,7 @@ impl Codex {
if let SessionSource::SubAgent(SubAgentSource::ThreadSpawn { depth, .. }) = session_source
&& depth >= config.agent_max_depth
{
let _ = config.features.disable(Feature::SpawnCsv);
let _ = config.features.disable(Feature::Collab);
}