# oleksandrdubyna88/dew_flow_connect_other_ais architecture

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

- Interactive diagram: https://gitdiagram.com/oleksandrdubyna88/dew_flow_connect_other_ais
- Repository: https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais

## Overview

ConnectOtherAIs is an MCP-based, multi-vendor code-review gate integrated into a coding agent’s workflow and presented through a VS Code extension. The central path is plan review and resolution before implementation, followed by code review, findings and a proceed/stop decision; rounds and decisions are retained for the review log. The README also documents security reviews, consultations, cadence and a bug corpus. Some edges reflect README-level behavior or indexed references rather than fully sampled implementations.

Main entry points: [`src_mcp/src/Server/PanelService.cs`](https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/src/Server/PanelService.cs) (Gate service), [`src_mcp/src/Server/Rounds/RoundEngine.cs`](https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/src/Server/Rounds/RoundEngine.cs) (Round engine), [`src_mcp/src/Program.cs`](https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/src/Program.cs) (MCP entry point), [`src_mcp/src/Store/RoundsDb.cs`](https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/src/Store/RoundsDb.cs) (Rounds database)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Review workflow"]
  node_mcp_host["MCP entry point<br/>[Program.cs]"]
  node_panel["Gate service<br/>[PanelService.cs]"]
  node_round_engine["Round engine<br/>[RoundEngine.cs]"]
  node_consultation["Consultations"]
  node_cadence["Consultation cadence"]
end

subgraph group_review_runtime["Review runtime"]
  node_reviewers["Reviewer runtimes"]
  node_scheduler["Bounded scheduler"]
  node_worktrees["Review worktrees<br/>[WorktreeManager.cs]"]
  node_api_vendors["API vendors<br/>[ApiVendors.cs]"]
  node_security_lane["Security lane"]
end

subgraph group_history["History and corpus"]
  node_rounds_db[("Rounds database<br/>[RoundsDb.cs]")]
  node_round_queries["Review log queries<br/>[RoundsQuery.cs]"]
  node_bugs_service[("Bug corpus service<br/>[Corpus.cs]")]
end

subgraph group_experience["User experience"]
  node_vscode["VS Code extension<br/>[bugzReviewPage.ts]"]
end

subgraph group_integrations["External services"]
  node_team_server["Team server<br/>[Program.cs]"]
end

node_agent(("Coding agent"))
node_human(("Human reviewer"))

node_agent -->|"calls over MCP"| node_mcp_host
node_mcp_host -.->|"dispatches gates"| node_panel
node_panel -->|"runs stages"| node_round_engine
node_round_engine -->|"schedules reviewers"| node_scheduler
node_round_engine -->|"creates worktrees"| node_worktrees
node_reviewers -.->|"uses API vendors"| node_api_vendors
node_round_engine -->|"adds security prompts"| node_security_lane
node_agent -->|"gates plan and code"| node_panel
node_panel -.->|"serves consultations"| node_consultation
node_panel -.->|"tracks cadence"| node_cadence
node_round_engine -.->|"records rounds"| node_rounds_db
node_round_queries -->|"queries history"| node_rounds_db
node_vscode -.->|"shows gate activity"| node_panel
node_human -->|"resolves findings"| node_agent
node_team_server -->|"offers opt-in API"| node_agent
node_agent -.->|"submits bug pairs"| node_bugs_service

