feat: синтетическая спецификация для сквозных прогонов (BHL-018)

- examples/synthetic-spec: полный набор сущностей, профилей, пресета и антипаттерна
- bhl validate и profile resolve проходят пример без диагностик
- тест сверяет копию схем с spec/schemas и порядок разрешения
- README карты лаборатории дополнен spec/ и examples/
This commit is contained in:
Suslov-MD
2026-11-29 00:06:36 +03:00
parent 3aa8c6f944
commit c50092f7e4
28 changed files with 929 additions and 7 deletions
@@ -0,0 +1,20 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://baseline-harness.dev/spec/schemas/preset.schema.json",
"title": "Preset",
"description": "Именованная композиция профилей (D-013): разворачивается в набор профилей до разрешения.",
"type": "object",
"additionalProperties": false,
"required": ["id", "title", "description", "profiles"],
"properties": {
"id": { "type": "string", "pattern": "^preset-[a-z0-9]+(-[a-z0-9]+)*$" },
"title": { "type": "string", "minLength": 3 },
"description": { "type": "string", "minLength": 10 },
"profiles": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": { "type": "string", "pattern": "^prof-[a-z0-9]+(-[a-z0-9]+)*$" }
}
}
}