chore: remove legacy config rewriting, dead code branches, and unused public exports

This commit is contained in:
John Dvorak
2026-05-22 12:47:40 -07:00
parent 6e4656add5
commit edc2989900
13 changed files with 35 additions and 1055 deletions
+2 -6
View File
@@ -145,13 +145,9 @@ export class PolicyEngine {
}
warnings.push(...comboCheck.warnings);
// 4. Check observe-specific safety
// 4. Observe-specific safety
if (this.mode === 'observe') {
const observeCheck = this.checkObserveSafety();
if (!observeCheck.allowed) {
errors.push(...observeCheck.errors);
}
warnings.push(...observeCheck.warnings);
warnings.push(...this.checkObserveSafety().warnings);
}
// 5. Check qualify-specific safety