# warpdotdev-demos/cloud-factory-demo architecture

> Architecture diagram of the GitHub repository warpdotdev-demos/cloud-factory-demo, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-08). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/warpdotdev-demos/cloud-factory-demo
- Repository: https://github.com/warpdotdev-demos/cloud-factory-demo

## Overview

Cloud Factory Demo is an agent-and-GitHub-Actions workflow for taking issues through triage, specification, implementation, behavioral verification, and review; a daily feedback loop can improve review guidance. The graph follows the documented flow and capability descriptions in the README. Source excerpts were not provided, so relationships are documented rather than independently verified in workflow or skill implementations; monitoring is described as future work.

Main entry points: [`.agents/skills/implementation/SKILL.md`](https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.agents/skills/implementation/SKILL.md) (Implementation agent), [`.agents/skills/triage/SKILL.md`](https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.agents/skills/triage/SKILL.md) (Triage agent), [`.agents/skills/review-pr/SKILL.md`](https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.agents/skills/review-pr/SKILL.md) (Review agent), [`.agents/skills/verify-behavior/SKILL.md`](https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.agents/skills/verify-behavior/SKILL.md) (Behavior verification)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_intake["Issue intake"]
  node_triage_flow["Triage workflow<br/>[triage-issues.yml]"]
  node_triage["Triage agent<br/>[SKILL.md]"]
  node_readiness["Readiness decision<br/>[SKILL.md]"]
end

subgraph group_delivery["Spec and implementation"]
  node_spec_flow["Spec workflow"]
  node_spec["Spec agent<br/>[SKILL.md]"]
  node_spec_artifacts["PRODUCT and TECH"]
  node_implement_flow["Implementation workflow"]
  node_implement["Implementation agent<br/>[SKILL.md]"]
  node_spec_validation["Spec validation"]
end

subgraph group_assurance["Verification and review"]
  node_verify["Behavior verification<br/>[SKILL.md]"]
  node_pull_request["Pull request"]
  node_review_flow["Review workflow"]
  node_review["Review agent<br/>[SKILL.md]"]
  node_review_output["Review findings<br/>[SKILL.md]"]
  node_publish["Publish review"]
end

subgraph group_feedback["Review feedback"]
  node_improve_flow["Feedback workflow"]
  node_improve["Review improvement agent<br/>[SKILL.md]"]
  node_skill_pr["Skill update PR"]
end

node_issue(("GitHub issue"))
node_human_review(("Human review"))
node_monitoring["Monitoring &#40;future&#41;"]

node_issue -->|"opens"| node_triage_flow
node_triage_flow -->|"runs"| node_triage
node_triage -.->|"reproduces bugs"| node_verify
node_verify -.->|"returns evidence"| node_triage
node_triage -->|"classifies"| node_readiness
node_readiness -->|"ready to spec"| node_spec_flow
node_readiness -->|"ready to implement"| node_implement_flow
node_spec_flow -->|"runs"| node_spec
node_spec -->|"writes specs"| node_spec_artifacts
node_spec_artifacts -->|"reviewed by"| node_human_review
node_human_review -->|"approves work"| node_implement_flow
node_implement_flow -->|"runs"| node_implement
node_implement -->|"validates against"| node_spec_validation
node_implement -.->|"verifies changes"| node_verify
node_implement -->|"opens"| node_pull_request
node_review_flow -->|"runs"| node_review
node_pull_request -->|"triggers"| node_review_flow
node_review -.->|"checks behavior"| node_verify
node_review -->|"writes findings"| node_review_output
node_review_flow -->|"publishes"| node_publish
node_review_output -->|"feeds"| node_publish
node_publish -->|"posts for review"| node_human_review
node_improve_flow -->|"runs daily"| node_improve
node_human_review -->|"provides feedback"| node_improve_flow
node_improve -->|"may open"| node_skill_pr
node_skill_pr -.->|"updates guidance"| node_review

