Skip to main content
The durable domain events the platform can publish via publishEvent204 typed events across 11 areas, extracted from the KnownEventName union and reconciled against the fw_workflow_events DB registry (183 registered) and 76 publishEvent call sites (66 distinct event names published; 2 sites use a computed name). This is the generated catalog; payload contracts and when-to-use guidance live in EVENT_CONTRACTS.md. The Reg. column marks whether each typed event is registered in the DB registry, and Pub. whether a publishEvent call site references it. Divergence is summarized at the end.

HR — Workforce

RH — Recovery Housing

CL — Clinical

PM — Practice Management

FA — Finance & Revenue

GR — Governance & Compliance

FW — Forms & Workflow

IT — IT Asset Management

CE — Community Engagement

PF — Platform

Other

Registry reconciliation

Divergence across the three sources of truth — the KnownEventName union, the fw_workflow_events DB registry, and publishEvent call sites. check-event-registry-sync is the live gate for union↔DB drift; this page also surfaces the call-site dimension the typed catalog alone cannot see.

Typed but not registered in the DB (21)

In KnownEventName but absent from fw_workflow_events — consumers/edge functions cannot discover them.
  • capitation_payment_received
  • cl_care_gap_identified
  • cl_medication_synced
  • cl_outcome_assessment_recorded
  • compensation_cost_allocated
  • merit_increase_approved
  • pf_agent_run_budget_exceeded
  • pf_agent_run_checkpointed
  • pf_agent_run_completed
  • pf_agent_run_failed
  • pf_agent_run_started
  • pf_analytics_dashboard_scheduled
  • pf_analytics_dataset_registered
  • pf_analytics_embed_token_minted
  • pf_analytics_embed_token_revoked
  • pf_analytics_mart_refreshed
  • pf_analytics_report_delivered
  • pf_cowork_agent_joined
  • pf_cowork_agent_left
  • pf_cowork_thread_created
  • skill_gap_identified

Registered in the DB but not typed (0)

In fw_workflow_events but absent from KnownEventName — publishers lose type safety. None — in sync.

Published but not typed (0)

Referenced by a publishEvent call site but absent from KnownEventName. None — in sync.

Published but not registered (4)

Referenced by a publishEvent call site but absent from fw_workflow_events.
  • capitation_payment_received
  • compensation_cost_allocated
  • merit_increase_approved
  • skill_gap_identified