AICR Platform Documentation
Welcome to the AI Code Rally (AICR) platform documentation. AICR is an enterprise governance platform for AI-assisted development, providing policy enforcement, usage metering, audit trails, and multi-tenant governance.
Quick Links
- Architecture Overview - Platform architecture and design principles
- Governance - Policy engine, proposals, and approval workflows
- Pack System - Rally → Pack → SuperPack → Domain hierarchy
- Security - Security model and compliance
- Guides - Getting started and runbooks
Platform Capabilities
🏛️ Governance Spine
Orthogonal governance layer that cuts across all platform surfaces:
- AI Interceptor with 7-step gating
- Proposal-based governance with 16-state machine
- Policy engine with deterministic evaluation
- Immutable audit trail via Spine
📦 Pack System
Modular capability delivery with 4-level hierarchy:
- Rally - Atomic capability units (routes, widgets)
- Pack - Bundles of rallies with dependencies
- SuperPack - Unlockable capability sets
- Domain - Summit product mastery
🎯 Multi-Tenant Architecture
Enterprise-grade isolation and customization:
- Tenant-scoped data isolation
- RealmKey-based context
- Per-tenant pack enablement
- Stage-based environments (lab/stage/prod)
Tech Stack
| Layer | Technology |
|---|---|
| Frontend | Next.js 14, TypeScript, Tailwind, Radix UI |
| Database | Neon PostgreSQL + pgvector (via Prisma) |
| Auth | NextAuth 5.0 |
| AI | OpenAI, Anthropic (via AI Gateway) |
| Events | Transactional outbox pattern |
Getting Started
# Clone the repository
git clone https://github.com/AICodeRally/AICR.git
# Install dependencies
pnpm install
# Start development server
pnpm dev