click node_triage_flow "https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.github/workflows/triage-issues.yml"
click node_triage "https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.agents/skills/triage/SKILL.md"
click node_verify "https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.agents/skills/verify-behavior/SKILL.md"
click node_readiness "https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.agents/skills/triage/SKILL.md"
click node_spec_flow "https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.github/workflows/spec-ready-issues.yml"
click node_spec "https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.agents/skills/spec/SKILL.md"
click node_implement_flow "https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.github/workflows/implement-ready-issues.yml"
click node_implement "https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.agents/skills/implementation/SKILL.md"
click node_review_flow "https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.github/workflows/review-pull-requests.yml"
click node_review "https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.agents/skills/review-pr/SKILL.md"
click node_review_output "https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.agents/skills/review-pr/SKILL.md"
click node_publish "https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.github/workflows/review-pull-requests.yml"
click node_improve_flow "https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.github/workflows/improve-review-pr.yml"
click node_improve "https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.agents/skills/improve-review-pr/SKILL.md"

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_flow,node_triage,node_readiness,node_human_review toneBlue
class node_spec_flow,node_spec,node_spec_artifacts,node_implement_flow,node_implement,node_spec_validation toneAmber
class node_verify,node_pull_request,node_review_flow,node_review,node_review_output,node_publish toneMint
class node_improve_flow,node_improve,node_skill_pr toneRose
class node_issue,node_monitoring toneIndigo
```

## Components

### Issue intake

- [Triage workflow](https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.github/workflows/triage-issues.yml): `.github/workflows/triage-issues.yml`
- [Triage agent](https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.agents/skills/triage/SKILL.md): `.agents/skills/triage/SKILL.md`
- [Readiness decision](https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.agents/skills/triage/SKILL.md): `.agents/skills/triage/SKILL.md`

### Spec and implementation

- [Spec workflow](https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.github/workflows/spec-ready-issues.yml): `.github/workflows/spec-ready-issues.yml`
- [Spec agent](https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.agents/skills/spec/SKILL.md): `.agents/skills/spec/SKILL.md`
- **PRODUCT and TECH**
- [Implementation workflow](https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.github/workflows/implement-ready-issues.yml): `.github/workflows/implement-ready-issues.yml`
- [Implementation agent](https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.agents/skills/implementation/SKILL.md): `.agents/skills/implementation/SKILL.md`
- **Spec validation**

### Verification and review

- [Behavior verification](https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.agents/skills/verify-behavior/SKILL.md): `.agents/skills/verify-behavior/SKILL.md`
- **Pull request**
- [Review workflow](https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.github/workflows/review-pull-requests.yml): `.github/workflows/review-pull-requests.yml`
- [Review agent](https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.agents/skills/review-pr/SKILL.md): `.agents/skills/review-pr/SKILL.md`
- [Review findings](https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.agents/skills/review-pr/SKILL.md): `.agents/skills/review-pr/SKILL.md`
- [Publish review](https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.github/workflows/review-pull-requests.yml): `.github/workflows/review-pull-requests.yml`

### Review feedback

- [Feedback workflow](https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.github/workflows/improve-review-pr.yml): `.github/workflows/improve-review-pr.yml`
- [Review improvement agent](https://github.com/warpdotdev-demos/cloud-factory-demo/blob/main/.agents/skills/improve-review-pr/SKILL.md): `.agents/skills/improve-review-pr/SKILL.md`
- **Skill update PR**

### Other components

- **GitHub issue**
- **Human review**
- **Monitoring (future)**

## Connections

- GitHub issue → Triage workflow: opens (evidence: `README.md`)
- Triage workflow → Triage agent: runs (evidence: `README.md`)
- Triage agent → Behavior verification: reproduces bugs (evidence: `README.md`)
- Behavior verification → Triage agent: returns evidence (evidence: `README.md`)
- Triage agent → Readiness decision: classifies (evidence: `README.md`)
- Readiness decision → Spec workflow: ready to spec (evidence: `README.md`)
- Readiness decision → Implementation workflow: ready to implement (evidence: `README.md`)
- Spec workflow → Spec agent: runs (evidence: `README.md`)
- Spec agent → PRODUCT and TECH: writes specs (evidence: `README.md`)
- PRODUCT and TECH → Human review: reviewed by (evidence: `README.md`)
- Human review → Implementation workflow: approves work (evidence: `README.md`)
- Implementation workflow → Implementation agent: runs (evidence: `README.md`)
- Implementation agent → Spec validation: validates against (evidence: `README.md`)
- Implementation agent → Behavior verification: verifies changes (evidence: `README.md`)
- Implementation agent → Pull request: opens (evidence: `README.md`)
- Review workflow → Review agent: runs (evidence: `README.md`)
- Pull request → Review workflow: triggers (evidence: `README.md`)
- Review agent → Behavior verification: checks behavior (evidence: `README.md`)
- Review agent → Review findings: writes findings (evidence: `README.md`)
- Review workflow → Publish review: publishes (evidence: `README.md`)
- Review findings → Publish review: feeds (evidence: `README.md`)
- Publish review → Human review: posts for review (evidence: `README.md`)
- Feedback workflow → Review improvement agent: runs daily (evidence: `README.md`)
- Human review → Feedback workflow: provides feedback (evidence: `README.md`)
- Review improvement agent → Skill update PR: may open (evidence: `README.md`)
- Skill update PR → Review agent: updates guidance (evidence: `README.md`)
