mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +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
@@ -158,6 +158,7 @@ pub use skills_config::SkillConfigRule;
|
||||
pub use skills_config::SkillConfigRuleSelector;
|
||||
pub use skills_config::SkillConfigRules;
|
||||
pub use skills_config::SkillsConfig;
|
||||
pub use skills_config::bundled_skills_enabled_from_stack;
|
||||
pub use skills_config::skill_config_rules_from_stack;
|
||||
pub use state::ConfigLayerEntry;
|
||||
pub use state::ConfigLayerStack;
|
||||
|
||||
Reference in new issue
Block a user