{ "name": "smart-context-management", "description": "Guide for managing and utilizing AI context profiles via the SmartContextModule to optimize behavior for specific tasks.", "tags": [ "system", "context", "optimization", "workflow" ], "category": "general", "created": "2026-06-23T11:29:23.335Z", "updated": "2026-06-24T21:58:03.530Z", "content": "---\nname: smart-context-management\ndescription: Guide for managing and utilizing AI context profiles via the SmartContextModule to optimize behavior for specific tasks.\ntags: [system, context, optimization, workflow]\n---\n\n# Smart Context Management\n\nThe `SmartContextModule` allows the AI to switch between pre-defined behavior profiles (temperature, style, and system prompts) to match the task at hand.\n\n## 📋 Available Standard Profiles\n- `chat`: General purpose, balanced, conversational.\n- `coding`: Focused on syntax, logic, and efficiency.\n- `debug`: Analytical, forensic, focused on root-cause analysis.\n- `technical`: High-density information, precise, documentation-style.\n- `creative`: Higher temperature, imaginative, fluid.\n\n## 🛠️ Custom Archetypes (Manual)\nBeyond the built-in profiles, the system can adopt \"Custom Archetypes\" through natural language instruction:\n- **Architect**: Focuses on system design, scalability, and modularity.\n- **Rapid-Prototype**: Prioritizes speed and execution over perfection.\n- **Chaos-Monkey**: Adversarial testing and stress-testing logic.\n- **Deep-Debug**: Extreme verbosity and assumption-checking.\n\n## 🚀 Workflow Integration\n1. **Analysis**: Identify the nature of the task (e.g., \"I need to build a new VFS layer\").\n2. **Selection**: Select the matching context (e.g., `architect`).\n3. **Activation**: Use `smart_context_set(name=\"profile_name\")` or natural language request.\n4. **Validation**: Verify the response style aligns with the profile objectives.\n5. **Reset**: Return to `chat` or `technical` once the specialized task is complete.\n\n## ⚠️ Best Practices\n- Avoid staying in `debug` or `coding` for general conversation to prevent overly rigid responses.\n- Use `architect` before writing large amounts of code to ensure the structure is sound.\n- Combine `chaos-monkey` with `deep-debug` for comprehensive system hardening.\n" }