Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt

Use this file to discover all available pages before exploring further.

Last Updated: 2026-02-24
Purpose: Single source of truth for which tests cover which specs. Use to track gaps and maintain traceability.
See also: SPEC_STATUS_REGISTRY.md (implementation status), TESTING_SETUP_AND_RUN.md (how to run tests), tests/README.md (conventions and @spec).

How to use this matrix

  • RLS: Yes = all tables from spec have a corresponding tests/rls/{core}-{table}.rls.test.ts (or .test.sql). Run npm run check-rls-coverage (or --missing-only, --min-coverage N, --json) to list missing tables and enforce a coverage threshold in CI.
  • Unit: Yes = spec’s hooks/utilities have unit tests in tests/unit/. Partial = some covered.
  • Integration: Yes = at least one workflow test in tests/integration/ exercises the spec. Partial = partial coverage.
  • E2E: Playwright = *.spec.ts run by npm run test:e2e; Vitest = *.test.ts in tests/e2e/ run by Vitest (not Playwright). See E2E conventions below.
  • Backfilled rows: Rows tagged with coverage verification pending were added from the completed spec registry and require follow-up evidence mapping.

E2E conventions

  • Playwright runs only files matching .*\.spec\.(ts|tsx|js|jsx)$ in tests/e2e/ (see playwright.config.ts). All *.test.ts in e2e are excluded from Playwright.
  • Vitest can run *.test.ts under tests/e2e/ (e.g. financial-transactions.test.ts, leave-accruals.test.ts). These are integration-style E2E with Supabase.
  • testIgnore in Playwright currently excludes: ce/activities.spec.ts, ce/referral-attribution-flow.spec.ts, ce/partner-creation-workflow.spec.ts, fa/budget-scenarios.spec.ts, fa/rolling-forecasts.spec.ts, fa/budget-templates.spec.ts. Those run as Vitest or are documented as Vitest-only in this matrix.
  • Per-core E2E scripts: npm run test:e2e:auth, npm run test:e2e:hr, npm run test:e2e:fa, npm run test:e2e:smoke. See TESTING_SETUP_AND_RUN.md.

HR Core (Human Resources)

Spec IDNameRLSUnitIntegrationE2ETest files / notes
HR-01Employee DirectoryYesYesPartialPartialrls: hr-employees, hr-departments, hr-positions; e2e: employee-profile.spec.ts
HR-02Credentialing & ComplianceYesYesYes-rls: hr-employee-credentials, hr-*; unit: hr/
HR-03Onboarding & OffboardingYesYesYesYese2e: onboarding-wizard-flow.test.ts, onboarding.spec.ts (auth)
HR-04Scheduling & CapacityYesYesYes-rls: hr-shifts, hr-shift-*; unit: hr/; integration: scheduling-capacity-hooks.test.ts
HR-05Time & AttendanceYesYesYes-rls: hr-time-punches, hr-timesheets, hr-timesheet-entries
HR-06PTO & Leave ManagementYesYesYesYese2e: leave-accruals.test.ts, time-off-workflow.spec.ts
HR-07Payroll ProcessingYesYesYesPartialintegration: hr/hr-pay-02-deductions.test.ts; e2e: payroll-run-tax.e2e.ts; rls: hr-payroll-*, hr-deductions
HR-08Workload Drivers & StaffingYesYesYes-rls: hr-*
HR-09Applicant Tracking SystemYesYesPartialYese2e: ats-hiring-workflow.spec.ts
HR-10Performance ManagementYesYesYesYesintegration: performance-management-hooks.test.ts; e2e: hr-performance-review-flow.test.ts, compensation-management.spec.ts
HR-11Benefits AdministrationYesYesYes-rls: hr-benefits-* (if present); unit: benefits-query-hooks.test.ts; integration: benefits-admin-hooks.test.ts
HR-12Employee Self-ServiceYesYesYesYesunit: self-service-status-hooks.test.ts; integration: self-service-profile-hooks.test.ts; e2e: my-hr-portal-journey.test.ts
HR-13Skills & CompetenciesYesYesYes-rls: hr-skills-*; unit: hr/; integration: skills-competencies-hooks.test.ts
HR-14Employee Relations & IncidentYesYesYesYesintegration: hr/incident-workflow.test.ts, hr/grievance-workflow.test.ts, hr/investigation-workflow.test.ts, hr/disciplinary-termination-workflow.test.ts; e2e: incident-management-flow.test.ts, disciplinary-action-flow.test.ts, my-cases-employee-view.test.ts
HR-15Compensation ManagementYesYesYesYesintegration: hr/compensation-workflow.test.ts; e2e: compensation-management.spec.ts
HR-16Succession PlanningN/ANoNoNoSpec not started
HR-17Employee EngagementPartialYesYesYesCoverage verification pending
HR-18Workforce AnalyticsN/AYesYesYese2e: workforce-analytics-journey.spec.ts
HR-19Clinical OversightYesYesYes-rls: hr-*; unit: oversight-test-utils-generators.test.ts; integration: oversight-hooks-workflow.test.ts
HR-20Checkr Integration--Yes-@spec HR-20: integration/hr/checkr-webhook.test.ts
HR-PAY-*Payroll (tax, deductions, etc.)YesYesPartialPartialrls: hr-pay-*, hr-deductions; e2e: payroll-run-tax.e2e.ts

