chore: remove legacy config rewriting, dead code branches, and unused public exports
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user