Skip to content

Add Chinese memory sector classification - #194

Draft
mameikagou wants to merge 1 commit into
CaviraOSS:mainfrom
mameikagou:agent/add-chinese-memory-classification
Draft

Add Chinese memory sector classification#194
mameikagou wants to merge 1 commit into
CaviraOSS:mainfrom
mameikagou:agent/add-chinese-memory-classification

Conversation

@mameikagou

Copy link
Copy Markdown

What changed

  • Add Chinese temporal and event patterns for episodic memories.
  • Add Chinese fact and concept patterns for semantic memories.
  • Add Chinese workflow and action patterns for procedural memories.
  • Add Chinese feeling and preference patterns for emotional memories.
  • Add Chinese reflection and learning patterns for reflective memories.
  • Add focused tests for all five sectors, mixed-sector content, and explicit sector overrides.

Why

The rule-based sector classifier currently uses English-only patterns. Chinese memories therefore fall back to semantic even when they clearly describe an episode, procedure, emotion, or reflection. This also affects sector-specific retrieval and decay behavior.

Validation

  • npm run typecheck
  • vitest run tests/chinese_classifier.test.ts tests/multilingual_dedup.test.ts --maxWorkers=1 --no-file-parallelism
  • vitest run tests/verify.test.ts --maxWorkers=1 --no-file-parallelism

All checks pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant