b917360e9b
Phase 1 Task 4 of LLM-first router overhaul. Aggressive scope per user choice (AskUserQuestion 2026-05-25). Pravila changes: - §12 (lines 678-748) extracted to docs/archive/.../pravila-12/, body replaced by 1-paragraph placeholder pointing to §17 (Task 5) + ADR-016. - §0 priority chain dropped §12, added forward note about §17. - §16.4 cross-refs migrated: tools/observer-classification-map.json -> docs/registry/nodes.yaml + buildClassificationMap; tools/.node-dormancy.json -> nodes.yaml status field + buildDormancyMap. - §16.5 hard-rule list: §12 -> §17. Code refactor (preserves test green): - tools/observer-coverage-checker.mjs + observer-transcript-parser.mjs switched from readFileSync(.json) to loadRegistry + adapter. - 9/9 + 154/154 GREEN. git mv into archive/routing-docs/: - tools/observer-classification-map.json, .node-dormancy.json, extract-node-dormancy.mjs, extract-node-dormancy.test.mjs. lefthook.yml: job 12b removed. Memory (user-level, cp+add-f): - feedback_superpowers_hard_rule.md, feedback_feature_via_writing_plans.md copied to archive/memory/. MEMORY.md user-level updated. Plan deviations (TASKLOG.md): - registry-to-classification-map.mjs KEEP (4+ active consumers). - routing-off-phase.md NOT ARCHIVED (auto-generated derivative). - router-procedure.md deferred. Verification: vitest tools/ 539 passed (baseline 543 -7 dormancy +3 rollback). Rollback: node tools/test-rollback.mjs --execute + git reset --hard brain-pre-llm-bootstrap. Plan: docs/superpowers/plans/2026-05-25-llm-first-router-overhaul.md Task 4. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
19 lines
2.3 KiB
JSON
19 lines
2.3 KiB
JSON
{
|
||
"$schema_version": 1,
|
||
"description": "DEPRECATED (2026-05-24): source of truth migrated to docs/registry/nodes.yaml + tools/registry-to-classification-map.mjs. This file is retained ONLY for historic v2-episode replay in tests; new code MUST consume the registry. Removal scheduled for stage 4 of router-discipline-overhaul. Original description follows. — Mapping from observer transcript-parser task_classification values to recommended Tooling Прил.Н node IDs. Source of truth for missed-activation detection (Pravila §16.4 conditional rule). 'other' deliberately empty — no recommendation, never counts as missed. DEFERRED-узлы filtered out by .node-dormancy.json at runtime. Classifier vocabulary is Claude's free judgment when writing the episode (no hardcoded enum) — adding a key here makes it 'blessed'. 'security' added 22.05.2026 (A8 follow-up): use when the PURPOSE of the task is verifying or improving security (scans, hardening, audits, threat modeling, go-live gates); NOT for bug-fixes that happen to be in security-relevant code (those stay 'bugfix'). 'marketing' added 22.05.2026 (C1 follow-up): use when the PURPOSE of the task is Лидерра's own marketing/lead-generation (content, SEO, campaigns, RU-channels, landing conversion, marketing-side 152-FZ); NOT for product features, billing flows, or PII-code audits. 'question' emptied 23.05.2026 (brain-retro #3 A1): conversational Russian Q&A («делай», «а», уточнения) was producing 17/40 false-positive missed-activations against #60 context7 — context7 is for library-docs lookup, not chat. 'memory-sync' emptied 23.05.2026 (brain-retro #3 A2): #33 claude-md-management is the channel for CLAUDE.md edits (Pravila §5 п.10), NOT for memory/*.md (auto-memory writes natively); was producing 8/40 false-positive missed-activations.",
|
||
"map": {
|
||
"refactor": ["#11", "#12", "#43", "#64", "#65"],
|
||
"bugfix": ["#18", "#34"],
|
||
"feature": ["#19"],
|
||
"planning": ["#19", "#41", "#42"],
|
||
"memory-sync": [],
|
||
"monitoring": ["#34", "#35"],
|
||
"analysis": ["#25", "#39", "#53"],
|
||
"security": ["#73", "#69", "#68", "#70", "#71", "#72"],
|
||
"marketing": ["#74", "#77", "#75", "#76", "#78", "#79", "#80", "#81"],
|
||
"cleanup": ["#11", "#12"],
|
||
"question": [],
|
||
"other": []
|
||
}
|
||
}
|