# DAARION Documentation Index **Quick navigation for all documentation** --- ## ๐Ÿš€ Quick Start ### For New Developers 1. [PROJECT_CONTEXT.md](../PROJECT_CONTEXT.md) โ€” Project overview 2. [INFRASTRUCTURE.md](../INFRASTRUCTURE.md) โ€” Servers, ports, services 3. [docs/cursor/README.md](./cursor/README.md) โ€” Cursor AI documentation (72 docs) ### For Implementation 1. [docs/tasks/README.md](./tasks/README.md) โ€” **Cursor-ready tasks** โญ 2. [MESSAGING_ARCHITECTURE.md](./MESSAGING_ARCHITECTURE.md) โ€” Complete tech spec 3. [MESSENGER_TESTING_GUIDE.md](./MESSENGER_TESTING_GUIDE.md) โ€” Testing guide --- ## ๐Ÿ“‹ Cursor Tasks (New!) **Ready-to-use tasks for Cursor AI:** ### Priority 1: Agent Integration - [TASK_PHASE2_AGENT_INTEGRATION.md](./tasks/TASK_PHASE2_AGENT_INTEGRATION.md) - 4 weeks, High priority - agent_filter + DAGI Router + agent-runtime - Makes Messenger agent-aware ### Priority 2: Agent Hub - [TASK_AGENT_HUB_MVP.md](./tasks/TASK_AGENT_HUB_MVP.md) - 2 weeks, High priority - Main interface for working with agents - Reuses Messenger components --- ## ๐Ÿ—๏ธ Architecture ### Core Specs - [MESSAGING_ARCHITECTURE.md](./MESSAGING_ARCHITECTURE.md) โ€” Messenger + Matrix + Agents (110+ KB) - [MESSENGER_COMPLETE_SPECIFICATION.md](./MESSENGER_COMPLETE_SPECIFICATION.md) โ€” Master doc - [messaging-erd.dbml](./messaging-erd.dbml) โ€” Database ERD (dbdiagram.io format) ### Technical Docs - [INFRASTRUCTURE.md](../INFRASTRUCTURE.md) โ€” Servers, nodes, ports, services - [infrastructure_quick_ref.ipynb](./infrastructure_quick_ref.ipynb) โ€” Quick reference notebook --- ## ๐Ÿ“š Cursor AI Documentation (72 docs) **See:** [docs/cursor/README.md](./cursor/README.md) ### Key Documents 1. **MVP & Architecture (00-07)** - `00_overview_microdao.md` โ€” System overview - `01_product_brief_mvp.md` โ€” Product requirements - `02_architecture_basics.md` โ€” Technical architecture - `03_api_core_snapshot.md` โ€” API contracts - `MVP_VERTICAL_SLICE.md` โ€” Implementation plan 2. **Agent System (08-24)** - `12_agent_runtime_core.md` โ€” Agent Runtime Core - `13_agent_memory_system.md` โ€” Memory system - `21_agent_only_interface.md` โ€” Agent-Only Interface - `22_operator_modes_and_system_agents.md` โ€” System agents 3. **Infrastructure (25-50)** - `25_deployment_infrastructure.md` โ€” Deployment - `27_database_schema_migrations.md` โ€” Database schema - `34_internal_services_architecture.md` โ€” 17 services - `42_nats_event_streams_and_event_catalog.md` โ€” NATS events --- ## ๐Ÿ”ง Implementation Guides ### Completed Modules - [MESSENGER_MODULE_COMPLETE.md](./MESSENGER_MODULE_COMPLETE.md) โ€” Phase 1 summary - Database schema - messaging-service - Frontend UI - WebSocket real-time ### In Progress - [tasks/TASK_PHASE2_AGENT_INTEGRATION.md](./tasks/TASK_PHASE2_AGENT_INTEGRATION.md) โ€” Agent integration - [tasks/TASK_AGENT_HUB_MVP.md](./tasks/TASK_AGENT_HUB_MVP.md) โ€” Agent Hub UI --- ## ๐Ÿงช Testing ### Messenger Testing - [MESSENGER_TESTING_GUIDE.md](./MESSENGER_TESTING_GUIDE.md) โ€” 13 test scenarios - Basic messaging - Element compatibility - Agent posting - WebSocket - E2EE channels ### General Testing - [cursor/07_testing_checklist_mvp.md](./cursor/07_testing_checklist_mvp.md) โ€” MVP checklist --- ## ๐Ÿ“Š Data Models ### Database - [messaging-erd.dbml](./messaging-erd.dbml) โ€” **Messenger ERD** (paste to dbdiagram.io) - [cursor/27_database_schema_migrations.md](./cursor/27_database_schema_migrations.md) โ€” Full schema ### API - [cursor/03_api_core_snapshot.md](./cursor/03_api_core_snapshot.md) โ€” Core API - [services/matrix-gateway/API_SPEC.md](../services/matrix-gateway/API_SPEC.md) โ€” Matrix Gateway --- ## ๐ŸŽฏ Roadmap & Plans ### Current Phase - โœ… Phase 1: Messenger Core (Complete) - ๐Ÿ“‹ Phase 2: Agent Integration (Next) - ๐Ÿ“‹ Phase 2.5: Agent Hub (Parallel) ### Planning Docs - [MVP_VERTICAL_SLICE.md](./cursor/MVP_VERTICAL_SLICE.md) โ€” MVP plan - [PLAN_MODULES.md](./cursor/PLAN_MODULES.md) โ€” Module plans - [ACTION_PLAN.md](./ACTION_PLAN.md) โ€” Action plan --- ## ๐Ÿ” Security & Infrastructure ### Security - [cursor/26_security_audit.md](./cursor/26_security_audit.md) โ€” Security checklist - [cursor/33_api_gateway_security_and_pep.md](./cursor/33_api_gateway_security_and_pep.md) โ€” API security ### Infrastructure - [cursor/25_deployment_infrastructure.md](./cursor/25_deployment_infrastructure.md) โ€” Deployment - [cursor/29_scaling_and_high_availability.md](./cursor/29_scaling_and_high_availability.md) โ€” Scaling --- ## ๐ŸŒ Integration Guides ### DAARION.city - [DAARION_city_integration.md](./cursor/DAARION_city_integration.md) โ€” City integration - [DAARION_city_platforms_catalog.md](./cursor/DAARION_city_platforms_catalog.md) โ€” Platforms ### External Systems - [cursor/20_integrations_bridges_agent.md](./cursor/20_integrations_bridges_agent.md) โ€” Bridges - [cursor/40_rwa_energy_food_water_flow_specs.md](./cursor/40_rwa_energy_food_water_flow_specs.md) โ€” RWA --- ## ๐Ÿ’ฐ Tokenomics ### Core Docs - [tokenomics/city-tokenomics.md](./tokenomics/city-tokenomics.md) โ€” โญ CANONICAL - [cursor/30_cost_optimization_and_token_economics_infrastructure.md](./cursor/30_cost_optimization_and_token_economics_infrastructure.md) --- ## ๐Ÿ“ Quick Reference ### Files by Type #### Configuration - `../package.json` โ€” Frontend dependencies - `../vite.config.ts` โ€” Vite config - `../docker-compose.messenger.yml` โ€” Messenger stack - `../docker-compose.agents.yml` โ€” Agent services (to be created) #### Migrations - `../migrations/001_create_messenger_schema.sql` โ€” Messenger DB #### Services - `../services/messaging-service/` โ€” Messaging API - `../services/matrix-gateway/` โ€” Matrix adapter - `../services/city-service/` โ€” City API - `../services/space-service/` โ€” Space API #### Frontend - `../src/features/messenger/` โ€” Messenger UI - `../src/features/city/` โ€” City Dashboard - `../src/features/space-dashboard/` โ€” Space Dashboard - `../src/features/onboarding/` โ€” Onboarding --- ## ๐Ÿ” Search Tips ### Find by Topic - **Messenger:** Search for "messaging", "Matrix", "channels" - **Agents:** Search for "agent", "runtime", "LLM" - **Infrastructure:** Search for "deployment", "docker", "NATS" - **Security:** Search for "security", "PDP", "capabilities" ### Find by File Type - `.md` โ€” Documentation - `.dbml` โ€” Database models - `.sql` โ€” Migrations - `.ipynb` โ€” Jupyter notebooks - `.yml` โ€” Docker configs --- ## ๐Ÿ“ž Support ### Documentation Issues - Check [cursor/README.md](./cursor/README.md) for navigation - Use [PROJECT_CONTEXT.md](../PROJECT_CONTEXT.md) for quick context ### Implementation Help - Start with [tasks/README.md](./tasks/README.md) - Review [MESSAGING_ARCHITECTURE.md](./MESSAGING_ARCHITECTURE.md) for technical details --- **Last Updated:** 2025-11-24 **Version:** 1.1.0 **Maintainer:** DAARION Platform Team