Heist Pipeline
Resource Development
Phase 4 — Decompose the Contract into work packages and allocate territories.
Resource Development
Phase 4 of the Heist Pipeline
Decompose the Contract into parallel work packages, assign territories, and create the War Plan. This is where the Underboss (COO) organizes the operation.
Skill: gangsta:resource-developmentSkill type: Flexible — decomposition adapts to feature complexity
Purpose: Turn the Contract into an actionable plan. No implementation yet — just planning and allocation.
Process
- Analyze the Contract — Break the specification into discrete work packages
- Identify territories — Group related work into domains (e.g., frontend, backend, database)
- Assign work packages — Map each package to a territory and responsible Capo
- Estimate tributes — Assign resource budgets (time, complexity) to each package
- Map dependencies — Identify which packages must complete before others can start
- Produce the War Plan — Compile everything into a structured execution plan
Output: The War Plan
The War Plan contains:
- Work Packages — Discrete tasks with clear deliverables
- Territory Assignments — Which domain each package belongs to
- Tribute Estimates — Resource budgets per package
- Dependency Map — Which packages block others
- Execution Order — Recommended parallel/sequential task ordering
- Risk Mitigations — How to handle potential blockers
Phase Gate
GATE: War Plan Approved
The Don must review and approve the War Plan before execution. Verify work packages are appropriately scoped, dependencies are correctly mapped, tribute estimates are reasonable, and territory assignments make sense. Only approve when confident the plan is executable.
War Plan File
Resource Development produces the War Plan at:
docs/gangsta/{heist-name}/plans/{date}-war-plan.md
Parallel vs. Sequential Work
The War Plan identifies which tasks can run in parallel and which must be sequential:
- Parallel tasks — No dependencies between them; multiple Soldiers can work simultaneously
- Sequential tasks — One must complete before another begins; ordered execution
The Underboss optimizes for maximum parallelism while respecting dependency constraints.
Checklist Before Proceeding
- Contract fully decomposed into work packages
- Each package has clear deliverables
- Territories assigned to Capos
- Tributes estimated for all packages
- Dependencies mapped correctly
- War Plan reviewed and approved by Don