QualityCoverage
42 days

Progress & Coverage

Requirements Traceability Matrix (PRD → code → test), test suite counts, and coverage signals.

Passing tests

5680

7 suites

Requirements with code

38/41

Requirements with tests

24/41

validation-engine coverage

99%/ 88%

Test Suites

Per-package Vitest counts. Coverage % is shown only where instrumented — never estimated.

SuiteTestsCoverageNotes
validation-engine237499% / 88%108 files: 6 gates + readiness/ceiling + critical-path/forecast/override/rule-registry/advanced. (+3 todo)
worker77789%23 files: jobs (readiness/kpi/escalation-tick/escalation/presence), schedulers, dispatch. (+5 skipped)
web938pending instrumentationRoute handlers, snapshot mapping, authed queries, auth-helpers, rate-limit.
shared-types274100%Enums, Error Contract (parseRpcResult), contract shapes.
ui865pending instrumentationComponent render tests + status helpers.
notifications27481%Dispatcher, channels (email/web-push/sms stub + Twilio), severity.
observability178pending instrumentationLogger, timing, error-reporter, analytics, tracing seams.
Total5680

Requirements Traceability Matrix

IDAreaRequirementCodeTest
R-EVTEventEvent creation + auto code + 8-state field (live: 3 seeded events render)DoneDone
R-NODENodeNode structure (≤5, is_mandatory) (live: 8 seeded nodes render)DoneDone
R-ROLERolesRole definition per node + fulfillment status (43 seeded; /roles page route still 404)DoneIn Progress
R-INVRolesInvitation system (single-use, 72h) + acceptDoneIn Progress
R-SMState Machine8-state machine, server-side boolean gates (verified on PG)DoneDone
R-G1ValidationBlocker #1 — required role unfilledDoneDone
R-G2ValidationBlocker #2 — vendor channel missing canonical instructionDoneDone
R-G6ValidationBlocker #6 — critical dependency unresolved (T-24h)DoneDone
R-G7ValidationBlocker #7 — no presence at LIVEDoneDone
R-GCValidationResource Capacity Gate (Revision 1) — verified on PGDoneDone
R-GSValidationSchedule Conflict Gate (Revision 1) — verified on PGDoneDone
R-RULEValidationGeneric rule registry (all blockers pluggable)DoneDone
R-CPDependenciesCritical path + impact previewDoneDone
R-ECContractCanonical RPC Error Contract (R2)DoneDone
R-RDYReadinessWeighted readiness score + ceilingDoneDone
R-FCReadinessReadiness forecast (ETA)DoneDone
R-RTRealtimeuseRealtimeSubscription single hook (R3) — no live push in single-image buildDoneIn Progress
R-RLSSecurityEvent-scoped RLS on every table (live: role grants in 0088)DoneDone
R-JWTSecurityUser-JWT-scoped client so RLS is enforced (E1) — keys derived from secret at bootDoneDone
R-AUTHSecurityAuth flows (login/logout/session) + middleware — GoTrue email+password login incompleteDoneIn Progress
R-RLSecurityRate limiting on sensitive endpointsDoneDone
R-CHANChannelsRealtime channels + messagesDoneIn Progress
R-TASKTasksTasks complete→verify (is_fulfilled)DoneIn Progress
R-VENDVendorInstruction versioning + supersede + conflictDoneIn Progress
R-NUGNuggetsNugget timeline (click-to-move, R4)DoneIn Progress
R-ACKAcknowledgment6-level Acknowledgment LadderDoneIn Progress
R-MCMission ControlAction Board with Recommended ActionsDoneIn Progress
R-HTTimelineEvent Health Timeline feedDoneIn Progress
R-ESCMVP02Escalation engine (timers/chains) + UIDoneIn Progress
R-NOTIMVP02Notification dispatcher (email/web-push/SMS-stub)DoneDone
R-I18NMVP02i18n EN/HE/HI + RTLDoneIn Progress
R-OFFMVP02Offline write-queue + conflict-aware syncDoneDone
R-PWAMVP02Installable PWA shell (manifest + SW)DoneIn Progress
R-OBSMVP02Observability seams (errors/analytics/traces)DoneDone
R-DEPLOYDeployStaging live (uploz-staging @62.169.27.202): web :8090, dev-admin :8091, supabase-api :8095DoneDone
R-MIGDeployMigrations 0001–0088 applied on staging PostgresDoneDone
R-SEEDDeployDB seeded (3 events, 8 nodes, 43 roles, 17 alerts, 14 nuggets, 31 activity rows)DoneDone
R-DATADeployLive app↔DB data path: event pages render real seeded dataDoneDone
R-LIVEVerificationSelf-hosted Supabase auth/realtime live (GoTrue login + live push)In ProgressTo Do
R-DRVerificationEnd-to-end dress rehearsal (i4F)To DoTo Do
R-PENVerificationPenetration test (zero critical/high)To DoTo Do