Home / Fleet Architecture · Diagram

Fleet architecture — full flow diagram

Every worker in the AIDP fleet and how they wire together at runtime: the master router fans out to agents, the orchestrator drives the lifecycle and writes the lineage graph, the testing master dispatches eight disciplines to real CI tooling, knowledge is shared memory, and every escalation is chained into the audit ledger. Solid arrows are in-process service bindings; dashed arrows cross to GitHub Actions CI.

↗ Program flow diagram 🛰 Live fleet health 🎛 Console
flowchart TB
  classDef entry fill:#0ea5e9,stroke:#0369a1,color:#fff,font-weight:600;
  classDef spine fill:#6366f1,stroke:#4338ca,color:#fff,font-weight:600;
  classDef deliver fill:#ecfdf5,stroke:#15803d,color:#064e3b;
  classDef testing fill:#fffbeb,stroke:#b45309,color:#7c2d12;
  classDef sub fill:#f1f5f9,stroke:#475569,color:#0f172a;
  classDef store fill:#0f172a,stroke:#0f172a,color:#e2e8f0;
  classDef ext fill:#fee2e2,stroke:#b91c1c,color:#7f1d1d;

  U(["User · Niche-I chat
natural language"]):::entry subgraph ENTRY["Entry · NL Router"] M["Master Router
aiagenticplanner
keyword + LLM routing"]:::entry end subgraph SPINE["Unifying Spine"] O["Program Orchestrator
program_run_full · lineage graph · trace"]:::spine end subgraph DELIVERY["Delivery agents"] DISC["Discovery
7R · capabilities"]:::deliver REQ["Requirements
MoSCoW · INVEST · compliance"]:::deliver ARCH["Architecture
6 clouds · pricing"]:::deliver SOW["SOW
statement of work"]:::deliver GOV["Governance
RAID · CR · steering"]:::deliver IAC["IaC
Terraform · Helm · CI"]:::deliver ACT["Actions
role-based plans"]:::deliver OPS["Operations
DORA · SLO · incidents"]:::deliver end subgraph TESTING["Testing fleet"] TD["Test Design
strategy · plans · cases"]:::testing TDATA["Test Data
synthetic · PII-tagged"]:::testing TM["Testing Master
defect manifest · escalation loop"]:::testing FUN["Functional"]:::testing PERF["Performance
k6 · Lighthouse"]:::testing SEC["Security
OWASP ZAP · Snyk"]:::testing A11Y["Accessibility
Pa11y · WCAG"]:::testing CMP["Compliance"]:::testing CON["Contract"]:::testing INT["Integration"]:::testing E2E["E2E
Playwright"]:::testing end subgraph SUBSTRATE["Shared substrate"] KN["Knowledge / RAG
shared memory"]:::sub EXC["Exception
audit ledger · chain_hash"]:::sub VAL["Validator
smoke matrix"]:::sub PAT["Patch
gated code changes"]:::sub INS["Insights
R/A/G health · trends"]:::sub end subgraph STORES["Data plane (Cloudflare)"] D1[("D1 · aidp-state")]:::store R2[("R2 · artifacts")]:::store VEC[("Vectorize · aidp-kb")]:::store KVS[("KV")]:::store WAI{{"Workers AI
llama-3.1 · bge embeddings"}}:::store CI[["GitHub Actions CI
real test tools"]]:::ext end U --> M M -->|classifies + routes| O M -.routes single tool.-> DISC & REQ & ARCH & SOW & GOV & IAC & ACT & OPS & TM & INS O -->|reads| DISC & REQ & ARCH & SOW & GOV & IAC O -->|generates| TD & TDATA O -->|fan-out| TM O -->|writes back| KN O -->|scores| INS TM --> FUN & PERF & SEC & A11Y & CMP & CON & INT & E2E FUN & PERF & SEC & A11Y & CMP & CON & INT & E2E -.workflow_dispatch.-> CI CI -.ingest results.-> TM TM -->|defect → CR/patch/req| GOV & PAT & REQ TM --> EXC TD -->|recall prior art| KN DISC & REQ --> KN INS -->|reads graph| O INS --> WAI O --> D1 KN --> VEC KN --> WAI M --> D1 M --> R2 M --> KVS EXC --> D1
Entry · router Orchestrator spine Delivery agents Testing fleet Shared substrate Data plane External CI

Solid arrows = Cloudflare service bindings (worker-to-worker, in-process). Dashed = cross to GitHub Actions CI (the disciplines orchestrate-and-dispatch real tools, then post results back). The orchestrator is the only writer of the lineage graph; insights reads it; exception holds the immutable ledger.