Spec: PF-07-error-handling-monitoring.md
Expansion Spec: PF-07-PHASE-2-3-EXPANSION.md
Last Updated: 2026-03-11
Overview
PF-07 Phase 2 wires the Phase 1 monitoring infrastructure into the app (global and feature-level error boundaries, auth logging, performance monitoring). Phase 3 adds external error tracking (Sentry or equivalent), alerting rules, and monitoring dashboards. This doc summarizes integration points implemented by the expansion.Integration Points (from Expansion Spec)
Platform Layer Usage
- Error boundaries: Global boundary in root layout or
App.tsx; feature boundaries in core module roots (RH, FA, HR, GR, FW, FM, CL). - Logging: Use platform logger in auth flows; no PHI; correlation ID on login, logout, session refresh.
- Performance: Performance monitor enabled app-wide; LCP, FID, CLS and navigation timing collected; no PII in metrics.
Related Docs
- PF-36 System Health Dashboard Integration — consumes PF-07 for metrics and patterns.
- Parent spec: PF-07 Error Handling & Monitoring.