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.
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 --jsonRuntime 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.
| Selector | Format | Media type |
|---|---|---|
| --json [--project <path>] [--path <relative-path>] [--max-bytes <bytes>] [--strict] | json | application/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.