pub async fn serve(
store: impl WorkflowStore + 'static,
port: u16,
auth_mode: AuthMode,
) -> Result<()>Expand description
Start the HTTP server on the given port.
Legacy entry point without event-bus wiring. Kept so existing embedders
(e.g. tests / the assay-lua runtime harness) keep compiling; the engine
binary goes through serve_with_bus so dashboard SSE + dispatch-wakeup
loop have a live bus.