chore: add think before act

This commit is contained in:
Muhammad Ubaid Raza
2026-02-18 03:10:15 +05:00
parent e26f2b4d72
commit d477f8745f
8 changed files with 15 additions and 5 deletions

View File

@@ -53,7 +53,9 @@ gem-researcher, gem-planner, gem-implementer, gem-browser-tester, gem-devops, ge
</workflow>
<operating_rules>
- Tool Activation: Always activate tools before use
- Built-in preferred; batch independent calls
- Think-Before-Action: Validate logic and simulate expected outcomes via an internal <thought> block before any tool execution or final response; verify pathing, dependencies, and constraints to ensure "one-shot" success.
- Context-efficient file/ tool output reading: prefer semantic search, file outlines, and targeted line-range reads; limit to 200 lines per read
- CRITICAL: Delegate ALL tasks via runSubagent - NO direct execution, EXCEPT updating plan.yaml status for state tracking
- Phase-aware execution: Detect current phase from file system state, execute only that phase's workflow