ADR-044: Architecture Review Board (ARB) Multi-Persona Simulation
Context
Enterprise architecture decisions require balancing competing stakeholder priorities: security, cost/FinOps discipline, and developer velocity. Single-agent demos often smooth over trade-offs with generic consensus. Visitors evaluating applied AI and systems engineering want to see real-world architectural governance modeled authentically: how proposals withstand scrutiny from executive personas with divergent agendas (CISO, CFO, VP of Engineering) across an interactive two-round defense loop.
Decision
Introduce an Architecture Review Board (ARB) Gauntlet demo (/demos?tab=arb) powered by POST /api/ai/arb and gated by demoArb (FEATURE_DEMO_ARB, default-on):
1. Board composition: Three executive personas simulated in a single structured Gemini call (responseSchema):
- Sarah Vance (CISO): Zero-Trust, IAM least privilege, OIDC identity, secrets management, GDPR compliance, and prompt-injection defense.
- Marcus Chen (CFO / FinOps): Scale-to-zero economics, idle compute elimination, egress costs, and token spend caps.
- Elena Rostova (VP of Engineering): Developer velocity, cognitive load, MTTR, deployment blast radius, and CI/CD standardization.
2. Two-round defense loop: Round 1 delivers preliminary votes (approve, conditional, reject) and targeted critiques. In Round 2, the architect submits mitigations and receives revised votes and an official scorecard.
3. Scoring & normalization: Produces overall status, a 0–100 score, letter grades (A–F) for Security, FinOps, and Velocity, and key takeaways via deterministic server-side normalization (normalizeArbResult).
4. Stateless design: Zero server-side session state; Round 2 submits both proposal and defense in the request payload (ADR-006).
Consequences
Benefits:
* Realistic governance simulation demonstrating concrete enterprise trade-offs instead of generic AI summaries.
* Single-call multi-persona orchestration provides low latency (~2s) and predictable token consumption without multi-agent chat drift.
* Purely stateless request lifecycle aligns with scale-to-zero container economics.
* Gives architects an interactive feedback loop to test defensive mitigations.
Trade-offs:
* Re-evaluation in Round 2 relies on model context adherence rather than a rigid structural diff.
* Each round costs an LLM invocation against the shared daily spend cap.
Alternatives considered
1. Autonomous multi-agent round-table debate: Rejected — multi-turn sequential agent chatter creates high latency (15-30s+), runaway token usage, and conversational divergence.
2. Static rule-based rubric: Rejected — static regex or keyword rules cannot meaningfully assess complex natural language architectural trade-offs.
3. Server-side session storage (Redis/Firestore): Rejected — violates scale-to-zero simplicity; client-held proposal and defense payloads maintain zero backend state.