Complete Submodule-to-Product Mapping Matrix
Date: 2025-11-26 Total Submodules: 46 Deployed Products: 3 Purpose: Map every submodule to deployment reality
Mapping Legend
Deployment Status:
- ✅ DEPLOYED - Powers live product
- 🟢 SUPPORTING - Infrastructure/framework supporting deployed products
- 🟡 DEVELOPMENT - In-progress features
- 🔬 RESEARCH - Experimental/POC
- 📚 DOCUMENTATION - Content repositories
- ❌ ARCHIVED - Historical reference only
Priority:
- P0 - Production critical (must not break)
- P1 - Important (affects features/operations)
- P2 - Nice to have
- P3 - Low priority/research
Complete Mapping (46 Submodules)
| # | Submodule | Category | Deployment Status | Deployed Product | Tech Stack | Priority | Notes |
|---|---|---|---|---|---|---|---|
| 1 | coditect-cloud-backend | cloud | ✅ DEPLOYED | Django Multi-Tenant Platform | Django 5.2, DRF, PostgreSQL | P0 | User registration, licensing, payment |
| 2 | coditect-cloud-ide | cloud | ✅ DEPLOYED | CODITECT IDE (coditect.ai) | Theia 1.65, React 18, Rust, FDB | P0 | PRIMARY PRODUCT - Browser IDE |
| 3 | coditect-cloud-frontend | cloud | 🟡 DEVELOPMENT | Admin Dashboard | React, TypeScript, Chakra UI | P1 | Admin interface (not user-facing IDE) |
| 4 | coditect-cloud-infra | cloud | 🟢 SUPPORTING | Infrastructure | Terraform, GKE, Cloud SQL | P0 | Provisions GCP resources for all products |
| 5 | labs-workflow | labs | ✅ DEPLOYED | Workflow Analysis (workflow.coditect.ai) | FastAPI, React 18, Anthropic Claude | P0 | AI-powered workflow analysis platform |
| 6 | labs-agent-standards | labs | 🔬 RESEARCH | N/A | Documentation | P3 | Agent development standards research |
| 7 | labs-agents-research | labs | 🔬 RESEARCH | N/A | Research | P3 | Multi-agent architecture research |
| 8 | labs-claude-research | labs | 🔬 RESEARCH | N/A | Research | P3 | Claude API research and experiments |
| 9 | labs-cli-web-arch | labs | 🔬 RESEARCH | N/A | Research | P3 | CLI + web architecture patterns |
| 10 | labs-first-principles | labs | 🔬 RESEARCH | N/A | Documentation | P3 | First-principles design thinking |
| 11 | labs-learning | labs | 🔬 RESEARCH | N/A | Educational content | P3 | Learning and training materials |
| 12 | labs-mcp-auth | labs | 🔬 RESEARCH | N/A | Prototype | P2 | Model Context Protocol auth research |
| 13 | labs-multi-agent-rag | labs | 🔬 RESEARCH | N/A | Prototype | P2 | Multi-agent RAG system exploration |
| 14 | labs-screenshot | labs | 🔬 RESEARCH | N/A | Tool | P3 | Screenshot automation tool |
| 15 | labs-v4-archive | labs | ❌ ARCHIVED | N/A | Historical reference | P3 | CODITECT v4 archived code |
| 16 | nested-learning | labs | 🔬 RESEARCH | N/A | Educational framework | P3 | Nested learning system research |
| 17 | next-generation | labs | 🔬 RESEARCH | N/A | Future architecture | P2 | Next-gen platform research |
| 18 | dev-analytics | dev | 🟡 DEVELOPMENT | N/A | Analytics tools | P2 | Development analytics tooling |
| 19 | dev-automation | dev | 🟡 DEVELOPMENT | N/A | Automation scripts | P2 | Development workflow automation |
| 20 | dev-cli | dev | 🟡 DEVELOPMENT | N/A | CLI tools | P2 | Command-line development tools |
| 21 | dev-audio2text | dev | 🟡 DEVELOPMENT | N/A | Utility | P3 | Audio transcription utility |
| 22 | dev-context | dev | 🟡 DEVELOPMENT | N/A | Context management | P1 | Development context preservation |
| 23 | dev-intelligence | dev | 🟡 DEVELOPMENT | N/A | AI tools | P2 | Development intelligence tools |
| 24 | dev-pdf | dev | 🟡 DEVELOPMENT | N/A | PDF tools | P3 | PDF generation/processing |
| 25 | dev-qrcode | dev | 🟡 DEVELOPMENT | N/A | QR code tools | P3 | QR code generation |
| 26 | docs-blog | docs | 📚 DOCUMENTATION | Blog content | Markdown, static site | P2 | Company blog posts |
| 27 | docs-main | docs | 📚 DOCUMENTATION | Documentation site | Markdown | P1 | Main documentation |
| 28 | docs-setup | docs | 📚 DOCUMENTATION | Setup guides | Markdown | P2 | Installation documentation |
| 29 | docs-training | docs | 📚 DOCUMENTATION | Training materials | Markdown | P2 | User training content |
| 30 | legal | docs | 📚 DOCUMENTATION | Legal docs | Markdown | P1 | Terms, privacy policy, etc. |
| 31 | gtm-comms | gtm | 📚 DOCUMENTATION | Marketing content | Content | P2 | Communications materials |
| 32 | gtm-crm | gtm | 📚 DOCUMENTATION | CRM data | CRM config | P2 | Customer relationship management |
| 33 | gtm-customer-clipora | gtm | 📚 DOCUMENTATION | Customer case | Documentation | P3 | Clipora customer case study |
| 34 | gtm-investor | gtm | 📚 DOCUMENTATION | Investor materials | Presentations | P2 | Investor presentations and data |
| 35 | gtm-legitimacy | gtm | 📚 DOCUMENTATION | Business legitimacy | Documentation | P2 | Company legitimacy materials |
| 36 | gtm-personas | gtm | 📚 DOCUMENTATION | User personas | Marketing research | P2 | Target user personas |
| 37 | gtm-strategy | gtm | 📚 DOCUMENTATION | GTM strategy | Planning docs | P2 | Go-to-market strategy |
| 38 | market-activity | market | 📚 DOCUMENTATION | Market research | Analysis | P3 | Market activity tracking |
| 39 | market-agents | market | 📚 DOCUMENTATION | Market intelligence | Research | P3 | AI agent market analysis |
| 40 | ops-compliance | ops | 🟡 DEVELOPMENT | N/A | Compliance tools | P1 | Regulatory compliance tooling |
| 41 | ops-distribution | ops | 🟡 DEVELOPMENT | N/A | Distribution | P2 | Software distribution tools |
| 42 | ops-estimation-engine | ops | 🟡 DEVELOPMENT | N/A | Estimation tools | P2 | Project estimation engine |
| 43 | ops-license | ops | 🟢 SUPPORTING | License Server | License validation | P0 | CRITICAL - License key validation (must deploy) |
| 44 | ops-projects | ops | 🟡 DEVELOPMENT | N/A | Project management | P2 | Project management tools |
| 45 | core-architecture | core | 📚 DOCUMENTATION | Architecture docs | Markdown | P1 | Architecture reference documentation |
| 46 | core-framework | core | 🟢 SUPPORTING | CODITECT Framework | Python, agents, skills | P0 | Distributed intelligence framework (via .coditect symlinks) |
Summary Statistics
By Deployment Status
| Status | Count | Percentage | Submodules |
|---|---|---|---|
| ✅ DEPLOYED | 3 | 6.5% | cloud-backend, cloud-ide, labs-workflow |
| 🟢 SUPPORTING | 3 | 6.5% | cloud-infra, ops-license, core-framework |
| 🟡 DEVELOPMENT | 9 | 19.6% | cloud-frontend, dev-, ops- (non-license) |
| 🔬 RESEARCH | 12 | 26.1% | labs-* (except workflow) |
| 📚 DOCUMENTATION | 18 | 39.1% | docs-, gtm-, market-*, core-architecture |
| ❌ ARCHIVED | 1 | 2.2% | labs-v4-archive |
By Priority
| Priority | Count | Percentage |
|---|---|---|
| P0 | 6 | 13.0% |
| P1 | 6 | 13.0% |
| P2 | 16 | 34.8% |
| P3 | 18 | 39.1% |
By Category
| Category | Count | Deployed | Development | Research | Docs |
|---|---|---|---|---|---|
| cloud | 4 | 2 | 1 | 0 | 0 |
| labs | 13 | 1 | 0 | 11 | 1 |
| dev | 8 | 0 | 8 | 0 | 0 |
| docs | 5 | 0 | 0 | 0 | 5 |
| gtm | 7 | 0 | 0 | 0 | 7 |
| market | 2 | 0 | 0 | 0 | 2 |
| ops | 5 | 0 | 4 | 0 | 0 |
| core | 2 | 0 | 0 | 0 | 1 |
Critical Production Infrastructure Map
Product 1: CODITECT IDE (coditect.ai)
Primary Submodule: cloud-ide
Dependencies:
cloud-infra- GKE cluster, NGINX ingress, persistent volumescloud-backend- JWT authentication (Django multi-tenant)core-framework- AI agents, skills (via .coditect symlink)- External: FoundationDB (StatefulSet managed by cloud-infra)
- External: Rust backend API (contained in cloud-ide)
Deployment Stack:
GKE Ingress (cloud-infra)
└─ coditect-combined-service-hybrid
├─ StatefulSet: coditect-combined-hybrid (3 pods)
│ ├─ React 18 frontend
│ ├─ Eclipse Theia 1.65
│ ├─ NGINX proxy
│ └─ PVCs (workspace + config)
└─ Deployment: coditect-api-v5 (3 pods)
├─ Rust (Actix-web)
└─ FoundationDB client
Product 2: Workflow Analysis Tool (workflow.coditect.ai)
Primary Submodule: labs-workflow
Dependencies:
cloud-infra- GKE cluster, ingresscore-framework- Base patterns (via .coditect symlink)- External: PostgreSQL (managed by cloud-infra)
- External: Redis (managed by cloud-infra)
- External: Anthropic API (SaaS)
Deployment Stack:
GKE Ingress (cloud-infra)
└─ workflow.coditect.ai
├─ Backend Deployment (FastAPI + 8 AI agents)
├─ Frontend Deployment (React 18)
├─ PostgreSQL (Cloud SQL)
└─ Redis (GKE deployment)
Product 3: Django Multi-Tenant Platform
Primary Submodule: cloud-backend
Dependencies:
cloud-infra- GKE cluster, Cloud SQL PostgreSQLops-license- License validation server (MUST DEPLOY)- External: FoundationDB (session storage)
Deployment Stack:
GKE Ingress (cloud-infra)
└─ api.coditect.ai (or integrated with workflow.coditect.ai)
├─ Django 5.2 + DRF Deployment (3 pods)
├─ Cloud SQL PostgreSQL
└─ FoundationDB (session storage)
Infrastructure Component Matrix
Shared Infrastructure (cloud-infra manages)
| Component | Used By | Technology | Status |
|---|---|---|---|
| GKE Cluster | All products | Google Kubernetes Engine | ✅ DEPLOYED |
| NGINX Ingress | cloud-ide, labs-workflow | NGINX | ✅ DEPLOYED |
| FoundationDB | cloud-ide, cloud-backend | FDB 7.1+ StatefulSet | ✅ DEPLOYED |
| Cloud SQL PostgreSQL | cloud-backend | PostgreSQL 15+ | ✅ DEPLOYED |
| PostgreSQL | labs-workflow | PostgreSQL | 🟡 DEPENDS ON DEPLOYMENT |
| Redis | labs-workflow | Redis 7+ | 🟡 DEPENDS ON DEPLOYMENT |
| GCP Secret Manager | All | GCP Secret Manager | ✅ DEPLOYED |
Product-Specific Storage
| Product | Storage Type | Size | Configuration |
|---|---|---|---|
| cloud-ide | PVC per pod | 10 GB workspace + 5 GB config | Hybrid StatefulSet |
| cloud-backend | Cloud SQL | Variable | Managed PostgreSQL |
| labs-workflow | PostgreSQL + Redis | Variable | Deployment-specific |
Deployment Order Dependencies
Initial Platform Setup (Phase 1)
-
cloud-infra (provision GCP resources)
- GKE cluster
- Cloud SQL PostgreSQL
- FoundationDB StatefulSet
- NGINX ingress
- Secret Manager
-
cloud-backend (authentication/licensing)
- Django multi-tenant platform
- User registration
- License management
- JWT authentication
-
ops-license (license validation)
- License key generation
- Activation tracking
- Subscription management
Products (Phase 2)
-
cloud-ide (primary product)
- React + Theia IDE
- Rust backend API
- Depends on: cloud-backend (auth), cloud-infra (GKE)
-
labs-workflow (workflow analysis tool)
- FastAPI + React
- 8 AI agents
- Depends on: cloud-infra (GKE), PostgreSQL, Redis
Admin Tools (Phase 3)
- cloud-frontend (admin dashboard)
- React admin interface
- Depends on: cloud-backend (API)
Reorganization Implications
Current Problem: Deployed Products Hidden
Issue: Production systems buried in generic categories.
Examples:
labs/coditect-labs-workflow- Sounds experimental, but LIVE IN PRODUCTIONcloud/coditect-cloud-ide- Doesn't emphasize PRIMARY PRODUCT statuscloud/coditect-cloud-backend- README says FastAPI, actually Django
Proposed Structure (Deployment-Focused)
coditect-rollout-master/
├── products/ # Customer-facing deployed products
│ ├── coditect-ide/ # coditect.ai (PRIMARY PRODUCT)
│ ├── workflow-analysis/ # workflow.coditect.ai
│ └── [future products]
│
├── platform/ # Core platform (Phase 1 deployment)
│ ├── multi-tenant/ # Django registration/licensing/payment
│ └── license-server/ # License validation
│
├── infrastructure/ # Deployment infrastructure
│ ├── gcp-terraform/ # Terraform configs
│ ├── kubernetes/ # K8s manifests
│ └── monitoring/ # Observability configs
│
├── framework/ # Distributed intelligence (coditect-core)
│ ├── agents/ # 52 AI agents
│ ├── commands/ # 81 slash commands
│ ├── skills/ # 26 production skills
│ └── memory-context/ # Session preservation
│
├── services/ # Backend microservices (future)
│ ├── auth-service/
│ ├── licensing-service/
│ └── [other services]
│
├── development/ # In-progress features
│ ├── admin-dashboard/ # cloud-frontend
│ ├── analytics/
│ ├── automation/
│ └── [dev tools]
│
├── research/ # Experimental/POC
│ ├── agent-standards/
│ ├── mcp-auth/
│ ├── multi-agent-rag/
│ └── [research projects]
│
├── content/ # Documentation & marketing
│ ├── documentation/ # docs-*
│ ├── marketing/ # gtm-*
│ ├── legal/
│ └── training/
│
└── archive/ # Historical reference
└── coditect-v4/ # labs-v4-archive
Benefits of Reorganization
- Clarity: Deployed products immediately obvious
- Safety: Production code clearly separated from dev/research
- Onboarding: New developers understand deployment state quickly
- Operations: Clear which repos affect production
Risks of Reorganization
-
Deployment Breakage: Moving submodules requires updating:
- .coditect symlinks
- Deployment scripts
- CI/CD pipelines
- Documentation references
-
Git History: Need to preserve history during moves
-
Team Disruption: Developers need to update local clones
Next Steps
- ✅ Complete: Submodule mapping matrix (this document)
- ⏳ Next: Create practical reorganization plan
- ⏳ Next: Design safe migration strategy (no downtime)
- ⏳ Next: Update deployment documentation
Status: MAPPING COMPLETE Confidence: HIGH (verified all 46 submodules) Risk Assessment: LOW (documentation only, no changes)
Generated: 2025-11-26 Author: Claude Code (Deployment-Focused Analysis)