| title | Chessmate System Guide |
|---|---|
| service | global |
| status | draft |
| last_reviewed | 2025-12-06 |
| type | index |
Quick navigation and index for the Chessmate microservices platform.
Before anything else, install the dx-cli tool:
# Clone the repository
git clone <repository-url>
cd chessmate
# Install dx-cli (REQUIRED FIRST STEP)
cd dx-cli
npm install
npm run build
cd ..
# Verify installation
node dx-cli/dist/index.js doctorOnce dx-cli is installed, see dx-cli/README.md for all available commands.
- Install dx-cli (see above)
- Read AGENTS.md - Platform principles and philosophy
- Run
node dx-cli/dist/index.js dev- Start development environment - Check your service's README:
/<service>/README.md - Follow dev guide:
/<service>/docs/(usehow-to/local-dev.mdfor setup)
- Install dx-cli (see above)
- Read SRE Playbook
- Read Incident Response Guide
- Check service runbooks:
/<service>/docs/RUNBOOK.md
The unified command-line interface for all developer workflows.
Location: ./dx-cli/
Key Commands:
node dx-cli/dist/index.js dev- Start development environmentnode dx-cli/dist/index.js test- Run testsnode dx-cli/dist/index.js build- Build servicesnode dx-cli/dist/index.js deploy <env>- Deploy to environmentnode dx-cli/dist/index.js doctor- Check system health
Documentation:
- dx-cli/README.md - Complete command reference
- dx-cli/docs/overview.md - Implementation overview
- dx-cli/docs/DX_PLATFORM.md - Platform architecture
- dx-cli/docs/service-spec.md - service.yaml specification
See Quick Start above for installation instructions.
Player account and profile management service.
- Language: Python (FastAPI)
- Database: PostgreSQL
- Status: Operational
- Quick Links: README | Docs | API Spec
Real-time active game state and moves.
- Language: Python (FastAPI)
- Database: PostgreSQL
- Status: Operational
- Quick Links: README | Docs | API Spec
Authoritative history ingestion and retrieval service fed by Kafka game events.
- Language: Go (REST)
- Database: PostgreSQL + S3 archival
- Status: Draft
- Quick Links: README | Docs | API Spec
Player matching and queue management.
- Language: Python (FastAPI)
- Database: PostgreSQL
- Status: Operational
- Quick Links: README | Docs | API Spec
Player ratings across pools using Glicko-2.
Engine-backed bot orchestration service (BotSpec, engine, knowledge integration).
- Language: Python (FastAPI)
- Database: None (stateless)
- Status: Draft
- Quick Links: README | Docs | API Spec
Chess engine evaluation service running Stockfish-like engines.
- Language: Python (FastAPI)
- Database: None (stateless)
- Status: Draft
- Quick Links: README | Docs | API Spec
Chess knowledge service for opening books and endgame tablebases.
- Language: Python (FastAPI)
- Database: None (stateless)
- Status: Draft
- Quick Links: README | Docs | API Spec
Mobile and web user interface.
- Language: TypeScript (React Native + React)
- Platforms: iOS, Android, Web
- Status: Operational
- Quick Links: README | Docs
- Engineering Guide (AGENTS.md)
- Coding Style Standards
- Testing Standards
- Logging Standards
- Security Standards
- Observability Standards
- Documentation Standards
- I'm a new developer: Read AGENTS.md, then your service README
- I'm setting up my dev environment: See
/<service>/docs/GETTING_STARTED.mdI need to run tests: Check your service's README for test commands I need to deploy: Read/<service>/docs/RUNBOOK.mdβ Deployment section I need to set up my dev environment: See/<service>/docs/how-to/local-dev.md
- How should I structure code?: Coding Style Standards
- What's the testing strategy?: Testing Standards
- How do I write logs?: Logging Standards
- How do services communicate?: Integration Flows
- What's the overall architecture?: System Architecture
- I'm on-call: Read On-Call Guide
- There's an incident: See Incident Response Guide
- I need to monitor a service: Check SRE Playbook
- Service won't start: See service-specific RUNBOOK.md
- What's our vision?: Product Vision
- What does term X mean?: Glossary
- How does the business model work?: Domain Overview
- What's the roadmap?: Product Vision β Roadmap
- High-level architecture?: System Architecture
- How do services integrate?: Integration Flows
- What's a bounded context?: Domain Map
- Complete service list: Service Catalog
- Why was X decided?: Architectural Decisions
account-api
- Overview: docs/README.md
- API: docs/overview.md
- Architecture: docs/ARCHITECTURE.md
- Domain: docs/domain.md (if exists)
- Ops: docs/RUNBOOK.md
live-game-api
- Overview: docs/README.md
- API: docs/overview.md
- Architecture: docs/ARCHITECTURE.md
- Domain: docs/domain.md (if exists)
- Ops: docs/RUNBOOK.md
matchmaking-api
- Overview: docs/README.md
- API: docs/overview.md
- Architecture: docs/ARCHITECTURE.md
- Domain: docs/domain.md (if exists)
- Ops: docs/RUNBOOK.md
chess-app
- Overview: docs/README.md
- Architecture: docs/ARCHITECTURE.md
chessmate/
βββ AGENTS.md # Engineering guide & principles
βββ ARCHITECTURE.md # System architecture overview
βββ SYSTEM_GUIDE.md # This file - navigation & index
β
βββ docs/ # Cross-service documentation
β βββ README.md # Docs index & navigation
β βββ standards/ # Platform standards
β β βββ coding-style.md
β β βββ testing.md
β β βββ logging.md
β β βββ security.md
β β βββ observability.md
β β βββ documentation.md
β βββ architecture/ # System architecture
β β βββ system-context.md
β β βββ domain-map.md
β β βββ service-catalog.md
β β βββ integration-flows.md
β βββ operations/ # Operational guides
β β βββ sre-playbook.md
β β βββ incident-response.md
β β βββ oncall-guide.md
β βββ business/ # Business context
β β βββ product-vision.md
β β βββ domain-overview.md
β β βββ glossary.md
β βββ decisions/ # Architectural decisions
β βββ README.md
β βββ ADR-*.md
β
βββ account-api/ # Service: Account & Identity
β βββ README.md
β βββ docs/
β β βββ README.md
β β βββ overview.md
β β βββ ARCHITECTURE.md
β β βββ api.md
β β βββ domain.md
β β βββ operations.md
β β βββ RUNBOOK.md
β β βββ how-to/
β β βββ decisions/
β β βββ migrations/
β βββ app/
β βββ migrations/
β βββ tests/
β βββ pyproject.toml
β
βββ live-game-api/ # Service: Real-Time Gaming
β βββ README.md
β βββ docs/
β β βββ [same structure as account-api]
β βββ app/
β βββ migrations/
β βββ tests/
β βββ pyproject.toml
β
βββ matchmaking-api/ # Service: Player Matching
β βββ README.md
β βββ docs/
β β βββ [same structure as account-api]
β βββ app/
β βββ migrations/
β βββ tests/
β βββ pyproject.toml
β
βββ chess-app/ # Client: Mobile & Web UI
βββ README.md
βββ docs/
β βββ README.md
β βββ overview.md
β βββ ARCHITECTURE.md
β βββ how-to/
β βββ decisions/
βββ src/
βββ package.json
βββ [React/React Native config]
| Question | Resource |
|---|---|
| Where do I start? | Read AGENTS.md first |
| How do I set up my dev environment? | Service-specific GETTING_STARTED.md |
| What's the architecture? | ARCHITECTURE.md and system-context.md |
| How do I deploy? | Service RUNBOOK.md under "Deployment" |
| There's an incident! | Incident Response Guide |
| What does term X mean? | Glossary |
| Why was decision Y made? | Architecture Decisions |
| How do I write code? | Coding Standards |
| How should I test? | Testing Standards |
| What's the product roadmap? | Product Vision |
Last updated: 2025-12-06 For updates to this guide, see: Documentation Standards