[{"data":1,"prerenderedAt":454},["ShallowReactive",2],{"navigation_docs":3,"-heist-pipeline-the-hit":129,"-heist-pipeline-the-hit-surround":449},[4,28,62,94,100,125],{"title":5,"path":6,"stem":7,"children":8,"order":11,"icon":27},"Getting Started","/getting-started","1.getting-started/index",[9,12,17,22],{"title":10,"path":6,"stem":7,"order":11},"What is Gangsta Agents?",1,{"title":13,"path":14,"stem":15,"order":16},"Installation","/getting-started/installation","1.getting-started/installation",2,{"title":18,"path":19,"stem":20,"order":21},"Quickstart — Your First Heist","/getting-started/quickstart","1.getting-started/quickstart",3,{"title":23,"path":24,"stem":25,"order":26},"The 1% Rule","/getting-started/the-1-percent-rule","1.getting-started/the-1-percent-rule",4,"i-lucide-rocket",{"title":29,"path":30,"stem":31,"children":32,"order":11,"icon":61},"Core Concepts","/core-concepts","2.core-concepts/index",[33,34,39,43,48,52,56],{"title":29,"path":30,"stem":31,"order":11},{"title":35,"path":36,"stem":37,"order":38},"Intent Routing","/core-concepts/intent-routing","2.core-concepts/intent-routing",5,{"title":40,"path":41,"stem":42,"order":26},"Omerta — The Five Laws","/core-concepts/omerta","2.core-concepts/omerta",{"title":44,"path":45,"stem":46,"order":47},"Spec-Driven Development","/core-concepts/spec-driven-dev","2.core-concepts/spec-driven-dev",7,{"title":49,"path":50,"stem":51,"order":16},"The Gangsta Agents Family Hierarchy","/core-concepts/the-borgata","2.core-concepts/the-borgata",{"title":53,"path":54,"stem":55,"order":21},"The Heist Pipeline","/core-concepts/the-heist","2.core-concepts/the-heist",{"title":57,"path":58,"stem":59,"order":60},"The Ledger","/core-concepts/the-ledger","2.core-concepts/the-ledger",6,"i-lucide-brain",{"title":63,"icon":64,"path":65,"stem":66,"children":67},"Heist Pipeline","i-lucide-workflow","/heist-pipeline","3.heist-pipeline",[68,70,74,78,82,86,90],{"title":53,"path":65,"stem":69,"order":11},"3.heist-pipeline/index",{"title":71,"path":72,"stem":73,"order":16},"Reconnaissance","/heist-pipeline/reconnaissance","3.heist-pipeline/1.reconnaissance",{"title":75,"path":76,"stem":77,"order":21},"The Grilling","/heist-pipeline/the-grilling","3.heist-pipeline/2.the-grilling",{"title":79,"path":80,"stem":81,"order":26},"The Sit-Down","/heist-pipeline/the-sit-down","3.heist-pipeline/3.the-sit-down",{"title":83,"path":84,"stem":85,"order":38},"Resource Development","/heist-pipeline/resource-development","3.heist-pipeline/4.resource-development",{"title":87,"path":88,"stem":89,"order":60},"Execution","/heist-pipeline/the-hit","3.heist-pipeline/5.the-hit",{"title":91,"path":92,"stem":93,"order":47},"The Delivery","/heist-pipeline/laundering","3.heist-pipeline/6.laundering",{"title":95,"path":96,"stem":97,"children":98},"Skills Reference","/skills","4.skills/index",[99],{"title":95,"path":96,"stem":97},{"title":101,"icon":102,"path":103,"stem":104,"children":105},"Advanced","i-lucide-zap","/advanced","5.advanced",[106,109,113,117,121],{"title":107,"path":103,"stem":108,"order":11},"Advanced Topics","5.advanced/index",{"title":110,"path":111,"stem":112,"order":26},"Checkpoint Recovery","/advanced/checkpoint-recovery","5.advanced/checkpoint-recovery",{"title":114,"path":115,"stem":116,"order":38},"Contributing","/advanced/contributing","5.advanced/contributing",{"title":118,"path":119,"stem":120,"order":16},"Writing Custom Skills","/advanced/custom-skills","5.advanced/custom-skills",{"title":122,"path":123,"stem":124,"order":21},"Multi-Agent Patterns","/advanced/multi-agent-patterns","5.advanced/multi-agent-patterns",{"title":126,"path":127,"stem":128,"order":60},"Glossary","/glossary","6.glossary",{"id":130,"title":87,"body":131,"description":442,"extension":443,"links":444,"meta":445,"navigation":446,"path":88,"seo":447,"stem":89,"__hash__":448},"docs/3.heist-pipeline/5.the-hit.md",{"type":132,"value":133,"toc":432},"minimark",[134,138,145,148,162,171,176,220,224,227,247,258,262,265,286,290,293,330,333,337,340,366,370,374,378,422],[135,136,87],"h1",{"id":137},"execution",[139,140,141],"p",{},[142,143,144],"strong",{},"Phase 5 of the Heist Pipeline",[139,146,147],{},"Implementation. Workers implement the Execution Plan, writing code that fulfills the Contract. Each task follows Test-Driven Development within its budget.",[139,149,150,153,154,158,161],{},[142,151,152],{},"Skill:"," ",[155,156,157],"code",{},"gangsta:the-hit",[142,159,160],{},"Skill type:"," Rigid — TDD discipline and budget tracking are non-negotiable",[163,164,167,170],"callout",{"icon":165,"type":166},"i-lucide-crosshair","info",[142,168,169],{},"Purpose:"," Implement the Contract. Code is written here — and only here in the Heist Pipeline.",[172,173,175],"h2",{"id":174},"process","Process",[177,178,179,186,196,202,208,214],"ol",{},[180,181,182,185],"li",{},[142,183,184],{},"Assign Workers"," — The Underboss dispatches work packages to Worker subagents",[180,187,188,191,192,195],{},[142,189,190],{},"TDD per package"," — Each Worker follows ",[155,193,194],{},"gangsta:drill-tdd"," (Red-Green-Refactor)",[180,197,198,201],{},[142,199,200],{},"Respect budgets"," — Track resource consumption against estimated budgets",[180,203,204,207],{},[142,205,206],{},"Implement per Contract"," — Code matches the specification, not the other way around",[180,209,210,213],{},[142,211,212],{},"Report completion"," — Workers submit completed work for review",[180,215,216,219],{},[142,217,218],{},"Collect budget reports"," — Document actual resource consumption vs. estimates",[172,221,223],{"id":222},"test-driven-development","Test-Driven Development",[139,225,226],{},"During Execution, all implementation follows the Red-Green-Refactor cycle:",[177,228,229,235,241],{},[180,230,231,234],{},[142,232,233],{},"Red"," — Write a failing test that defines the desired behavior",[180,236,237,240],{},[142,238,239],{},"Green"," — Write the minimum code to make the test pass",[180,242,243,246],{},[142,244,245],{},"Refactor"," — Improve the code while keeping all tests green",[163,248,251,254,255,257],{"icon":249,"type":250},"i-lucide-test-tubes","warning",[142,252,253],{},"No code without a test."," Every feature, every fix, every change starts with a test. This isn't a preference — it's the drill (",[155,256,194],{},").",[172,259,261],{"id":260},"budget-tracking","Budget Tracking",[139,263,264],{},"Each work package has a budget estimated during Resource Development. During Execution:",[266,267,268,274,280],"ul",{},[180,269,270,273],{},[142,271,272],{},"Within budget"," — Task completed within estimate ✅",[180,275,276,279],{},[142,277,278],{},"Over budget"," — Task consumed more resources than estimated ⚠️",[180,281,282,285],{},[142,283,284],{},"Flagged"," — Over-budget tasks must report to the Don for review",[172,287,289],{"id":288},"spec-deviations","Spec Deviations",[139,291,292],{},"If implementation reveals that the Contract is wrong:",[163,294,297,302,305],{"icon":295,"type":296},"i-lucide-file-warning","danger",[139,298,299],{},[142,300,301],{},"Don't just change the code.",[139,303,304],{},"Omerta Law #5: Spec is Law. If the code contradicts the spec:",[177,306,307,312,318,324],{},[180,308,309],{},[142,310,311],{},"Stop implementation",[180,313,314,317],{},[142,315,316],{},"Propose a Contract revision"," (with reasoning)",[180,319,320,323],{},[142,321,322],{},"Get Don approval"," for the revision",[180,325,326,329],{},[142,327,328],{},"Resume implementation"," under the revised spec",[139,331,332],{},"This ensures every design change is intentional and tracked — not accidental drift.",[172,334,336],{"id":335},"output","Output",[139,338,339],{},"Execution produces:",[266,341,342,348,354,360],{},[180,343,344,347],{},[142,345,346],{},"Implemented code"," — Fulfilling the Contract",[180,349,350,353],{},[142,351,352],{},"Test suite"," — Proving the implementation works",[180,355,356,359],{},[142,357,358],{},"Budget report"," — Actual vs. estimated resource consumption",[180,361,362,365],{},[142,363,364],{},"Spec deviations"," — Any Contract revisions that were needed",[172,367,369],{"id":368},"phase-gate","Phase Gate",[368,371,373],{"title":372},"GATE: Completion Approved","The Don must review all deliverables. Verify code matches the Contract, all tests pass, budget reports are reviewed for over-budget items, and any spec deviations are documented. Only approve when all tasks are complete and verified.",[172,375,377],{"id":376},"checklist-before-proceeding","Checklist Before Proceeding",[266,379,382,392,398,404,410,416],{"className":380},[381],"contains-task-list",[180,383,386,391],{"className":384},[385],"task-list-item",[387,388],"input",{"disabled":389,"type":390},true,"checkbox"," All work packages implemented",[180,393,395,397],{"className":394},[385],[387,396],{"disabled":389,"type":390}," All tests passing (Red-Green-Refactor followed)",[180,399,401,403],{"className":400},[385],[387,402],{"disabled":389,"type":390}," Code matches Contract (no unauthorized spec deviations)",[180,405,407,409],{"className":406},[385],[387,408],{"disabled":389,"type":390}," Budget reports submitted",[180,411,413,415],{"className":412},[385],[387,414],{"disabled":389,"type":390}," Any spec deviations documented and approved",[180,417,419,421],{"className":418},[385],[387,420],{"disabled":389,"type":390}," Don approves completion",[139,423,424,428,429],{},[425,426,427],"a",{"href":84},"Previous: Resource Development ←"," | ",[425,430,431],{"href":92},"Next: The Delivery →",{"title":433,"searchDepth":16,"depth":16,"links":434},"",[435,436,437,438,439,440,441],{"id":174,"depth":16,"text":175},{"id":222,"depth":16,"text":223},{"id":260,"depth":16,"text":261},{"id":288,"depth":16,"text":289},{"id":335,"depth":16,"text":336},{"id":368,"depth":16,"text":369},{"id":376,"depth":16,"text":377},"Phase 5 — Parallel implementation by Workers using Test-Driven Development and budget tracking.","md",null,{},{"order":60},{"title":87,"description":442},"BfEq_bAGk8wzd6F5G9ZNiQIRMSm0NtN5ltGVbqVA4js",[450,452],{"title":83,"path":84,"stem":85,"description":451,"order":38,"children":-1},"Phase 4 — Decompose the Contract into work packages and allocate territories.",{"title":91,"path":92,"stem":93,"description":453,"order":47,"children":-1},"Phase 6 — Verification, integration, and Ledger update. Clean production-ready code.",1776673363026]