export type AutomationEvent = { actionId?: string type: 'panel-attached'|'modal-opened'|'action-started'|'action-complete'|'action-failed'|'panel-missing' timestamp: number payload?: any } export interface AutomationEventPublisherPort { publish(event: AutomationEvent): Promise }