Skip to main content

Reading Order for New Sessions

IMPORTANT: Before beginning work, read these documents IN ORDER.

๐Ÿค– Claude Code Configuration (READ FIRST!)โ€‹

๐Ÿ“ .claude/ Directory - Essential Claude Code setup and agent resources:

  1. .claude/CLAUDE.md - Autonomous Development Mode, Context Engineering, Project Configuration
  2. .claude/README.md - Directory structure and quick start guide

๐ŸŽญ Available Agents & Commands (2025-10-14):

  1. .claude/agents/ - 6 custom agents (codebase-analyzer, codebase-locator, pattern-finder, thoughts-analyzer, web-search-researcher, etc.)
  2. .claude/commands/ - 24 workflow commands (create_plan, implement_plan, research_codebase, debug, ci_commit, etc.)
  3. .claude/agents-reference/ - 84 community agents (backend, frontend, security, DevOps, ML) - Git submodule
  4. .claude/commands-reference/ - 42 development tools (security-scan, api-scaffold, db-migrate) - Git submodule

๐Ÿ“š Reference Materials (2025-10-14):

  1. archive/coditect-v4/ - V4 Reference (19 FDB data models, 88 ADRs, agent patterns) - Git submodule
    • archive/coditect-v4/docs/reference/database-models/ - Complete V4 data model documentation
  2. archive/agents-research-plan-code/ - Agent Research (Multi-llm patterns, human-in-loop) - Git submodule
  3. docs/analysis-human-layer/ - 10 analysis documents (architecture, tech stack, llm integration strategies)
  4. docs/reference/database-models/ - 19 V4 FDB Models (User, Session, Tenant, Agent, etc.) - Copied from V4 for T2 reference

Why read .claude/ first?

  • ๐Ÿš€ Autonomous Mode: Enables multi-hour coding sessions with state tracking
  • ๐ŸŽฏ Context Engineering: Anthropic best practices for efficient token usage
  • ๐Ÿค– Specialized Agents: Production-ready agents for Rust, TypeScript, FoundationDB, GCP
  • ๐Ÿ› ๏ธ Development Tools: Security scanning, API generation, monitoring setup

๐Ÿ“ V5 Design & Architectureโ€‹

  1. ๐ŸŽจ DEFINITIVE V5 ARCHITECTURE: docs/DEFINITIVE-V5-architecture.md - Complete system design (95% theia + 5% wrapper)
  2. ๐ŸŽ APPLE-QUALITY DESIGN SYSTEM: docs/apple-quality-design-system.md - Steve Jobs/Jony Ive design principles
  3. โœ… FRONTEND BUILD VERIFICATION: docs/v5-frontend-build-verification.md - 100% build completion status
  4. ๐Ÿ“ฑ MOBILE-FIRST DESIGN: docs/mobile-first-design-system.md - Touch-friendly patterns (56px targets)

๐Ÿ—๏ธ Implementation & Deploymentโ€‹

  1. ๐ŸŽฏ EXECUTION PLAN: docs/10-execution-plans/corrected-execution-order.md - Step-by-step with dependencies
  2. ๐Ÿ“‹ DEPLOYMENT TRACKER: docs/10-execution-plans/deployment-step-by-step-tracker.md - Live progress
  3. ๐Ÿš€ DEPLOYMENT GUIDE: docs/06-backend/gcp-cloud-build-guide.md - GCP/GKE reference

๐Ÿ” Backend & Infrastructureโ€‹

  1. โš™๏ธ BACKEND SUMMARY: docs/06-backend/backend-summary.md - Rust API deployed to GCP
  2. ๐Ÿ—„๏ธ INFRASTRUCTURE MAP: docs/03-infrastructure/infrastructure-map.md - FoundationDB, GKE cluster
  3. ๐Ÿ” SECURITY PLAN: docs/04-security/security-hardening-plan.md - Security architecture

๐Ÿ“š theia Integrationโ€‹

  1. ๐Ÿ”ง THEIA RESEARCH: docs/theia-ai-research-findings.md - theia 1.65 AI capabilities
  2. ๐ŸŽญ THEIA WRAPPER ARCHITECTURE: docs/V5-THEIA-WRAPPER-architecture.md - React-theia bridge pattern

