Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ For the full setup walkthrough — projects, credentials, webhooks, and triggers

## 🏗️ Architecture

<p align="center">
<img src="docs/architecture.svg" alt="CASCADE architecture diagram" />
</p>

Cascade runs as three independent services:

| Service | Entry Point | Role |
Expand Down
75 changes: 75 additions & 0 deletions docs/architecture.d2
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
vars: {
d2-config: {
theme-id: 300
}
}

SCM: {
github
style: {
shadow: true
fill: DarkBlue
}
}

PM: {
trello
jira
style: {
shadow: true
fill: Orange
}
}

CASCADE: {
router
api
worker manager: {
worker1: {
agent harness
cascade tools
checked out repo
}
worker2: {
"..."
}
worker N: {
"..."
}
}

router -> QUEUE
QUEUE -> worker manager

api <-> DB
router <-> DB
worker manager <-> DB

DB: {
shape: cylinder
}

QUEUE: {
shape: queue
}
}

client: {
style: {
shadow: true
fill: Beige
}
dashboard
cli
}

client.dashboard <-> CASCADE.api
client.cli <-> CASCADE.api

SCM -> CASCADE.router: webhook triggers
PM -> CASCADE.router: webhook triggers

CASCADE.worker manager -> PM: updates, comments
CASCADE.worker manager -> SCM: PRs, reviews, comments
SCM -> CASCADE.worker manager: repo + PR contents

Loading
Loading