Architecture Diagram
System Architecture
Section titled “System Architecture”The framework deploys a fully serverless architecture on AWS:
GitHub (Webhooks) | vAPI Gateway + WAF (signature verification) | vReceiver Lambda (idempotency check, S3 archive) | vEventBridge Custom Bus | +---> Comment Handler Lambda (command router) +---> PR Handler Lambda +---> Push Handler Lambda +---> Check Run Handler Lambda +---> Deployment Handler Lambda +---> Discussion Handler Lambda +---> Security Event Handler Lambda +---> Alert Handler Lambda (DLQ processor) | vStep Functions (Express workflow for CI checks) | vGitHub API (Check Runs, Comments, Status)Key Components
Section titled “Key Components”| Component | AWS Service | Purpose |
|---|---|---|
| Webhook Endpoint | API Gateway + WAF | Receive and validate GitHub webhooks |
| Event Router | EventBridge | Fan-out events to appropriate handlers |
| Command Processor | Lambda | Parse and execute bot commands |
| CI Orchestration | Step Functions (Express) | Run CI check workflows |
| Token Storage | DynamoDB + KMS | Store encrypted OAuth/installation tokens |
| Payload Archive | S3 (90-day lifecycle) | Retain webhook payloads for debugging |
| Monitoring | CloudWatch | Dashboard, custom metrics, alarms |
| Dead Letter | SQS DLQ | Capture failed events for redrive |
Architecture Diagram File
Section titled “Architecture Diagram File”The full draw.io architecture diagram is available in the repository at docs/ai3-mvp-architecture.drawio.
You can open it with draw.io or the VS Code draw.io extension.