feat: bhl audit — детерминированный движок аудита (BHL-026)

- встроенные проверки: команда качества, lockfile, CI-конфиг по Effective Spec
- subject: отпечаток дерева SHA-256 + git revision/dirty (git из PATH —
  узкое исключение sonarjs/no-os-command-from-path в eslint.config.mjs)
- evidence с fingerprint байтов; FAIL доказателен (отсутствие — наблюдение)
- отчёт проходит report validate; повторный аудит идентичен (тесты)
- требования без проверки → UNKNOWN/semantic/low; пакет 41/41
This commit is contained in:
Suslov-MD
2026-11-29 02:18:36 +03:00
parent 53b167268f
commit 02f29fb7cf
8 changed files with 603 additions and 26 deletions
+8
View File
@@ -81,4 +81,12 @@ export default defineConfig(
'max-lines-per-function': 'off',
},
},
{
files: ['src/audit.ts'],
rules: {
// git is optional audit metadata resolved from the operator PATH; absence yields
// no revision fields rather than a failure. Scoped to the audit engine only.
'sonarjs/no-os-command-from-path': 'off',
},
},
);