e98ba1e527
Эпик роутер-реестр, спека v2 §2. Развёрнут самый маленький комок-зонтик в 2 отдельные карточки-навыка ради точного подбора роутером. Пилот выверил конвенцию для остальных 11 комков. - 2 карточки: claude-md-management__claude-md-improver + __revise-claude-md; поле skill = плагин:навык, kind external, zero-hash source - nodes.yaml: узел #33 развёрнут в дочерние #33a/#33b; ссылка L12 обновлена - schema.json: паттерн id расширен на дочерний суффикс #NNa - registry-load.test: счётчики узлов 89 в 90, active 81 в 82 - splitting-inventory.md: инвентаризация 12 комков + выверенная конвенция - тест-сторож split-pilot-claude-md + план пилота Регрессия свода: 4361 passed, 0 failed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
75 lines
2.9 KiB
JSON
75 lines
2.9 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "https://liderra.local/registry-schema.json",
|
|
"title": "Liderra Node Registry",
|
|
"type": "object",
|
|
"required": ["version", "nodes", "chains"],
|
|
"properties": {
|
|
"version": { "type": "string", "pattern": "^\\d+\\.\\d+\\.\\d+$" },
|
|
"nodes": {
|
|
"type": "array",
|
|
"items": { "$ref": "#/definitions/node" }
|
|
},
|
|
"chains": {
|
|
"type": "object",
|
|
"patternProperties": {
|
|
"^L\\d+$": { "$ref": "#/definitions/chain" }
|
|
}
|
|
}
|
|
},
|
|
"definitions": {
|
|
"node": {
|
|
"type": "object",
|
|
"required": ["id", "name", "slug", "category", "status", "triggers"],
|
|
"properties": {
|
|
"id": { "type": "string", "pattern": "^#\\d+[a-z]?$" },
|
|
"name": { "type": "string", "minLength": 3 },
|
|
"slug": { "type": "string", "pattern": "^[a-z0-9-]+(:[a-z0-9-]+)*$" },
|
|
"category": { "enum": ["phase-0", "phase-1", "phase-2", "phase-3", "off-phase"] },
|
|
"subcategory": { "type": ["string", "null"] },
|
|
"status": { "enum": ["active", "dormant", "deferred", "historic"] },
|
|
"dormancy_reason": { "type": ["string", "null"] },
|
|
"triggers": {
|
|
"type": "array",
|
|
"items": {
|
|
"oneOf": [
|
|
{ "type": "object", "required": ["keyword"], "properties": { "keyword": { "type": "string" }, "weight": { "type": "number", "minimum": 0, "maximum": 1 } }, "additionalProperties": false },
|
|
{ "type": "object", "required": ["classification"], "properties": { "classification": { "type": "string" }, "weight": { "type": "number", "minimum": 0, "maximum": 1 } }, "additionalProperties": false },
|
|
{ "type": "object", "required": ["file_pattern"], "properties": { "file_pattern": { "type": "string" }, "weight": { "type": "number", "minimum": 0, "maximum": 1 } }, "additionalProperties": false }
|
|
]
|
|
}
|
|
},
|
|
"boundaries": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"adr": { "type": "string", "pattern": "^ADR-\\d{3}$" },
|
|
"pair": { "type": "string", "pattern": "^#\\d+$" },
|
|
"relation": { "type": "string" },
|
|
"role": { "type": "string" }
|
|
}
|
|
}
|
|
},
|
|
"chain_membership": {
|
|
"type": "array",
|
|
"items": { "type": "string", "pattern": "^L\\d+$" }
|
|
},
|
|
"attributes": { "type": "object" },
|
|
"capabilities": { "type": "string", "minLength": 1 }
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"chain": {
|
|
"type": "object",
|
|
"required": ["name", "sequence"],
|
|
"properties": {
|
|
"name": { "type": "string" },
|
|
"sequence": { "type": "array", "items": { "type": "string" }, "minItems": 2 },
|
|
"triggers": { "type": "array" }
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
}
|