audit(hololake): record legacy Tauri security boundaries

This commit is contained in:
冰朔 2026-08-12 11:35:10 +08:00
commit 8508513d5d
3 changed files with 26 additions and 6 deletions

View file

@ -25,6 +25,9 @@ test('audit preserves security and secret migration prohibitions', () => {
test('visual implementation cannot start while audit gates remain open', () => {
assert.ok(audit.open_gates.includes('VISUAL_DIRECTION_SELECTION'))
assert.ok(audit.open_gates.includes('LEGACY_TAURI_SECURITY_SCAN'))
assert.ok(!audit.open_gates.includes('LEGACY_TAURI_SECURITY_SCAN'))
const legacyTauri = audit.donors.find((entry) => entry.path === '../hololake-platform')
assert.match(legacyTauri.security_scan, /REVIEW_COMPLETE/)
assert.ok(legacyTauri.validated_security_findings.includes('MODEL_TOOL_MUTATIONS_WITHOUT_EXACT_HUMAN_CONFIRMATION'))
assert.ok(audit.open_gates.includes('REVERSIBLE_DATA_MIGRATION_REHEARSAL'))
})