CI/CD Dashboard Implementation Plan

AI Board Review - Agent Assignments & Parallel Execution

37 Tasks 5 Agents 9 Parallel Groups 5-7 Days

AI Board Reviewers

C
Claude
Synthesis & Coordination
G
Gemini
Workflows & Integration
Cx
Codex
Dependencies & CI/CD

Peer Review Feedback Incorporated

  • Task 1.5 (GitLab Repo) reassigned from PM to Developer
  • Groups C and E split into C1/C2 and E1/E2 (max 2-3 agents)
  • 8 hidden dependencies added (2.6→2.1, 2.7→2.6, etc.)
  • QA tasks in Group F sequenced (single agent can't parallelize)
  • Task 3.8 added for pipeline test integration

Plan Overview

37
Total Tasks
9
Parallel Groups
5
Agents
3
Max Parallel

Agent Workload

A
Architect
2 tasks
S
Security
2 tasks
D1
Dev-1 (Backend)
14 tasks
D2
Dev-2 (Frontend)
8 tasks
Q
QA
9 tasks

PM has 2 tasks (1.5 reassigned to Developer per Gemini/Codex review)

Implementation Timeline

1
Foundation
Day 1-2
8 tasks
2
Core Features
Day 3-4
9 tasks
3
Polish
Day 5
9 tasks
4
Migration
Day 6-7
5 tasks

Parallel Execution Groups

Group Tasks Agents Phase
A 1.1 Architecture, 1.2 Keycloak, 1.4 Scaffold Architect, Security, Dev-1 1
A-seq 1.3 Secrets Security 1
B 1.5 GitLab Repo, 1.6 NextAuth, 1.7 Docker Dev-1, Dev-1, Dev-2 1
C1 2.2 GitLab Client, 2.3 Matrix UI Dev-1, Dev-2 2
C2 2.4 StageCell, 2.5 Test Specs Dev-2, QA 2
D 2.8 Action Items, 2.9 Constants Dev-2, Dev-1 2
E1 3.1 Activity Feed, 3.2 SWR Refresh Dev-2, Dev-1 3
E2 3.3 Error States, 3.4 Click-Through Dev-2, Dev-1 3
F 3.5 Unit Tests → 3.6 E2E Tests QA (sequential) 3
G 4.2 Parallel Run, 4.3 Parity Dev-1, QA 4

Max 2-3 Agents Per Group

Per Gemini/Codex review, parallel groups are limited to 2-3 agents to avoid resource pressure. Original Groups C and E (4 tasks each) were split into C1/C2 and E1/E2.

Phase 1: Foundation (Day 1-2)

Goal: Deployable skeleton with authentication and CI/CD pipeline

A Parallel Tasks

  • 1.1 Architecture & Data Contracts Architect
  • 1.2 Keycloak Client Configuration Security
  • 1.4 Next.js Project Scaffold Dev-1
1.3 Secrets runs after 1.2 (same agent)

B After Group A

  • 1.5 GitLab Repository Setup Dev-1
  • 1.6 NextAuth + Keycloak Dev-1
  • 1.7 Docker & Traefik Dev-2
1.8 CI/CD Pipeline runs after 1.3, 1.5, 1.7 (QA)

Exit Criteria

  • Users can access https://cicd-dashboard.ai-servicers.com
  • Keycloak authentication works (redirect, session)
  • GitLab CI/CD pipeline passes all 4 stages

Phase 2: Core Features (Day 3-4)

Goal: Functional Pipeline Matrix displaying real GitLab data

C1 + C2 Parallel

  • 2.2 GitLab GraphQL Client Dev-1 (C1)
  • 2.3 Pipeline Matrix Component Dev-2 (C1)
  • 2.4 StageCell Component Dev-2 (C2)
  • 2.5 Test Specifications QA (C2)
All depend on 2.1 GraphQL Design (Architect, sequential)

D After C Groups

  • 2.8 Action Items Panel Dev-2
  • 2.9 Constants & Types Dev-1
2.6 API Endpoint and 2.7 Caching run sequentially (Dev-1)

Exit Criteria

  • Pipeline Matrix displays real data from GitLab
  • Action Items panel shows blocked issues
  • Caching prevents API overload (60s TTL)

Phase 3: Polish (Day 5)

Goal: Production-ready with full test coverage

E1 + E2 Parallel

  • 3.1 Activity Feed Component Dev-2 (E1)
  • 3.2 SWR Auto-Refresh Dev-1 (E1)
  • 3.3 Loading/Error States Dev-2 (E2)
  • 3.4 Cell Click-Through Dev-1 (E2)

F QA Sequential

  • 3.5 Unit Tests (>70% coverage) QA
  • 3.6 Playwright E2E Tests QA
Single QA agent - tasks must run sequentially
3.7 Perf Testing, 3.8 Pipeline Update, 3.9 Docs follow sequentially

Exit Criteria

  • All CI/CD pipeline stages pass (build, test, deploy, qa)
  • Performance meets targets (<500ms API, <3s page load)
  • Documentation complete (CLAUDE.md)

Phase 4: Migration (Day 6-7)

Goal: Backstage retired, new dashboard is primary

G Validation Tasks

  • 4.2 Parallel Run with Backstage Dev-1
  • 4.3 Data Parity Validation QA
Depends on 4.1 Migration Checklist (PM)

Sequential Completion

  • 4.4 User Acceptance Testing QA + PM
  • 4.5 Deprecate Backstage Dev-1

Exit Criteria

  • Backstage fully retired
  • New dashboard serving all traffic
  • No data discrepancies reported

Critical Dependencies

Hidden dependencies identified during peer review (Codex):

Task Originally Depended On Added Dependency
2.2 GitLab Client 2.1 GraphQL Design 1.3 Secrets (tokens)
2.6 API Endpoint 2.2 GitLab Client 2.1 GraphQL Design, 1.6 NextAuth
2.7 Caching 2.2 GitLab Client 2.6 API Endpoint
3.1 Activity Feed 2.2 GitLab Client 2.6 API Endpoint
3.4 Click-Through 2.3 Matrix 2.6 API Endpoint, 3.1 Activity Feed
3.6 E2E Tests 1.8, 3.2, 3.3 3.4 Click-Through
1.8 CI/CD Pipeline 1.5, 1.7 1.3 Secrets

Risk Register

Risk Probability Impact Mitigation
Keycloak groups claim missing Medium High Task 1.2 includes explicit mapper config
GitLab GraphQL rate limiting Low Medium 60s TTL cache + request coalescing
NextAuth callback mismatch Medium High trustHost: true, verify NEXTAUTH_URL
Performance with 50+ projects Medium Medium Phase 3 performance testing
Single QA agent bottleneck Medium Medium Tasks 3.5/3.6 sequenced, not parallel
Backstage data parity issues Medium High Task 4.3 validation before deprecation

Dependency Graph

graph LR subgraph Phase1["Phase 1: Foundation"] A1[1.1 Arch] A2[1.2 Keycloak] A3[1.3 Secrets] A4[1.4 Scaffold] A5[1.5 Repo] A6[1.6 Auth] A7[1.7 Docker] A8[1.8 CI/CD] A2 --> A3 A3 --> A5 A4 --> A5 A2 --> A6 A4 --> A6 A4 --> A7 A3 --> A8 A5 --> A8 A7 --> A8 end subgraph Phase2["Phase 2: Core"] B1[2.1 GQL] B2[2.2 Client] B3[2.3 Matrix] B4[2.4 Cell] B6[2.6 API] B7[2.7 Cache] B8[2.8 Items] A1 --> B1 A8 --> B1 A3 --> B2 B1 --> B2 B1 --> B3 B1 --> B4 A6 --> B6 B1 --> B6 B2 --> B6 B2 --> B7 B6 --> B7 B6 --> B8 end subgraph Phase3["Phase 3: Polish"] C1[3.1 Feed] C2[3.2 SWR] C5[3.5 Unit] C6[3.6 E2E] C7[3.7 Perf] B2 --> C1 B6 --> C1 B3 --> C2 B6 --> C2 B8 --> C2 C1 --> C5 C2 --> C6 C6 --> C7 end style Phase1 fill:#1a1f2e,stroke:#58a6ff style Phase2 fill:#1a1f2e,stroke:#a371f7 style Phase3 fill:#1a1f2e,stroke:#3fb950

File Structure

projects/cicd/dashboard/
├── app/
│   ├── api/
│   │   ├── auth/[...nextauth]/route.ts
│   │   ├── pipeline-matrix/route.ts
│   │   ├── activity-feed/route.ts
│   │   └── health/route.ts
│   ├── page.tsx
│   ├── layout.tsx
│   ├── loading.tsx
│   └── globals.css
├── components/
│   ├── PipelineMatrix.tsx
│   ├── StageCell.tsx
│   ├── ActionItems.tsx
│   ├── ActivityFeed.tsx
│   ├── RefreshIndicator.tsx
│   └── ErrorBoundary.tsx
├── lib/
│   ├── gitlab.ts
│   ├── cache.ts
│   ├── auth.ts
│   └── constants.ts
├── types/
│   └── index.ts
├── tests/
│   ├── unit/
│   └── e2e/
├── .gitlab-ci.yml
├── Dockerfile
├── docker-compose.yml
├── CLAUDE.md
└── package.json