test(audit): lock drift reaction-threshold script wiring
Assert package drift and rolling commands keep reaction match/skip threshold flags in default cadence wiring. Architecture/protocol diagrams reviewed; no updates needed for test-only coverage.
This commit is contained in:
@@ -33,4 +33,18 @@ describe('phase0 baseline script wiring', () => {
|
||||
expect(rollingPrune).toContain('pnpm audit:phase0-baseline:live:refresh:drift:rolling');
|
||||
expect(rollingPrune).toContain('--report-tag "$TAG"');
|
||||
});
|
||||
|
||||
it('keeps default drift thresholds for reaction match/skip deltas', () => {
|
||||
const scripts = loadPackageScripts();
|
||||
const drift = scripts['audit:phase0-baseline:live:drift'];
|
||||
const rolling = scripts['audit:phase0-baseline:live:refresh:drift:rolling'];
|
||||
|
||||
expect(drift).toBeDefined();
|
||||
expect(drift).toContain('--max-reaction-match-rate-drop-pp 50');
|
||||
expect(drift).toContain('--max-reaction-skip-rate-increase-pp 50');
|
||||
|
||||
expect(rolling).toBeDefined();
|
||||
expect(rolling).toContain('--max-reaction-match-rate-drop-pp 50');
|
||||
expect(rolling).toContain('--max-reaction-skip-rate-increase-pp 50');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user