SkillPedia Skills Encyclopedia
中文 EN

Skills 2026-07-15 14:07 UTC

openclaw-config

Committed by TechNickAI. Update Category: Bug Fixes & Stability Improvements. Commit details: fix(cortex): align KNOWLEDGE_CATEGORIES with current schema.md (#128). This update resolves known runtime errors and enhances system reliability.

TechNickAI b00c039 TechNickAI/openclaw-config

CommitRaw commit message

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>