INTENT_SEARCH_INSTRUCTIONS

Constant INTENT_SEARCH_INSTRUCTIONS 

Source
pub const INTENT_SEARCH_INSTRUCTIONS: &str = r#"
## Intent-Aware Search

I'll analyze your query to determine the best search approach:

**Intent Detection**:
1. **Factual lookup**: "What was the decision about X?" → Direct search
2. **Exploration**: "How do we handle X?" → Broader semantic search
3. **Troubleshooting**: "Why is X failing?" → Include patterns, learnings
4. **Context gathering**: "What do we know about X?" → Multi-namespace search

**Search Strategy**:
- Use `mcp__plugin_subcog_subcog__subcog_recall` with appropriate mode based on intent
- Apply namespace filters when intent is clear
- Include related terms for broader exploration

**Tools to use**:
```json
{ "query": "<refined_query>", "mode": "hybrid", "limit": 10, "detail": "medium" }
```

For troubleshooting queries, also check:
- `ns:learnings` for past debugging insights
- `ns:patterns` for established approaches
- `ns:decisions` for architectural context
"#;