The Heist Pipeline
Every feature development cycle in Gangsta Agents follows the same structured process — a 6-phase Heist that ensures specs are written before code, designs are debated before committing, and results are verified before delivery.
Phase Overview
| # | Phase | Skill | Gate | Output |
|---|---|---|---|---|
| 1 | Reconnaissance | gangsta:reconnaissance | Dossier approved | Intel report |
| 2 | The Grilling | gangsta:the-grilling | Consensus approved | Design decisions |
| 3 | The Sit-Down | gangsta:the-sit-down | Contract signed | Specification |
| 4 | Resource Development | gangsta:resource-development | Execution Plan approved | Task breakdown |
| 5 | Execution | gangsta:the-hit | Completion approved | Working code |
| 6 | The Delivery | gangsta:laundering | Heist complete | Clean delivery |
The Six Phases
1. Reconnaissance
Gather intel on the codebase, requirements, dependencies, and existing patterns before writing a single line of code. Explore Reconnaissance →
2. The Grilling
Run a single-pass adversarial debate — Proposer, Devils-Advocate, and Synthesizer each run once — to stress-test the idea and design before committing to implementation. Explore The Grilling →
3. The Sit-Down
Draft the formal specification — no code allowed. The Contract becomes the binding spec that governs all subsequent implementation. Explore The Sit-Down →
4. Resource Development
Decompose the spec into work packages, assign territories, and prepare the infrastructure for parallel execution. Explore Resource Development →
5. Execution
Workers implement the approved work packages in parallel, with strict TDD enforcement and real-time progress reporting to Crew Leads. Explore Execution →
6. The Delivery
Verify, integrate, lint, test, and update the Ledger. Clean output only — no dirty code gets merged. Explore The Delivery →
Phase Gates
Every phase ends with a gate — a checkpoint requiring the Don's explicit approval. The framework never auto-advances to the next phase.
Starting a Heist
Express a building intention to your AI tool:
"I want to add user notifications to my app"
The 1% Rule triggers gangsta:reconnaissance automatically. From there, each phase flows into the next with your approval at every gate.
Auto-Advance Exceptions
The pipeline pauses for your approval at every phase gate — except two explicitly authorized transitions:
- After The Sit-Down — once you sign the Contract, the Heist auto-advances into Resource Development.
- After The Hit — once all Work Packages report complete, the Heist auto-advances into Laundering.
Every other transition waits for your explicit gate approval.
Resuming a Heist
If a session is interrupted:
- Check
docs/gangsta/for checkpoint files - Read the latest checkpoint
- Present the resume context to the Don
- Continue from the last completed phase
The Full Cycle
Reconnaissance → The Grilling → The Sit-Down → Resource Dev → Execution → The Delivery
│ │ │ │ │ │
Dossier Consensus Contract Execution Code + Clean
approved approved signed Plan Budgets Delivery
approved
Each phase produces a concrete artifact that the next phase depends on. You cannot skip phases, and you cannot proceed without explicit approval.