FA Core (Finance & Accounting)

Spec IDNameRLSUnitIntegrationE2ETest files / notes
FA-01Chart of AccountsYesYesYes-integration: gl-posting.test.ts, gl-reversal.test.ts, fa/expense-gl-posting.test.ts; rls: fa-accounts, fa-*
FA-02General LedgerYesYesYesYese2e: financial-transactions.test.ts (Vitest); integration: gl-posting, gl-reversal, expense-gl-posting
FA-03Accounts PayableYesYesPartialYese2e: invoice-workflow.spec.ts, payment-processing.spec.ts
FA-04Purchase OrdersYesYesYes-rls: fa-*; unit: usePurchaseOrderQueries.test.ts; integration: purchase-order-mutations.test.ts
FA-05Accounts ReceivableYesYesYesYese2e: invoice-workflow.spec.ts; rls: fa/fa-ar-payment-applications.rls.test.ts
FA-06Bank ReconciliationYesYesYesYesintegration: fa/plaid-sync.test.ts, fa/plaid-webhook.test.ts; e2e: reconciliation-export.test.ts, reconciliation-multi-match.test.ts (Playwright .test.ts not run by default—see E2E conventions)
FA-07Financial ReportingYesYesYesYese2e: financial-reports.spec.ts
FA-08Budgeting & ForecastingYesYesYesViteste2e: budget-scenarios.spec.ts, rolling-forecasts.spec.ts, budget-templates.spec.ts (Playwright testIgnore); integration: budget-, rolling-forecast-
FA-09Multi-EntityN/ANoNoNoSpec not started
FA-14Cash Management & TreasuryYesYesYesYesunit: cashPositionUtils.test.ts, cashForecastUtils.test.ts; e2e: fa-cash-management.test.ts; integration: fa-cash-management-workflow
FA-20Plaid Bank IntegrationYesYesYesYes@spec FA-20: rls: fa-bank-accounts-plaid, fa-bank-statement-lines-plaid; unit: usePlaidLink, usePlaidSync; integration: plaid-*; e2e: plaid-bank-connection.test.ts
FA-21Bank Reconciliation AutomationYesPartialPartialYese2e: reconciliation-*.test.ts

FW Core (Forms & Workflow)

