pub async fn run_daemon(workspace_dir: PathBuf) -> Result<()>Expand description
Legacy blocking entry point retained for tests that want to boot the MCP server with only a workspace directory (no gateway AppState).
The main daemon no longer calls this: the gateway wires the MCP task
directly via state_from_runtime + serve_on so that live runtime
handles (workspace manager, channel map, session store, …) can be
threaded in.
Attempts to load a real Construct Config. On failure falls back to the
baseline registry so the server still advertises the curated tool set.