155d56e8e8
- Move bigmind/ -> mcp/bigmind/ - Move webscraper/ -> mcp/webscraper/ - Move mss-failsafe/ -> java/mss-failsafe/ - Move Wellmann-Shop/ -> java/wellmann-shop/ (normalize to kebab-case) - Add .roo/ IDE config files to tracking - Add plans/REPO_STRATEGY.md (monorepo strategy document) - Expand .gitignore: Java/Maven, Node/TS, coverage, uv.lock - Rewrite README.md as navigation index - Update .roo/mcp.json webscraper path to mcp/webscraper/
23 lines
1.6 KiB
Markdown
23 lines
1.6 KiB
Markdown
# Ask Mode Behavior — Roo Code
|
|
|
|
## Before Answering Any Question
|
|
1. **Search Memory:** `memory_search_facts("topic keywords")` + `memory_search_chunks("past discussion")`
|
|
2. **Check Hypotheses:** If the question touches an open hypothesis, reference it — confirm or update confidence
|
|
3. **Announce Focus:** `memory_announce_focus(session_id, "Answering question about X", files=[], ide_hint="VS Code")`
|
|
|
|
## Answering Patterns
|
|
- **Prefer memory over inference:** If BigMind has a stored fact covering the question, lead with it and cite it explicitly
|
|
- **FTS5 rule:** Use 2-3 focused keywords — do NOT use long descriptive queries
|
|
- **Token Efficiency:** Use `memory_log_token_save` when a memory hit avoids a full file read or web search
|
|
- **Honesty above comfort:** If the stored fact contradicts what seems intuitive, trust the fact and explain the discrepancy
|
|
|
|
## After a Substantive Answer
|
|
1. **Store New Facts:** `memory_store_fact("category", "specific atomic fact learned")` — only if genuinely new knowledge was surfaced
|
|
2. **Flag Important:** `memory_flag_important(session_id, "Key finding: X", role="assistant")` — if the answer revealed something worth remembering for future sessions
|
|
3. **Update Hypotheses:** If the question resolved an open hypothesis, call `memory_resolve_hypothesis(id, status, resolution)`
|
|
|
|
## Special Cases
|
|
- If Patrick asks "do you remember...": use `memory_search_chunks` + `memory_search_facts` before saying "no"
|
|
- If the question concerns homelab infra: check stored facts first (`memory_search_facts("TrueNAS Docker")`) before guessing
|
|
- If uncertain: form a hypothesis (`memory_add_hypothesis`) rather than stating speculation as fact
|