%%{init: {'theme':'base', 'themeVariables': {'lineColor':'#888888', 'edgeLabelBackground':'#ffffff', 'clusterBorder':'#b0b0b0', 'clusterBkg':'#d4e8fb', 'primaryColor':'#ffe9b3'}}}%%
flowchart LR
    A["📝 create-issue"]
    B["✨ optimize-issue-for-ai-agent"]
    C["👤 assign-issue"]
    D["🛠️ implement"]
    E["🔍 automated PR-review"]
    F["👥 human review<br/>(required)"]
    G["✅ merge"]
    A --> B --> C --> D --> E --> F --> G
    E -. "changes requested" .-> D
    F -. "changes requested" .-> D
    G -. "next story" .-> A