Spec IDNameRLSUnitIntegrationE2ETest files / notes
FW-01Form BuilderYesYesYesYese2e: form-creation.spec.ts; unit: fw/*; integration: configurable-form, form-lookups
FW-02Form SubmissionsYesYesYesYese2e: form-submission.spec.ts, portal-public-form-submit.spec.ts
FW-03Automation EngineYesYesYesYese2e: automation-execution.spec.ts; integration: event-triggers, fw-*
FW-05Multi-Page FormsYesYesYes-unit: multi-page-forms.test.ts; integration: conditional-logic-forms
FW-06Advanced Workflow BuilderYesYesYes-unit: condition-builder, expression-engine; integration: condition-builder.test.ts
FW-07Workflow VersioningYesYesYesYesintegration: workflow-versioning.test.ts; e2e: wizard-version-management.spec.ts; unit: workflow-versioning.test.ts
FW-15Form Field LookupsYesYesYes-integration: form-lookups.test.ts
FW-16Event-Based TriggersYesYesYes-integration: event-triggers.test.ts
FW-17Advanced Condition BuilderYesYesYes-unit: condition-*, expression-engine
FW-18Workflow VariablesYesYesYes-unit: variable-; integration: fw-
FW-19Data Query & IntegrationYesYesYes-integration: workflow-data-integration-hooks.test.ts
FW-22Execution MonitoringYesYesYes-integration: fw-replay-workflow, fw-log-search, fw-debug-workflow
FW-23Performance AnalyticsYesYesYes-unit: useWorkflowPerformanceMetrics.test.ts; integration: workflow-performance-analytics-hooks.test.ts
FW-24Workflow Testing SandboxYesYesYes-unit: useSandboxExecution.test.ts; integration: workflow-testing-sandbox-hooks.test.ts
FW-28Workflow TemplatesYesYesYesYesintegration: workflow-template-hooks.test.ts; e2e: wizard-marketplace.spec.ts; rls: pf-wizard-marketplace-*
FW-29Notifications & AlertsYesYesYes-integration: fw-notification-trigger
FW-31Multi-Step WizardsYesYesYesYese2e: wizard-complete-flow.spec.ts, wizard-resume-flow.spec.ts, wizard-branching.spec.ts, wizard-validation-expressions.spec.ts
FW-32External Form PortalYesYesYesYese2e: portal-email-verification.spec.ts, portal-public-form-submit.spec.ts
FW-33Form Signature CaptureYesYesYesYese2e: form-signature.spec.ts; integration: form-signature-capture
FW-34Approval WorkflowsYesYesYesYese2e: approval-submit-approve-flow.spec.ts, approval-delegation.spec.ts

PF Core (Platform Foundation)

Spec IDNameRLSUnitIntegrationE2ETest files / notes
PF-01Organization & Site ManagementYesYesYes-rls: pf-organizations, pf-sites; integration: pf-organization-site-management
PF-02RBACYesYesYes-rls: pf-user-roles, pf-permissions-system; unit: permissions/*; integration: pf-rbac-permissions
PF-03App Launcher-YesYesPartialunit: useModuleAccess.test.ts, AppLauncher.test.tsx; integration: ModuleCard.test.tsx
PF-04Audit LoggingYesYesYes-rls: pf-audit-logs; integration: pf-audit-logging-access
PF-05RLS Security TestingYesYesYes-unit: rlsTestHelpers.test.ts; integration: supabaseTestClientHelpers.test.ts
PF-06User Profile ManagementYesYesYes-unit: useCurrentUser.test.ts; integration: useCurrentUser-auth-state.test.ts
PF-07Error Handling & Monitoring-YesYes-unit: error-sanitizers.test.ts, withErrorCapture.test.ts; integration: useErrorTracking.test.ts
PF-08Platform Forms IntegrationPartialYesYes-unit: useFormQueries.test.ts; integration: useFormMutation.test.ts
PF-09Form AnalyticsPartialYesYes-unit: form-analytics.test.ts; integration: form-analytics-hooks.test.ts
PF-10NotificationsYesYesYesYesintegration: notifications.test.ts; e2e: platform/notification-delivery.spec.ts; rls: pf-notifications
PF-11Document ManagementYesYesYesYesintegration: pf-document-management-access.test.ts; e2e: platform/document-permissions.spec.ts; rls: pf-documents, pf-document-*
PF-12Reporting EngineYesYesYesYesintegration: ce/pf12-reports.test.ts; e2e: platform/report-generation.spec.ts; rls: pf-reports, pf-report-*
PF-13PWA & Mobile Navigation-YesYesPartialunit: useMobileNavPreferences.test.ts; integration: MobileNav.test.tsx
PF-14Platform Enhancements-YesYes-unit: platform/workforce/workforceQueries.test.ts; integration: platform/workforce/workforceCredentialLookup.test.ts
PF-15Picklist SystemPartialYesYes-unit: usePicklistQueries.test.ts; integration: usePicklistMutation.test.ts
PF-16Custom Field DefinitionsPartialYesYes-unit: customFieldUtils.test.ts, useCustomFieldQueries.test.ts; integration: useCustomFieldMutation.test.ts
PF-17Entity Field ConfigurationPartialYesYes-unit: fieldConfigUtils.test.ts, useFieldConfigQueries.test.ts; integration: useFieldConfigMutation.test.ts
PF-19Organizational Data Consolidation-YesYes-unit: hr/department-list-hooks.test.ts; integration: hr/department-mutation-hooks.test.ts
PF-23Object BrowserPartialYesYes-unit: data-manager/dataManagerQueries.test.ts; integration: data-manager/dataManagerMutations.test.ts
PF-24Custom ObjectsYesYesYes-unit: data-manager/dataManagerQueries.test.ts; integration: data-manager/dataManagerMutations.test.ts
PF-25Raw Data EditorPartialYesYes-unit: data-manager/dataManagerQueries.test.ts; integration: data-manager/dataManagerMutations.test.ts
PF-26Object PermissionsPartialYesYes-unit: data-manager/dataManagerQueries.test.ts; integration: data-manager/dataManagerMutations.test.ts
PF-27Platform AI Integration-YesYes-unit: ai/aiUtilities.test.ts; integration: ai/aiHooks.test.ts
PF-28AI Shared Widgets-YesYes-unit: ai/aiUtilities.test.ts; integration: ai/aiHooks.test.ts
PF-29Unified Task SystemYesYesYesYesintegration: pf-tasks-workflow.test.ts, pf-tasks-source-linking.test.ts; e2e: platform/task-management.spec.ts; rls: pf-tasks, pf-task-comments
PF-30Permissions V2YesYesYes-rls: pf-permissions-system; unit: permissions/*; integration: pf-rbac-permissions
PF-31Page LayoutsYesYesYes-unit: pageLayoutUtils.test.ts; integration: pageLayoutHooks.test.ts
PF-32Conditional Field LogicPartialYesYes-unit: conditional-logic/evaluator.test.ts; integration: conditional-logic-hooks.test.ts
PF-33Digital SignaturesPartialYesYes-unit: signatures/signatureQueries.test.ts; integration: signatures/signatureWorkflowHooks.test.ts
PF-34Dashboard PersonalizationYesYesYes-integration: dashboard-personalization, dashboard-templates
PF-35Integration Hub-YesYes-unit: integrations/integrationQueries.test.ts; integration: integrations/integrationMutations.test.ts
PF-36System Health Dashboard-YesYes-unit: platform/health/useHealthMetrics.test.ts; integration: platform/health/useHealthCheck.test.ts
PF-37Mobile Swipe GesturesYesYes-Yese2e: mobile/swipe-gestures.spec.ts; unit: platform/gestures/*
PF-40UX Enhancement Framework-YesYesPartialunit: platform/help/useTour.test.ts; integration: platform/help/helpComponents.test.tsx
PF-41Configurable WizardsYesYesYesYesintegration: wizards/wizardTemplateHooks.test.ts; e2e: wizard-.spec.ts; rls: pf-wizard-
PF-54Formatting UtilitiesN/AYes--unit: pf/formatting-utilities.test.ts
PF-56File Upload FrameworkYesYesYes-unit: platform/upload/uploadServiceValidation.test.ts, platform/upload/useOrganizationUploadSettings.test.ts; integration: platform/upload/useFileUpload.test.ts
PF-58Data Table FrameworkYesYesYesYesunit: platform/table-v2/*; integration: platform/table-v2/integration.test.tsx; e2e: platform/table-v2.spec.ts
PF-59AI Provider MigrationYesYesYes-unit: ai/useAIStructuredOutput.test.ts; integration: platform/ai/useAISkillChat.test.ts
PF-60RAG InfrastructureYesYesYes-rls: pf-knowledge-base.rls.test.ts, pf-document-embeddings.rls.test.ts; integration: pf-knowledge-base.test.ts
PF-61Knowledge Base SystemYes-Yes-integration: pf-knowledge-base.test.ts, it-knowledge-base-workflow.test.ts; rls: pf-knowledge-base.rls.test.ts
PF-62AI Skills SystemYesYesYes-unit: platform/ai/mergeSkillOverride.test.ts; integration: platform/ai/useAISkillChat.test.ts, pf/pf-72-skill-execute.test.ts; rls: pf-ai-skills.rls.test.ts, pf-ai-skill-overrides.rls.test.ts
PF-63Entra ID IntegrationYesYes--rls: hr_entra_sync_log (SQL); unit: platform/integrations/entraHooks.test.ts
PF-64Document TemplatesYesYesYes-integration: platform/templates-workflow.test.ts, platform/pdf-generation.test.ts; rls: pf-document-templates, pf-letterheads; unit: platform/templates/*
PF-65Gusto Embedded Payroll IntegrationPartialYesYes-unit: platform/gusto/useGustoConfig.test.ts, platform/gusto/useGustoConnectionStatus.test.ts; integration: platform/gusto/gusto-connection-status.test.ts
PF-66Platform Realtime LayerPartialYesYes-unit: platform/realtime/channelNaming.test.ts, platform/realtime/filterBuilder.test.ts, platform/realtime/ChannelManager.test.ts; integration: platform/realtime/realtime-subscription.test.ts
PF-67Internal Real-Time MessagingYesYesYes-unit: platform/messaging/mentionParser.test.ts, platform/messaging/unreadCalculator.test.ts; integration: platform/messaging/useUnreadCounts.test.ts; rls: pf-messages.rls.test.ts
PF-72Claude Agent SDK IntegrationYesYesYes-unit: platform/ai/mergeSkillOverride.test.ts; integration: platform/ai/useAISkillChat.test.ts, pf/pf-72-skill-execute.test.ts; rls: pf-ai-conversations.rls.test.ts, pf-ai-usage-logs.rls.test.ts
PF-57Search/Filter/SortPartialYesYesYesunit: platform/search/search.test.ts, platform/filter/filter.test.ts, platform/sort/sort.test.ts, platform/pagination/pagination.test.ts; integration: pf-57-migration.test.ts; e2e: pf-57-search-filter-sort.spec.ts

RH Core (Recovery Housing)

Spec IDNameRLSUnitIntegrationE2ETest files / notes
RH-01Census, Beds & EpisodesYesYesYes-rls: rh-* (many); e2e: rh-outcomes-alumni-reporting.test.ts
RH-02–08Programs, Compliance, etc.YesPartialPartialPartialrls: rh-programs, rh-, rh-episode-phases, rh-discharge-, rh-compliance-, rh-outcome-

GR Core (Governance & Risk)

Spec IDNameRLSUnitIntegrationE2ETest files / notes
GR-*Audit, Contracts, etc.PartialYesYesYese2e: gr-audit-management.test.ts, gr-contract-workflows.test.ts, gr-ai-compliance-advisor.test.ts; integration: gr-audit-, gr-contract-; unit: gr/hooks/*

CL Core (Clinical & EHR)

Spec IDNameRLSUnitIntegrationE2ETest files / notes
CL-01Patient Chart & Clinical SummaryYesYesYes-rls: cl/cl-01-charts.rls.test.ts; integration: cl/cl-01-chart-workflow.test.ts; unit: cl/* (vitals, progress note content, etc.)
CL-02Comprehensive AssessmentsYesYesYes-rls: cl/cl-02-assessments.rls.test.ts; integration: cl/cl-02-assessment-workflow.test.ts; unit: cl/assessmentScoring.test.ts
CL-03Treatment PlanningYesYesYes-rls: cl/cl-03-treatment-plans.rls.test.ts; integration: cl/cl-03-treatment-plan-workflow.test.ts; unit: cl/treatmentPlanTimeframes.test.ts
CL-04Progress Notes & Session DocumentationPartialPartial--unit: cl/progressNoteContent.test.ts; RLS/integration: extend from chart/assessment coverage
CL-05Medication Management & ReconciliationP0---Blocked until full RLS: cl_pharmacies, cl_prescriptions, and core medication tables require RLS unit/integration tests (tenant isolation, controlled-substance access). Run npm run check-rls-coverage -- --missing-only before merging CL changes. See CL_TESTING_GAPS.md.
CL-06E-Prescribing (EPCS)P0---Blocked until full RLS: cl_pharmacies, cl_prescriptions missing tests; tenant isolation and controlled-substance rules must be validated. Run npm run check-rls-coverage -- --missing-only before merge. See CL_TESTING_GAPS.md.
CL-07Suicide Risk Screening & Safety PlanningYesYes--rls: cl/cl-07-risk-screening-safety-plan.rls.test.ts; unit: cl/cl-07-risk-screening-utils.test.ts
CL-08Clinical Decision SupportYesYes--rls: cl/cl-08-cds.rls.test.ts; unit: cl/cl-08-cds-evaluate.test.ts, cl/cl-09-cds-lab-monitoring.test.ts
CL-09Lab & Diagnostic Orders & ResultsPartialYes--unit: cl/cl-09-lab-orders.test.ts, cl/cl-09-result-parsing.test.ts
CL-10Outcomes Tracking & MeasurementPartial---RLS: cl_outcome_measures, cl_program_outcomes missing (see CL_TESTING_GAPS.md)
CL-11Consent Management & 42 CFR Part 2YesYes--rls: via consents/chart; unit: cl/cl-11-consent-management.test.ts; break-glass: cl/breakGlassAuthorization.test.ts
CL-12Care Coordination & TransitionsYesYes--rls: cl/cl-12-care-coordination.rls.test.ts; unit: cl/cl-12-care-coordination.test.ts
CL-13Crisis Intervention Documentation----Spec not started
CL-14Group Therapy DocumentationPartial---RLS: cl_group_sessions, cl_group_attendance missing (see CL_TESTING_GAPS.md)
CL-15Clinical Reporting & Quality MeasuresPartial---unit: cl/exportAudit.test.ts; RLS/reporting tables as needed
CL-16FHIR Interoperability----Spec not started
CL-17Arizona CSPMP/PDMP IntegrationYesPartialYes-rls: cl/cl-17-pdmp.rls.test.ts; integration: cl/cl-17-pdmp-workflow.test.ts
CL-18SDOH Screening & Social NeedsPartial---RLS via chart/screenings; unit/integration gaps
CL-19Peer Recovery Support ServicesPartial---RLS via chart; unit/integration gaps
CL-20Medical Record Export & Document GenerationPartial---unit: cl/exportAudit.test.ts
CL-21MAT/MOUD TrackingYesYesYes-rls: cl/cl-21-moud.rls.test.ts; integration: cl/cl-21-moud-workflow.test.ts
CL-22Vital Signs & Biometric TrackingPartialYes--unit: cl/vitalsTrendService.test.ts
CL-23Clinical In-Basket / Provider Messaging----Planned
CL-24Telehealth Documentation & Compliance----Proposed; no tests yet
CL-25Clinical Audit & Compliance Dashboard----Proposed; no tests yet
CL-26Patient-Reported Outcomes & Self-Service Portal----Proposed; no tests yet
CL-27Behavioral Health Program Scheduling Templates----Proposed; no tests yet
CL-28Peer Recovery Support Community Platform----Proposed; no tests yet
CL-29Clinical Research & Registry Participation----Proposed; no tests yet
CL-30Psychotherapy Notes Protection----Proposed; no tests yet
P0 RLS (CL-05/CL-06): Full RLS coverage for cl_pharmacies, cl_prescriptions, and core medication tables is required before merging CL core changes. Tests must validate tenant isolation and controlled-substance access. npm run check-rls-coverage --missing-only must pass; entries in CL_TESTING_GAPS.md for these tables are blocked until coverage is complete. Gaps summary: See CL_TESTING_GAPS.md for missing RLS tables, unit/integration gaps, and E2E recommendations (consent, progress notes, risk screening, reporting).

Backfilled Completed Specs (Registry Sync)

Spec IDNameRLSUnitIntegrationE2ETest files / notes
CE-03Call Management & RingCentral IntegrationYesYesYesYesBackfilled from registry completion status
CE-09Marketing Campaigns & OutreachYesYesYesYesBackfilled from registry completion status
CL-34Drug Testing / UDS Workflow IntegrationYesYesYesYesBackfilled from registry completion status
CL-35Population Health & Care Gap ManagementYesYesYesYesBackfilled from registry completion status
FA-15Cost Allocation & Indirect Cost RatesYesYesYesYesBackfilled from registry completion status
FA-16Financial Analytics & DashboardsYesYesYesYesBackfilled from registry completion status
FA-19Financial Close ManagementYesYesYesYesBackfilled from registry completion status
FA-25Financial Audit Trail & Compliance ReportsYesYesYesYesBackfilled from registry completion status
FA-28Bank Reconciliation AI & Automation RecommendationsYesYesYesYesBackfilled from registry completion status
FA-30Ramp Corporate Cards & Spend IntegrationYesYesYesYesBackfilled from registry completion status
FM-01Work Order ManagementYesYesYesYesBackfilled from registry completion status
FM-02Inventory ManagementYesYesYesYesBackfilled from registry completion status
FM-03Vendor ManagementYesYesYesYesBackfilled from registry completion status
FM-04Preventive Maintenance SchedulingYesYesYesYesBackfilled from registry completion status
FM-05Asset ManagementYesYesYesYesBackfilled from registry completion status
FM-06Compliance & InspectionsYesYesYesYesBackfilled from registry completion status
FM-07Facilities Analytics & ReportingYesYesYesYesBackfilled from registry completion status
FM-08Mobile Field OperationsYesYesYesYesBackfilled from registry completion status
FM-09Facilities Budgeting & PlanningYesYesYesYesBackfilled from registry completion status
FM-10Energy ManagementYesYesYesYesBackfilled from registry completion status
FM-11Space ManagementYesYesYesYesBackfilled from registry completion status
FM-12Capital PlanningYesYesYesYesBackfilled from registry completion status
FM-13Fleet ManagementYesYesYesYesBackfilled from registry completion status
FW-30Workflow Optimization & AI SuggestionsYesYesYesYesBackfilled from registry completion status
FW-44AI-Assisted Form BuildingYesYesYesYesBackfilled from registry completion status
GR-01Policy ManagementYesYesYesYesBackfilled from registry completion status
GR-02Training & CEU TrackingYesYesYesYesBackfilled from registry completion status
GR-03Compliance Tracking & Regulatory RequirementsYesYesYesYesBackfilled from registry completion status
GR-04Audit ManagementYesYesYesYesBackfilled from registry completion status
GR-05Risk Assessment & ManagementYesYesYesYesBackfilled from registry completion status
GR-06AI-Assisted Compliance AdvisorYesYesYesYesBackfilled from registry completion status
GR-07Quality ImprovementYesYesYesYesBackfilled from registry completion status
GR-08Accreditation ManagementYesYesYesYesBackfilled from registry completion status
GR-09Incident ReportingYesYesYesYesBackfilled from registry completion status
GR-10Contract ManagementYesYesYesYesBackfilled from registry completion status
GR-11Procedures ManagementYesYesYesYesBackfilled from registry completion status
GR-12Procedure Templates LibraryYesYesYesYesBackfilled from registry completion status
GR-13Procedure Analytics & Compliance EffectivenessYesYesYesYesBackfilled from registry completion status
GR-14Regulatory Incident Reporting AutomationYesYesYesYesBackfilled from registry completion status
GR-15Nonprofit Governance ControlsYesYesYesYesBackfilled from registry completion status
GR-16Accreditation Tracer Readiness & Survey Pack AutomationYesYesYesYesBackfilled from registry completion status
HR-21Job Descriptions & AgreementsYesYesYesYesBackfilled from registry completion status
IT-01IT Asset ManagementYesYesYesYesBackfilled from registry completion status
IT-02IT Support & TicketingYesYesYesYesBackfilled from registry completion status
IT-03IT Vendor ManagementYesYesYesYesBackfilled from registry completion status
IT-04Software License ManagementYesYesYesYesBackfilled from registry completion status
IT-05IT Security & ComplianceYesYesYesYesBackfilled from registry completion status
IT-06IT ProcurementYesYesYesYesBackfilled from registry completion status
IT-07IT Dashboard & ReportingYesYesYesYesBackfilled from registry completion status
IT-08IT Onboarding/OffboardingYesYesYesYesBackfilled from registry completion status
IT-09IT Change ManagementYesYesYesYesBackfilled from registry completion status
LO-05Scorecards & KPI TrackingYesYesYesYesBackfilled from registry completion status
LO-06Structured MeetingsYesYesYesYesBackfilled from registry completion status
LO-07Issues & Problem Solving (IDR)YesYesYesYesBackfilled from registry completion status
LO-12SMART Goals Validation WizardYesYesYesYesBackfilled from registry completion status
LO-13Goals Terminology RefactoringYesYesYesYesBackfilled from registry completion status
LO-14Action DependenciesYesYesYesYesBackfilled from registry completion status
LO-15Enhanced Action Status WorkflowYesYesYesYesBackfilled from registry completion status
PF-18Unified Organizational Data ManagementYesYesYesYesBackfilled from registry completion status
PF-42Rate Limiting & Throttling FrameworkYesYesYesYesBackfilled from registry completion status
PF-46Data Retention & Lifecycle ManagementYesYesYesYesBackfilled from registry completion status
PF-47Bulk Operations FrameworkYesYesYesYesBackfilled from registry completion status
PF-48Security Event Monitoring & AlertingYesYesYesYesBackfilled from registry completion status
PF-49Session Management & Device TrackingYesYesYesYesBackfilled from registry completion status
PF-50Tenant Provisioning AutomationYesYesYesYesBackfilled from registry completion status
PF-51Caching Layer & StrategyYesYesYesYesBackfilled from registry completion status
PF-52Query Performance MonitoringYesYesYesYesBackfilled from registry completion status
PF-68Configurable Website Chatbot WidgetYesYesYesYesBackfilled from registry completion status
PF-70Medical Terminology & Code LibrariesYesYesYesYesBackfilled from registry completion status
PF-71Patient Identity BoundaryYesYesYesYesBackfilled from registry completion status
PF-73Workflow Builder with Swim Lane VisualizationYesYesYesYesBackfilled from registry completion status
PF-75Credential VaultYesYesYesYesBackfilled from registry completion status
PM-04Group Session SchedulingYesYesYesYesBackfilled from registry completion status
PM-13Telehealth IntegrationYesYesYesYesBackfilled from registry completion status
PM-15Clearinghouse IntegrationYesYesYesYesBackfilled from registry completion status
PM-16Patient Statement Generation & Billing CommunicationsYesYesYesYesBackfilled from registry completion status
PM-18Configurable Claim Scrubbing & Org Edit RulesYesYesYesYesBackfilled from registry completion status
PM-19PM-Triggered Business Rule AutomationYesYesYesYesBackfilled from registry completion status
PM-20Good Faith Estimate & Price TransparencyYesYesYesYesBackfilled from registry completion status
PM-21Sliding Fee Discount Schedule ManagementYesYesYesYesBackfilled from registry completion status
PM-22Superbill & Patient Receipt GenerationYesYesYesYesBackfilled from registry completion status
PM-23Contract & Fee Schedule ManagementYesYesYesYesBackfilled from registry completion status
PM-24Batch Operations & Bulk ProcessingYesYesYesYesBackfilled from registry completion status
PM-25Value-Based Payment & APM TrackingYesYesYesYesBackfilled from registry completion status
PM-26Audit Trail & Compliance ReportingYesYesYesYesBackfilled from registry completion status
PM-27Multi-Site & Multi-NPI ConfigurationYesYesYesYesBackfilled from registry completion status
PM-28PM System Configuration & Admin SettingsYesYesYesYesBackfilled from registry completion status
RH-02Programs & Phases (120-Day Model)YesYesYesYesBackfilled from registry completion status
RH-03Safety Events, Significant Events & ComplianceYesYesYesYesBackfilled from registry completion status
RH-04Program Participation, Attendance & Daily OperationsYesYesYesYesBackfilled from registry completion status
RH-05Discharge PlanningYesYesYesYesBackfilled from registry completion status
RH-06Compliance Tracking & Staff OperationsYesYesYesYesBackfilled from registry completion status
RH-07Outcomes, Alumni & ReportingYesYesYesYesBackfilled from registry completion status

CE, FM, LO, IT (summary)

  • CE: E2E: tests/e2e/ce/.spec.ts (some in Playwright testIgnore), .test.ts; integration: ce/; unit: ce/. Playwright excludes activities, referral-attribution-flow, partner-creation-workflow.
  • FM: E2E: fleet-vehicle-journey.spec.ts; integration: fm-; unit: fm/; RLS: (FM tables if any in tests/rls).
  • LO: E2E: lo-action-dependencies.spec.ts, lo-action-status.spec.ts, lo-smart-goal-creation.test.ts; integration: lo-; unit: lo/; rls: lo-strategic-goal-smart-isolation.
  • IT: RLS: it-.rls.test.ts (many); integration: it--workflow.test.ts; unit: it/*.

Critical flows (AGENTS.md)

FlowE2E test fileRunner
Authenticationauth/authentication-flow.test.ts, login-mfa.spec.ts, registration.spec.ts, password-reset.spec.ts, onboarding.spec.tsPlaywright (auth specs) + Vitest
Multi-tenant isolationsecurity/multi-tenant-isolation.test.ts; also in invoice, payment, financial-reports specsPlaywright
Financial transactionsfa/financial-transactions.test.tsVitest
Workflow approvalsfw/approval-submit-approve-flow.spec.ts, approval-delegation.spec.tsPlaywright
Leave accrualshr/leave-accruals.test.tsVitest

Updating this matrix

  1. When adding a test that covers a spec, add or update the row for that spec and set the @spec CORE-## tag in the test file header.
  2. When completing a spec (spec-complete), ensure its row is updated and required tests exist (RLS for tables, E2E for critical flows). Run generate-test-suite {CORE-##} (dry-run first) to scaffold missing tests.
  3. Run npm run check-rls-coverage (or --missing-only) periodically to list RLS gaps; add missing RLS tests and update the matrix.
  4. See SPEC_WORKFLOW.md for the test step before spec-complete.
  5. CI gating: Add a CI job that runs npm run check-rls-coverage (or npm run check-rls-coverage -- --missing-only) as a gating step and fails the build when coverage checks report missing RLS tests. Use generate-test-suite {CORE-##} (dry-run) to scaffold fixes. Optionally configure a coverage threshold or flag so CI keeps this matrix synchronized with actual test files.