[{"data":1,"prerenderedAt":551,"buildId":552},["ShallowReactive",2],{"\u002Fagents\u002Forchestrator":3,"\u002Fagents\u002Forchestrator-surround":313,"navigation":326},{"id":4,"title":5,"body":6,"description":300,"extension":301,"links":302,"meta":303,"navigation":304,"path":306,"seo":307,"stem":311,"__hash__":312},"docs\u002F3.agents\u002Forchestrator.md","Orchestrator",{"type":7,"value":8,"toc":291},"minimark",[9,14,23,27,86,90,151,155,171,175,247,251,260,264,287],[10,11,13],"h2",{"id":12},"role","Role",[15,16,17,18,22],"p",{},"Entry point for every task. Coordinates Phase 0-4 workflow. ",[19,20,21],"strong",{},"Never executes specialist work"," - only classifies, routes, synthesizes, reports. The Orchestrator is the engineering lead: it breaks down work, assigns specialists, checks quality, and learns.",[10,24,26],{"id":25},"when-to-delegate","When to Delegate",[28,29,30,46],"table",{},[31,32,33],"thead",{},[34,35,36,40,43],"tr",{},[37,38,39],"th",{},"Scenario",[37,41,42],{},"Delegate Orchestrator?",[37,44,45],{},"Why",[47,48,49,61,75],"tbody",{},[34,50,51,55,58],{},[52,53,54],"td",{},"Every new task",[52,56,57],{},"✅",[52,59,60],{},"Entry point; classifies and routes",[34,62,63,66,68],{},[52,64,65],{},"Continue existing plan",[52,67,57],{},[52,69,70,71],{},"Resumes via exact ",[72,73,74],"code",{},"plan_id",[34,76,77,80,83],{},[52,78,79],{},"Direct implementation",[52,81,82],{},"❌",[52,84,85],{},"Never writes code; delegates to specialists",[10,87,89],{"id":88},"responsibilities","Responsibilities",[28,91,92,102],{},[31,93,94],{},[34,95,96,99],{},[37,97,98],{},"Phase",[37,100,101],{},"Action",[47,103,104,119,127,135,143],{},[34,105,106,109],{},[52,107,108],{},"0: Init",[52,110,111,112,114,115,118],{},"Parse request → ",[72,113,74],{},", ",[72,116,117],{},"intent",", provisional complexity, risk signals (evidence only)",[34,120,121,124],{},[52,122,123],{},"1: Route",[52,125,126],{},"Fast path vs full plan, research\u002Fchallenge paths, continue\u002Fextend",[34,128,129,132],{},[52,130,131],{},"2: Plan",[52,133,134],{},"Delegate to Planner (MEDIUM\u002FHIGH), self-check, and select a pre-execution plan reviewer only for HIGH, high-risk, critic-signal, or explicitly requested work",[34,136,137,140],{},[52,138,139],{},"3: Execute",[52,141,142],{},"Wave loop: schedule -> delegate -> persist -> gate. Read-only-only and documentation-only waves skip post-wave gates; other MEDIUM\u002FHIGH or high-risk work runs them. Each gate has at most two attempts with durable state persisted before reviewer invocation. The final review runs at most two parallel code and integration reviewers, with a plan reviewer only for HIGH or critic-risk work.",[34,144,145,148],{},[52,146,147],{},"4: Output",[52,149,150],{},"Structured status, memory promotion, skill extraction",[10,152,154],{"id":153},"key-behaviors","Key Behaviors",[156,157,158,162,165,168],"ul",{},[159,160,161],"li",{},"Evidence-only classification (Phase 0) - no repo inspection",[159,163,164],{},"Fast path when: single owner, bounded scope, clear criteria, no risk signals",[159,166,167],{},"Relational invariant fallbacks - infer intent, don't reject valid work",[159,169,170],{},"Failure classification routes to correct handler (Debugger, Planner, escalate)",[10,172,174],{"id":173},"configuration","Configuration",[176,177,182],"pre",{"className":178,"code":179,"language":180,"meta":181,"style":181},"language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# .gem-team.yaml\norchestrator:\n  max_concurrent_agents: 2\n  git_commit_on_gate_pass: false\nmodel_routing:\n  enabled: false\n","yaml","",[72,183,184,193,204,217,229,237],{"__ignoreMap":181},[185,186,189],"span",{"class":187,"line":188},"line",1,[185,190,192],{"class":191},"sHwdD","# .gem-team.yaml\n",[185,194,196,200],{"class":187,"line":195},2,[185,197,199],{"class":198},"swJcz","orchestrator",[185,201,203],{"class":202},"sMK4o",":\n",[185,205,207,210,213],{"class":187,"line":206},3,[185,208,209],{"class":198},"  max_concurrent_agents",[185,211,212],{"class":202},":",[185,214,216],{"class":215},"sbssI"," 2\n",[185,218,220,223,225],{"class":187,"line":219},4,[185,221,222],{"class":198},"  git_commit_on_gate_pass",[185,224,212],{"class":202},[185,226,228],{"class":227},"sfNiH"," false\n",[185,230,232,235],{"class":187,"line":231},5,[185,233,234],{"class":198},"model_routing",[185,236,203],{"class":202},[185,238,240,243,245],{"class":187,"line":239},6,[185,241,242],{"class":198},"  enabled",[185,244,212],{"class":202},[185,246,228],{"class":227},[10,248,250],{"id":249},"definition","Definition",[15,252,253],{},[254,255,257],"a",{"href":256},"\u002F.apm\u002Fagents\u002Fgem-orchestrator.agent.md",[72,258,259],{},".apm\u002Fagents\u002Fgem-orchestrator.agent.md",[10,261,263],{"id":262},"related","Related",[156,265,266,273,280],{},[159,267,268,272],{},[254,269,271],{"href":270},"\u002Fguide\u002Fworkflow","Workflow"," - Phase 0-4 detail",[159,274,275,279],{},[254,276,278],{"href":277},"\u002Fguide\u002Ffailure-handling","Failure Handling"," - Classification taxonomy",[159,281,282,286],{},[254,283,285],{"href":284},"\u002Fgetting-started\u002Fconcepts","Core Concepts"," - Handoffs, memory, waves",[288,289,290],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":181,"searchDepth":188,"depth":195,"links":292},[293,294,295,296,297,298,299],{"id":12,"depth":195,"text":13},{"id":25,"depth":195,"text":26},{"id":88,"depth":195,"text":89},{"id":153,"depth":195,"text":154},{"id":173,"depth":195,"text":174},{"id":249,"depth":195,"text":250},{"id":262,"depth":195,"text":263},"Central coordinator - classifies, routes, delegates, tracks state, enforces gates.","md",null,{},{"icon":305},"i-lucide-command","\u002Fagents\u002Forchestrator",{"title":308,"description":309,"ogTitle":308,"ogDescription":310},"Orchestrator Agent - Gem Team","The gem-orchestrator coordinates phases 0-4: classify, route, plan, execute, report.","The gem-orchestrator coordinates phases 0-4.","3.agents\u002Forchestrator","R8Rku11DIEsZiRNHu7GvQlUg3J77T0FTEQV_xmHos54",[314,320],{"title":315,"path":316,"stem":317,"description":318,"icon":319,"children":-1},"Model Routing","\u002Fagents\u002Fmodel-routing","3.agents\u002Fmodel-routing","Configurable two-tier model routing matching capability to task demands.","i-lucide-cpu",{"title":321,"path":322,"stem":323,"description":324,"icon":325,"children":-1},"Planner","\u002Fagents\u002Fplanner","3.agents\u002Fplanner","Builds minimal wave plans with ordered waves, routing, handoffs, risk gates.","i-lucide-clipboard-list",[327,351,423,490,522],{"title":328,"path":329,"stem":330,"children":331,"icon":333},"Getting Started","\u002Fgetting-started","1.getting-started\u002F1.index",[332,334,337,342,347],{"title":328,"path":329,"stem":330,"icon":333},"i-lucide-rocket",{"title":285,"path":284,"stem":335,"icon":336},"1.getting-started\u002Fconcepts","i-lucide-brain",{"title":338,"path":339,"stem":340,"icon":341},"First Steps Walkthrough","\u002Fgetting-started\u002Ffirst-steps","1.getting-started\u002Ffirst-steps","i-lucide-footprints",{"title":343,"path":344,"stem":345,"icon":346},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002Finstallation","i-lucide-download",{"title":348,"path":349,"stem":350,"icon":333},"Quick Start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002Fquick-start",{"title":352,"path":353,"stem":354,"children":355,"page":422},"Guide","\u002Fguide","2.guide",[356,359,364,369,374,378,381,386,391,395,399,404,409,412,417],{"title":285,"path":357,"stem":358,"icon":336},"\u002Fguide\u002Fcore-concepts","2.guide\u002F2.core-concepts",{"title":360,"path":361,"stem":362,"icon":363},"Comparison","\u002Fguide\u002Fcomparison","2.guide\u002F4.comparison","i-lucide-scale",{"title":365,"path":366,"stem":367,"icon":368},"Optimizations","\u002Fguide\u002Foptimizations","2.guide\u002F5.optimizations","i-lucide-zap",{"title":370,"path":371,"stem":372,"icon":373},"Works With Your Tools","\u002Fguide\u002Fcompatibility","2.guide\u002Fcompatibility","i-lucide-blocks",{"title":375,"path":376,"stem":377,"icon":368},"Smart & Efficient","\u002Fguide\u002Fefficiency","2.guide\u002Fefficiency",{"title":278,"path":277,"stem":379,"icon":380},"2.guide\u002Ffailure-handling","i-lucide-alert-triangle",{"title":382,"path":383,"stem":384,"icon":385},"Overview","\u002Fguide\u002Ffeatures","2.guide\u002Ffeatures","i-lucide-sparkles",{"title":387,"path":388,"stem":389,"icon":390},"Phase 0 - Init & Clarify","\u002Fguide\u002Finit-clarify","2.guide\u002Finit-clarify","i-lucide-search",{"title":392,"path":393,"stem":394,"icon":336},"Learns & Improves","\u002Fguide\u002Flearning","2.guide\u002Flearning",{"title":396,"path":397,"stem":398,"icon":325},"Phase 2 - Plan","\u002Fguide\u002Fplan","2.guide\u002Fplan",{"title":400,"path":401,"stem":402,"icon":403},"Quality by Default","\u002Fguide\u002Fquality","2.guide\u002Fquality","i-lucide-shield-check",{"title":405,"path":406,"stem":407,"icon":408},"Phase 1 - Route","\u002Fguide\u002Froute","2.guide\u002Froute","i-lucide-git-branch",{"title":271,"path":270,"stem":410,"icon":411},"2.guide\u002Fworkflow","i-lucide-workflow",{"title":413,"path":414,"stem":415,"icon":416},"Phase 3 - Execute","\u002Fguide\u002Fworkflow-execute","2.guide\u002Fworkflow-execute","i-lucide-play-circle",{"title":418,"path":419,"stem":420,"icon":421},"Phase 4 - Output","\u002Fguide\u002Fworkflow-output","2.guide\u002Fworkflow-output","i-lucide-check-circle",false,{"title":424,"path":425,"stem":426,"children":427,"icon":430},"Agents","\u002Fagents","3.agents\u002F1.index",[428,431,436,441,446,451,456,461,466,467,468,469,473,477,481,486],{"title":429,"path":425,"stem":426,"icon":430},"Agent Team","i-lucide-bot",{"title":432,"path":433,"stem":434,"icon":435},"Browser Tester","\u002Fagents\u002Fbrowser-tester","3.agents\u002Fbrowser-tester","i-lucide-monitor",{"title":437,"path":438,"stem":439,"icon":440},"Code Simplifier","\u002Fagents\u002Fcode-simplifier","3.agents\u002Fcode-simplifier","i-lucide-scissors",{"title":442,"path":443,"stem":444,"icon":445},"Debugger","\u002Fagents\u002Fdebugger","3.agents\u002Fdebugger","i-lucide-bug",{"title":447,"path":448,"stem":449,"icon":450},"DevOps","\u002Fagents\u002Fdevops","3.agents\u002Fdevops","i-lucide-server",{"title":452,"path":453,"stem":454,"icon":455},"Documentation","\u002Fagents\u002Fdocumentation","3.agents\u002Fdocumentation","i-lucide-book-open",{"title":457,"path":458,"stem":459,"icon":460},"Implementer","\u002Fagents\u002Fimplementer","3.agents\u002Fimplementer","i-lucide-code",{"title":462,"path":463,"stem":464,"icon":465},"Mobile Tester","\u002Fagents\u002Fmobile-tester","3.agents\u002Fmobile-tester","i-lucide-smartphone",{"title":315,"path":316,"stem":317,"icon":319},{"title":5,"path":306,"stem":311,"icon":305},{"title":321,"path":322,"stem":323,"icon":325},{"title":470,"path":471,"stem":472,"icon":390},"Researcher","\u002Fagents\u002Fresearcher","3.agents\u002Fresearcher",{"title":474,"path":475,"stem":476,"icon":403},"Reviewer","\u002Fagents\u002Freviewer","3.agents\u002Freviewer",{"title":478,"path":479,"stem":480,"icon":408},"Reviewer Routing","\u002Fagents\u002Freviewer-routing","3.agents\u002Freviewer-routing",{"title":482,"path":483,"stem":484,"icon":485},"Skill Creator","\u002Fagents\u002Fskill-creator","3.agents\u002Fskill-creator","i-lucide-package",{"title":487,"path":488,"stem":489,"icon":485},"Packaged Skills","\u002Fagents\u002Fskills","3.agents\u002Fskills",{"title":174,"path":491,"stem":492,"children":493,"icon":495},"\u002Fconfiguration","4.configuration\u002F1.index",[494,496,500,505,509,513,517],{"title":174,"path":491,"stem":492,"icon":495},"i-lucide-settings",{"title":497,"path":498,"stem":499,"icon":450},"DevOps Configuration","\u002Fconfiguration\u002Fdevops","4.configuration\u002Fdevops",{"title":501,"path":502,"stem":503,"icon":504},"Configuration Examples","\u002Fconfiguration\u002Fexamples","4.configuration\u002Fexamples","i-lucide-file-code",{"title":506,"path":507,"stem":508,"icon":319},"Model Routing Configuration","\u002Fconfiguration\u002Fmodel-routing","4.configuration\u002Fmodel-routing",{"title":510,"path":511,"stem":512,"icon":305},"Orchestrator Configuration","\u002Fconfiguration\u002Forchestrator","4.configuration\u002Forchestrator",{"title":514,"path":515,"stem":516,"icon":403},"Quality Configuration","\u002Fconfiguration\u002Fquality","4.configuration\u002Fquality",{"title":518,"path":519,"stem":520,"icon":521},"Testing Configuration","\u002Fconfiguration\u002Ftesting","4.configuration\u002Ftesting","i-lucide-test-tube",{"title":523,"path":524,"stem":525,"children":526,"icon":455},"Resources","\u002Fresources","5.resources\u002F1.index",[527,528,533,538,542,546],{"title":523,"path":524,"stem":525,"icon":455},{"title":529,"path":530,"stem":531,"icon":532},"Contributing","\u002Fresources\u002Fcontributing","5.resources\u002F2.contributing","i-lucide-git-pull-request",{"title":534,"path":535,"stem":536,"icon":537},"Production Best Practices","\u002Fresources\u002Foperational-notes","5.resources\u002F3.operational-notes","i-lucide-shield",{"title":539,"path":540,"stem":541,"icon":460},"Local Development","\u002Fresources\u002Flocal-development","5.resources\u002F4.local-development",{"title":543,"path":544,"stem":545,"icon":373},"Compatible Tools","\u002Fresources\u002Fcompatible-tools","5.resources\u002F5.compatible-tools",{"title":547,"path":548,"stem":549,"icon":550},"Research & Benchmarks","\u002Fresources\u002Fresearch","5.resources\u002Fresearch","i-lucide-file-text",1796221227259,"b8d4f334-6b7e-4495-b303-be3e7dacd83e"]