MIZ OKI 3.0 – Frontend Production Contract (Final)

Version: 1.0.0 (FINAL) Authority: ABSOLUTE Enforcement: CI/CD + Code Review Status: ACTIVE


📜 Preamble

This document represents the final, non-negotiable architectural contract for the MIZ OKI 3.0 Frontend ("Command Center UI").

It supersedes all previous emails, Slack messages, Jira tickets, and rough drafts. If code contradicts this document, the code is wrong.

Goal: To deliver a production-grade, neuromorphic AI command center that relies 100% on real Cloud Run microservices and 0% on mock data.


🏛️ The 4 Immutable Laws

Law 1: Zero Mock Data Policy

"If it's fake, it breaks the build."

Law 2: The Registered-Cell Architecture

"The Frontend is a window, not a brain."

Law 3: SRPVDAL Cognitive Cycle

"Respect the flow."

Law 4: E-SHKG is the Brain

"The Graph holds the truth."


🛠️ Technical Directives

1. Data Fetching Strategy

2. URL & Environment Standardization

3. Component Architecture

4. Error Handling


👮‍♂️ Enforcement Mechanisms

1. The PR Checklist

Every Pull Request must strictly adhere to the Pull Request Template. * [] No Mock Data detected? * [] Uses cellFetch? * [] Types exported? * [] Tested against LIVE Cloud Run cells (not localhost)?

2. Automated Guardians (CI/CD)

The .github/workflows/frontend-guard.yml workflow runs on every PR: 1. Mock Data Scan: Greps for forbidden patterns (faker, Math.random, setTimeout). 2. Type Check: Runs tsc --noEmit. 3. Lint: Runs npm run lint. 4. Environment Check: Verifies .env.template matches config.


📝 Governance


Signed & Sealed,

Command Center Architecture Team December 12, 2025

← All docsView source on GitHub →