技能 2026-07-15 14:07 UTC
openclaw-config
由提交人 TechNickAI 提交,主要更新类型为:问题缺陷修复与稳定性提升。提交说明:fix(cortex): align KNOWLEDGE_CATEGORIES with current schema.md (#128)。解决了已知运行时异常与边界错误,提升系统稳定性。
Commit提交信息原文
fix(cortex): align KNOWLEDGE_CATEGORIES with current schema.md (#128) * fix(cortex): align KNOWLEDGE_CATEGORIES with current schema.md The hardcoded category list still used the old taxonomy (entities, concepts, summaries, how-to), but the live schema documented in skills/cortex/schema.md uses people/ventures/topics/synthesis/ decisions/learning/research. Result: status, rebuild-index, and setup all ignored the real store contents, reporting tiny page counts (e.g. 21) for stores with hundreds of valid pages because they only counted directories that no longer match the schema. Changes: - KNOWLEDGE_CATEGORIES now matches schema.md - MEMORY.md routing template links to people/ instead of entities/ - EXTRA_DIRECTORIES drops duplicate 'learning' (now in main list) Verified against a live store: 366 pages now counted correctly across all 7 schema categories. Co-Authored-By: Bosun <bosun@carmenta.ai> * fix(cortex): sync schema-template.md with new KNOWLEDGE_CATEGORIES Address bot review comments on PR #128: - cursor[bot] #3295366524 (Medium): schema-template.md still referenced old categories (entities/concepts/summaries/how-to) after KNOWLEDGE_CATEGORIES was updated to people/ventures/topics/synthesis/decisions/learning/research. Now all directory references, type labels, and the type enum are synchronized. - cursor[bot] #3295366526 (Low): learning/ now in KNOWLEDGE_CATEGORIES so setup creates it; removed from EXTRA_DIRECTORIES (no longer needed as extra). Status counting will include learning/ — by design, it's a first-class category now. - chatgpt-codex #3295368119 (P1): schema-template.md and deployed schema are now synchronized with the category list. * fix(cortex): sync schema + test fixtures with new KNOWLEDGE_CATEGORIES - schema-template.md: prettier formatting + all old category refs replaced - test_cortex.py: update fixtures from entities/concepts/summaries/how-to to people/ventures/topics/synthesis/decisions/learning/research - All 3 TestRebuildIndex tests now pass --------- Co-authored-by: Bosun <bosun@carmenta.ai> Co-authored-by: Hex Sullivan <hex@technick.ai>