npx workspai workspace agent-sync --write --json --preset enterpriseGenerate the enterprise agent-grounding pack, persist every governed artifact, and emit a structured result.
Workspace Intelligence command
Project current workspace context into governed agent instructions, reports, skills, and integration files.
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 agent-syncThese 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 agent-sync --write --json --preset enterpriseGenerate the enterprise agent-grounding pack, persist every governed artifact, and emit a structured result.
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.
Capability contracts govern whether the command exists; artifact contracts govern the structured output it produces.
contracts/runtime-command-surface.v1.jsonContractcontracts/command-capabilities.v1.jsonContractcontracts/workspace-intelligence/agent-hooks.v1.jsonContractcontracts/workspace-intelligence/agent-customization-pack-report.v1.jsonContractcontracts/workspace-intelligence/agent-reports-index.v1.jsonContractcontracts/workspace-intelligence/workspace-skills-index.v1.jsonArtifacts 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 |
|---|---|---|
| .vscode/workspai-agent-hooks.json | workspai-agent-hooks.v1 | contracts/workspace-intelligence/agent-hooks.v1.json |
| .workspai/reports/agent-customization-pack.json | rapidkit-agent-customization-pack.v1 | contracts/workspace-intelligence/agent-customization-pack-report.v1.json |
| .workspai/reports/INDEX.json | rapidkit-agent-reports-index.v1 | contracts/workspace-intelligence/agent-reports-index.v1.json |
| .workspai/reports/workspace-skills-index.json | workspace-skills-index.v1 | contracts/workspace-intelligence/workspace-skills-index.v1.json |