Prompt file imported from aosanya/CodeValdGit (
.github/prompts/documentation-consistency.prompt.md). Copyright stays with the author.
Documentation Consistency & Organization Checker
Purpose
Perform systematic documentation consistency checks through one question at a time, identifying outdated references, consolidating related files, and organizing documentation structure for maintainability.
Instructions for AI Assistant
Conduct a comprehensive documentation consistency analysis through iterative single-question exploration. Ask ONE question at a time, wait for the response, then decide whether to:
- š DEEPER: Go deeper into the same topic with follow-up questions
- š NOTE: Record an issue/gap for later action
- ā”ļø NEXT: Move to the next consistency check area
- š REVIEW: Summarize findings and determine next steps
The goal is to systematically check documentation consistency one area at a time rather than overwhelming with batch operations.
Current Technology Stack (Reference)
Update this section when stack changes:
Library:
Language: Go 1.21+
Module: github.com/aosanya/CodeValdGit
Git engine: go-git (pure Go, no git binary)
Storage (default): Filesystem via osfs (billy.Filesystem)
Storage (optional): ArangoDB via custom storage.Storer (storage/arangodb/)
Key interfaces:
- RepoManager: InitRepo, OpenRepo, DeleteRepo (archive), PurgeRepo (hard-delete)
- Repo: CreateBranch, MergeBranch, DeleteBranch, WriteFile, ReadFile,
DeleteFile, ListDirectory, Log, Diff
Consumer:
Project: CodeValdCortex
Integration: imported as Go module; replaces internal/git/
Documentation structure:
1-SoftwareRequirements:
requirements: documentation/1-SoftwareRequirements/requirements.md
introduction: documentation/1-SoftwareRequirements/introduction/
2-SoftwareDesignAndArchitecture:
architecture: documentation/2-SoftwareDesignAndArchitecture/architecture.md
3-SofwareDevelopment:
mvp: documentation/3-SofwareDevelopment/mvp.md
mvp-details: documentation/3-SofwareDevelopment/mvp-details/
4-QA:
qa: documentation/4-QA/README.md
Question-by-Question Consistency Check Process
Question-by-Question Consistency Check Process
Session Initiation
When starting a documentation consistency check:
- State the scope - Which documentation area are we checking?
- Scan quickly - Get overview of file structure and sizes
- Ask the first question - Start with highest priority check
- Wait for user input - Get confirmation or additional context before proceeding
Question Flow
After each answer, explicitly choose one of these paths:
-
š DEEPER: "Let me examine this area more closely..."
- Investigate specific files flagged
- Check related documents
- Verify cross-references
-
š NOTE: "I'll note this inconsistency: [description]..."
- Record issue for action list
- Mark files needing updates
- Continue to different check
-
ā”ļø NEXT: "Moving to [new consistency check area]..."
- Current check complete
- Proceed to next question category
- Maintain systematic progress
-
š REVIEW: "Let me summarize what we've found..."
- List inconsistencies discovered
- Identify files to archive/update
- Propose actions
Question Categories (Execute in Order)
Question 1: Technology Stack Consistency
Objective: Verify all documentation reflects current technology decisions.
Question Format:
š [Technology Stack Check]
**Question**: Are there any references to [outdated technology] in the
current documentation?
**Search Pattern**: [specific grep pattern or file locations]
**Context**: We migrated from [old tech] to [new tech], need to verify
no outdated references remain.
**What I'm Looking For**: File paths with outdated references, or
confirmation that area is clean.
Common Searches:
go-gitversion references (ensure consistent version across docs)storage.Storervsstorage.ObjectStorer(use correct interface names)billy.Filesystem(ensure consistent spelling)- Any reference to
internal/git/(the CodeValdCortex package being replaced)
For Each Match Found:
- š DEEPER: Read file to determine context
- š NOTE: Is it outdated? Archive or update?
- ā”ļø NEXT: No issues found, proceed to next check
Question 2: Cross-Reference Validation
Objective: Ensure all internal document links point to current files.
Question Format:
š [Link Validation Check]
**Question**: Do all links in [specific file or folder] point to existing,
non-archived documents?
**Context**: Need to verify README and index files have current references.
**What I'm Looking For**: Broken links, links to archived files, or
confirmation all links are valid.
Actions Per Broken Link:
- š DEEPER: Find the correct replacement document
- š NOTE: Add to update list
- ā”ļø NEXT: All links valid, move to next file/folder
Question 3: File Organization Analysis
Objective: Identify documentation that needs consolidation or subfolder organization.
Question Format:
š [File Organization Check]
**Question**: Are there 3 or more files in [folder] that share a common
topic prefix (e.g., "agency-*.md", "a2a-*.md")?
**Context**: Files with shared topics should be organized in subfolders
for better discoverability.
**What I'm Looking For**: File groupings that exceed organization threshold.
Organization Rules:
- ⤠2 files on topic: Keep in current directory
- 3+ files on topic: Create subfolder named after topic
- 500+ lines: Consider splitting into smaller focused documents
- Duplicate content: Consolidate into single source of truth
For Each Topic Group:
- š DEEPER: Should these be merged or kept in subfolder?
- š NOTE: Add to organization action list
- ā”ļø NEXT: No groupings found, continue
Question 4: File Size Compliance
Objective: Ensure documents remain maintainable and scannable.
Question Format:
š [File Size Check]
**Question**: Are there any .md files in [folder] exceeding 500 lines?
**Context**: Large files should be split for better maintainability.
**What I'm Looking For**: Files over 500 lines (warning) or 1000+ lines
(action required).
Size Guidelines:
- Ideal: 200-500 lines per document
- Warning: 500-1000 lines (consider splitting)
- Action Required: 1000+ lines (must split or justify)
For Each Large File:
- š DEEPER: Analyze structure - can it be split logically?
- š NOTE: Add to refactoring list with split strategy
- ā”ļø NEXT: All files within guidelines
Question 5: Naming Convention Compliance
Objective: Ensure consistent, discoverable file naming.
Question Format:
š [Naming Convention Check]
**Question**: Do all files in [folder] follow the naming convention
pattern [expected-pattern.md]?
**Context**: Consistent naming improves discoverability and automation.
**What I'm Looking For**: Files violating naming conventions.
Naming Standards:
Architecture Documents:
Pattern: "kebab-case-descriptive-name.md"
Examples: "backend-architecture.md", "a2a-protocol-integration.md"
MVP Details:
Pattern: "MVP-XXX.md" or "MVP-XXX-descriptive-name.md"
Use Case Documentation:
Pattern: "UC-ABBR-NNN-short-name/"
Coding Sessions:
Pattern: "MVP-XXX_descriptive_name.md" or "TASK-NNN_description.md"
Archive Files:
Pattern: "original-name-deprecated.md"
For Each Violation:
- š DEEPER: What's the correct name per convention?
- š NOTE: Add to rename action list
- ā”ļø NEXT: All names compliant
Question 6: Content Duplication Detection
Objective: Identify and consolidate duplicate or near-duplicate content.
Question Format:
š [Duplication Check]
**Question**: Are there multiple files in [folder] covering the same topic
or with similar content?
**Context**: Duplicate content creates maintenance burden and confusion.
**What I'm Looking For**: Files with overlapping purpose or >70% similar content.
For Each Potential Duplicate:
- š DEEPER: Compare files to verify duplication level
- š NOTE: Decide merge strategy or keep with cross-references
- ā”ļø NEXT: No duplicates detected
Question 7: Interface and API Consistency Check
Objective: Verify that documentation/architecture.md and documentation/requirements.md are consistent with each other and with any implemented code.
Question Format:
š [Interface Consistency Check]
**Question**: Does the `Repo` or `RepoManager` interface signature in
`architecture.md` match what is referenced in `requirements.md`?
**Context**: Both docs define the library's public API ā they must agree.
**What I'm Looking For**: Method signature mismatches, missing methods
in one doc that appear in the other, or outdated error type names.
Check Areas:
RepoManagermethods:InitRepo,OpenRepo,DeleteRepo,PurgeRepoRepomethods:CreateBranch,MergeBranch,DeleteBranch,WriteFile,ReadFile,DeleteFile,ListDirectory,Log,Diff- Error types:
ErrMergeConflict,ErrNotFound,ErrRepoExists - Storage interfaces:
storage.Storer,billy.Filesystem
For Each Inconsistency:
- š DEEPER: Which doc is more recent / authoritative?
- š NOTE: Record the discrepancy and which file to update
- ā”ļø NEXT: Interface definitions are consistent
Question 8: Production Readiness - Security & Authentication
Objective: Verify security documentation and implementation completeness for production deployment.
Question Format:
š [Security Production Readiness Check]
**Question**: Is there comprehensive documentation covering authentication,
authorization, secret management, and security hardening for production?
**Context**: Production systems require robust security measures to protect
user data and prevent unauthorized access.
**What I'm Looking For**: Documentation gaps in:
- Authentication mechanisms (JWT, OAuth, API keys)
- Authorization/RBAC implementation
- Secrets management (environment variables, vaults)
- TLS/HTTPS configuration
- API rate limiting and throttling
- Input validation and sanitization
- Security headers and CORS policies
- Audit logging for security events
Production Security Checklist:
- ā Authentication flow documented
- ā Authorization/permissions model defined
- ā Secret rotation strategy documented
- ā Security testing procedures defined
- ā Incident response plan exists
- ā Data encryption at rest/in transit documented
- ā Vulnerability scanning process defined
- ā Security compliance requirements addressed
For Each Gap:
- š DEEPER: Check implementation files for undocumented security features
- š NOTE: Add missing documentation to action list
- ā”ļø NEXT: Security documentation complete
Question 9: Production Readiness - Monitoring & Observability
Objective: Ensure monitoring, logging, and alerting are production-ready.
Question Format:
š [Monitoring Production Readiness Check]
**Question**: Is there documentation for production monitoring, logging
infrastructure, metrics collection, and alerting strategies?
**Context**: Production systems require comprehensive observability to
detect and resolve issues quickly.
**What I'm Looking For**: Documentation gaps in:
- Metrics collection (Prometheus, custom metrics)
- Logging infrastructure (structured logging, log aggregation)
- Distributed tracing (if microservices)
- Alerting rules and escalation policies
- Dashboard configurations
- SLI/SLO/SLA definitions
- Performance monitoring
- Error tracking and reporting
Production Observability Checklist:
- ā Metrics endpoints documented
- ā Log format and retention policies defined
- ā Critical alerts documented (SLIs)
- ā Dashboard designs specified
- ā On-call procedures documented
- ā Runbook for common issues exists
- ā Performance baselines established
- ā Error budget policy defined
For Each Gap:
- š DEEPER: Check deployments/prometheus.yml and implementation
- š NOTE: Add missing observability documentation
- ā”ļø NEXT: Monitoring documentation complete
Question 10: Production Readiness - Deployment & Infrastructure
Objective: Verify deployment procedures, infrastructure configuration, and disaster recovery plans.
Question Format:
š [Deployment Production Readiness Check]
**Question**: Is there complete documentation for deployment processes,
infrastructure as code, scaling strategies, and disaster recovery?
**Context**: Production deployments require reliable, repeatable processes
and recovery mechanisms.
**What I'm Looking For**: Documentation gaps in:
- CI/CD pipeline configuration
- Infrastructure as Code (Terraform, k8s manifests)
- Environment configuration (dev/staging/prod)
- Database migration procedures
- Rollback procedures
- Scaling strategies (horizontal/vertical)
- Backup and restore procedures
- Disaster recovery plan (RTO/RPO)
- Blue-green or canary deployment strategy
Production Deployment Checklist:
- ā CI/CD pipeline documented
- ā Environment variables catalog exists
- ā Database migration runbook exists
- ā Rollback procedures documented
- ā Backup schedule and testing documented
- ā Infrastructure diagrams current
- ā Scaling thresholds defined
- ā DR plan tested and documented
For Each Gap:
- š DEEPER: Check docker-compose.yml, Dockerfile, deployments/
- š NOTE: Add missing deployment documentation
- ā”ļø NEXT: Deployment documentation complete
Question 11: Production Readiness - Data Management & Compliance
Objective: Ensure data handling, privacy, and compliance requirements are documented.
Question Format:
š [Data Management Production Readiness Check]
**Question**: Is there documentation covering data models, database schemas,
data retention policies, and regulatory compliance requirements?
**Context**: Production systems must handle data responsibly and comply
with regulations (GDPR, CCPA, etc.).
**What I'm Looking For**: Documentation gaps in:
- Database schema documentation (ArangoDB collections)
- Data retention and archival policies
- PII (Personally Identifiable Information) handling
- GDPR/CCPA compliance procedures
- Data backup and recovery testing
- Database performance optimization
- Migration and upgrade procedures
- Data validation rules
Production Data Management Checklist:
- ā Schema documentation current
- ā Data retention policies defined
- ā PII handling documented
- ā Compliance requirements addressed
- ā Backup verification procedures exist
- ā Performance tuning guidelines documented
- ā Data migration tested
- ā Data access controls documented
For Each Gap:
- š DEEPER: Check internal/database/ and compliance docs
- š NOTE: Add missing data management documentation
- ā”ļø NEXT: Data documentation complete
Question 12: Production Readiness - API Documentation & Versioning
Objective: Verify API documentation is complete and production-ready for external consumers.
Question Format:
š [API Production Readiness Check]
**Question**: Is there comprehensive API documentation including endpoints,
request/response schemas, error codes, rate limits, and versioning strategy?
**Context**: Production APIs must be well-documented for developers and
support teams.
**What I'm Looking For**: Documentation gaps in:
- OpenAPI/Swagger specification
- Authentication requirements per endpoint
- Request/response examples
- Error code catalog with resolution steps
- Rate limiting and quota documentation
- API versioning strategy (v1, v2, etc.)
- Deprecation policy and timeline
- Breaking change communication plan
Production API Documentation Checklist:
- ā API specification (OpenAPI/Swagger) exists
- ā Authentication per endpoint documented
- ā All endpoints have examples
- ā Error codes documented with meanings
- ā Rate limits clearly specified
- ā Versioning strategy documented
- ā Deprecation policy defined
- ā API changelog maintained
For Each Gap:
- š DEEPER: Check api/ and internal/api/ folders
- š NOTE: Add missing API documentation
- ā”ļø NEXT: API documentation complete
Question 13: Production Readiness - Testing & Quality Assurance
Objective: Ensure testing coverage and quality gates are production-ready.
Question Format:
š [Testing Production Readiness Check]
**Question**: Is there documentation for test coverage requirements, testing
strategies, and quality gates for production releases?
**Context**: Production code requires comprehensive testing to ensure
reliability and prevent regressions.
**What I'm Looking For**: Documentation gaps in:
- Unit test coverage requirements (minimum %)
- Integration test strategy
- End-to-end test scenarios
- Performance/load testing procedures
- Security testing (SAST/DAST)
- Regression test suite
- Test data management
- Quality gates for CI/CD
Production Testing Checklist:
- ā Test coverage targets defined (e.g., 80%+)
- ā Integration test strategy documented
- ā E2E test scenarios identified
- ā Performance benchmarks established
- ā Security testing integrated
- ā Test data management documented
- ā CI/CD quality gates configured
- ā Testing runbook exists
For Each Gap:
- š DEEPER: Check test/ folder and CI configuration
- š NOTE: Add missing testing documentation
- ā”ļø NEXT: Testing documentation complete
Question 14: Production Readiness - Operations & Support
Objective: Verify operational runbooks, support procedures, and maintenance documentation exist.
Question Format:
š [Operations Production Readiness Check]
**Question**: Is there documentation for operational procedures, troubleshooting
guides, support escalation, and maintenance windows?
**Context**: Production systems require clear operational procedures for
support teams.
**What I'm Looking For**: Documentation gaps in:
- Operational runbooks for common tasks
- Troubleshooting guides with decision trees
- Support escalation matrix
- Maintenance window procedures
- Health check endpoints documentation
- System dependencies map
- Contact information for critical services
- Change management process
Production Operations Checklist:
- ā Runbooks for common operations exist
- ā Troubleshooting guides documented
- ā Escalation procedures defined
- ā Maintenance procedures documented
- ā Health check endpoints listed
- ā System dependency map current
- ā Emergency contacts documented
- ā Change management process defined
For Each Gap:
- š DEEPER: Check documents/4-QA/ and operations docs
- š NOTE: Add missing operational documentation
- ā”ļø NEXT: Operations documentation complete
Response Processing Guidelines
After receiving each answer:
- Acknowledge: "ā Understood - [brief summary of finding]"
- Decide Path: Choose DEEPER/NOTE/NEXT/REVIEW
- State Choice: "š Going deeper..." / "š Noting issue..." / "ā”ļø Moving to..." / "š Reviewing..."
- Execute: Ask next question OR provide review summary
Example Flow:
AI: š [Technology Stack Check]
Question: Are there references to "React" in
/documents/2-SoftwareDesignAndArchitecture/?
Context: We migrated to Flutter, need to verify no outdated references.
What I'm Looking For: Files containing "React" references.
User: Found 3 files: frontend-architecture.md, react-migration-plan.md,
README.md
AI: ā
Found 3 files with React references.
š Going deeper - checking if these are already archived or current:
Question: Have frontend-architecture.md and react-migration-plan.md
already been archived, or are they still active documents?
User: frontend-architecture.md is now just a deprecation notice.
react-migration-plan.md is still in main folder.
AI: ā
Understood - one is deprecation notice (good), one needs archiving.
š Noting issue: react-migration-plan.md needs to be archived to
archive/react-migration-plan-deprecated.md
ā”ļø Moving to README.md check:
Question: What React references exist in README.md?
Issue Tracking During Session
Maintain a running list visible every 3-5 questions:
šØ Inconsistencies Found
- š [File]: Outdated tech reference - [specific issue]
- š [File]: Broken link - [link target]
- š [Folder]: Needs subfolder organization - [topic group]
ā Verified Clean
- ā [Area]: No issues found
- ā [File]: Already compliant
š Actions Required
- š§ Archive: [list of files]
- š§ Update: [list of files needing edits]
- š§ Organize: [folders needing restructure]
- š§ Rename: [files needing rename]
Periodic Review Format
Every 5-7 questions, provide progress summary:
š **CONSISTENCY CHECK - Progress Review**
**Areas Checked:**
ā
Technology Stack (2-SoftwareDesignAndArchitecture/) - 3 issues found
ā
Cross-References (README files) - 2 broken links
āøļø File Organization - Not yet checked
āøļø File Sizes - Not yet checked
**Issues Identified:**
š react-migration-plan.md needs archiving
š README.md has 2 React references to update
š introduction.md references "React Developer" role
**Files to Archive:**
- react-migration-plan.md ā archive/react-migration-plan-deprecated.md
**Files to Update:**
- README.md (2 locations)
- introduction.md (1 location)
**Remaining Checks:**
- File organization analysis
- File size compliance
- Naming convention check
- Duplication detection
- Use case mvp.md updates
**Next Steps**: Continue with file organization check, or address found
issues first?
Completion Criteria
The consistency check session is complete when:
- ā All 14 question categories have been systematically checked
- ā All inconsistencies have been identified and noted
- ā Action list is complete (archive/update/organize/rename)
- ā Production readiness gaps documented
- ā Gaps documented in structured format (see below)
- ā User confirms readiness to execute actions
š REQUIRED: Structured Gap Documentation
CRITICAL: All findings MUST be documented in the structured gaps directory for tracking and accountability.
Gap Documentation Location
/workspaces/CodeValdCortex/documents/2-SoftwareDesignAndArchitecture/gaps/
āāā README.md # Gap tracking overview
āāā production-readiness/ # Production-critical gaps
ā āāā security-authentication.md
ā āāā deployment-infrastructure.md
ā āāā monitoring-observability.md
ā āāā data-compliance.md
ā āāā api-documentation.md
āāā file-organization/ # File structure issues
ā āāā oversized-files.md
ā āāā duplicate-files.md
ā āāā misplaced-files.md
ā āāā naming-violations.md
āāā cross-references/ # Link and reference issues
ā āāā broken-links.md
ā āāā outdated-references.md
āāā reports/ # Timestamped full reports
āāā YYYY-MM-DD_consistency-check.md
Required Documentation Actions
After completing the consistency check, you MUST:
-
Create/Update Category-Specific Gap Files
- Update existing gap files with new findings
- Create new gap files for new categories
- Use consistent format (see templates in gaps/README.md)
-
Create Timestamped Report
- File:
gaps/reports/YYYY-MM-DD_consistency-check.md - Include executive summary, metrics, findings, and action plan
- Reference category-specific gap files
- File:
-
Update gaps/README.md
- Update "Current Gaps Summary" section
- Update metrics and status counts
- Update "Next Steps"
Gap File Format Template
Each gap file MUST include:
# [Category] [Type] Gap/Issue
**Last Updated**: YYYY-MM-DD
**Priority**: š“ BLOCKER | š” HIGH | š¢ MEDIUM | āŖ LOW
**Status**: Open | In Progress | Resolved
## Summary
Brief description of the gap and impact
## Missing Documentation / Issues
- [ ] Item 1
- [ ] Item 2
## Impact
What happens if we ship without this?
## Recommended Solution
Specific files to create, actions to take
## Action Items
- [ ] Action 1
- [ ] Action 2
## Resolution
(Fill when resolved)
- **Resolved By**:
- **Date**:
- **Notes**:
Production Readiness Gap Template
For production blockers, use enhanced template:
# [Category] Production Readiness Gap
**Last Updated**: YYYY-MM-DD
**Priority**: š“ BLOCKER
**Status**: Open
## Summary
CRITICAL description of missing production capability
## Missing Documentation
### 1. [Specific Doc Category]
- [ ] File 1
- [ ] File 2
### 2. [Another Category]
- [ ] File 3
## Current State
**What Exists:**
- ā
Item that exists
- ā ļø Partial item
**What's Missing:**
- ā Critical missing item 1
- ā Critical missing item 2
## Impact of Shipping Without This
1. Risk 1
2. Risk 2
3. Legal/compliance issue
## Recommended Solution
### Phase 1: Critical (Week 1)
Detailed creation plan
### Phase 2: Important (Week 2)
Next priority items
## Action Items
- [ ] Immediate action
- [ ] Urgent action
- [ ] Validation
## Resolution
(To be filled)
Final Deliverable Structure
After each consistency check session, create:
1. Timestamped Report (Required)
File: gaps/reports/YYYY-MM-DD_consistency-check.md
Contents:
# Documentation Consistency Check Report
**Date**: YYYY-MM-DD
**Scope**: [folders checked]
## Executive Summary
Overall assessment, key metrics, critical findings
## Metrics Summary
- Files Scanned: XX
- Issues Found: XX
- Production Blockers: XX
- High Priority: XX
- Medium Priority: XX
## Findings by Category
### 1. Technology Stack Consistency
### 2. File Organization
### 3. File Size Compliance
### 4. Cross-Reference Validation
### 5. Production Readiness
## Recommended Actions (Prioritized)
### š“ CRITICAL - This Week
### š” HIGH - Next 2 Weeks
### š¢ MEDIUM - Next Month
## Timeline Estimate
## Next Steps
## Conclusion
2. Category-Specific Gap Files (Required)
Update or create gap files in appropriate subfolder:
production-readiness/[category].mdfor production gapsfile-organization/[issue-type].mdfor file issuescross-references/[issue-type].mdfor link issues
3. Update gaps/README.md (Required)
Update the summary section:
## Current Gaps Summary
**Last Check**: YYYY-MM-DD
### Production Readiness
- š“ X BLOCKER gaps (list categories)
- š” X HIGH gaps
### File Organization
- š” X files exceeding 500 lines
- š“ X files exceeding 1,000 lines
### Total Issues
- **Blockers**: X
- **High Priority**: X
Quality Checklist for Gap Documentation
Before completing a consistency check session, verify:
- Timestamped report created in
gaps/reports/ - All production blockers documented in
production-readiness/ - All file issues documented in
file-organization/ - All broken links documented in
cross-references/ - Each gap file follows template format
- Each gap has priority level (š“/š”/š¢/āŖ)
- Each gap has actionable "Action Items"
- gaps/README.md updated with latest metrics
- Cross-references between gap files added where relevant
- Timeline estimates provided for resolution
Production Launch Blockers Format
In the timestamped report, include:
## Production Launch Readiness: [STATUS]
**Status Options**: ā
READY | ā ļø NEEDS WORK | ā BLOCKED
### Critical Gaps (Must resolve before production)
- [ ] Security & Authentication - [Link to gap doc]
- [ ] Deployment & Infrastructure - [Link to gap doc]
- [ ] Disaster Recovery - [Link to gap doc]
### High Priority (Should resolve before production)
- [ ] Monitoring & Observability - [Link to gap doc]
- [ ] API Documentation - [Link to gap doc]
### Medium Priority (Can defer with mitigation)
- [ ] File organization improvements
- [ ] Link cleanup
**Timeline to Production Ready**: X weeks
Example Question Sequence
Session Start:
AI: We're performing a documentation consistency check for
/workspaces/CodeValdCortex/documents/
I've scanned the folder structure. Starting with Technology Stack Check.
š [Technology Stack Check - Question 1]
**Question**: Are there any files in
documents/2-SoftwareDesignAndArchitecture/ that reference "React"
(excluding archive/ folder)?
**Context**: We migrated from React to Flutter for the frontend. Need
to verify no outdated references remain in active documentation.
**What I'm Looking For**: File paths containing "React" references,
or confirmation that the area is clean.
After First Answer:
User: Yes, found in frontend-architecture.md and README.md
AI: ā
Found 2 files with React references.
š Going deeper into frontend-architecture.md:
**Question**: Is frontend-architecture.md a current document describing
React architecture, or a deprecation notice pointing to the Flutter plan?
**Context**: Need to determine if this is already handled or needs archiving.
**What I'm Looking For**: File content/purpose - is it outdated content
or a redirect notice?
After Progress (Question 5):
AI: š **PROGRESS CHECK**
**Completed Checks:**
ā
Technology Stack - 3 issues identified
ā
Cross-References - 1 broken link found
**Issues Found:**
š react-migration-plan.md - needs archiving
š README.md - 2 React references to update
š docs link broken - points to archived file
**Next Area**: File Organization Analysis
Continue with organization check, or would you like to review/address
issues first?
Success Criteria
Documentation Consistency:
- ā Zero references to outdated technologies in active docs
- ā All archived files have clear deprecation notices
- ā No broken internal links
- ā Topics with 3+ files organized in subfolders
- ā No files exceed 1500 lines without justification
- ā All use case mvp.md files reflect current architecture
- ā Comprehensive consistency report generated
Production Readiness:
- ā Security documentation complete (auth, secrets, hardening)
- ā Monitoring & alerting documented with SLIs/SLOs
- ā Deployment procedures and DR plans documented
- ā Data management and compliance requirements addressed
- ā API documentation production-ready (OpenAPI/Swagger)
- ā Testing coverage and quality gates defined
- ā Operational runbooks and troubleshooting guides exist
- ā No critical blockers for production deployment
- ā Production readiness checklist 100% complete