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:#88c0d0,stroke:#4c566a,color:#2e3440 style B fill:#81a1c1,stroke:#4c566a,color:#2e3440 style C fill:#ebcb8b,stroke:#4c566a,color:#2e3440 style D fill:#d08770,stroke:#4c566a,color:#2e3440 style E fill:#a3be8c,stroke:#4c566a,color:#2e3440 style F fill:#b48ead,stroke:#4c566a,color:#2e3440 style G fill:#88c0d0,stroke:#4c566a,color:#2e3440
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:#88c0d0,stroke:#4c566a,color:#2e3440 style B fill:#ebcb8b,stroke:#4c566a,color:#2e3440 style C fill:#a3be8c,stroke:#4c566a,color:#2e3440 style D fill:#b48ead,stroke:#4c566a,color:#2e3440 style E fill:#d08770,stroke:#4c566a,color:#2e3440 style F fill:#81a1c1,stroke:#4c566a,color:#2e3440 style G fill:#81a1c1,stroke:#4c566a,color:#2e3440 style H fill:#81a1c1,stroke:#4c566a,color:#2e3440
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:#88c0d0,stroke:#4c566a,color:#2e3440 style C fill:#ebcb8b,stroke:#4c566a,color:#2e3440 style R fill:#d08770,stroke:#4c566a,color:#2e3440 style T fill:#a3be8c,stroke:#4c566a,color:#2e3440 style O fill:#b48ead,stroke:#4c566a,color:#2e3440
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:#ebcb8b,stroke:#4c566a,color:#2e3440 style P4 fill:#d08770,stroke:#4c566a,color:#2e3440 style P5 fill:#a3be8c,stroke:#4c566a,color:#2e3440
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:#88c0d0,stroke:#4c566a,color:#2e3440 style A fill:#ebcb8b,stroke:#4c566a,color:#2e3440 style V fill:#a3be8c,stroke:#4c566a,color:#2e3440 style C fill:#81a1c1,stroke:#4c566a,color:#2e3440 style D fill:#b48ead,stroke:#4c566a,color:#2e3440
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:#ebcb8b,stroke:#4c566a,color:#2e3440 style B1 fill:#88c0d0,stroke:#4c566a,color:#2e3440 style C1 fill:#a3be8c,stroke:#4c566a,color:#2e3440 style M fill:#81a1c1,stroke:#4c566a,color:#2e3440 style R fill:#b48ead,stroke:#4c566a,color:#2e3440
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:#ebcb8b,stroke:#4c566a,color:#2e3440 style G fill:#88c0d0,stroke:#4c566a,color:#2e3440 style P fill:#a3be8c,stroke:#4c566a,color:#2e3440 style D fill:#d08770,stroke:#4c566a,color:#2e3440 style L fill:#81a1c1,stroke:#4c566a,color:#2e3440 style V fill:#bf616a,stroke:#4c566a,color:#2e3440
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:#ebcb8b,stroke:#4c566a,color:#2e3440 style B fill:#81a1c1,stroke:#4c566a,color:#2e3440 style D fill:#88c0d0,stroke:#4c566a,color:#2e3440 style F fill:#d08770,stroke:#4c566a,color:#2e3440 style H fill:#a3be8c,stroke:#4c566a,color:#2e3440
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:#ebcb8b,stroke:#4c566a,color:#2e3440 style O fill:#88c0d0,stroke:#4c566a,color:#2e3440 style C fill:#d08770,stroke:#4c566a,color:#2e3440 style P fill:#a3be8c,stroke:#4c566a,color:#2e3440 style F fill:#bf616a,stroke:#4c566a,color:#2e3440
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:#ebcb8b,stroke:#4c566a,color:#2e3440 style RT fill:#88c0d0,stroke:#4c566a,color:#2e3440 style PB fill:#a3be8c,stroke:#4c566a,color:#2e3440 style OR fill:#d08770,stroke:#4c566a,color:#2e3440 style DI fill:#b48ead,stroke:#4c566a,color:#2e3440
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:#bf616a,stroke:#4c566a,color:#eceff4 style D fill:#d08770,stroke:#4c566a,color:#2e3440 style C fill:#ebcb8b,stroke:#4c566a,color:#2e3440 style M fill:#bf616a,stroke:#4c566a,color:#eceff4 style P fill:#a3be8c,stroke:#4c566a,color:#2e3440 style Q fill:#88c0d0,stroke:#4c566a,color:#2e3440 style V fill:#b48ead,stroke:#4c566a,color:#2e3440 style R fill:#a3be8c,stroke:#4c566a,color:#2e3440
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:#bf616a,stroke:#4c566a,color:#eceff4 style H3 fill:#a3be8c,stroke:#4c566a,color:#2e3440 style H4 fill:#88c0d0,stroke:#4c566a,color:#2e3440
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:#bf616a,stroke:#4c566a,color:#eceff4 style O2 fill:#d08770,stroke:#4c566a,color:#2e3440 style O3 fill:#ebcb8b,stroke:#4c566a,color:#2e3440 style O4 fill:#bf616a,stroke:#4c566a,color:#eceff4 style N1 fill:#a3be8c,stroke:#4c566a,color:#2e3440 style N2 fill:#88c0d0,stroke:#4c566a,color:#2e3440 style N3 fill:#81a1c1,stroke:#4c566a,color:#2e3440 style N4 fill:#b48ead,stroke:#4c566a,color:#2e3440
graph LR A1["๐ค AI Velocity"] --> S["โ Success"] A2["๐จโ๐ป Human Judgment"] --> S A3["๐ ๏ธ Validation Infra"] --> S style A1 fill:#ebcb8b,stroke:#4c566a,color:#2e3440 style A2 fill:#88c0d0,stroke:#4c566a,color:#2e3440 style A3 fill:#a3be8c,stroke:#4c566a,color:#2e3440 style S fill:#b48ead,stroke:#4c566a,color:#2e3440