8.4 KiB
P1.5 Documentation Consolidation Plan
Date: 2025-12-22
Status: 🎯 Ready for Implementation
Baseline: v1.0.11-p0-p1.4-complete
Objective
Create a single authoritative documentation index that clearly separates:
- Policy (contracts) vs Narrative (guides)
- Active vs Historical/Archived
- Canonical vs Reference-only
Goal: Reduce cognitive load without losing audit history.
Principles
- No deletion — Archive or redirect, never lose context
- Elevate contracts —
./ci/run.shand./scripts/verify.share policy-as-code - Progress docs are authoritative —
doc/progress/is the single source of truth for "where we are" - Drift guards — Every doc has: Purpose, Owner, Last Updated, Status
- Index lists only active docs — Archive is discoverable but not cluttering navigation
- Index-first rule — New docs must be linked from
doc/00-INDEX.mdor explicitly placed under_archive//_reference/
File-by-File Consolidation Plan
1. Authoritative Index (doc/00-INDEX.md)
Action: Update to reflect P0 + P1.4 baseline and elevate contracts
Changes:
- Add "Policy & Contracts" section at the top (before Quick Start)
./ci/run.sh— Local CI entrypoint (single source of truth)./scripts/verify.sh— Verification script (encodes invariants)ci/README.md— CI documentation
- Add "Progress Tracking (Authoritative)" section
doc/progress/00-STATUS.md— Current phase, blockers, next actionsdoc/progress/01-CHANGELOG-WORK.md— Development changelogdoc/progress/02-OPEN-QUESTIONS.md— Open questions and decisionsdoc/progress/03-TEST-RUNS.md— Test run log (canonical "what ran")doc/progress/04-PARITY-MATRIX.md— iOS/Android parity trackingdoc/progress/05-CHATGPT-FEEDBACK-PACKAGE.md— AI collaboration package
- Update "Last Updated" to 2025-12-22
- Add "Baseline Tag" reference:
v1.0.11-p0-p1.4-complete
Status: Active (update, don't archive)
2. Progress Docs (doc/progress/)
Action: Add drift guard headers to all progress docs
Files to update:
00-STATUS.md— Already has Last Updated, add Purpose/Owner/Status01-CHANGELOG-WORK.md— Add standard header02-OPEN-QUESTIONS.md— Add standard header03-TEST-RUNS.md— Add standard header04-PARITY-MATRIX.md— Add standard header05-CHATGPT-FEEDBACK-PACKAGE.md— Already has Last Updated, add Purpose/Owner/Status
Header template:
**Purpose:** [One sentence describing what this doc is for]
**Owner:** Development Team
**Last Updated:** 2025-12-22
**Status:** active|archived
Status: Active (enhance, don't archive)
3. Consolidation Artifacts (doc/CONSOLIDATION_*.md)
Action: Archive with pointer
Files:
doc/CONSOLIDATION_COMPLETE.md— Move todoc/_archive/2025-12-16-consolidation/doc/CONSOLIDATION_SOURCE_MAP.md— Move todoc/_archive/2025-12-16-consolidation/
Replacement: Add note in doc/00-INDEX.md under "Archive Documentation":
Historical consolidation artifacts from 2025-12-16 are preserved in
doc/_archive/2025-12-16-consolidation/. SeeCONSOLIDATION_SOURCE_MAP.mdfor complete file mapping.
Status: Archive (preserve, don't delete)
4. Duplicate/Overlapping Docs
4.1 Testing Quick References
Files:
doc/testing/QUICK_REFERENCE.md— Keep as canonicaldoc/testing/QUICK_REFERENCE_V2.md— Archive or merge
Action:
- If
QUICK_REFERENCE_V2.mdhas unique content → Merge intoQUICK_REFERENCE.md, then archive V2 - If
QUICK_REFERENCE_V2.mdis superseded → Archive with pointer inQUICK_REFERENCE.md
Status: Review and consolidate
4.2 Integration Refactor Notes
Files:
doc/integration/REFACTOR_NOTES.md— Keep as canonicaldoc/integration/REFACTOR_NOTES_QUICK_START.md— Check if duplicatedoc/integration/REFACTOR_ANALYSIS.md— Check if duplicate
Action:
- Review for overlap
- If duplicates → Archive with pointer
- If unique → Keep all, add cross-references
Status: Review and consolidate
4.3 iOS Implementation Checklists
Files:
doc/platform/ios/IMPLEMENTATION_CHECKLIST.md— Keep as canonicaldoc/platform/ios/IOS_IMPLEMENTATION_CHECKLIST.md— Check if duplicatedoc/platform/ios/IMPLEMENTATION_CHECKLIST_LEGACY.md— Archive (already marked legacy)
Action:
- If
IOS_IMPLEMENTATION_CHECKLIST.mdduplicatesIMPLEMENTATION_CHECKLIST.md→ Archive with pointer IMPLEMENTATION_CHECKLIST_LEGACY.md→ Move todoc/_archive/2025-legacy-doc/
Status: Review and consolidate
4.4 Deployment Docs
Files:
doc/deployment/deployment-guide.md— Keep as canonical (if exists)doc/deployment/DEPLOYMENT_CHECKLIST.md— Keep (complementary)doc/progress/DEPLOYMENT_SUMMARY.md— Keep (complementary)
Action:
- If
deployment/deployment-guide.mdandDEPLOYMENT_GUIDE.mdare duplicates → Keep one, archive other - Ensure all deployment docs are cross-referenced
Status: Review and consolidate
5. AI Artifacts (doc/ai/)
Action: Add drift guard headers, clarify purpose
Files:
- All files in
doc/ai/should have:- Purpose: AI collaboration artifacts (not product documentation)
- Status: active|reference-only
Status: Active (enhance, don't archive)
6. Platform Docs (doc/platform/)
Action: Add drift guard headers, ensure no duplicates
Status: Active (enhance, don't archive)
7. Testing Docs (doc/testing/)
Action: Add drift guard headers, consolidate duplicates
Status: Active (enhance, consolidate duplicates)
8. Archive Structure
Current: doc/archive/2025-legacy-doc/
Action: Create new archive for P1.5:
doc/_archive/2025-12-16-consolidation/— Consolidation artifacts- Keep
doc/archive/2025-legacy-doc/as-is (historical)
Status: Create new archive directory
Implementation Steps
Step 1: Update Index (High Priority)
- Update
doc/00-INDEX.md:- Add "Policy & Contracts" section
- Add "Progress Tracking (Authoritative)" section
- Update Last Updated to 2025-12-22
- Add Baseline Tag reference
Exit Criteria: Index clearly elevates contracts and progress docs
Step 2: Add Drift Guards (High Priority)
- Add standard headers to all
doc/progress/*.mdfiles - Add standard headers to key platform/testing docs
Exit Criteria: All progress docs have Purpose/Owner/Last Updated/Status
Step 3: Archive Consolidation Artifacts (Medium Priority)
- Create
doc/_archive/2025-12-16-consolidation/ - Move
CONSOLIDATION_COMPLETE.mdandCONSOLIDATION_SOURCE_MAP.md - Add pointer in index
Exit Criteria: Consolidation artifacts archived, index updated
Step 4: Review and Consolidate Duplicates (Medium Priority)
- Review testing quick references (merge or archive)
- Review integration refactor notes (merge or archive)
- Review iOS implementation checklists (merge or archive)
- Review deployment docs (merge or archive)
Exit Criteria: No duplicate content, all unique content preserved
Step 5: Document Contracts Explicitly (Low Priority)
- Ensure
ci/README.mdclearly states: "This is policy-as-code" - Add note in
doc/00-INDEX.mdthat./ci/run.shis the CI contract
Exit Criteria: Contracts are clearly documented as policy
Success Criteria
doc/00-INDEX.mdelevates contracts and progress docs- All progress docs have drift guard headers
- Consolidation artifacts archived with pointers
- Duplicate docs consolidated (merged or archived with pointers)
- No information loss (everything preserved or redirected)
- Index lists only active docs (archive discoverable but not cluttering)
Risk Mitigation
Risk: Breaking internal links Mitigation: Use redirects/pointers, don't delete files
Risk: Losing context Mitigation: Archive with clear headers, preserve original paths in archive
Risk: Index becomes outdated Mitigation: Add "Last Updated" to index, make it part of progress doc updates
Timeline
Estimated Effort: 2-3 hours
- Step 1: 30 min
- Step 2: 45 min
- Step 3: 15 min
- Step 4: 60 min (review-heavy)
- Step 5: 15 min
Dependencies: None (can proceed immediately)
Last Updated: 2025-12-22
Status: Ready for Implementation
Next Action: Proceed with Step 1 (Update Index)