Remove the shadow skill ranking experiment (#63993)

## What changed

Remove the background ranking of skill candidates and the metrics that
compared those rankings with skills actually used. Drop the experiment's
per-thread state and metrics wiring.

Continue accepting `skill_search` in existing feature configurations as
an ignored compatibility key.

## Testing

Extend the feature configuration test to cover both `true` and `false`
values for `skill_search`.

GitOrigin-RevId: 9492533bdeea58d4976bc9fbcffb6b82036b7894
This commit is contained in:
jif
2026-11-25 22:41:36 +00:00
committed by copyberry
parent db360f8b00
commit 06c718ae68
61 changed files with 14 additions and 4990 deletions
+1 -5
View File
@@ -129,10 +129,9 @@ pub(crate) fn thread_extensions(
if let Some(provider) = cloud_skill_provider {
skill_providers = skill_providers.with_cloud_provider(provider);
}
codex_skills_extension::install_with_providers_and_metrics(
codex_skills_extension::install_with_providers(
&mut builder,
skill_providers,
codex_otel::global(),
|config: &Config| codex_skills_extension::SkillsExtensionConfig {
include_instructions: config.include_skill_instructions,
catalog_deltas_enabled: config
@@ -144,9 +143,6 @@ pub(crate) fn thread_extensions(
max_context_tokens: config.skill_max_context_tokens,
bundled_skills_enabled: config.bundled_skills_enabled(),
cloud_skill_enabled: config.cloud_skill_enabled,
shadow_selection_enabled: config
.features
.enabled(codex_features::Feature::SkillSearch),
},
);
builder.model_request_contributor(sample_responses);