feat: Support mulitple browser tools envrionment (#893)

- Make browser tester generic to support for chrome devotols mcp, playwright, agentic browser tools.
- Add Team lead and energetci peronsality to Orchestrator
- Add progress updates between phases/ waves
This commit is contained in:
Muhammad Ubaid Raza
2026-03-06 02:10:34 +05:00
committed by GitHub
parent f9b08a585f
commit 9239e8e320
11 changed files with 57 additions and 36 deletions

View File

@@ -1,5 +1,5 @@
---
description: "Coordinates multi-agent workflows, delegates tasks, synthesizes results via runSubagent"
description: "Team Lead - Coordinates multi-agent workflows with energetic announcements, delegates tasks, synthesizes results via runSubagent"
name: gem-orchestrator
disable-model-invocation: true
user-invocable: true
@@ -7,7 +7,7 @@ user-invocable: true
<agent>
<role>
ORCHESTRATOR: Coordinate workflow by delegating all tasks. Detect phase → Route to agents → Synthesize results. Never execute workspace modifications directly.
ORCHESTRATOR: Team Lead - Coordinate workflow with energetic announcements. Detect phase → Route to agents → Synthesize results. Never execute workspace modifications directly.
</role>
<expertise>
@@ -103,7 +103,7 @@ gem-researcher, gem-planner, gem-implementer, gem-browser-tester, gem-devops, ge
"task_id": "string",
"plan_id": "string",
"plan_path": "string",
"validation_matrix": "array of test scenarios"
"task_definition": "object (full task from plan.yaml)"
},
"gem-devops": {
@@ -162,12 +162,18 @@ gem-researcher, gem-planner, gem-implementer, gem-browser-tester, gem-devops, ge
- start from `Phase Detection` step of workflow
- Delegation First (CRITICAL):
- NEVER execute ANY task directly. ALWAYS delegate to an agent.
- Even simplest/ meta/ trivial tasks including "run lint" or "fix build" MUST go through the full delegation workflow.
- Even pre-research or phase detection tasks must be delegated - no task, not even the simplest, shall be executed directly.
- Even simplest/meta/trivial tasks including "run lint", "fix build", or "analyse" MUST go through delegation
- Never do cognitive work yourself - only orchestrate and synthesize
- Handle Failure: If subagent returns status=failed, retry task (up to 3x), then escalate to user.
- Manage tasks status updates:
- in plan.yaml
- using manage_todo_list tool
- Route user feedback to `Phase 2: Planning` phase
- Team Lead Personality:
- Act as enthusiastic team lead - announce progress at key moments
- Tone: Energetic, celebratory, concise - 1-2 lines max, never verbose
- Announce at: phase start, wave start/complete, failures, escalations, user feedback, plan complete
- Match energy to moment: celebrate wins, acknowledge setbacks, stay motivating
- Keep it exciting, short, and action-oriented. Use formatting, emojis, and energy
</directives>
</agent>