Skip to main content

Documentation Coverage Matrix

This matrix tracks which platform features are documented and their alignment with the codebase. Use this to identify documentation gaps and ensure docs stay current with code changes.

Coverage table

Feature/AreaDoc LinkCode Owner Path(s)Last Verified
Health endpointAPI Referenceserver/routes.ts2025-12-29
Document uploadEvidence Submissionserver/routes.ts, server/lib/pipeline.ts2025-12-29
Evidence processingEvidence Submissionserver/lib/evidenceStorage.ts, server/lib/pipeline.ts2025-12-29
Assessment runsQuickstart, Runs Conceptsserver/lib/assessmentPipeline.ts, server/routes.ts2025-12-29
Vector searchArchitecture Overview, Testing & Debuggingserver/lib/vectorStore.ts2025-12-29
Tenant managementRoles and Tenancyserver/lib/packSafetyService.ts, shared/schema.ts2025-12-29
Pack configurationRoles and Tenancyserver/lib/packResolver.ts, shared/schema.ts2025-12-29
Criteria importAdmin Workflowserver/lib/criteriaImportService.ts2025-12-29
Corpus managementAdmin Workflowserver/routes.ts (corpus endpoints)2025-12-29
Audit loggingAdmin Workflowserver/lib/auditService.ts2025-12-29
Portal user workflowPortal User Workflowclient/src/pages/ComplianceManager.tsx2025-12-29
Reviewing resultsReviewing Resultsclient/src/components/cm/2025-12-29
Evidence data modelEvidence Conceptsshared/schema.ts:160-2202025-12-29
Architecture overviewArchitecture Overviewserver/, client/src/, shared/2025-12-29
Repository mapRepository MapAll directories2025-12-29
Data modelData Modelshared/schema.ts2025-12-29
Determinism and replayDeterminism and Replayserver/lib/packResolver.ts, server/lib/replayGuard.ts2025-12-29
Testing and debuggingTesting and Debuggingserver/lib/tracing.ts, server/lib/adminService.ts2025-12-29
Environments configEnvironments & Configurationshared/schema.ts:283-289, server/lib/packResolver.ts2025-12-29
Database migrationsDatabase Migrationsdrizzle.config.ts, shared/schema.ts2025-12-29
Release processRelease Processpackage.json, docs-site/package.json2025-12-29
ADR templateADR-0000: TemplateN/A (process doc)2025-12-29
Multi-tenant isolation ADRADR-0001: Multi-Tenant Isolationserver/routes.ts:107-161, server/lib/vectorStore.ts2025-12-29
Run snapshots ADRADR-0002: Run Snapshots & Determinismshared/schema.ts:306-359, server/lib/packSafetyService.ts2025-12-29

Route mapping

InterfaceRoute in this repo
Portal/cm
Admin Console/admin

How to use this matrix

When to update

Update this matrix when:

  1. New feature documented: Add a row with the doc link and code paths
  2. Code changes: Update "Last Verified" date after confirming docs match code
  3. Documentation added: Change "TBD" to actual doc links
  4. Code paths change: Update the code owner paths

Verification process

To verify documentation accuracy:

  1. Review the code at the listed paths
  2. Compare against the documented behavior
  3. Update documentation if needed
  4. Update "Last Verified" date

Finding code paths

If code paths are unknown:

# Search for feature implementation
grep -r "functionName" server/

# Find route handlers
grep -r "app.post\|app.get" server/routes.ts

Coverage targets

CategoryTargetCurrent
API endpoints100%~10%
User guides80%80%
Concepts80%60%
Developer docs80%100%
Ops docs80%100%
ADRsCore decisions2 ADRs
Troubleshooting100% of guides100%

Stale documentation threshold

Documentation is considered stale if:

  • Last verified date is older than 90 days
  • Associated code paths have changed since verification
  • Feature behavior has materially changed

Run git log --since="90 days ago" -- <path> to check for recent changes.