Master architecture rules and guidelines for AI-native engineering, low-latency backends, and reliable LLM integration.
This document serves as the Single Source of Truth (SSOT) and engineering guidelines for Eight32. It establishes strict architectural rules for both human developers and AI coding agents working on production-grade backend systems.
Key principles covered:
Database Schema Integrity: Mandatory schema verification before data operations to prevent hallucinations and schema mismatches.
Mobile API Contracts: Enforcing strict JSON response schemas to maintain backward compatibility with mobile clients.
Standardized Error Handling: Unified exception interceptors to eliminate unhandled crashes.
AI Agent Guardrails: Clear boundaries for automated code generators, including fallbacks, Git safety, and surrender protocols.
Designed for software engineers and technical founders building AI-native applications with FastAPI, Gemini, and Supabase.