graph LR A["๐ Requirements"] --> B["โ๏ธ Design"] B --> C["๐ป Code"] C --> D["๐ Review"] D --> E["๐งช Test"] E --> F["๐ Deploy"] F --> G["๐ง Maintain"] G -.->|"feedback"| A style A fill:#e3f2fd,stroke:#1565c0,color:#2e3440,stroke-width:3px style B fill:#e8eaf6,stroke:#283593,color:#2e3440,stroke-width:3px style C fill:#fff9c4,stroke:#f57f17,color:#2e3440,stroke-width:3px style D fill:#ffe0b2,stroke:#e65100,color:#2e3440,stroke-width:3px style E fill:#c8e6c9,stroke:#2e7d32,color:#2e3440,stroke-width:3px style F fill:#f3e5f5,stroke:#7b1fa2,color:#2e3440,stroke-width:3px style G fill:#e3f2fd,stroke:#1565c0,color:#2e3440,stroke-width:3px
graph LR subgraph "Agile Loop" A["๐ Plan"] --> B["๐ป Code"] B --> C["๐งช Test"] C --> D["๐ Deploy"] D --> E["๐ Feedback"] E --> A end subgraph "CI/CD Enablers" F["๐ง Git"] -.-> A G["โ๏ธ CI"] -.-> C H["๐ฆ CD"] -.-> D end style A fill:#e3f2fd,stroke:#1565c0,color:#2e3440,stroke-width:3px style B fill:#fff9c4,stroke:#f57f17,color:#2e3440,stroke-width:3px style C fill:#c8e6c9,stroke:#2e7d32,color:#2e3440,stroke-width:3px style D fill:#f3e5f5,stroke:#7b1fa2,color:#2e3440,stroke-width:3px style E fill:#ffe0b2,stroke:#e65100,color:#2e3440,stroke-width:3px style F fill:#e8eaf6,stroke:#283593,color:#2e3440,stroke-width:3px style G fill:#e8eaf6,stroke:#283593,color:#2e3440,stroke-width:3px style H fill:#e8eaf6,stroke:#283593,color:#2e3440,stroke-width:3px
graph TD B["๐จโ๐ป Developer"] -->|"writes"| C["๐ Code"] C -->|"reviews by"| R["๐ฅ Peer Review"] R -->|"fixes"| C C -->|"tests by"| T["๐งช QA Team"] T -->|"bugs reported"| C C -->|"deployed by"| O["๐ง Ops Team"] style B fill:#e3f2fd,stroke:#1565c0,color:#2e3440,stroke-width:3px style C fill:#fff9c4,stroke:#f57f17,color:#2e3440,stroke-width:3px style R fill:#ffe0b2,stroke:#e65100,color:#2e3440,stroke-width:3px style T fill:#c8e6c9,stroke:#2e7d32,color:#2e3440,stroke-width:3px style O fill:#f3e5f5,stroke:#7b1fa2,color:#2e3440,stroke-width:3px
graph TD subgraph "AI-Augmented Phases" P1["๐ Requirements\nโ AI summarizer"] P2["โ๏ธ Design\nโ AI architect"] P3["๐ป Code\nโ AI pair programmer"] P4["๐ Review\nโ AI reviewer"] P5["๐งช Test\nโ AI test generator"] P6["๐ Deploy\nโ AI ops"] end P1 --> P2 --> P3 --> P4 --> P5 --> P6 style P3 fill:#fff9c4,stroke:#f57f17,color:#2e3440,stroke-width:3px style P4 fill:#ffe0b2,stroke:#e65100,color:#2e3440,stroke-width:3px style P5 fill:#c8e6c9,stroke:#2e7d32,color:#2e3440,stroke-width:3px
graph TB subgraph "AI-Augmented Dev Loop" H["๐จโ๐ป Human Prompt"] --> A["๐ค AI Generates"] A --> V["โ Validate"] V -->|"Pass"| C["๐ Commit + CI"] V -->|"Fail/Fix"| A C -->|"๐ Iterate"| H C -->|"โ Green"| D["๐ Deploy"] end style H fill:#e3f2fd,stroke:#1565c0,color:#2e3440,stroke-width:3px style A fill:#fff9c4,stroke:#f57f17,color:#2e3440,stroke-width:3px style V fill:#c8e6c9,stroke:#2e7d32,color:#2e3440,stroke-width:3px style C fill:#e8eaf6,stroke:#283593,color:#2e3440,stroke-width:3px style D fill:#f3e5f5,stroke:#7b1fa2,color:#2e3440,stroke-width:3px
graph LR A1["๐ค AI: 10ร Code Gen"] --> M["โ๏ธ Multiplier"] B1["๐จโ๐ป Human: 0.8ร Review"] --> M C1["โ๏ธ CI: 0.95ร Safety"] --> M M --> R["โ 7.6ร Effective\n(not 10ร!)"] style A1 fill:#fff9c4,stroke:#f57f17,color:#2e3440,stroke-width:3px style B1 fill:#e3f2fd,stroke:#1565c0,color:#2e3440,stroke-width:3px style C1 fill:#c8e6c9,stroke:#2e7d32,color:#2e3440,stroke-width:3px style M fill:#e8eaf6,stroke:#283593,color:#2e3440,stroke-width:3px style R fill:#f3e5f5,stroke:#7b1fa2,color:#2e3440,stroke-width:3px
graph TD A["๐ค AI Agent"] -->|"gh run list"| G["๐ CI Status"] A -->|"gh pr create"| P["๐ Pull Request"] A -->|"git diff"| D["๐ Changes"] A -->|"git log"| L["๐ History"] A -->|"gh run view --log"| V["๐ Debug Logs"] style A fill:#fff9c4,stroke:#f57f17,color:#2e3440,stroke-width:3px style G fill:#e3f2fd,stroke:#1565c0,color:#2e3440,stroke-width:3px style P fill:#c8e6c9,stroke:#2e7d32,color:#2e3440,stroke-width:3px style D fill:#ffe0b2,stroke:#e65100,color:#2e3440,stroke-width:3px style L fill:#e8eaf6,stroke:#283593,color:#2e3440,stroke-width:3px style V fill:#ffcdd2,stroke:#c62828,color:#2e3440,stroke-width:3px
graph LR A["๐ค AI Generates Code"] --> B["โ๏ธ Auto-lint + CI"] B --> C{"โ Auto-pass?"} C -->|"No"| A C -->|"Yes"| D["๐ค AI Self-Review\n(style, patterns, API)"] D --> E{"โ AI OK?"} E -->|"No"| A E -->|"Yes"| F["๐จโ๐ป Human Review\n(semantics, design, tradeoffs)"] F --> G{"โ Approved?"} G -->|"No"| A G -->|"Yes"| H["๐ Merge"] style A fill:#fff9c4,stroke:#f57f17,color:#2e3440,stroke-width:3px style B fill:#e8eaf6,stroke:#283593,color:#2e3440,stroke-width:3px style D fill:#e3f2fd,stroke:#1565c0,color:#2e3440,stroke-width:3px style F fill:#ffe0b2,stroke:#e65100,color:#2e3440,stroke-width:3px style H fill:#c8e6c9,stroke:#2e7d32,color:#2e3440,stroke-width:3px
graph LR I["๐ฅ Input"] --> A["๐ค AI Implementation"] I --> O["๐ค AI Oracle\n(same prompt, different model)"] A -->|"result"| C{"โ Match?"} O -->|"expected"| C C -->|"Yes"| P["โ Pass"] C -->|"No"| F["๐ง Investigate\n(bias or bug?)"] style A fill:#fff9c4,stroke:#f57f17,color:#2e3440,stroke-width:3px style O fill:#e3f2fd,stroke:#1565c0,color:#2e3440,stroke-width:3px style C fill:#ffe0b2,stroke:#e65100,color:#2e3440,stroke-width:3px style P fill:#c8e6c9,stroke:#2e7d32,color:#2e3440,stroke-width:3px style F fill:#ffcdd2,stroke:#c62828,color:#2e3440,stroke-width:3px
graph TD S["๐งช AI-Era Test Strategies"] --> RT["๐ Round-trip"] S --> PB["๐ Property-based"] S --> OR["๐ง AI Oracle"] S --> DI["๐ Differential\n(same spec, different impl)"] RT --> RT1["Encode/Decode"] RT --> RT2["Serialize/Deserialize"] RT --> RT3["Compress/Decompress"] PB --> PB1["Algebraic Laws"] PB --> PB2["Invariants"] PB --> PB3["Bounds Checking"] OR --> OR1["Cross-model agreement"] OR --> OR2["Regression against legacy"] DI --> DI1["Compare C++ vs Python"] DI --> DI2["Compare v1 vs v2"] style S fill:#fff9c4,stroke:#f57f17,color:#2e3440,stroke-width:3px style RT fill:#e3f2fd,stroke:#1565c0,color:#2e3440,stroke-width:3px style PB fill:#c8e6c9,stroke:#2e7d32,color:#2e3440,stroke-width:3px style OR fill:#ffe0b2,stroke:#e65100,color:#2e3440,stroke-width:3px style DI fill:#f3e5f5,stroke:#7b1fa2,color:#2e3440,stroke-width:3px
graph LR subgraph "The Debt Spiral" direction LR S["๐ Ship Fast"] --> D["๐งฑ Tech Debt"] D --> C["๐ Velocity Drops"] C --> M["๐ง More Refactoring"] M --> S end subgraph "The Discipline Path" direction LR P["๐ Plan First"] --> Q["โ Quality Gates"] Q --> V["๐ Measured Velocity"] V --> R["โป๏ธ Sustainable Pace"] R --> P end style S fill:#ffcdd2,stroke:#c62828,color:#2e3440,stroke-width:3px style D fill:#ffe0b2,stroke:#e65100,color:#2e3440,stroke-width:3px style C fill:#fff9c4,stroke:#f57f17,color:#2e3440,stroke-width:3px style M fill:#ffcdd2,stroke:#c62828,color:#2e3440,stroke-width:3px style P fill:#c8e6c9,stroke:#2e7d32,color:#2e3440,stroke-width:3px style Q fill:#e3f2fd,stroke:#1565c0,color:#2e3440,stroke-width:3px style V fill:#f3e5f5,stroke:#7b1fa2,color:#2e3440,stroke-width:3px style R fill:#c8e6c9,stroke:#2e7d32,color:#2e3440,stroke-width:3px
graph TD subgraph "Low Trust" direction TD L1["๐ค AI generates"] L2["๐จโ๐ป Human rewrites\nfrom scratch"] L1 --> L2 end subgraph "Medium Trust" direction TD M1["๐ค AI generates"] M2["๐จโ๐ป Human edits"] M3["๐งช Tests validate"] M1 --> M2 --> M3 end subgraph "High Trust" direction TD H1["๐ค AI generates"] H2["โ๏ธ CI validates"] H3["๐ค AI self-fixes"] H4["๐จโ๐ป Quick review"] H1 --> H2 --> H3 --> H4 end style L2 fill:#ffcdd2,stroke:#c62828,color:#2e3440,stroke-width:3px style H3 fill:#c8e6c9,stroke:#2e7d32,color:#2e3440,stroke-width:3px style H4 fill:#e3f2fd,stroke:#1565c0,color:#2e3440,stroke-width:3px
graph TB subgraph "Old Mindset" O1["๐ช I write all the code"] O2["๐ I review everything"] O3["๐ข Manual testing"] O4["๐ฅ Hero deployments"] end subgraph "New Mindset" N1["๐ฏ I specify what matters"] N2["๐ค AI drafts, I refine"] N3["โ๏ธ Automated everywhere"] N4["๐ Data-driven quality"] end style O1 fill:#ffcdd2,stroke:#c62828,color:#2e3440,stroke-width:3px style O2 fill:#ffe0b2,stroke:#e65100,color:#2e3440,stroke-width:3px style O3 fill:#fff9c4,stroke:#f57f17,color:#2e3440,stroke-width:3px style O4 fill:#ffcdd2,stroke:#c62828,color:#2e3440,stroke-width:3px style N1 fill:#c8e6c9,stroke:#2e7d32,color:#2e3440,stroke-width:3px style N2 fill:#e3f2fd,stroke:#1565c0,color:#2e3440,stroke-width:3px style N3 fill:#e8eaf6,stroke:#283593,color:#2e3440,stroke-width:3px style N4 fill:#f3e5f5,stroke:#7b1fa2,color:#2e3440,stroke-width:3px
graph LR A1["๐ค AI Velocity"] --> S["โ Success"] A2["๐จโ๐ป Human Judgment"] --> S A3["๐ ๏ธ Validation Infra"] --> S style A1 fill:#fff9c4,stroke:#f57f17,color:#2e3440,stroke-width:3px style A2 fill:#e3f2fd,stroke:#1565c0,color:#2e3440,stroke-width:3px style A3 fill:#c8e6c9,stroke:#2e7d32,color:#2e3440,stroke-width:3px style S fill:#f3e5f5,stroke:#7b1fa2,color:#2e3440,stroke-width:3px