All commands

Project operations command

workspai project lifecycle plan

Return bounded, manifest-derived init, test, build, and start commands for all project runtime units or the closest unit containing a selected path.

Category
Project operations
Workspace Intelligence
No
Produced artifacts
0
Related contracts
2
Registration
commander
Registered options
5

Operational role

This purpose is versioned in the CLI runtime command surface. It is not inferred from page copy or a generic command template.

Return bounded, manifest-derived init, test, build, and start commands for all project runtime units or the closest unit containing a selected path.
workspai project lifecycle plan operational flowThe diagram is generated from this command's canonical invocation, declared input and output modes, artifact producers, contracts, and exit semantics.

Canonical invocation

This invocation is derived from the runtime command surface. Commands with a registered intelligence execution include their canonical evidence-producing flags.

npx workspai project lifecycle plan --json

Runtime signature

Arguments, aliases, and options come from the versioned snapshot of the live Commander tree emitted by the CLI. Contract-declared delegated commands intentionally expose only their canonical invocation.

Arguments and aliases

Aliases: None

No registered positional arguments.

Options

  • --project <path>
  • --path <relative-path>
  • --max-bytes <bytes>
  • --strict
  • --json

Output modes

Output formats are contract-declared. Raw renderer text and structured JSON are separate integration boundaries.

SelectorFormatMedia type
--json [--project <path>] [--path <relative-path>] [--max-bytes <bytes>] [--strict]jsonapplication/json

Exit semantics

Automation should use these process-level rules together with the structured report verdict.

Default

Ready plans return 0. JSON refusals are structured results; inspect status.

Strict

Require an existing in-project path and return 2 unless a scoped plan is ready.

Failure

Invalid options, project scanning errors or contract failures return 2.

Contract relationships

Capability contracts govern whether the command exists; artifact contracts govern the structured output it produces.

Produced artifacts

Artifacts are durable machine-readable outputs. Their schema, path, and producer relationship must remain stable across CLI, CI, IDE, MCP, and agent consumers.

No canonical artifact is registered for this command. Its effect may be interactive, delegated, lifecycle-oriented, or represented through workspace state rather than a standalone report.

Operational interpretation

Run this command inside the scope documented by its category. Treat declared structured output, raw renderer modes, and generated artifacts according to their published media type; human terminal prose must not be parsed as a stable contract. Consumers must preserve schema version, provenance, freshness, and verdict semantics when forwarding the result.