[{"data":1,"prerenderedAt":433},["ShallowReactive",2],{"navigation":3,"\u002Fguide\u002Fworkflow":95,"\u002Fguide\u002Fworkflow-surround":428},[4,22,53,61,68],{"title":5,"path":6,"stem":7,"children":8,"icon":11},"Getting Started","\u002Fgetting-started","1.getting-started\u002F1.index",[9,12,17],{"title":10,"path":6,"stem":7,"icon":11},"Overview","i-lucide-info",{"title":13,"path":14,"stem":15,"icon":16},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":18,"path":19,"stem":20,"icon":21},"Usage","\u002Fgetting-started\u002Fusage","1.getting-started\u002F3.usage","i-lucide-play",{"title":23,"path":24,"stem":25,"children":26,"page":52},"Guide","\u002Fguide","2.guide",[27,32,37,42,47],{"title":28,"path":29,"stem":30,"icon":31},"Features","\u002Fguide\u002Ffeatures","2.guide\u002F1.features","i-lucide-sparkles",{"title":33,"path":34,"stem":35,"icon":36},"Core Concepts","\u002Fguide\u002Fcore-concepts","2.guide\u002F2.core-concepts","i-lucide-brain",{"title":38,"path":39,"stem":40,"icon":41},"Workflow","\u002Fguide\u002Fworkflow","2.guide\u002F3.workflow","i-lucide-workflow",{"title":43,"path":44,"stem":45,"icon":46},"Comparison","\u002Fguide\u002Fcomparison","2.guide\u002F4.comparison","i-lucide-scale",{"title":48,"path":49,"stem":50,"icon":51},"Optimizations","\u002Fguide\u002Foptimizations","2.guide\u002F5.optimizations","i-lucide-zap",false,{"title":54,"path":55,"stem":56,"children":57,"icon":60},"Agents","\u002Fagents","3.agents\u002F1.index",[58],{"title":59,"path":55,"stem":56,"icon":60},"Agent Team","i-lucide-bot",{"title":62,"path":63,"stem":64,"children":65,"icon":67},"Configuration","\u002Fconfiguration","4.configuration\u002F1.index",[66],{"title":62,"path":63,"stem":64,"icon":67},"i-lucide-settings",{"title":69,"path":70,"stem":71,"children":72,"icon":74},"Resources","\u002Fresources","5.resources\u002F1.index",[73,75,80,85,90],{"title":69,"path":70,"stem":71,"icon":74},"i-lucide-book-open",{"title":76,"path":77,"stem":78,"icon":79},"Contributing","\u002Fresources\u002Fcontributing","5.resources\u002F2.contributing","i-lucide-git-pull-request",{"title":81,"path":82,"stem":83,"icon":84},"Production Best Practices","\u002Fresources\u002Foperational-notes","5.resources\u002F3.operational-notes","i-lucide-shield",{"title":86,"path":87,"stem":88,"icon":89},"Local Development","\u002Fresources\u002Flocal-development","5.resources\u002F4.local-development","i-lucide-code",{"title":91,"path":92,"stem":93,"icon":94},"Compatible Tools","\u002Fresources\u002Fcompatible-tools","5.resources\u002F5.compatible-tools","i-lucide-blocks",{"id":96,"title":38,"body":97,"description":421,"extension":422,"links":423,"meta":424,"navigation":425,"path":39,"seo":426,"stem":40,"__hash__":427},"docs\u002F2.guide\u002F3.workflow.md",{"type":98,"value":99,"toc":408},"minimark",[100,113,118,121,160,169,173,176,227,231,234,275,283,287,294,352,361,366,376,380,383,391,395],[101,102,103,104,108,109,112],"p",{},"Gem Team turns AI coding into a structured process. The Orchestrator runs a 4-phase pipeline: ",[105,106,107],"strong",{},"Init → Route → Plan → Execute → Output",", with ",[105,110,111],{},"Learn & Persist"," between waves. Each phase adapts to task complexity: simple fixes get a quick checklist, complex features get full planning and review.",[114,115,117],"h2",{"id":116},"phase-0-init-clarify","Phase 0: Init & Clarify",[101,119,120],{},"The Orchestrator assesses every incoming request:",[122,123,124,136,142,148,154],"ol",{},[125,126,127,130,131,135],"li",{},[105,128,129],{},"Read context",": external references, errors, user config (",[132,133,134],"code",{},".gem-team.yaml","), relevant memory.",[125,137,138,141],{},[105,139,140],{},"Detect intent",": feature, bug-fix, refactor, docs, research, or debug.",[125,143,144,147],{},[105,145,146],{},"Resolve Plan ID",": continue existing plan or start new one.",[125,149,150,153],{},[105,151,152],{},"Classify complexity",": intent-based defaults (bug-fix → LOW, research → LOW), with explicit user overrides. Full classification kicks in only when intent is ambiguous.",[125,155,156,159],{},[105,157,158],{},"Document gray areas",": assumptions logged; only blocking ambiguities prompt the user.",[161,162,163],"blockquote",{},[101,164,165,168],{},[105,166,167],{},"Outcome",": A clear complexity classification and plan state that drives everything downstream.",[114,170,172],{"id":171},"phase-1-route","Phase 1: Route",[101,174,175],{},"Routes based on plan state:",[177,178,179,192],"table",{},[180,181,182],"thead",{},[183,184,185,189],"tr",{},[186,187,188],"th",{},"State",[186,190,191],{},"Action",[193,194,195,207,217],"tbody",{},[183,196,197,204],{},[198,199,200,203],"td",{},[132,201,202],{},"continue_plan"," + no feedback",[198,205,206],{},"Load plan → jump to Phase 3 Execution",[183,208,209,214],{},[198,210,211,213],{},[132,212,202],{}," + feedback",[198,215,216],{},"Load plan → Phase 2 Planning (revision)",[183,218,219,224],{},[198,220,221],{},[132,222,223],{},"new_task",[198,225,226],{},"→ Phase 2 Planning",[114,228,230],{"id":229},"phase-2-planning","Phase 2: Planning",[101,232,233],{},"Planning depth matches complexity:",[235,236,237,251,265],"ul",{},[125,238,239,242,243,246,247,250],{},[105,240,241],{},"TRIVIAL\u002FLOW",": Orchestrator creates a minimal ephemeral plan (direct task checklist). Bug-fix tasks route to ",[132,244,245],{},"gem-debugger"," first, then ",[132,248,249],{},"gem-implementer",".",[125,252,253,256,257,260,261,264],{},[105,254,255],{},"MEDIUM",": Delegates to ",[132,258,259],{},"gem-planner"," for DAG-based task decomposition, wave scheduling, and risk analysis. ",[132,262,263],{},"gem-reviewer"," validates the plan.",[125,266,267,270,271,274],{},[105,268,269],{},"HIGH",": Same as MEDIUM, plus ",[132,272,273],{},"gem-critic"," reviews architecture, contracts, breaking changes, and API\u002Fschema\u002Fdata-flow impact.",[161,276,277],{},[101,278,279,282],{},[105,280,281],{},"Validation failure",": Replan with findings, or escalate to user if not replanable.",[114,284,286],{"id":285},"phase-3-execution","Phase 3: Execution",[101,288,289,290,293],{},"Work runs in ",[105,291,292],{},"waves",": groups of parallel tasks respecting dependency ordering:",[122,295,296,310,320,326,347],{},[125,297,298,301,302,305,306,309],{},[105,299,300],{},"Wave collection",": tasks with ",[132,303,304],{},"status=pending",", ",[132,307,308],{},"wave=current",", all deps met.",[125,311,312,315,316,319],{},[105,313,314],{},"Conflict prevention",": tasks listed in ",[132,317,318],{},"conflicts_with"," never run in parallel.",[125,321,322,325],{},[105,323,324],{},"Delegation",": each task goes to its assigned specialist agent with a filtered context snapshot (only relevant envelope sections).",[125,327,328,331,332,334,335],{},[105,329,330],{},"Integration gates",": ",[132,333,263],{}," verifies wave output:\n",[235,336,337,342],{},[125,338,339,341],{},[105,340,269],{},": every wave gated.",[125,343,344,346],{},[105,345,255],{},": only risk waves and the final wave.",[125,348,349,351],{},[105,350,111],{},": after each wave, high-confidence learnings (≥0.95) are batch-delegated: product decisions → PRD, technical conventions → AGENTS.md, patterns → memory, workflows → skills.",[161,353,354],{},[101,355,356,357,360],{},"Plans are ",[105,358,359],{},"resumable",": pause, inspect, continue from any completed wave.",[362,363,365],"h3",{"id":364},"wave-example","Wave Example",[367,368,374],"pre",{"className":369,"code":371,"language":372,"meta":373},[370],"language-text","Wave 1: [Researcher] explore codebase ───→ [Debugger] diagnose error\n                                                   ↓\nWave 2:                              [Implementer] fix + [Tester] verify\n                                                   ↓\nWave 3:                              [Reviewer] security + a11y audit\n","text","",[132,375,371],{"__ignoreMap":373},[114,377,379],{"id":378},"phase-4-output","Phase 4: Output",[101,381,382],{},"Structured status report with:",[235,384,385,388],{},[125,386,387],{},"Plan ID and objective · Task progress (completed\u002Ftotal, %)",[125,389,390],{},"Wave status · Blocked tasks with reasons · Next steps",[114,392,394],{"id":393},"next","Next",[101,396,397,401,402,401,405],{},[398,399,400],"a",{"href":34},"Core Concepts →"," · ",[398,403,404],{"href":29},"Features →",[398,406,407],{"href":55},"Agents →",{"title":373,"searchDepth":409,"depth":410,"links":411},1,2,[412,413,414,415,419,420],{"id":116,"depth":410,"text":117},{"id":171,"depth":410,"text":172},{"id":229,"depth":410,"text":230},{"id":285,"depth":410,"text":286,"children":416},[417],{"id":364,"depth":418,"text":365},3,{"id":378,"depth":410,"text":379},{"id":393,"depth":410,"text":394},"How Gem Team turns AI coding into a structured, reliable engineering process.","md",null,{},{"icon":41},{"title":38,"description":421},"RwsXY1xLHh567CwvpnUddsHumGI1zWwG4YSRTMMI0S4",[429,431],{"title":33,"path":34,"stem":35,"description":430,"icon":36,"children":-1},"How Gem Team turns AI coding into a reliable engineering process; knowledge layers, context envelope, and memory tiers.",{"title":43,"path":44,"stem":45,"description":432,"icon":46,"children":-1},"How Gem Team adds an engineering process on top of your existing AI coding tools.",1784549432116]