feat(brain): expand to 48 categories + update reclassify prompt

Add 13 more categories:
- Robotics & Embodied: robotics, autonomous
- Data & Knowledge: natural_language, computer_vision, knowledge_representation, data_engineering
- Crypto & Privacy: cryptography, privacy
- Math & Physics: mathematics, physics
- Human & Social: education, ai_safety, open_source

Total: 48 categories (was 35). Updated reclassify prompt with full list.

Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
rUv 2026-03-26 00:25:26 +00:00
parent b0347ce1a8
commit f79fd39f94
2 changed files with 50 additions and 1 deletions

View file

@ -6685,7 +6685,7 @@ r#"You are categorizing memories for the π Brain knowledge system.
Available categories (output EXACTLY one of these values no prefixes, no groups):
sota, discovery, hypothesis, cross_domain, neural_architecture, compression, self_learning, reinforcement_learning, graph_intelligence, distributed_systems, edge_computing, hardware_acceleration, architecture, quantum, neuromorphic, bio_computing, cognitive_science, formal_methods, geopolitics, climate, biomedical, space, finance, security, performance, pattern, solution, convention, tooling, debug, meta_cognition, benchmark
sota, discovery, hypothesis, cross_domain, neural_architecture, compression, self_learning, reinforcement_learning, graph_intelligence, distributed_systems, edge_computing, hardware_acceleration, architecture, quantum, neuromorphic, bio_computing, cognitive_science, formal_methods, geopolitics, climate, biomedical, space, finance, security, performance, robotics, autonomous, natural_language, computer_vision, knowledge_representation, data_engineering, cryptography, privacy, mathematics, physics, education, ai_safety, open_source, meta_cognition, benchmark, pattern, solution, convention, tooling, debug
Rules:
- Output ONLY the category value (e.g. "biomedical" not "applied: biomedical")

View file

@ -93,6 +93,42 @@ pub enum BrainCategory {
/// Finance, trading, risk modeling
Finance,
// ── Robotics & Embodied AI ──
/// Robotics, manipulation, locomotion, sensor fusion
Robotics,
/// Autonomous vehicles, drones, navigation
Autonomous,
// ── Data & Knowledge ──
/// Natural language processing, LLMs, text generation
NaturalLanguage,
/// Computer vision, image recognition, video understanding
ComputerVision,
/// Knowledge graphs, ontologies, semantic web
KnowledgeRepresentation,
/// Data pipelines, ETL, streaming, real-time processing
DataEngineering,
// ── Cryptography & Privacy ──
/// Cryptography, zero-knowledge proofs, homomorphic encryption
Cryptography,
/// Privacy, differential privacy, federated learning
Privacy,
// ── Mathematics & Physics ──
/// Mathematics, optimization, numerical methods
Mathematics,
/// Physics, simulation, computational science
Physics,
// ── Human & Social ──
/// Education, pedagogy, learning science
Education,
/// Ethics, AI safety, alignment
AiSafety,
/// Open source, community, collaboration
OpenSource,
// ── Meta ──
/// Knowledge about knowledge — epistemology, meta-learning
MetaCognition,
@ -135,6 +171,19 @@ impl std::fmt::Display for BrainCategory {
Self::Biomedical => write!(f, "biomedical"),
Self::Space => write!(f, "space"),
Self::Finance => write!(f, "finance"),
Self::Robotics => write!(f, "robotics"),
Self::Autonomous => write!(f, "autonomous"),
Self::NaturalLanguage => write!(f, "natural_language"),
Self::ComputerVision => write!(f, "computer_vision"),
Self::KnowledgeRepresentation => write!(f, "knowledge_representation"),
Self::DataEngineering => write!(f, "data_engineering"),
Self::Cryptography => write!(f, "cryptography"),
Self::Privacy => write!(f, "privacy"),
Self::Mathematics => write!(f, "mathematics"),
Self::Physics => write!(f, "physics"),
Self::Education => write!(f, "education"),
Self::AiSafety => write!(f, "ai_safety"),
Self::OpenSource => write!(f, "open_source"),
Self::MetaCognition => write!(f, "meta_cognition"),
Self::Benchmark => write!(f, "benchmark"),
Self::Custom(s) => write!(f, "{s}"),