test(handoff): bind verifier source and reject acceptance promotion
This commit is contained in:
@@ -83,3 +83,9 @@ test('artifact paths cannot escape the imported package', () => shadow(base => {
|
||||
test('an imported schema cannot weaken the trusted schema', () => shadow(base => {
|
||||
fs.writeFileSync(path.join(base, 'HANDOFF_SCHEMA.json'), '{}');
|
||||
}));
|
||||
test('model quality cannot become PASS from the rejected development probes', () => shadow(base => {
|
||||
json(base, 'ACCEPTANCE', value => { value.verdicts.find(item => item.criterion === 'CV AI Accuracy').status = 'PASS'; });
|
||||
}));
|
||||
test('a mandatory entry blocker cannot be self-deferred', () => shadow(base => {
|
||||
json(base, 'ACCEPTANCE', value => { value.permissibleDeferrals.push('P10-ENTRY-01'); });
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user