Skip to main content

project-document-management-2025-12-02-component-count-update-plan-20251227-142059


title: Comprehensive Component Count Update Plan type: reference component_type: reference version: 1.0.0 created: '2025-12-27' updated: '2025-12-27' status: archived tags:

  • ai-ml
  • deployment
  • security
  • testing
  • architecture
  • automation
  • data-processing
  • documentation summary: 'Comprehensive Component Count Update Plan Date: December 2, 2025 Update Type: Component inventory update (290 β†’ 293 components) Scope: Master repository
    • coditect-core submodule Component Count Changes OLD Count Change --------------------------...' moe_confidence: 0.950 moe_classified: 2025-12-31

Comprehensive Component Count Update Plan

Date: December 2, 2025 Update Type: Component inventory update (290 β†’ 293 components) Scope: Master repository + coditect-core submodule


πŸ“Š Update Summary​

Component Count Changes​

Component TypeOLD CountNEW CountChange
Total Components290 β†’ 292293+3
Agents6162+1
Skills2627+1
Commands9091+1
Scripts92920
Hooks17170
Prompts220
Workflows220

Note: Some legacy references show 290, some show 292 (mid-update state). Final target: 293


πŸ” Files Requiring Updates​

Priority 1: Core Documentation (MUST UPDATE)​

coditect-core Submodule​

High-Impact Files (10 files):

  1. README.md (Line 15, 54, 112, 123, 497, 517)

    • Line 15: 293 Total Components βœ… ALREADY UPDATED
    • Line 54: 293 components tracked βœ… ALREADY UPDATED
    • Line 112: 292 Total Components β†’ 293
    • Line 123: 292 total components: 52 agents, 81 commands, 126 scripts, 26 skills β†’ 293 total: 62 agents, 91 commands, 92 scripts, 27 skills
    • Line 497: 292 components tracked β†’ 293
    • Line 517: 292 components tracked β†’ 293
  2. CLAUDE.md (Lines 197, 203, 366, 410, 1358, 1745, 1829)

    • Line 197: 292 components β†’ 293
    • Line 203: (292 total) β†’ (293 total)
    • Line 366: 292 β†’ 293
    • Line 410: 292 components β†’ 293
    • Line 1358: 292-component library β†’ 293-component library
    • Line 1745: All 292+ components β†’ All 293 components
    • Line 1829: 292 (agents, commands, skills, scripts, prompts, hooks) β†’ 293
  3. CHANGELOG.md (Lines 46, 47, 48, 49, 63)

    • Line 46: 290 β†’ 293 components βœ… CORRECT
    • Line 47: 61 β†’ 62 agents βœ… CORRECT
    • Line 48: 26 β†’ 27 skills βœ… CORRECT
    • Line 49: 90 β†’ 91 commands βœ… CORRECT
    • Line 63: 290 total components (61 agents, 26 skills, 90 commands...) β†’ Keep for historical reference
  4. docs/06-agent-reference/AGENT-INDEX.md (Line 173)

    • Line 173: 293 components (61 agents, 30 skills, 90 commands...) β†’ 293 components (62 agents, 27 skills, 91 commands...)
    • Note: Shows "30 skills" - DISCREPANCY, should be 27
  5. docs/06-agent-reference/COMPLETE-INVENTORY.md

    • Action: Full verification needed - ensure matches component-activation-status.json

Priority 2: Legacy References (SHOULD UPDATE for Consistency)​

coditect-core Submodule - Older Documentation​

