>
!git status --porcelain 2>/dev/null || true
!git branch --show-current 2>/dev/null || true
.moai/config/config.yaml
Rules and constraints governing all workflows are always loaded from these sources. Do NOT duplicate their content here:
$ARGUMENTS
[HARD] Route the Raw User Input above using the strict priority order below. Extract the FIRST WORD of the input for subcommand matching. All text after the subcommand keyword is CONTEXT to be passed to the matched workflow — it is NOT a routing signal and MUST NOT influence which workflow is selected.
--team: Force Agent Teams mode for parallel execution--solo: Force sub-agent mode (single agent per phase)When no flag is provided, the system evaluates task complexity and automatically selects between team mode (for complex, multi-domain tasks) and sub-agent mode (for focused, single-domain tasks).
[HARD] Extract the FIRST WORD from the Raw User Input section above. If it matches any subcommand below (or its alias), route to that workflow IMMEDIATELY. Do NOT analyze the remaining text for routing — it is context for the matched workflow: