chore: add ConfigLayerStack as a field of Config (#8448)

This should make it easier to load `.codex/skills/` and `.codex/rules/`
properly throughout.
This commit is contained in:
Michael Bolin
2025-12-22 14:16:33 -08:00
committed by GitHub
parent 6b2ef216f1
commit 8e900c210c
2 changed files with 18 additions and 7 deletions

View File

@@ -52,7 +52,7 @@ impl ConfigLayerEntry {
}
}
#[derive(Debug, Clone)]
#[derive(Debug, Clone, Default, PartialEq)]
pub struct ConfigLayerStack {
/// Layers are listed from lowest precedence (base) to highest (top), so
/// later entries in the Vec override earlier ones.