feat: разворачивание комка plugin-dev — 7 навыков (роутер-реестр)
Эпик роутер-реестр, спека v2 §2, этап 1. Зонтик plugin-dev развёрнут в 7 карточек-навыков + 7 под-узлов #57a..#57g. - 7 карточек plugin-dev__<навык>.contract.json (agent/command/hook/mcp/ plugin-structure/plugin-settings/skill-development) - nodes.yaml: узел #57 → #57a..#57g; keyword-триггеры на plugin-structure; ссылка L11 обновлена на plugin-dev:plugin-structure - зонтик plugin-dev убран (карточка + узел) - registry-load.test: 109 узлов / 101 active Регрессия (без 5 pre-existing node:test файлов): 4361 passed, exit 0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -5,9 +5,9 @@ import { loadRegistry, clearCache, findByClassification, findByKeyword, findActi
|
||||
describe('registry-load', () => {
|
||||
beforeEach(() => clearCache());
|
||||
|
||||
it('loads registry (103 nodes: 90 + разворачивание #19 superpowers в 14 под-узлов 18.06.2026)', () => {
|
||||
it('loads registry (109 nodes: разворачивание #33/#19/#57 комков 18.06.2026)', () => {
|
||||
const r = loadRegistry();
|
||||
expect(r.nodes).toHaveLength(103);
|
||||
expect(r.nodes).toHaveLength(109);
|
||||
expect(r.version).toBe('0.1.0');
|
||||
});
|
||||
|
||||
@@ -46,9 +46,9 @@ describe('registry-load', () => {
|
||||
it('findActiveNodes excludes non-active (nodes.yaml registry)', () => {
|
||||
const r = loadRegistry();
|
||||
const active = findActiveNodes(r);
|
||||
// 103 nodes total; #1 historic, #17 dormant, #44/#50/#54/#67/#82/#83 deferred;
|
||||
// #33→#33a/#33b (+1 active) и #19→#19a..#19n (14 active вместо 1, +13) → 82 + 13 = 95 active
|
||||
expect(active).toHaveLength(95);
|
||||
// 109 nodes total; #1 historic, #17 dormant, #44/#50/#54/#67/#82/#83 deferred;
|
||||
// развёрнуты комки: #33→2, #19→14, #57 plugin-dev→7 (active +1+13+6) → 82+13+6 = 101 active
|
||||
expect(active).toHaveLength(101);
|
||||
expect(active.map(n => n.id)).toContain('#18');
|
||||
expect(active.map(n => n.id)).toContain('#19a');
|
||||
expect(active.map(n => n.id)).not.toContain('#1');
|
||||
|
||||
Reference in New Issue
Block a user