miles site-create
--brief reads a Markdown brief, skips the discovery interview, and starts direction generation. Repeat --attach for logos, imagery, or source documents. --no-wait returns the running-job handle described in Jobs and safety.
In design-sandbox mode, use site-create for a separate deliverable. Do not send “build a new site” through say on an existing site.
Find, resume, and switch sites
site-attach returns ok, siteId, conversationId, phase, duplicated, and next. Add --duplicate before a broad or risky redesign. The copy becomes active and leaves the original alone.
Local mode is an exclusive target lock: build, edit, conversion, export, and browser commands continue to use the paired WordPress site. To leave it, the user must explicitly choose design-sandbox mode with miles wordpress-setup --use cloud --json.
miles site-state
siteId, conversationId, phase, status, conversationStatus, siteReady, directions, connection state, a siteCompletionPlan, credits, undoAvailable, approvalRequired, and suggested next commands.
--full adds the strategic brief, full direction details, session memory, and conversion fields. Use it after attaching a site or when an agent needs to understand where work stopped.
miles site-plan
--history to include deduplicated plan revisions and the items added, removed, or changed between them. Treat the item status as authoritative; a result reference alone does not prove that an item is complete.
miles history
total, offset, limit, and messages; each message has an id, role, and parts. Omit offset for the newest messages. Limits cap at 100.
Supporting commands
miles status [--json] is a smaller current-state check. miles messages is a legacy text-only conversation reader; use history for new integrations.
Next: Design and build.