click node_mcp_host "https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/src/Program.cs"
click node_panel "https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/src/Server/PanelService.cs"
click node_round_engine "https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/src/Server/Rounds/RoundEngine.cs"
click node_reviewers "https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/runners/Reviewers/ReviewerExecutor.cs"
click node_scheduler "https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/runners/Reviewers/BoundedScheduler.cs"
click node_worktrees "https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/runners/Worktrees/WorktreeManager.cs"
click node_api_vendors "https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/core/Api/ApiVendors.cs"
click node_security_lane "https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/tree/main/src_mcp/core/Security"
click node_consultation "https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/tree/main/src_mcp/src/Server/Consultation"
click node_cadence "https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/tree/main/src_mcp/src/Server/Cadence"
click node_rounds_db "https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/src/Store/RoundsDb.cs"
click node_round_queries "https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/src/Store/RoundsQuery.cs"
click node_bugs_service "https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_bugs/src/Corpus.cs"
click node_vscode "https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_vs_code/src/bugzReviewPage.ts"
click node_team_server "https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_server/src/Program.cs"

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_mcp_host,node_panel,node_round_engine,node_consultation,node_cadence,node_human toneBlue
class node_reviewers,node_scheduler,node_worktrees,node_api_vendors,node_security_lane toneAmber
class node_rounds_db,node_round_queries,node_bugs_service toneMint
class node_vscode toneRose
class node_team_server,node_agent toneIndigo
```

## Components

### Review workflow

- [MCP entry point](https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/src/Program.cs): `src_mcp/src/Program.cs`
- [Gate service](https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/src/Server/PanelService.cs): `src_mcp/src/Server/PanelService.cs`
- [Round engine](https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/src/Server/Rounds/RoundEngine.cs): `src_mcp/src/Server/Rounds/RoundEngine.cs`
- [Consultations](https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/tree/main/src_mcp/src/Server/Consultation): `src_mcp/src/Server/Consultation`
- [Consultation cadence](https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/tree/main/src_mcp/src/Server/Cadence): `src_mcp/src/Server/Cadence`

### Review runtime

- [Reviewer runtimes](https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/runners/Reviewers/ReviewerExecutor.cs): `src_mcp/runners/Reviewers/ReviewerExecutor.cs`
- [Bounded scheduler](https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/runners/Reviewers/BoundedScheduler.cs): `src_mcp/runners/Reviewers/BoundedScheduler.cs`
- [Review worktrees](https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/runners/Worktrees/WorktreeManager.cs): `src_mcp/runners/Worktrees/WorktreeManager.cs`
- [API vendors](https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/core/Api/ApiVendors.cs): `src_mcp/core/Api/ApiVendors.cs`
- [Security lane](https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/tree/main/src_mcp/core/Security): `src_mcp/core/Security`

### History and corpus

- [Rounds database](https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/src/Store/RoundsDb.cs): `src_mcp/src/Store/RoundsDb.cs`
- [Review log queries](https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_mcp/src/Store/RoundsQuery.cs): `src_mcp/src/Store/RoundsQuery.cs`
- [Bug corpus service](https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_bugs/src/Corpus.cs): `src_bugs/src/Corpus.cs`

### User experience

- [VS Code extension](https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_vs_code/src/bugzReviewPage.ts): `src_vs_code/src/bugzReviewPage.ts`

### External services

- [Team server](https://github.com/oleksandrdubyna88/dew_flow_connect_other_ais/blob/main/src_server/src/Program.cs): `src_server/src/Program.cs`

### Other components

- **Coding agent**
- **Human reviewer**

## Connections

- Coding agent → MCP entry point: calls over MCP (evidence: `README.md`)
- MCP entry point → Gate service: dispatches gates (evidence: `src_mcp/src/Program.cs`)
- Gate service → Round engine: runs stages (evidence: `src_mcp/src/Server/PanelService.cs`)
- Round engine → Bounded scheduler: schedules reviewers (evidence: `src_mcp/src/Server/Rounds/RoundEngine.cs`)
- Round engine → Review worktrees: creates worktrees (evidence: `src_mcp/src/Server/Rounds/RoundEngine.cs`)
- Reviewer runtimes → API vendors: uses API vendors
- Round engine → Security lane: adds security prompts (evidence: `README.md`)
- Coding agent → Gate service: gates plan and code (evidence: `README.md`)
- Gate service → Consultations: serves consultations (evidence: `src_mcp/src/Server/PanelService.cs`)
- Gate service → Consultation cadence: tracks cadence (evidence: `src_mcp/src/Server/PanelService.cs`)
- Round engine → Rounds database: records rounds
- Review log queries → Rounds database: queries history (evidence: `src_mcp/src/Store/RoundsQuery.cs`)
- VS Code extension → Gate service: shows gate activity
- Human reviewer → Coding agent: resolves findings (evidence: `README.md`)
- Team server → Coding agent: offers opt-in API (evidence: `README.md`)
- Coding agent → Bug corpus service: submits bug pairs
