mirror of
https://github.com/openai/codex.git
synced 2026-11-13 14:46:14 +00:00
Move skill config rule resolution into codex-config (#37466)
## What changed - Define skill config selectors, ordered rules, and layer-stack parsing in `codex-config`. - Resolve disabled skill paths from generic skill name/path pairs, so configuration logic no longer depends on `SkillMetadata`. - Update plugin and host skill consumers to use the `codex-config` API and consolidate the rule tests with the skill config tests. GitOrigin-RevId: 3fe67869708df2652befe28d58cdeba933256f84
This commit is contained in:
1 parent
3b366654f1
commit
b3278e96cb
19 files changed
+231
-274
No files matched your search
@@ -5,7 +5,6 @@ mod mentions;
|
||||
mod model;
|
||||
mod name_counts;
|
||||
mod parser;
|
||||
mod policy;
|
||||
mod selection;
|
||||
|
||||
pub use interface::SkillInterfaceAssetPolicy;
|
||||
@@ -30,9 +29,6 @@ pub use mentions::normalize_skill_path;
|
||||
pub use mentions::plugin_config_name_from_path;
|
||||
pub use mentions::tool_kind_for_path;
|
||||
pub use model::EnvironmentSkillMetadata;
|
||||
pub use model::SkillConfigRule;
|
||||
pub use model::SkillConfigRuleSelector;
|
||||
pub use model::SkillConfigRules;
|
||||
pub use model::SkillDependencies;
|
||||
pub use model::SkillInterface;
|
||||
pub use model::SkillMetadata;
|
||||
@@ -42,7 +38,6 @@ pub use name_counts::build_skill_name_counts;
|
||||
pub use parser::ParsedSkillFrontmatter;
|
||||
pub use parser::SkillParseError;
|
||||
pub use parser::parse_skill_frontmatter_metadata;
|
||||
pub use policy::resolve_disabled_skill_paths;
|
||||
pub use selection::ExplicitSkillLookup;
|
||||
pub use selection::collect_explicit_skill_mentions;
|
||||
|
||||
|
||||
Reference in new issue
Block a user