npx workspai workspace graph benchmark-suite --writeRun the fixed multi-scenario retrieval suite, preserve estimate-versus-measurement provenance, and publish the benchmark artifact.
Workspace Intelligence command
Query or export the evidence-backed workspace graph derived from the canonical model.
This purpose is versioned in the CLI runtime command surface. It is not inferred from page copy or a generic command template.
This invocation is derived from the runtime command surface. Commands with a registered intelligence execution include their canonical evidence-producing flags.
npx workspai workspace graph emit --jsonThese flag or action variants are separately described by the runtime contract but remain part of this canonical command rather than separate command pages.
npx workspai workspace graph benchmark-suite --writeRun the fixed multi-scenario retrieval suite, preserve estimate-versus-measurement provenance, and publish the benchmark artifact.
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.
This command is declared by the cross-runtime capability contract and delegated outside the npm Commander tree. Its invocation remains canonical, but runtime-specific flags are documented by the selected project adapter.
Output formats are contract-declared. Raw renderer text and structured JSON are separate integration boundaries.
| Selector | Format | Media type |
|---|---|---|
| search <query> --limit <count> --json | json | application/json |
| benchmark <query> --limit <count> --json | json | application/json |
| benchmark-suite agent-core.v1 --write --json | json | application/json |
| emit --json | json | application/json |
| explain <project> --json | json | application/json |
| entities [kind] --json | json | application/json |
| evidence <id-or-unique-label> --json | json | application/json |
| path <from> <to> --json | json | application/json |
| overlay --from <graph> --json | json | application/json |
| dot | raw-text | text/vnd.graphviz |
| mermaid | raw-text | text/vnd.mermaid |
| jsonld | raw-text | application/ld+json |
| graphml | raw-text | application/graphml+xml |
| gexf | raw-text | application/gexf+xml |
Capability contracts govern whether the command exists; artifact contracts govern the structured output it produces.
Artifacts are durable machine-readable outputs. Their schema, path, and producer relationship must remain stable across CLI, CI, IDE, MCP, and agent consumers.
| Artifact | Schema version | Contract |
|---|---|---|
| .workspai/reports/workspace-intelligence-benchmark-last-run.json | workspace-intelligence-benchmark.v1 | contracts/workspace-intelligence/workspace-intelligence-benchmark.v1.json |