Skip to content

Commit f79fd39

Browse files
committed
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>
1 parent b0347ce commit f79fd39

2 files changed

Lines changed: 50 additions & 1 deletion

File tree

crates/mcp-brain-server/src/routes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6685,7 +6685,7 @@ r#"You are categorizing memories for the π Brain knowledge system.
66856685
66866686
Available categories (output EXACTLY one of these values — no prefixes, no groups):
66876687
6688-
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
6688+
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
66896689
66906690
Rules:
66916691
- Output ONLY the category value (e.g. "biomedical" not "applied: biomedical")

crates/mcp-brain-server/src/types.rs

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,42 @@ pub enum BrainCategory {
9393
/// Finance, trading, risk modeling
9494
Finance,
9595

96+
// ── Robotics & Embodied AI ──
97+
/// Robotics, manipulation, locomotion, sensor fusion
98+
Robotics,
99+
/// Autonomous vehicles, drones, navigation
100+
Autonomous,
101+
102+
// ── Data & Knowledge ──
103+
/// Natural language processing, LLMs, text generation
104+
NaturalLanguage,
105+
/// Computer vision, image recognition, video understanding
106+
ComputerVision,
107+
/// Knowledge graphs, ontologies, semantic web
108+
KnowledgeRepresentation,
109+
/// Data pipelines, ETL, streaming, real-time processing
110+
DataEngineering,
111+
112+
// ── Cryptography & Privacy ──
113+
/// Cryptography, zero-knowledge proofs, homomorphic encryption
114+
Cryptography,
115+
/// Privacy, differential privacy, federated learning
116+
Privacy,
117+
118+
// ── Mathematics & Physics ──
119+
/// Mathematics, optimization, numerical methods
120+
Mathematics,
121+
/// Physics, simulation, computational science
122+
Physics,
123+
124+
// ── Human & Social ──
125+
/// Education, pedagogy, learning science
126+
Education,
127+
/// Ethics, AI safety, alignment
128+
AiSafety,
129+
/// Open source, community, collaboration
130+
OpenSource,
131+
96132
// ── Meta ──
97133
/// Knowledge about knowledge — epistemology, meta-learning
98134
MetaCognition,
@@ -135,6 +171,19 @@ impl std::fmt::Display for BrainCategory {
135171
Self::Biomedical => write!(f, "biomedical"),
136172
Self::Space => write!(f, "space"),
137173
Self::Finance => write!(f, "finance"),
174+
Self::Robotics => write!(f, "robotics"),
175+
Self::Autonomous => write!(f, "autonomous"),
176+
Self::NaturalLanguage => write!(f, "natural_language"),
177+
Self::ComputerVision => write!(f, "computer_vision"),
178+
Self::KnowledgeRepresentation => write!(f, "knowledge_representation"),
179+
Self::DataEngineering => write!(f, "data_engineering"),
180+
Self::Cryptography => write!(f, "cryptography"),
181+
Self::Privacy => write!(f, "privacy"),
182+
Self::Mathematics => write!(f, "mathematics"),
183+
Self::Physics => write!(f, "physics"),
184+
Self::Education => write!(f, "education"),
185+
Self::AiSafety => write!(f, "ai_safety"),
186+
Self::OpenSource => write!(f, "open_source"),
138187
Self::MetaCognition => write!(f, "meta_cognition"),
139188
Self::Benchmark => write!(f, "benchmark"),
140189
Self::Custom(s) => write!(f, "{s}"),

0 commit comments

Comments
 (0)