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.

Feature ID: PF-07 (Phase 2 & 3)
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)

DirectionConsumer / ProviderPatternPurpose
PF-07 → All CoresRH, FA, HR, GR, FW, FM, CLPlatform LayerFeature-level error boundaries; each core wraps its module with boundary and fallback UI.
PF-07 → AppRoot layout / AppPlatform LayerGlobal error boundary wraps <App />; fallback UI and logging.
PF-07 → AuthAuth flowsPlatform LayerStructured logger in login, logout, session refresh; correlation ID.
PF-07 → ExternalSentry (or equivalent)API / SDKPhase 3: error capture, grouping, source maps, release tracking; no PHI in payloads.
PF-36 → PF-07System Health DashboardPlatform Layer / DataPF-36 consumes PF-07 metrics and patterns; see PF-36 Integration.

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.