Skip to main content

Architecture

Reincarnatiopedia runs as a monorepo with 7 components deployed on a single dedicated server.
reincarnatiopedia/
├── bot/           # Telegram bot + Lighthouse audits
├── consilium/     # AI Council (5-model debate system)
├── mcp-server/    # Infrastructure API (20 tools)
├── wordpress/     # mu-plugins (token system, SEO)
├── frontend/      # Consilium web UI
├── nginx/         # Server configs (wildcard routing)
└── docs/          # Internal documentation

Request Flow

Components

ComponentTechPortPurpose
WordPress MultisitePHP 8.4 + Nginx443Content platform, 200 subdomains
ConsiliumNode.js + Express8444Multi-model AI debate system
MCP ServerPython + FastMCP8808Infrastructure management API
Telegram BotPythonMonitoring, audits, alerts
RedisRedis 8.06379Object cache + token balances
MariaDBMariaDB3306WordPress + token economy data

Deployment Model

  • Monorepo: All code in one GitHub repository
  • Branch protection: PRs required, CI checks (ruff, eslint, php lint)
  • Deploy: Manual git pull on server (symlinks to live paths)
  • No containers: Bare metal for maximum performance on dedicated hardware