chore: enable sub agents (#11173)

This commit is contained in:
jif-oai
2026-02-09 11:25:37 +00:00
committed by GitHub
parent 13de744296
commit 284c03ceab
5 changed files with 97 additions and 12 deletions

View File

@@ -95,7 +95,6 @@ Rules:
reasoning_effort: Some(ReasoningEffort::Medium),
description: r#"Use `explorer` for all codebase questions.
Explorers are fast and authoritative.
Always prefer them over manual search or file reading.
Rules:
- Ask explorers first and precisely.
- Do not re-read or re-search code they cover.

View File

@@ -432,6 +432,12 @@ pub const FEATURES: &[FeatureSpec] = &[
stage: Stage::Deprecated,
default_enabled: false,
},
FeatureSpec {
id: Feature::Collab,
key: "collab",
stage: Stage::Stable,
default_enabled: true,
},
// Experimental program. Rendered in the `/experimental` menu for users.
FeatureSpec {
id: Feature::RuntimeMetrics,
@@ -511,16 +517,6 @@ pub const FEATURES: &[FeatureSpec] = &[
stage: Stage::Stable,
default_enabled: true,
},
FeatureSpec {
id: Feature::Collab,
key: "collab",
stage: Stage::Experimental {
name: "Sub-agents",
menu_description: "Ask Codex to spawn multiple agents to parallelize the work and win in efficiency.",
announcement: "NEW: Sub-agents can now be spawned by Codex. Enable in /experimental and restart Codex!",
},
default_enabled: false,
},
FeatureSpec {
id: Feature::Apps,
key: "apps",

View File

@@ -1666,6 +1666,11 @@ mod tests {
external_web_access: Some(true),
},
create_view_image_tool(),
create_spawn_agent_tool(),
create_send_input_tool(),
create_resume_agent_tool(),
create_wait_tool(),
create_close_agent_tool(),
] {
expected.insert(tool_name(&spec).to_string(), spec);
}
@@ -1860,6 +1865,11 @@ mod tests {
"apply_patch",
"web_search",
"view_image",
"spawn_agent",
"send_input",
"resume_agent",
"wait",
"close_agent",
],
);
}
@@ -1882,6 +1892,11 @@ mod tests {
"apply_patch",
"web_search",
"view_image",
"spawn_agent",
"send_input",
"resume_agent",
"wait",
"close_agent",
],
);
}
@@ -1906,6 +1921,11 @@ mod tests {
"apply_patch",
"web_search",
"view_image",
"spawn_agent",
"send_input",
"resume_agent",
"wait",
"close_agent",
],
);
}
@@ -1930,6 +1950,11 @@ mod tests {
"apply_patch",
"web_search",
"view_image",
"spawn_agent",
"send_input",
"resume_agent",
"wait",
"close_agent",
],
);
}
@@ -1951,6 +1976,11 @@ mod tests {
"request_user_input",
"web_search",
"view_image",
"spawn_agent",
"send_input",
"resume_agent",
"wait",
"close_agent",
],
);
}
@@ -1973,6 +2003,11 @@ mod tests {
"apply_patch",
"web_search",
"view_image",
"spawn_agent",
"send_input",
"resume_agent",
"wait",
"close_agent",
],
);
}
@@ -1994,6 +2029,11 @@ mod tests {
"request_user_input",
"web_search",
"view_image",
"spawn_agent",
"send_input",
"resume_agent",
"wait",
"close_agent",
],
);
}
@@ -2016,6 +2056,11 @@ mod tests {
"apply_patch",
"web_search",
"view_image",
"spawn_agent",
"send_input",
"resume_agent",
"wait",
"close_agent",
],
);
}
@@ -2062,6 +2107,11 @@ mod tests {
"apply_patch",
"web_search",
"view_image",
"spawn_agent",
"send_input",
"resume_agent",
"wait",
"close_agent",
],
);
}
@@ -2085,6 +2135,11 @@ mod tests {
"request_user_input",
"web_search",
"view_image",
"spawn_agent",
"send_input",
"resume_agent",
"wait",
"close_agent",
],
);
}