mirror of
https://github.com/openai/codex.git
synced 2026-11-22 15:15:18 +00:00
Honor per-directory bundled skill settings in skills/list (#37979)
## Why `skills/list` can load multiple working directories in one request, but bundled skill discovery did not account for different effective configurations across those directories. ## What changed - Resolve `skills.bundled.enabled` from each load input's effective config layer stack inside the host skills service. - Include or exclude system-scoped skills for each working directory based on that resolved setting. - Keep bundled skills enabled by default when the setting is absent or invalid. ## Testing - Add a multi-directory `skills/list` test with bundled skills disabled in one project and enabled in another. - Add config-layer tests for defaults, overrides, and malformed bundled-skill configuration. GitOrigin-RevId: e4e97dc7d0a374ac71d0aa11e55a9e337f661717
This commit is contained in:
1 parent
0ca439900e
commit
7d486ffa94
14 files changed
+135
-91
No files matched your search
@@ -4509,7 +4509,7 @@ impl Config {
|
||||
}
|
||||
|
||||
pub fn bundled_skills_enabled(&self) -> bool {
|
||||
crate::skills::bundled_skills_enabled_from_stack(&self.config_layer_stack)
|
||||
codex_config::bundled_skills_enabled_from_stack(&self.config_layer_stack)
|
||||
}
|
||||
|
||||
/// Returns whether effective requirements allow selecting a concrete profile.
|
||||
|
||||
Reference in new issue
Block a user