# Phase 4 Implementation: Hosting MVP Runtime Wiring ## Delivered - Site/domain/SSL controllers now delegate to a single workflow service. - Hosting command envelopes are generated through `HostingCommandFactory`. - Webserver profile normalization supports: - `nginx` - `apache` (`httpd` alias) - `openlitespeed` (`ols` alias) - Command orchestrator now accepts: - `DOMAIN_ADD` - `DOMAIN_REMOVE` - `WEBSERVER_RELOAD` ## Runtime flow 1. API receives request for site/domain/ssl mutation. 2. `SiteWorkflowService` validates and maps request to typed command envelope. 3. `CommandOrchestrator` assigns job metadata and enqueues dispatch payload. 4. Execution plane consumes command and performs adapter-specific operation. ## Notes - This phase intentionally keeps persistence minimal while making runtime wiring explicit. - Next step is adding provider-specific validation templates and dry-run checks before dispatch.