From df1c42963175fa7bedf39a0c41b739334483c520 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Wed, 25 Feb 2026 20:24:26 -0500 Subject: [PATCH] feat(mma): Add mma.ps1 helper script for manual triggering --- scripts/mma.ps1 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 scripts/mma.ps1 diff --git a/scripts/mma.ps1 b/scripts/mma.ps1 new file mode 100644 index 0000000..956c201 --- /dev/null +++ b/scripts/mma.ps1 @@ -0,0 +1,25 @@ +param( + [Parameter(Mandatory=$true, Position=0)] + [ValidateSet("tier1", "tier2", "tier3", "tier4", "orchestrator", "tech-lead", "worker", "qa")] + [string]$Role, + + [Parameter(Mandatory=$true, Position=1)] + [string]$Prompt +) + +# Map human-readable aliases to mma_exec roles +$RoleMap = @{ + "orchestrator" = "tier1-orchestrator" + "tier1" = "tier1-orchestrator" + "tech-lead" = "tier2-tech-lead" + "tier2" = "tier2-tech-lead" + "worker" = "tier3-worker" + "tier3" = "tier3-worker" + "qa" = "tier4-qa" + "tier4" = "tier4-qa" +} + +$MappedRole = $RoleMap[$Role.ToLower()] + +Write-Host "[MMA] Spawning Role: $MappedRole" -ForegroundColor Cyan +uv run python scripts/mma_exec.py --role $MappedRole $Prompt