Files with "52 agents, 81 commands, 26 skills" (17 files):

  1. docs/COMPONENT-ACTIVATION-RUNTIME-INTEGRATION.md (Line 63, 303)

    • Line 63: 52 agents, 81 commands, 26 skills β†’ 62 agents, 91 commands, 27 skills
    • Line 303: 26 skills loaded β†’ 27 skills loaded
  2. docs/07-research-analysis/audits/PRODUCTION-READINESS-ASSESSMENT.md (Lines 20, 130, 233)

    • Line 20: 52 production agents + 81 commands + 26 skills β†’ 62 agents + 91 commands + 27 skills
    • Line 130: 26 skills β†’ 27 skills
    • Line 233: 177 (52 agents + 81 commands + 26 skills + 18 scripts) β†’ Recalculate: 62 + 91 + 27 + 92 + 17 + 2 + 2 = 293
  3. docs/02-architecture/adrs/ADR-002-hybrid-deployment-architecture.md (Line 204)

    • Line 204: All 52 agents + 81 commands β†’ All 62 agents + 91 commands
  4. docs/02-architecture/diagrams/ (3 files)

    • adr-002-deployment/01-hybrid-architecture-overview.md (Line 19): 52 agents β†’ 62 agents
    • adr-002-deployment/02-deployment-options.md (Line 27): All 52 agents β†’ All 62 agents
  5. docs/04-project-planning/PROJECT-PLAN.md (Lines 56, 57, 61, 850, 915)

    • Line 56: 81 commands operational β†’ 91 commands operational
    • Line 57: 26 skills with 254+ reusable assets β†’ 27 skills
    • Line 61: 177 (52 agents + 81 commands + 26 skills + 21 scripts) β†’ Recalculate
    • Line 850: 52 agents to specific LLM providers β†’ 62 agents
    • Line 915: all 52 agents β†’ all 62 agents
  6. docs/04-project-planning/TASKLIST-WITH-CHECKBOXES.md (Lines 1612, 1613)

    • Line 1612: 81/81 commands β†’ 91/91 commands
    • Line 1613: 26/26 skills β†’ 27/27 skills
  7. docs/05-implementation-guides/hooks/HOOKS-COMPREHENSIVE-ANALYSIS.md (Line 424)

    • Line 424: 52 agents β†’ 62 agents
  8. docs/DOCUMENTATION-QUALITY-REPORT.md (Line 305)

    • Line 305: claims 52 agents, have 54 β†’ UPDATE: claims 62 agents (verify actual)
  9. docs/README.md (Line 148)

    • Line 148: All 61 agents, 32 skills, 86/90 commands β†’ All 62 agents, 27 skills, 91/91 commands
    • Note: "32 skills" is WRONG, should be 27
  10. lib/generative-ui/README.md (Line 415)

    • Line 415: 52 agents, 81 commands, 26 skills β†’ 62 agents, 91 commands, 27 skills
  11. lib/generative-ui/CLAUDE.md (Line 258)

    • Line 258: 52 agents, 81 commands, 26 skills β†’ 62 agents, 91 commands, 27 skills

Claude 4.5 Optimization Docs (7 files) - Historical References (LOW PRIORITY):

