/ docs / INDEX.md
INDEX.md
  1  # ECHO Documentation Index
  2  
  3  Complete index of all documentation in the ECHO repository.
  4  
  5  ## 🎯 Start Here
  6  
  7  | Document | Purpose | Audience |
  8  |----------|---------|----------|
  9  | [/CLAUDE.md](../CLAUDE.md) | Project overview, critical rules, quick start | **Everyone - read first** |
 10  | [/README.md](../README.md) | User-facing getting started guide | End users |
 11  | [docs/guides/GETTING_STARTED.md](guides/GETTING_STARTED.md) | Step-by-step setup instructions | New developers |
 12  
 13  ## πŸ“‚ Component Documentation (claude.md files)
 14  
 15  ### Core Components
 16  
 17  | Directory | claude.md | Focus | Lines |
 18  |-----------|-----------|-------|-------|
 19  | **apps/** | [claude.md](../apps/claude.md) | Agent development patterns | 696 |
 20  | **apps/echo_shared/** | [claude.md](../apps/echo_shared/claude.md) | Shared library API, database schemas | 744 |
 21  | **apps/delegator/** | [claude.md](../apps/delegator/claude.md) | Delegator agent (resource optimization) | 400+ |
 22  
 23  ### Testing & Quality
 24  
 25  | Directory | claude.md | Focus | Lines |
 26  |-----------|-----------|-------|-------|
 27  | **test/** | [claude.md](../test/claude.md) | Integration & E2E testing patterns | 300+ |
 28  | **benchmark_models/** | [claude.md](../benchmark_models/claude.md) | LLM performance benchmarking | 412 |
 29  
 30  ### Development Tools
 31  
 32  | Directory | claude.md | Focus | Lines |
 33  |-----------|-----------|-------|-------|
 34  | **scripts/** | [claude.md](../scripts/claude.md) | Utility scripts & LocalCode complete guide | 912 |
 35  | **training/** | [claude.md](../training/claude.md) | Training scripts & best practices | 362 |
 36  
 37  ### Workflows & Monitoring
 38  
 39  | Directory | claude.md | Focus | Lines |
 40  |-----------|-----------|-------|-------|
 41  | **workflows/** | [claude.md](../workflows/claude.md) | Multi-agent workflow orchestration | 575 |
 42  | **monitor/** | [claude.md](../monitor/claude.md) | Phoenix LiveView dashboard | 479 |
 43  
 44  ### Deployment
 45  
 46  | Directory | claude.md | Focus | Lines |
 47  |-----------|-----------|-------|-------|
 48  | **docker/** | [claude.md](../docker/claude.md) | Docker & Docker Compose deployment | 606 |
 49  | **k8s/** | [claude.md](../k8s/claude.md) | Kubernetes production deployment | 684 |
 50  
 51  **Total:** 12 claude.md files, ~6,970 lines
 52  
 53  ## πŸ—οΈ Architecture Documentation
 54  
 55  | Document | Description | Status |
 56  |----------|-------------|--------|
 57  | [ECHO_ARCHITECTURE.md](architecture/ECHO_ARCHITECTURE.md) | Complete system architecture | Current |
 58  | [DELEGATOR_ARCHITECTURE.md](architecture/DELEGATOR_ARCHITECTURE.md) | Delegator agent resource optimization | Current |
 59  | [FLOW_DSL_IMPLEMENTATION.md](architecture/FLOW_DSL_IMPLEMENTATION.md) | Event-driven Flow DSL details | Current |
 60  | [TOKEN_OPTIMIZATION_ANALYSIS.md](architecture/TOKEN_OPTIMIZATION_ANALYSIS.md) | Token optimization strategies | Current |
 61  
 62  ## πŸ“– User Guides
 63  
 64  | Guide | Description | Difficulty |
 65  |-------|-------------|------------|
 66  | [GETTING_STARTED.md](guides/GETTING_STARTED.md) | Step-by-step setup | Beginner |
 67  | [DEMO_GUIDE.md](guides/DEMO_GUIDE.md) | 10 demo scenarios with examples | Intermediate |
 68  | [claude-desktop-setup.md](guides/claude-desktop-setup.md) | Connect agents to Claude Desktop | Intermediate |
 69  | [DELEGATOR_QUICK_START.md](guides/DELEGATOR_QUICK_START.md) | Delegator agent quick start | Intermediate |
 70  | [DELEGATOR_MONITORING_INTEGRATION.md](guides/DELEGATOR_MONITORING_INTEGRATION.md) | Delegator monitoring integration | Advanced |
 71  
 72  ## βœ… Completed Implementation Reports
 73  
 74  | Report | Description | Date |
 75  |--------|-------------|------|
 76  | [DAY2_TRAINING_COMPLETE.md](completed/DAY2_TRAINING_COMPLETE.md) | Day 2 training completion | 2025-11-XX |
 77  | [DAY3_TRAINING_COMPLETE.md](completed/DAY3_TRAINING_COMPLETE.md) | Day 3 training completion | 2025-11-XX |
 78  | [SECURITY_FIXES.md](completed/SECURITY_FIXES.md) | Security hardening implementation | 2025-11-XX |
 79  | [SCRIPT_CLEANUP_SUMMARY.md](completed/SCRIPT_CLEANUP_SUMMARY.md) | Script cleanup and umbrella migration | 2025-11-XX |
 80  | [SESSION_PERSISTENCE_FIX.md](completed/SESSION_PERSISTENCE_FIX.md) | Session persistence fix | 2025-11-XX |
 81  | [DISTRIBUTED_CONTEXT_COMPLETE.md](completed/DISTRIBUTED_CONTEXT_COMPLETE.md) | Distributed context implementation | 2025-11-XX |
 82  | [DOCUMENTATION_ORGANIZATION.md](completed/DOCUMENTATION_ORGANIZATION.md) | Documentation organization | 2025-11-XX |
 83  | [AGENT_BUILD_TEST_RESULTS.md](completed/AGENT_BUILD_TEST_RESULTS.md) | Agent build test results | 2025-11-XX |
 84  
 85  ## πŸ”§ Troubleshooting Guides
 86  
 87  | Guide | Description |
 88  |-------|-------------|
 89  | [DB_ID_FIX_SUMMARY.md](troubleshooting/DB_ID_FIX_SUMMARY.md) | Database ID issues |
 90  | [ELIXIRLS_CONNECTION_ISSUE_EXPLAINED.md](troubleshooting/ELIXIRLS_CONNECTION_ISSUE_EXPLAINED.md) | ElixirLS connection issues |
 91  
 92  ## πŸ”– Reusable Snippets
 93  
 94  | Snippet | Description | Used In |
 95  |---------|-------------|---------|
 96  | [database_troubleshooting.md](snippets/database_troubleshooting.md) | PostgreSQL common issues | 4+ files |
 97  | [ollama_troubleshooting.md](snippets/ollama_troubleshooting.md) | Ollama/LLM common issues | 4+ files |
 98  | [testing_commands.md](snippets/testing_commands.md) | Common test commands | 4+ files |
 99  | [git_workflow.md](snippets/git_workflow.md) | Git best practices | All dev |
100  
101  ## πŸ“¦ App-Specific Documentation
102  
103  ### echo_shared (Shared Library)
104  
105  | Document | Description |
106  |----------|-------------|
107  | [README.md](../apps/echo_shared/docs/README.md) | Shared library overview |
108  | [SESSION_CONSULT_INTEGRATION_FINAL_REPORT.md](../apps/echo_shared/docs/SESSION_CONSULT_INTEGRATION_FINAL_REPORT.md) | Complete integration report |
109  | [LLM_SESSION_INTEGRATION_SUMMARY.md](../apps/echo_shared/docs/LLM_SESSION_INTEGRATION_SUMMARY.md) | Integration summary |
110  
111  ## πŸ—ΊοΈ Documentation Map by Use Case
112  
113  ### I want to...
114  
115  **...get started with ECHO**
116  1. [/CLAUDE.md](../CLAUDE.md) - Read first (critical rules)
117  2. [docs/guides/GETTING_STARTED.md](guides/GETTING_STARTED.md) - Step-by-step setup
118  3. [docs/guides/DEMO_GUIDE.md](guides/DEMO_GUIDE.md) - Try demo scenarios
119  
120  **...develop a new agent**
121  1. [apps/claude.md](../apps/claude.md) - Agent development patterns
122  2. [apps/echo_shared/claude.md](../apps/echo_shared/claude.md) - Shared library API
123  3. [docs/architecture/ECHO_ARCHITECTURE.md](architecture/ECHO_ARCHITECTURE.md) - System architecture
124  
125  **...write tests**
126  1. [test/claude.md](../test/claude.md) - Testing patterns
127  2. [docs/snippets/testing_commands.md](snippets/testing_commands.md) - Common commands
128  3. [/CLAUDE.md](../CLAUDE.md) - Rule 1 (never break tests)
129  
130  **...deploy to production**
131  1. [docker/claude.md](../docker/claude.md) - Docker deployment (simpler)
132  2. [k8s/claude.md](../k8s/claude.md) - Kubernetes deployment (production)
133  3. [docs/architecture/ECHO_ARCHITECTURE.md](architecture/ECHO_ARCHITECTURE.md) - Architecture overview
134  
135  **...benchmark LLM models**
136  1. [benchmark_models/claude.md](../benchmark_models/claude.md) - Complete benchmarking guide
137  2. [benchmark_models/README.md](../benchmark_models/README.md) - Detailed benchmarking docs
138  
139  **...use LocalCode (local LLM assistant)**
140  1. [/CLAUDE.md](../CLAUDE.md) - Rule 8 (quick commands)
141  2. [scripts/claude.md](../scripts/claude.md) - Complete LocalCode guide (400+ lines)
142  3. [scripts/llm/QUICK_START.md](../scripts/llm/QUICK_START.md) - Quick start tutorial
143  4. [scripts/llm/LOCALCODE_GUIDE.md](../scripts/llm/LOCALCODE_GUIDE.md) - Complete reference
144  
145  **...troubleshoot issues**
146  1. [docs/snippets/](snippets/) - Common troubleshooting patterns
147  2. [/CLAUDE.md](../CLAUDE.md) - Troubleshooting quick reference
148  3. [docs/troubleshooting/](troubleshooting/) - Detailed troubleshooting guides
149  
150  **...optimize resources**
151  1. [apps/delegator/claude.md](../apps/delegator/claude.md) - Delegator agent
152  2. [docs/architecture/DELEGATOR_ARCHITECTURE.md](architecture/DELEGATOR_ARCHITECTURE.md) - Resource optimization
153  3. [docs/guides/DELEGATOR_QUICK_START.md](guides/DELEGATOR_QUICK_START.md) - Quick start
154  
155  **...create workflows**
156  1. [workflows/claude.md](../workflows/claude.md) - Workflow orchestration
157  2. [docs/architecture/FLOW_DSL_IMPLEMENTATION.md](architecture/FLOW_DSL_IMPLEMENTATION.md) - Flow DSL details
158  3. [docs/guides/DEMO_GUIDE.md](guides/DEMO_GUIDE.md) - Workflow examples
159  
160  **...monitor the system**
161  1. [monitor/claude.md](../monitor/claude.md) - Phoenix LiveView dashboard
162  2. [monitor/README.md](../monitor/README.md) - Dashboard details
163  3. [/CLAUDE.md](../CLAUDE.md) - Quick start (monitor section)
164  
165  ## πŸ“Š Documentation Statistics
166  
167  - **Total claude.md files:** 12
168  - **Total documentation files:** 50+
169  - **Total lines of documentation:** ~15,000+
170  - **Documentation coverage:** 100% (all major directories)
171  - **Snippet reuse:** 4 snippets used in 16+ files
172  - **Languages:** Markdown, Elixir code examples
173  
174  ## πŸ”„ Documentation Updates
175  
176  This index is manually maintained. When adding new documentation:
177  
178  1. Create the document in appropriate directory
179  2. Follow naming conventions (UPPERCASE for major docs, lowercase for guides)
180  3. Add entry to this index
181  4. Update relevant claude.md file
182  5. Consider creating snippet if content is reusable
183  
184  ## πŸ“ž Quick Links
185  
186  - **Main Overview:** [/CLAUDE.md](../CLAUDE.md)
187  - **User Guide:** [/README.md](../README.md)
188  - **Architecture:** [docs/architecture/](architecture/)
189  - **Guides:** [docs/guides/](guides/)
190  - **Troubleshooting:** [docs/snippets/](snippets/) & [docs/troubleshooting/](troubleshooting/)
191  - **Completed Work:** [docs/completed/](completed/)
192  
193  ---
194  
195  **Last Updated:** 2025-11-18 (Phase 3)
196  **Maintained By:** ECHO Development Team
197  **Status:** Complete (100% coverage)