Move the INSERT + WebSocket broadcast mechanism out of the feeder app and into plc_platform_core as pub record_event(pool, ws, EventInsert). The event table schema is owned by core, so writing to it is a platform capability — apps (feeder, future ops) should only decide what to emit, not how to persist it. Also replaces the 7-tuple in core's persist_and_broadcast with the named EventInsert struct for readability. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app_feeder_distributor | ||
| app_operation_system | ||
| plc_platform_core | ||