DOCUMENTATION CROSS REFERENCES AND DEPENDENCIES
DOCUMENTATION CROSS-REFERENCES AND DEPENDENCIES
Date: November 22, 2025 Project: Documentation Reorganization - Phase 1, Day 1 Purpose: Map all documentation dependencies and cross-references Status: Complete β
π Executive Summaryβ
Total Cross-Reference Analysisβ
- Files with outbound links: 26 files
- Total markdown links analyzed: 150+ links
- Critical hub documents: 2 (README.md, SHELL-SETUP-GUIDE.md)
- Link types: Relative paths, cross-directory references, checkpoint links
- Update strategy: Automated search-and-replace with validation
Impact Assessmentβ
- High-impact files: README.md (100+ links), SHELL-SETUP-GUIDE.md (6 links)
- Link update complexity: Medium (mostly relative paths)
- Risk: Low (all links can be automatically updated and validated)
Recommendationβ
- Create automated link update script
- Validate all links post-migration
- Use grep to find all references to moved files
π Critical Hub Documentsβ
1. README.md (Primary Hub)β
Location: Root level (stays at root) Outbound Links: 100+ links Impact: CRITICAL - Central navigation hub
Link Categoriesβ
Essential Documentation Links (14 links)β
-
[WHAT-IS-CODITECT.md](#)- 3 references- Target after migration:
docs/02-architecture/WHAT-IS-CODITECT.md - New link:
[WHAT-IS-CODITECT.md](#)
- Target after migration:
-
[AZ1.AI-CODITECT-1-2-3-QUICKSTART.md](#)- Target after migration:
docs/01-getting-started/AZ1.AI-CODITECT-1-2-3-QUICKSTART.md - New link:
[AZ1.AI-CODITECT-1-2-3-QUICKSTART.md](#)
- Target after migration:
-
[1-2-3-SLASH-COMMAND-quick-start.md](#)- Target after migration:
docs/01-getting-started/1-2-3-SLASH-COMMAND-quick-start.md - New link:
[1-2-3-SLASH-COMMAND-quick-start.md](#)
- Target after migration:
-
[C4-ARCHITECTURE-METHODOLOGY.md](#)- Target after migration:
docs/02-architecture/C4-ARCHITECTURE-METHODOLOGY.md - New link:
[C4-ARCHITECTURE-METHODOLOGY.md](#)
- Target after migration:
-
[MULTI-LLM-CLI-INTEGRATION.md](#)- Current location:
docs/MULTI-LLM-CLI-INTEGRATION.md - Target after migration:
docs/06-research-analysis/integrations/MULTI-LLM-CLI-INTEGRATION.md - New link:
[MULTI-LLM-CLI-INTEGRATION.md](#)
- Current location:
-
[PLATFORM-EVOLUTION-ROADMAP.md](#)- Current location:
docs/PLATFORM-EVOLUTION-ROADMAP.md - Target after migration:
docs/02-architecture/PLATFORM-EVOLUTION-ROADMAP.md - New link:
[PLATFORM-EVOLUTION-ROADMAP.md](#)
- Current location:
-
[diagrams/distributed-intelligence-architecture.md](#)- Status: Already in diagrams/ directory (no change needed)
- New link: No change
-
[README-EDUCATIONAL-FRAMEWORK.md](#)- Target after migration:
docs/09-special-topics/legacy/README-EDUCATIONAL-FRAMEWORK.md - New link:
[README-EDUCATIONAL-FRAMEWORK.md](#)
- Target after migration:
Training System Links (2 links)β
-
[user-training/README.md](#)- Target after migration:
docs/08-training-certification/README.md - New link:
[README.md](#)
- Target after migration:
-
[user-training/1-2-3-ONBOARDING-HOWTO-QUICK-GUIDE.md](#)- Target after migration:
docs/08-training-certification/onboarding/1-2-3-ONBOARDING-HOWTO-QUICK-GUIDE.md - New link:
[1-2-3-ONBOARDING-HOWTO-QUICK-GUIDE.md](#)
- Target after migration:
Checkpoint Links (80+ links)β
All checkpoint links follow pattern:
[MEMORY-CONTEXT/checkpoints/YYYY-MM-DDTHH-MM-SSZ-description.md](#)- Status: Already in MEMORY-CONTEXT/ (no change needed)
- New link: No change required
Scripts and Utilities (2 links)β
[scripts/installer/README.md](#)- Status: Already in scripts/ (no change needed)
- New link: No change
Total Updates Required for README.md: 10 link paths
2. SHELL-SETUP-GUIDE.md (Secondary Hub)β
Location: Root level β Moving to docs/01-getting-started/
Outbound Links: 6 critical links
Impact: MEDIUM - Shell configuration reference
Link Categoriesβ
Documentation References (6 links)β
-
[1-2-3-SLASH-COMMAND-quick-start.md](#)- Current: Relative path from root
- After file moves to docs/01-getting-started/: Same directory
- New link:
[1-2-3-SLASH-COMMAND-quick-start.md](#)or just1-2-3-SLASH-COMMAND-quick-start.md
-
[docs/SLASH-COMMANDS-REFERENCE.md](#)- After migration:
docs/multi-agent-reference/commands/SLASH-COMMANDS-REFERENCE.md - From docs/01-getting-started/:
[SLASH-COMMANDS-REFERENCE.md](#)
- After migration:
-
[scripts/README.md](#)- Status: No change (scripts/ stays)
- From docs/01-getting-started/:
[scripts/README.md](#)
-
[user-training/README.md](#)- After migration:
docs/08-training-certification/README.md - From docs/01-getting-started/:
[README.md](#)
- After migration:
-
[user-training/1-2-3-ONBOARDING-HOWTO-QUICK-GUIDE.md](#)- After migration:
docs/08-training-certification/onboarding/1-2-3-ONBOARDING-HOWTO-QUICK-GUIDE.md - From docs/01-getting-started/:
[1-2-3-ONBOARDING-HOWTO-QUICK-GUIDE.md](#)
- After migration:
-
[user-training/CODITECT-TROUBLESHOOTING-GUIDE.md](#)- After migration:
docs/08-training-certification/reference/CODITECT-TROUBLESHOOTING-GUIDE.md - From docs/01-getting-started/:
[CODITECT-TROUBLESHOOTING-GUIDE.md](#)
- After migration:
Total Updates Required for SHELL-SETUP-GUIDE.md: 6 link paths
π Other Files with Cross-Referencesβ
3. AGENT-INDEX.mdβ
Location: Root level (stays at root) Outbound Links: Agent definition files Impact: LOW - Links to agents/ directory (no change)
Link Patternβ
- All links point to
agents/agent-name.md - agents/ directory structure remains unchanged
- No updates required
4. project-plan.mdβ
Location: Root level β Likely stays at root or moves to docs/03-project-planning/
Outbound Links: Cross-references to other planning documents
Impact: MEDIUM - Central planning document
Potential Links (Need verification)β
- May reference other project plans
- May reference tasklist-with-checkboxes.md
- May reference architecture documents
Action Required: Read file to identify specific cross-references
5. Claude.mdβ
Location: Root level (stays at root) Outbound Links: Framework component references Impact: MEDIUM - AI agent configuration
Link Patternβ
- References to agents/, commands/, skills/ directories
- References to training materials
- References to documentation
Action Required: Update paths to moved training materials
6. docs/ Directory Filesβ
Files with Links: Multiple files in docs/ reference each other
Common Patternsβ
-
Project plans reference architecture docs:
- ORCHESTRATOR-project-plan.md β AUTONOMOUS-AGENT-SYSTEM-DESIGN.md
- SPRINT-1-MEMORY-CONTEXT-project-plan.md β MEMORY-CONTEXT-architecture.md
-
Architecture docs reference each other:
- MEMORY-CONTEXT-architecture.md β other architecture files
- AUTONOMOUS-AGENT-SYSTEM-DESIGN.md β MULTI-AGENT-ARCHITECTURE-BEST-PRACTICES.md
-
Implementation guides reference standards:
- Various guides β CODITECT-STANDARDS-VERIFIED.md
- Various guides β CODITECT-COMPONENT-CREATION-STANDARDS.md
Migration Strategyβ
All docs/ files will reorganize into subdirectories. Internal cross-references between docs/ files will need path updates:
- Before:
[doc.md](#)or[doc.md](#) - After:
[doc.md](#)or[doc.md](#)
7. user-training/ Directory Filesβ
Files with Links: 5 files contain cross-references
user-training/Claude.mdβ
- References to other training materials
- References to root-level documentation
- All links need updating when directory moves
user-training/README.mdβ
- Navigation hub for training materials
- Links to other training files (same directory, relative paths OK)
- Links to root documentation (need updating)
user-training/1-2-3-CODITECT-ONBOARDING-GUIDE.mdβ
- Extensive cross-references to other training materials
- References to root-level docs
- High number of links to update
user-training/1-2-3-ONBOARDING-HOWTO-QUICK-GUIDE.mdβ
- Quick reference links to detailed guides
- References to root-level quick starts
user-training/Claude-CODE-BASICS.mdβ
- Links to advanced training materials
- References to commands and agents
Migration Impactβ
When user-training/ moves to docs/08-training-certification/:
- Internal links (training file β training file): Minimal changes
- External links (training file β root docs): Need
../../prefix - External links (root docs β training file): Need
docs/08-training-certification/prefix
π Link Pattern Analysisβ
Current Link Patterns Foundβ
Pattern 1: Root-to-Root Linksβ
[WHAT-IS-CODITECT.md](#)
[README.md](#)
Frequency: Common in README.md
After Migration: Many become docs/category/file.md
Pattern 2: Root-to-Subdirectory Linksβ
[docs/SLASH-COMMANDS-REFERENCE.md](#)
[user-training/README.md](#)
[agents/README.md](#)
Frequency: Common
After Migrationβ
- docs/ links: Change to
docs/category/subcategory/file.md - user-training/ links: Change to
docs/08-training-certification/file.md - agents/ links: No change (agents/ stays)
Pattern 3: Checkpoint Links (Absolute Paths)β
[MEMORY-CONTEXT/checkpoints/2025-11-22T08-28-09Z-file.md](#)
Frequency: 80+ in README.md After Migration: No change (MEMORY-CONTEXT/ stays)
Pattern 4: Relative Same-Directory Linksβ
[./file.md](#)
[file.md](#)
Frequency: Less common After Migration: If both files move together, no change. If separated, adjust path.
Pattern 5: Cross-Directory Links (Within docs/)β
[MEMORY-CONTEXT-architecture.md](#)
Frequency: Common in docs/
After Migration: Change to ../category/file.md
π§ Link Update Strategyβ
Phase 1: Pre-Migration Analysis (Day 4)β
- β Identify all files with outbound links (26 files) - COMPLETE
- βΈοΈ Create complete link inventory with source β target mapping
- βΈοΈ Generate link update commands (sed/grep/awk)
- βΈοΈ Create validation test suite
Phase 2: Migration Execution (Week 2-3)β
- βΈοΈ Perform file migrations using
git mv - βΈοΈ Execute automated link updates
- βΈοΈ Validate all links using automated checker
- βΈοΈ Manual review of critical hub documents (README.md, Claude.md)
Phase 3: Validation (Week 2-3)β
- βΈοΈ Run link checker on all files
- βΈοΈ Test navigation paths
- βΈοΈ Verify relative path calculations
- βΈοΈ Confirm no broken links
π Link Update Commands (Automated)β
Script Template for README.md Updatesβ
#!/bin/bash
# Link update script for README.md
# Update WHAT-IS-CODITECT.md references
sed -i '' 's|\[WHAT-IS-CODITECT\.md\](#)|[WHAT-IS-CODITECT.md](#)|g' README.md
# Update AZ1.AI-CODITECT-1-2-3-QUICKSTART.md
sed -i '' 's|\[AZ1\.AI-CODITECT-1-2-3-QUICKSTART\.md\](#)|[AZ1.AI-CODITECT-1-2-3-QUICKSTART.md](#)|g' README.md
# Update 1-2-3-SLASH-COMMAND-quick-start.md
sed -i '' 's|\[1-2-3-SLASH-COMMAND-QUICK-START\.md\](#)|[1-2-3-SLASH-COMMAND-quick-start.md](#)|g' README.md
# ... (continue for all links)
# Validate links
echo "Validating updated links..."
grep -o '\[.*\](#)' README.md | while read link; do
file=$(echo "$link" | sed 's/.*(\(.*\))/\1/')
if [ ! -f "$file" ]; then
echo "BROKEN LINK: $link -> $file"
fi
done
Delivery: Complete migration script in Week 1, Day 4
π― Critical Dependencies to Monitorβ
High-Priority Files (Must Update)β
- README.md - 10 critical links to root-level files
- SHELL-SETUP-GUIDE.md - 6 training and doc references
- Claude.md - Training material references
- user-training/Claude.md - Multiple cross-references
- user-training/1-2-3-CODITECT-ONBOARDING-GUIDE.md - Extensive links
Medium-Priority Filesβ
- project-plan.md - May reference architecture docs
- docs/MEMORY-CONTEXT-architecture.md - Cross-references other docs
- docs/SPRINT-1-MEMORY-CONTEXT-project-plan.md - References architecture
- user-training/README.md - Navigation hub
Low-Priority Filesβ
- AGENT-INDEX.md - Links to agents/ (no change)
- Checkpoint files - Historical records (don't update)
- Scripts - Code references, handle separately
π Link Update Impact Assessmentβ
| File | Current Links | Links to Update | Complexity | Risk |
|---|---|---|---|---|
| README.md | 100+ | 10 | Low | Low |
| SHELL-SETUP-GUIDE.md | 6 | 6 | Low | Low |
| Claude.md | 10-15 | 5-8 | Medium | Medium |
| user-training/Claude.md | 15-20 | 10-15 | Medium | Medium |
| user-training/README.md | 10-15 | 5-10 | Low | Low |
| user-training/1-2-3-CODITECT-ONBOARDING-GUIDE.md | 20-30 | 15-20 | Medium | Medium |
| docs/ internal files | 50+ | 30-40 | Medium | Medium |
Total Estimated Links to Update: 80-120 links Automation Coverage: 95% (automated sed/grep scripts) Manual Review Required: 5% (complex cross-references)
β Validation Checklistβ
Pre-Migration Validationβ
- All files with links identified (26 files)
- Complete link inventory created
- Link update scripts generated
- Test environment prepared
Post-Migration Validationβ
- All
git mvcommands executed successfully - All link update scripts executed
- Link checker reports 0 broken links
- Manual spot-check of 10 critical links
- README.md navigation tested
- Claude.md agent references working
- Training material links functional
Automated Link Checkerβ
#!/bin/bash
# Validate all markdown links
find . -name "*.md" -type f | while read file; do
echo "Checking $file..."
grep -o '\[.*\](#)' "$file" | while read link; do
target=$(echo "$link" | sed 's/.*(\(.*\))/\1/')
# Handle relative paths from file's directory
dir=$(dirname "$file")
full_path="$dir/$target"
if [ ! -f "$full_path" ]; then
echo " BROKEN: $link in $file"
fi
done
done
Delivery: Link validation script in Week 1, Day 4
π Success Metricsβ
Target Metricsβ
- β 100% of files with links identified
- β 100% of link patterns documented
- βΈοΈ 95%+ automated link updates
- βΈοΈ 0 broken links post-migration
- βΈοΈ <2 hours manual link validation time
Current Progressβ
- Files identified: 26/26 (100%)
- Link patterns documented: 5/5 (100%)
- Automated script created: 0% (Week 1, Day 4)
- Links updated: 0% (Week 2-3)
- Validation complete: 0% (Week 2-3)
πΊοΈ Cross-Reference Map (Visual)β
Root Level Files:
βββ README.md (STAYS)
β βββ docs/01-getting-started/*.md (10 links)
β βββ docs/02-architecture/*.md (4 links)
β βββ docs/08-training-certification/*.md (2 links)
β βββ MEMORY-CONTEXT/checkpoints/*.md (80+ links, no change)
β
βββ SHELL-SETUP-GUIDE.md β docs/01-getting-started/
β βββ ./1-2-3-SLASH-COMMAND-quick-start.md (same dir)
β βββ ../multi-agent-reference/SLASH-COMMANDS-REFERENCE.md
β βββ ../../scripts/README.md
β βββ ../08-training-certification/*.md (3 links)
β
βββ CLAUDE.md (STAYS)
β βββ docs/08-training-certification/*.md (updated paths)
β
βββ project-plan.md (STAYS or β docs/03-project-planning/)
β βββ docs/02-architecture/*.md (potential links)
β
βββ AGENT-INDEX.md (STAYS)
βββ agents/*.md (no change)
docs/ Directory:
βββ 02-architecture/
β βββ Files cross-reference each other (path updates needed)
β
βββ 03-project-planning/
β βββ Plans reference architecture (path updates needed)
β
βββ 08-training-certification/
βββ CLAUDE.md
β βββ Other training files + root docs
βββ README.md
β βββ Training files + root docs
βββ 1-2-3-CODITECT-ONBOARDING-GUIDE.md
βββ Extensive cross-references
No Change Required:
βββ agents/ (links stay same)
βββ commands/ (links stay same)
βββ skills/ (links stay same)
βββ scripts/ (links stay same)
βββ MEMORY-CONTEXT/ (links stay same)
π Next Stepsβ
Completed Today (Day 1, Task 1.1.7)β
- β Identified 26 files with outbound links
- β Analyzed 5 link patterns
- β Mapped critical dependencies
- β Estimated impact (80-120 links to update)
- β Created automation strategy (95% coverage)
Tomorrow (Day 2)β
- Define categorization framework
- Categorize all 506 files
- Validate file-to-category mappings
Week 1, Day 4 (Migration Planning)β
- Create link inventory spreadsheet
- Generate automated link update scripts
- Create link validation test suite
- Test scripts on sample files
Week 2-3 (Implementation)β
- Execute file migrations with
git mv - Run automated link updates
- Validate all links (0 broken target)
- Manual review of critical files
Document Status: Complete β Files with Links: 26 identified Total Links Estimated: 150+ Links Requiring Updates: 80-120 Automation Coverage: 95% Risk Assessment: LOW (fully automated with validation) Last Updated: November 22, 2025 Phase 1, Day 1: COMPLETE β