๐Ÿงช Deployment & Testing Infrastructure (2025-10-14)โ€‹

  1. โœ… TESTING INFRASTRUCTURE: testing-infrastructure-complete.md - Complete automated testing suite
  2. ๐Ÿ“‹ TESTING SUMMARY: docs/testing-summary.md - Quick reference guide
  3. ๐Ÿ“– TESTING GUIDE: docs/testing-guide.md - Complete documentation (558 lines)
  4. ๐Ÿ”ง TEST SCRIPTS:
  5. ๐Ÿš€ DEPLOYMENT FILES:
  6. โš™๏ธ ENVIRONMENT CONFIG:
  7. ๐Ÿ“Š DEPLOYMENT ISSUES TRACKER: docs/10-execution-plans/api-integration-fixes-complete.md - All 9 issues documented

Why this is critical:

  • ๐Ÿšจ Automated testing catches ALL 9 deployment issues in < 2 minutes, BEFORE wasting 10-20 minutes on Cloud Build
  • โšก Saves 79% time (80-160 min โ†’ 17 min per deployment)
  • ๐Ÿ’ฐ Saves $40-80 per incident (no failed builds)
  • โœ… Zero failed deployments from config issues

This ensures continuity and prevents duplicate work.

๐ŸŽฏ V5 Implementation Status (2025-10-12)โ€‹

Current Status: โœ… Ready to Build - Docker Installed, All Prerequisites Verified

Latest Achievements (2025-10-12):

  • โœ… Docker Installation: Docker v28.5.1 installed and verified working
  • โœ… Architecture Documented: Complete V5+theia architecture explanation with troubleshooting
  • โœ… Combined Deployment Architecture: Single-container deployment (V5 + theia + NGINX)
  • โœ… Deployment Files Created: 9 files (Dockerfiles, NGINX config, Cloud Build, K8s manifests)
  • โœ… Documentation Complete: Architecture diagrams, deployment guides, troubleshooting
  • โœ… V5 Frontend Build: Production dist/ folder ready (1.2 MB)

๐Ÿ“‹ Current Session Documents:

Previous Achievements (2025-10-08):

  • โœ… Coditect AI Branding: Custom "Coditect AI Agents" welcome message in theia AI Chat
  • โœ… Custom Robot Logo: SVG-based Coditect branding
  • โœ… V5 Frontend Wrapper: React 18 + Vite 5 running on port 5173 with 28 complete pages
  • โœ… Startup Scripts: Convenience scripts for starting/stopping both services
  • โœ… Two-Service Architecture: theia backend (3000) + V5 frontend (5173) working

Critical Path:

  1. โœ… Phase 0: Pre-requisites (JWT secret, service accounts) - COMPLETE
  2. โœ… Phase 1: Frontend Wrapper (Header/Footer/layout) - COMPLETE (2025-10-08)
  3. ๐Ÿ”„ Phase 2: theia Container Build - IN PROGRESS (Docker Testing)
  4. ๐Ÿ”ฒ Phase 3: Auth Backend (JWT + FDB sessions) - Ready to start
  5. ๐Ÿ”ฒ Phase 4: WebSocket Sidecar - Pending
  6. ๐Ÿ”ฒ Phase 5: Pod Auto-Provisioning - Pending
  7. ๐Ÿ”ฒ Phase 6: Full Integration & Deploy - Pending
  8. ๐Ÿ”ฒ Phase 7: Blue-Green Rollout - Pending

Next Steps:

  1. Install Docker client in development environment
  2. Test dockerfile.local-test locally (~27 minute build)
  3. Deploy to Cloud Build after local success
  4. Deploy to GKE cluster

Remaining Timeline: ~10-12 days (solo) | 6-8 days (2-person) | 4-6 days (4-person)

Infrastructure Ready (serene-voltage-464305-n2):

  • โœ… GKE cluster: codi-poc-e2-cluster (us-central1-a)
  • โœ… FoundationDB: 10.128.0.8:4500 (3-node StatefulSet)
  • โœ… Domain/SSL: coditect.ai (34.8.51.57, Google-managed cert)
  • โœ… Container Registry: gcr.io/serene-voltage-464305-n2
  • โœ… CI/CD: Cloud Build pipelines ready

V4 Reference Materials (for patterns only):

  • docs/08-v4-reference/ - SDD, TDD, 88 ADRs (~2.2MB)
  • docs/v4-agents/ - Agent system (512KB)
  • src/v4-*/ - Source code reference (~5.3MB)
  • .codi/ - Monitoring infrastructure (543 files)

โš ๏ธ CRITICAL: V4 materials are REFERENCE ONLY. Do NOT copy v4 patterns directly - t2 uses Eclipse theia architecture which already provides most features. Always check if theia has the feature before referencing v4 implementations.


Back to: CLAUDE.md | DOCUMENTATION-index.md