chore: nit explorer (#12315)
This commit is contained in:
parent
a7632f68a6
commit
03ff04cd65
3 changed files with 4 additions and 5 deletions
|
|
@ -1,2 +0,0 @@
|
|||
model = "gpt-5.1-codex-mini"
|
||||
model_reasoning_effort = "medium"
|
||||
|
|
@ -162,11 +162,10 @@ mod built_in {
|
|||
(
|
||||
"explorer".to_string(),
|
||||
AgentRoleConfig {
|
||||
description: Some(r#"Use `explorer` for all codebase questions.
|
||||
description: Some(r#"Use `explorer` for specific codebase questions.
|
||||
Explorers are fast and authoritative.
|
||||
Always prefer them over manual search or file reading.
|
||||
They must be used to ask specific, well-scoped questions on the codebase.
|
||||
Rules:
|
||||
- Ask explorers first and precisely.
|
||||
- Do not re-read or re-search code they cover.
|
||||
- Trust explorer results without verification.
|
||||
- Run explorers in parallel when useful.
|
||||
|
|
@ -268,6 +267,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "No role requiring it for now"]
|
||||
async fn apply_explorer_role_sets_model_and_adds_session_flags_layer() {
|
||||
let (_home, mut config) = test_config_with_cli_overrides(Vec::new()).await;
|
||||
let before_layers = session_flags_layer_count(&config);
|
||||
|
|
|
|||
|
|
@ -990,6 +990,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "No role requiring it for now"]
|
||||
async fn spawn_agent_uses_explorer_role_and_sets_never_approval_policy() {
|
||||
#[derive(Debug, Deserialize)]
|
||||
struct SpawnAgentResult {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue