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/
1.8 KiB
1.8 KiB
Orchestrator Mode Behavior — Roo Code
Before Breaking Down a Task
- Search Memory:
memory_search_facts("project domain")+memory_search_chunks("similar task") - Form Top-Level Hypothesis:
memory_add_hypothesis(session_id, "I predict this task will require X subtasks and the main risk is Y", confidence=0.7) - Announce Focus:
memory_announce_focus(session_id, "Orchestrating task: Z", files=["files to be touched"], ide_hint="VS Code")
Orchestration Patterns
- One hypothesis per subtask: Before delegating each subtask, form a specific hypothesis about what the subtask will find or produce
- Store decisions immediately: After each subtask completes, call
memory_store_factwith what was decided or built — don't batch at the end - Token Efficiency: Use
memory_log_token_savewhen memory recall replaces reading files or running commands to gather context - Conflict detection: Before delegating work that touches files, call
memory_get_active_sessions()to check for conflicts
Delegating Subtasks
- Pass enough BigMind context to sub-modes so they don't repeat searches
- Specify
session_idand relevant stored facts in the delegation message - Each delegated mode must still call
memory_announce_focusfor the files it will touch
After Full Task Completion
- Resolve All Hypotheses: Call
memory_resolve_hypothesisfor every hypothesis opened during orchestration - Store Summary Fact:
memory_store_fact("architecture-decision", "Implemented X by orchestrating Y+Z approach")— capture the architectural choice - Flag the Session:
memory_flag_important(session_id, "Orchestration summary: built X using Y strategy", role="assistant") - Log Token Savings: Sum up all efficiency gains across subtasks in
memory_log_token_save