# karitselmuthu/ai_sdlc_setup architecture

> Architecture diagram of the GitHub repository karitselmuthu/ai_sdlc_setup, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/karitselmuthu/ai_sdlc_setup
- Repository: https://github.com/karitselmuthu/ai_sdlc_setup

## Overview

AI SDLC Setup coordinates seven human-gated agents: triage turns backlog items into approved scope; architecture produces a versioned solution baseline; coding prepares a branch, tests and pull-request text; review and QA assess the change; release manages promotion and its record; SRE supports live-service reliability and incidents. The web page is the project entry point and approval interface, while core.py provides shared agent/model and approval plumbing. README.md documents the lifecycle and capabilities; source excerpts show selected internal dependencies, so unsampled implementation links are omitted.

Main entry points: [`review/agent.py`](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/review/agent.py) (Review agent), [`qa/agent.py`](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/qa/agent.py) (QA agent), [`sre/agent.py`](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/sre/agent.py) (SRE agent), [`coder/agent.py`](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/coder/agent.py) (Coding agent)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_planning["Planning"]
  node_triage["Triage agent<br/>[agent.py]"]
  node_architect["Architect agent<br/>[agent.py]"]
  node_baseline[("Approved baseline<br/>[baseline.py]")]
end

subgraph group_engineering["Engineering"]
  node_coder["Coding agent<br/>[agent.py]"]
  node_stack_adapters["Stack adapters<br/>[adapters.py]"]
  node_stack_detection["Stack detection<br/>[stack.py]"]
  node_diff_scan["Diff scanner<br/>[diffscan.py]"]
  node_coder_handoff["Code handoff<br/>[handoff.py]"]
end

subgraph group_assurance["Assurance"]
  node_review["Review agent<br/>[agent.py]"]
  node_review_adapters["Review adapters<br/>[adapters.py]"]
  node_qa["QA agent<br/>[agent.py]"]
end

subgraph group_operations["Operations"]
  node_release["Release agent<br/>[agent.py]"]
  node_release_adapters["Release adapters<br/>[adapters.py]"]
  node_aws_release["AWS support<br/>[aws.py]"]
  node_sre["SRE agent<br/>[agent.py]"]
  node_sre_evidence["Evidence analysis<br/>[evidence.py]"]
end

subgraph group_shared["Shared interface"]
  node_web["Project web page<br/>[app.py]"]
  node_core["Agent plumbing<br/>[core.py]"]
end

node_product_owner(("Product owner"))
node_human_reviewers(("Human reviewers"))

node_product_owner -->|"approves scope"| node_triage
node_triage -->|"hands off scope"| node_architect
node_architect -->|"informs ticket"| node_coder
node_coder -->|"submits change"| node_review
node_review -->|"assesses change"| node_qa
node_qa -->|"recommends quality"| node_release
node_release -->|"operates service"| node_sre
node_human_reviewers -->|"approves drafts"| node_architect
node_human_reviewers -->|"reviews change"| node_coder
node_human_reviewers -->|"approves findings"| node_review
node_human_reviewers -->|"approves QA"| node_qa
node_human_reviewers -->|"authorizes release"| node_release
node_human_reviewers -->|"authorizes actions"| node_sre
node_architect -.->|"records approvals"| node_baseline
node_coder -.->|"detects checks"| node_stack_adapters
node_stack_adapters -->|"uses"| node_stack_detection
node_coder -.->|"scans changes"| node_diff_scan
node_coder -.->|"prepares handoff"| node_coder_handoff
node_review -->|"detects review areas"| node_review_adapters
node_qa -->|"uses"| node_core
node_qa -->|"checks baseline"| node_baseline
node_qa -->|"plans checks"| node_stack_adapters
node_qa -->|"uses change tools"| node_coder
node_qa -->|"uses change scan"| node_diff_scan
node_review -->|"uses"| node_core
node_review -->|"checks baseline"| node_baseline
node_review -->|"uses change tools"| node_coder
node_review -->|"uses change scan"| node_diff_scan
node_review -->|"reads QA output"| node_qa
node_triage -->|"uses"| node_core
node_sre -->|"uses"| node_core
node_sre -->|"reads baseline"| node_baseline
node_sre -->|"uses change tools"| node_coder
node_sre -->|"reads QA output"| node_qa
node_sre -->|"reads release output"| node_release
node_sre -->|"reads review output"| node_review
node_sre -->|"analyzes snapshots"| node_sre_evidence
node_web -->|"runs and tracks"| node_triage
node_web -->|"runs and tracks"| node_architect
node_web -->|"runs and tracks"| node_coder
node_web -->|"runs and tracks"| node_review
node_web -->|"runs and tracks"| node_qa
node_web -->|"runs and tracks"| node_release
node_web -->|"runs and tracks"| node_sre
node_release -.->|"uses integrations"| node_release_adapters
node_release -.->|"supports AWS"| node_aws_release