17-23. docs/claude-4.5-optimization/ (Multiple files) - These reference "61 agents, 90 commands, 32 skills" from Claude 4.5 update project - Action: KEEP AS HISTORICAL - These document a specific optimization project state - Files: CLAUDE-4.5-COMPREHENSIVE-UPDATE-SUMMARY.md, CLAUDE-4.5-UPDATE-STRATEGY.md, batches/*


Priority 3: Master Repository References​

Master Repository (coditect-rollout-master)​

Files with "52 agents, 81 commands, 26 skills" (13 files):

  1. docs/project-management/TASKLIST.md (Line 145)

    • Line 145: 52 agents, 81 commands, 26 skills β†’ 62 agents, 91 commands, 27 skills
  2. docs/project-management/README-ENTERPRISE.md (Lines 159, 1120)

    • Line 159: 52 agents, 81 commands, 26 skills β†’ 62 agents, 91 commands, 27 skills
    • Line 1120: Full 52 agents β†’ Full 62 agents
  3. docs/analysis-reports/CODITECT-SUBMODULE-ARCHITECTURE-ANALYSIS-REPORT.md (Lines 79, 376, 937, 938)

    • Line 79: 52 agents, 81 commands, 26 skills β†’ 62 agents, 91 commands, 27 skills
    • Line 376: 52 agents, 81 commands, 26 skills β†’ 62 agents, 91 commands, 27 skills
    • Line 937: 52 agents β†’ 62 agents
    • Line 938: 81 commands β†’ 91 commands
  4. docs/reorganization-plan/product-strategy/ (7 files)

    • 07-PRODUCT-STRATEGY-EXECUTIVE-SUMMARY.md (Lines 70, 325): Update both
    • 03-PLATFORM-DEFINITION.md (Line 21): Update
    • 04-SUITE-APP-CATALOG.md (Lines 156, 1269): Update both
    • 01-MARKET-OPPORTUNITY-ANALYSIS.md (Line 332): 52 agents β†’ 62
  5. README.md (Line 175)

    • Line 175: 49 agents, 81 commands, 26 skills β†’ 62 agents, 91 commands, 27 skills
    • Note: "49 agents" is WRONG and outdated
  6. MEMORY-CONTEXT/CLAUDE.md (Line 173)

    • Line 173: 52 agents, 81 commands, 26 skills β†’ 62 agents, 91 commands, 27 skills

πŸ”§ Source of Truth Verification​

CRITICAL: Before updating any files, verify against source of truth:

File: /Users/halcasteel/PROJECTS/coditect-rollout-master/submodules/core/coditect-core/.coditect/component-activation-status.json

Verification Command:

cd /Users/halcasteel/PROJECTS/coditect-rollout-master/submodules/core/coditect-core
python3 << 'EOF'
import json
with open('.coditect/component-activation-status.json') as f:
data = json.load(f)
by_type = {}
for component in data['components']:
ctype = component['type']
by_type[ctype] = by_type.get(ctype, 0) + 1

print("Component Counts (Source of Truth):")
print(f" Agents: {by_type.get('agent', 0)}")
print(f" Commands: {by_type.get('command', 0)}")
print(f" Skills: {by_type.get('skill', 0)}")
print(f" Scripts: {by_type.get('script', 0)}")
print(f" Hooks: {by_type.get('hook', 0)}")
print(f" Prompts: {by_type.get('prompt', 0)}")
print(f" Workflows: {by_type.get('workflow', 0)}")
print(f" TOTAL: {len(data['components'])}")
EOF

Expected Output:

Agents: 62
Commands: 91
Skills: 27
Scripts: 92
Hooks: 17
Prompts: 2
Workflows: 2
TOTAL: 293

🚨 Discrepancies Found​

CRITICAL ISSUES requiring investigation:

  1. docs/06-agent-reference/AGENT-INDEX.md (Line 173)

    • Shows "30 skills" but should be 27
    • Action: Verify with component-activation-status.json
  2. docs/README.md (Line 148)

    • Shows "32 skills" but should be 27
    • Action: Verify and correct
  3. README.md (Master repo, Line 175)

    • Shows "49 agents" (very outdated)
    • Action: Update to 62
  4. docs/04-project-planning/PROJECT-PLAN.md (Line 61)

    • Shows "177 total" with old counts
    • Action: Recalculate: 62 + 91 + 27 + 92 + 17 + 2 + 2 = 293

πŸ“‹ Systematic Update Workflow​

Phase 1: Verification (REQUIRED FIRST STEP)​

# Step 1: Verify source of truth
cd /Users/halcasteel/PROJECTS/coditect-rollout-master/submodules/core/coditect-core
python3 scripts/verify-component-counts.py # or use verification command above

# Step 2: Export actual counts
echo "AGENTS: 62" > /tmp/component-counts.txt
echo "COMMANDS: 91" >> /tmp/component-counts.txt
echo "SKILLS: 27" >> /tmp/component-counts.txt
echo "TOTAL: 293" >> /tmp/component-counts.txt

Phase 2: Submodule Updates (coditect-core)​

Update Order (from most critical to least):

  1. βœ… Priority 1-A: Core Documentation (Files 1-3)

    • README.md
    • CLAUDE.md
    • CHANGELOG.md (verify only, already correct)
  2. βœ… Priority 1-B: Inventory Files (Files 4-5)

    • docs/06-agent-reference/AGENT-INDEX.md
    • docs/06-agent-reference/COMPLETE-INVENTORY.md
  3. ⚠️ Priority 2: Active Documentation (Files 6-16)

    • docs/COMPONENT-ACTIVATION-RUNTIME-INTEGRATION.md
    • docs/07-research-analysis/audits/PRODUCTION-READINESS-ASSESSMENT.md
    • docs/02-architecture/adrs/ADR-002-hybrid-deployment-architecture.md
    • docs/02-architecture/diagrams/** (3 files)
    • docs/04-project-planning/PROJECT-PLAN.md
    • docs/04-project-planning/TASKLIST-WITH-CHECKBOXES.md
    • docs/05-implementation-guides/hooks/HOOKS-COMPREHENSIVE-ANALYSIS.md
    • docs/DOCUMENTATION-QUALITY-REPORT.md
    • docs/README.md
    • lib/generative-ui/README.md
    • lib/generative-ui/CLAUDE.md
  4. 🟑 Priority 3: Historical References (Files 17-23)

    • docs/claude-4.5-optimization/** (SKIP - keep historical)

Git Workflow (Submodule):

cd /Users/halcasteel/PROJECTS/coditect-rollout-master/submodules/core/coditect-core

# After updating each priority group:
git add [updated-files]
git commit -m "docs: Update component counts - Priority [N] (290/292 β†’ 293 components)

- Agents: 61 β†’ 62
- Skills: 26 β†’ 27
- Commands: 90 β†’ 91
- Total: 290/292 β†’ 293

Updated:
- [list of files]"

git push origin main

Phase 3: Master Repository Updates​

Update Order:

  1. βœ… Master Priority 1: Project Management (File 24-25)

    • docs/project-management/TASKLIST.md
    • docs/project-management/README-ENTERPRISE.md
  2. βœ… Master Priority 2: Analysis Reports (File 26)

    • docs/analysis-reports/CODITECT-SUBMODULE-ARCHITECTURE-ANALYSIS-REPORT.md
  3. βœ… Master Priority 3: Product Strategy (File 27)

    • docs/reorganization-plan/product-strategy/** (7 files)
  4. βœ… Master Priority 4: Core Files (Files 28-29)

    • README.md
    • MEMORY-CONTEXT/CLAUDE.md

Git Workflow (Master):

cd /Users/halcasteel/PROJECTS/coditect-rollout-master

# After updating each priority group:
git add [updated-files]
git commit -m "docs: Update component counts - Master [Priority N] (290/292 β†’ 293)

Reference: coditect-core submodule updated
- Agents: 61 β†’ 62
- Skills: 26 β†’ 27
- Commands: 90 β†’ 91

Updated:
- [list of files]"

git push origin main

Phase 4: Pointer Update (Master β†’ Submodule)​

cd /Users/halcasteel/PROJECTS/coditect-rollout-master

# Update submodule pointer to latest commit
git add submodules/core/coditect-core
git commit -m "chore: Update coditect-core submodule pointer - component count updates"
git push origin main

βœ… Verification Steps​

After Each Update Phase​

# Verify no references to old counts remain (adjust patterns as you progress)
cd /Users/halcasteel/PROJECTS/coditect-rollout-master

# Check for 290 (old total)
grep -rn "290.*component" submodules/core/coditect-core --include="*.md" | grep -v CHANGELOG | grep -v historical

# Check for 61 agents (old)
grep -rn "61.*agent" submodules/core/coditect-core --include="*.md" | grep -v CHANGELOG | grep -v claude-4.5

# Check for 26 skills (old)
grep -rn "26.*skill" submodules/core/coditect-core --include="*.md" | grep -v CHANGELOG | grep -v claude-4.5

# Check for 90 commands (old)
grep -rn "90.*command" submodules/core/coditect-core --include="*.md" | grep -v CHANGELOG | grep -v claude-4.5

# Verify new counts present
grep -rn "293.*component" submodules/core/coditect-core --include="*.md" | wc -l
grep -rn "62.*agent" submodules/core/coditect-core --include="*.md" | wc -l
grep -rn "27.*skill" submodules/core/coditect-core --include="*.md" | wc -l
grep -rn "91.*command" submodules/core/coditect-core --include="*.md" | wc -l

Final Verification​

# Generate updated inventory report
cd /Users/halcasteel/PROJECTS/coditect-rollout-master/submodules/core/coditect-core
python3 scripts/generate-component-inventory.py --verify

# Check consistency
python3 << 'EOF'
import json
import glob

# Read source of truth
with open('.coditect/component-activation-status.json') as f:
truth = json.load(f)
truth_total = len(truth['components'])

# Read key documentation files
errors = []
key_files = [
'README.md',
'CLAUDE.md',
'docs/06-agent-reference/COMPLETE-INVENTORY.md'
]

for file in key_files:
with open(file) as f:
content = f.read()
if '293' not in content:
errors.append(f"{file}: Missing 293 reference")
if '62 agents' not in content and '62)' not in content:
errors.append(f"{file}: Missing 62 agents reference")

if errors:
print("VERIFICATION FAILED:")
for error in errors:
print(f" - {error}")
else:
print("βœ… VERIFICATION PASSED: All key files updated correctly")
EOF

πŸ“Š Update Statistics​

Estimated Scope:

  • Total Files: 29 files
  • coditect-core Submodule: 23 files
  • Master Repository: 6 files
  • Total Line Updates: ~85 lines

Estimated Time:

  • Verification: 15 minutes
  • Priority 1 Updates: 30 minutes
  • Priority 2 Updates: 45 minutes
  • Priority 3 Updates: 30 minutes
  • Master Updates: 30 minutes
  • Final Verification: 15 minutes
  • Total: 2.5-3 hours

Phases:

  1. βœ… Phase 1: Verification (15 min)
  2. ⏸️ Phase 2: Submodule Priority 1 (30 min)
  3. ⏸️ Phase 3: Submodule Priority 2 (45 min)
  4. ⏸️ Phase 4: Master Repository (60 min)
  5. ⏸️ Phase 5: Pointer Update + Final Verification (30 min)

πŸ”„ Git Workflow Summary​

Bottom-Up Synchronization Pattern:

1. coditect-core submodule:
β”œβ”€ Commit Priority 1 updates
β”œβ”€ Commit Priority 2 updates
└─ Push to submodule origin

2. Master repository:
β”œβ”€ Commit master file updates
β”œβ”€ Update submodule pointer
└─ Push to master origin

3. Verify:
└─ Run verification scripts

Commit Message Template:

docs: Update component counts - [Scope] ([Old] β†’ [New])

- Agents: 61 β†’ 62 (+1)
- Skills: 26 β†’ 27 (+1)
- Commands: 90 β†’ 91 (+1)
- Total: 290/292 β†’ 293 (+3)

Files updated:
- [file1]
- [file2]
- [file3]

Verification: [command used]

🚨 Critical Reminders​

  1. ALWAYS verify against component-activation-status.json first
  2. NEVER update historical/archived documentation (claude-4.5-optimization)
  3. UPDATE submodule BEFORE updating master pointers
  4. VERIFY each phase before proceeding to next
  5. USE consistent commit messages with conventional format
  6. TEST verification scripts after each phase

πŸ“ Notes​

Discovered Issues:

  • Multiple legacy references use "52 agents, 81 commands, 26 skills"
  • Some mid-update references show 292 instead of 290
  • AGENT-INDEX.md shows "30 skills" (discrepancy - should be 27)
  • docs/README.md shows "32 skills" (discrepancy - should be 27)
  • Master README.md shows "49 agents" (very outdated)

Update Strategy:

  • Priority 1: Core documentation (README, CLAUDE, inventories)
  • Priority 2: Active project documentation (planning, guides)
  • Priority 3: Master repository references
  • Skip: Historical documentation (Claude 4.5 optimization project)

Verification Commands:

  • Source of truth: component-activation-status.json
  • Search patterns: grep for old counts
  • Count verification: Python script

Status: ⏸️ Ready for execution Created: December 2, 2025 Owner: AI Agent (orchestrator) Estimated Completion: 2.5-3 hours (with verification)