feat: схемы отчёта аудита, профили/пресеты и движок разрешения (BHL-019, BHL-012, BHL-013)

- spec/schemas: evidence, audit-finding, audit-report (BHL-019)
- spec/schemas: profile, preset с явным relax_to (BHL-012)
- packages/bhl: resolve.ts + bhl profile resolve — порядок не влияет,
  конфликты параметров и ослаблений, provenance и applicability (BHL-012, BHL-013)
- tests: корневые схемы 13/13, пакет 17/17
This commit is contained in:
Suslov-MD
2026-11-28 23:36:53 +03:00
parent 294bf9d68f
commit 5b514272cf
13 changed files with 1302 additions and 79 deletions
+2 -2
View File
@@ -32,8 +32,8 @@ test('использование: пустой запуск, --help и неиз
assert.equal(unknown.envelope.error.code, 'USAGE');
});
test('известные команды Wave B/C пока возвращают NOT_IMPLEMENTED и код 3', () => {
for (const command of ['spec', 'profile', 'report', 'audit']) {
test('известные команды Wave C/D пока возвращают NOT_IMPLEMENTED и код 3', () => {
for (const command of ['spec', 'report', 'audit']) {
const result = run(command);
assert.equal(result.code, 3, command);
assert.equal(result.envelope.ok, false, command);