Workspai.dev

Infrastructure Operations

Plan, inspect, start, and stop governed infrastructure without confusing runtime provisioning with Workspace Intelligence evidence.

Infrastructure is an execution domain beside Workspace Intelligence. The Model can describe infrastructure relationships and evidence, but infra owns the bounded plan and runtime operation.

npx workspai infra plan --json
npx workspai infra status --json

Planning validates the selected stack and produces an inspectable plan without claiming that services are running. Apply or stop the planned stack explicitly:

npx workspai infra up --json
npx workspai infra down --json

Infrastructure results do not replace Doctor, lifecycle, Readiness, or Verify. After an operation changes observable state, refresh the relevant evidence and run the governed gate that consumes it.

Secrets, provider credentials, and machine-local endpoints remain outside portable workspace contracts. A missing provider or executable fails with an actionable requirement instead of silently selecting another backend.

Command reference: infra, infra plan, and infra status.