click node_triage "https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/triage/agent.py"
click node_architect "https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/architect/agent.py"
click node_baseline "https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/architect/baseline.py"
click node_coder "https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/coder/agent.py"
click node_stack_adapters "https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/coder/adapters.py"
click node_stack_detection "https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/coder/stack.py"
click node_diff_scan "https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/coder/diffscan.py"
click node_coder_handoff "https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/coder/handoff.py"
click node_review "https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/review/agent.py"
click node_review_adapters "https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/review/adapters.py"
click node_qa "https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/qa/agent.py"
click node_release "https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/release/agent.py"
click node_release_adapters "https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/release/adapters.py"
click node_aws_release "https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/release/aws.py"
click node_sre "https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/sre/agent.py"
click node_sre_evidence "https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/sre/evidence.py"
click node_web "https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/web/app.py"
click node_core "https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/core.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_triage,node_architect,node_baseline,node_human_reviewers toneBlue
class node_coder,node_stack_adapters,node_stack_detection,node_diff_scan,node_coder_handoff toneAmber
class node_review,node_review_adapters,node_qa toneMint
class node_release,node_release_adapters,node_aws_release,node_sre,node_sre_evidence toneRose
class node_web,node_core,node_product_owner toneIndigo
```

## Components

### Planning

- [Triage agent](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/triage/agent.py): `triage/agent.py`
- [Architect agent](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/architect/agent.py): `architect/agent.py`
- [Approved baseline](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/architect/baseline.py): `architect/baseline.py`

### Engineering

- [Coding agent](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/coder/agent.py): `coder/agent.py`
- [Stack adapters](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/coder/adapters.py): `coder/adapters.py`
- [Stack detection](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/coder/stack.py): `coder/stack.py`
- [Diff scanner](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/coder/diffscan.py): `coder/diffscan.py`
- [Code handoff](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/coder/handoff.py): `coder/handoff.py`

### Assurance

- [Review agent](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/review/agent.py): `review/agent.py`
- [Review adapters](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/review/adapters.py): `review/adapters.py`
- [QA agent](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/qa/agent.py): `qa/agent.py`

### Operations

- [Release agent](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/release/agent.py): `release/agent.py`
- [Release adapters](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/release/adapters.py): `release/adapters.py`
- [AWS support](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/release/aws.py): `release/aws.py`
- [SRE agent](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/sre/agent.py): `sre/agent.py`
- [Evidence analysis](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/sre/evidence.py): `sre/evidence.py`

### Shared interface

- [Project web page](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/web/app.py): `web/app.py`
- [Agent plumbing](https://github.com/karitselmuthu/ai_sdlc_setup/blob/main/core.py): `core.py`

### Other components

- **Product owner**
- **Human reviewers**

## Connections

- Product owner → Triage agent: approves scope (evidence: `README.md`)
- Triage agent → Architect agent: hands off scope (evidence: `README.md`)
- Architect agent → Coding agent: informs ticket (evidence: `README.md`)
- Coding agent → Review agent: submits change (evidence: `README.md`)
- Review agent → QA agent: assesses change (evidence: `README.md`)
- QA agent → Release agent: recommends quality (evidence: `README.md`)
- Release agent → SRE agent: operates service (evidence: `README.md`)
- Human reviewers → Architect agent: approves drafts (evidence: `README.md`)
- Human reviewers → Coding agent: reviews change (evidence: `README.md`)
- Human reviewers → Review agent: approves findings (evidence: `README.md`)
- Human reviewers → QA agent: approves QA (evidence: `README.md`)
- Human reviewers → Release agent: authorizes release (evidence: `README.md`)
- Human reviewers → SRE agent: authorizes actions (evidence: `README.md`)
- Architect agent → Approved baseline: records approvals
- Coding agent → Stack adapters: detects checks
- Stack adapters → Stack detection: uses (evidence: `coder/adapters.py`)
- Coding agent → Diff scanner: scans changes
- Coding agent → Code handoff: prepares handoff
- Review agent → Review adapters: detects review areas (evidence: `review/agent.py`)
- QA agent → Agent plumbing: uses (evidence: `qa/agent.py`)
- QA agent → Approved baseline: checks baseline (evidence: `qa/agent.py`)
- QA agent → Stack adapters: plans checks (evidence: `qa/agent.py`)
- QA agent → Coding agent: uses change tools (evidence: `qa/agent.py`)
- QA agent → Diff scanner: uses change scan (evidence: `qa/agent.py`)
- Review agent → Agent plumbing: uses (evidence: `review/agent.py`)
- Review agent → Approved baseline: checks baseline (evidence: `review/agent.py`)
- Review agent → Coding agent: uses change tools (evidence: `review/agent.py`)
- Review agent → Diff scanner: uses change scan (evidence: `review/agent.py`)
- Review agent → QA agent: reads QA output (evidence: `review/agent.py`)
- Triage agent → Agent plumbing: uses (evidence: `triage/agent.py`)
- SRE agent → Agent plumbing: uses (evidence: `sre/agent.py`)
- SRE agent → Approved baseline: reads baseline (evidence: `sre/agent.py`)
- SRE agent → Coding agent: uses change tools (evidence: `sre/agent.py`)
- SRE agent → QA agent: reads QA output (evidence: `sre/agent.py`)
- SRE agent → Release agent: reads release output (evidence: `sre/agent.py`)
- SRE agent → Review agent: reads review output (evidence: `sre/agent.py`)
- SRE agent → Evidence analysis: analyzes snapshots (evidence: `sre/agent.py`)
- Project web page → Triage agent: runs and tracks (evidence: `README.md`)
- Project web page → Architect agent: runs and tracks (evidence: `web/app.py`)
- Project web page → Coding agent: runs and tracks (evidence: `web/app.py`)
- Project web page → Review agent: runs and tracks (evidence: `web/app.py`)
- Project web page → QA agent: runs and tracks (evidence: `web/app.py`)
- Project web page → Release agent: runs and tracks (evidence: `README.md`)
- Project web page → SRE agent: runs and tracks (evidence: `README.md`)
- Release agent → Release adapters: uses integrations
- Release agent → AWS support: supports AWS
