workspai 0.49.0 → 0.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +123 -434
- package/contracts/analyze-last-run.v1.json +2 -2
- package/contracts/artifact-remediation-plan.v1.json +3 -9
- package/contracts/autopilot-release.v1.json +2 -0
- package/contracts/bootstrap-compliance.v1.json +2 -1
- package/contracts/cli-log-event.v1.json +1 -1
- package/contracts/cli-runtime-command-inventory.v1.snapshot.json +80 -0
- package/contracts/compatibility-matrix.v1.json +2 -0
- package/contracts/create-planner-capabilities.v1.json +153 -32
- package/contracts/doctor-project-evidence.v1.json +191 -11
- package/contracts/doctor-project-scan.v2.json +2 -0
- package/contracts/doctor-remediation-plan.v1.json +2 -2
- package/contracts/doctor-remediation-plan.v2.json +2 -2
- package/contracts/doctor-workspace-cache.v2.json +2 -0
- package/contracts/doctor-workspace-evidence.v1.json +189 -10
- package/contracts/extension-cli-compatibility.v1.json +10 -1
- package/contracts/infra-plan.v1.json +2 -0
- package/contracts/ingestion-plan.v1.json +85 -0
- package/contracts/ingestion-result.v1.json +59 -0
- package/contracts/mirror-ops.v1.json +2 -1
- package/contracts/pipeline-last-run.v1.json +2 -2
- package/contracts/private-product-manifest.v1.json +2 -0
- package/contracts/product-factory-plan.v1.json +2 -0
- package/contracts/project-archive.v1.json +2 -0
- package/contracts/project-entry-capability.v1.json +2 -3
- package/contracts/project-test-coverage.v1.json +189 -0
- package/contracts/project-workspace-link.v1.json +66 -0
- package/contracts/project-workspace-resolution.v1.json +28 -0
- package/contracts/published-contract-catalog.v1.json +45 -0
- package/contracts/release-readiness.v1.json +2 -2
- package/contracts/runtime-command-surface.v1.json +1456 -139
- package/contracts/transparency-evidence.v1.json +2 -1
- package/contracts/workspace-archive-capabilities.v1.json +11 -5
- package/contracts/workspace-archive-manifest.v1.json +236 -0
- package/contracts/workspace-archive-operation-result.v1.json +236 -0
- package/contracts/workspace-contract.v1.json +1 -1
- package/contracts/workspace-intelligence/agent-action-outcome.v1.json +2 -2
- package/contracts/workspace-intelligence/agent-customization-pack-report.v1.json +1 -1
- package/contracts/workspace-intelligence/agent-hooks.v1.json +2 -0
- package/contracts/workspace-intelligence/agent-reports-index.v1.json +1 -1
- package/contracts/workspace-intelligence/blocker-resolution.v1.json +3 -9
- package/contracts/workspace-intelligence/doctor-fix-result.v1.json +2 -2
- package/contracts/workspace-intelligence/doctor-graph-diagnosis.v1.json +208 -0
- package/contracts/workspace-intelligence/fact-freshness.v1.json +2 -2
- package/contracts/workspace-intelligence/mcp-design.v1.json +2 -0
- package/contracts/workspace-intelligence/model-usage-event.v1.json +1 -1
- package/contracts/workspace-intelligence/project-context-agent.v1.json +360 -0
- package/contracts/workspace-intelligence/studio-blocker-handoff.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-context.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-contract-verify.v1.json +2 -2
- package/contracts/workspace-intelligence/workspace-dependency-graph.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-explain.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-graph-stream.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-graph-token-efficiency.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-impact.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-intelligence-evaluation-comparison.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-intelligence-evaluation.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-intelligence-history.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-intelligence-run.v1.json +2 -2
- package/contracts/workspace-intelligence/workspace-knowledge-graph-change-overlay.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-knowledge-graph.v1.json +48 -5
- package/contracts/workspace-intelligence/workspace-knowledge-search.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-model-diff.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-model-snapshot.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-model.v1.json +97 -5
- package/contracts/workspace-intelligence/workspace-operational-skill.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-skills-index.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-verify.v1.json +1 -1
- package/contracts/workspace-intelligence-architecture.v1.json +33 -7
- package/contracts/workspace-intelligence-chain.v1.json +1 -1
- package/contracts/workspace-list.v1.json +2 -0
- package/contracts/workspace-model-cache.v1.json +2 -0
- package/contracts/workspace-registry.v1.json +1 -1
- package/contracts/workspace-run-last.v1.json +1 -1
- package/contracts/workspace-share-bundle.v1.json +2 -1
- package/contracts/workspace-snapshot.v1.json +2 -0
- package/contracts/workspace-snapshot.v2.json +2 -0
- package/contracts/workspace-sync.v1.json +2 -0
- package/contracts/workspace-watch-event.v1.json +2 -0
- package/dist/analyze-4H33PAUB.js +1 -0
- package/dist/{artifact-remediation-plan-SPOUHMK5.js → artifact-remediation-plan-TQ6KTTXD.js} +1 -1
- package/dist/autopilot-release-BHZYM5KX.js +1 -0
- package/dist/chunk-2D4UOYOJ.js +1 -0
- package/dist/chunk-2OIBHUVH.js +1 -0
- package/dist/chunk-3D2PAIRH.js +3 -0
- package/dist/chunk-3GRKUP5W.js +33 -0
- package/dist/{managed-agent-markers-AXUM75OE.js → chunk-3RBUSW7H.js} +1 -1
- package/dist/chunk-4WJC5QCD.js +2 -0
- package/dist/chunk-6HLPTJZ3.js +13 -0
- package/dist/{chunk-CV5HKU4P.js → chunk-7T4TSV5C.js} +1 -1
- package/dist/chunk-AFIFZTOY.js +2 -0
- package/dist/{chunk-BMWFQXGW.js → chunk-AHLMIL2T.js} +1 -1
- package/dist/chunk-AL237TSJ.js +7 -0
- package/dist/chunk-BBGNDMRU.js +2 -0
- package/dist/chunk-BG4FWJJ3.js +1 -0
- package/dist/{chunk-VU7NZHPM.js → chunk-BHYTI3RH.js} +1 -1
- package/dist/chunk-BYTFXQ6G.js +1 -0
- package/dist/chunk-CZC5P2MF.js +1 -0
- package/dist/chunk-DLM6C7FU.js +8 -0
- package/dist/{chunk-CRHYBQI3.js → chunk-DQ3PI7EP.js} +1 -1
- package/dist/chunk-E3CT7TYT.js +1 -0
- package/dist/chunk-EPVFKJF4.js +1 -0
- package/dist/chunk-EWZZUQBR.js +1 -0
- package/dist/chunk-FKWB66NQ.js +4 -0
- package/dist/{chunk-BGPXQQNY.js → chunk-FZ76CF2W.js} +1 -1
- package/dist/chunk-GBAO4GSW.js +2 -0
- package/dist/chunk-GQRWRHSR.js +86 -0
- package/dist/{chunk-ESLPI3XZ.js → chunk-HE4PUMU4.js} +1 -1
- package/dist/chunk-HMGPELXS.js +1 -0
- package/dist/chunk-HSZCINFX.js +2 -0
- package/dist/{chunk-3VFA7D5T.js → chunk-IND3TUVU.js} +1 -1
- package/dist/{chunk-NHN4QXPP.js → chunk-KVSYBHUR.js} +1 -1
- package/dist/chunk-L2E2Z4OE.js +5 -0
- package/dist/chunk-MAF3LLGK.js +691 -0
- package/dist/chunk-MOSXTVPU.js +1 -0
- package/dist/chunk-MVLIONQD.js +1 -0
- package/dist/chunk-PS5F4DCT.js +1 -0
- package/dist/{chunk-K4X3DM7R.js → chunk-Q6TKQVKQ.js} +1 -1
- package/dist/chunk-RJIYCDVC.js +1 -0
- package/dist/chunk-RVQLMTTI.js +2 -0
- package/dist/chunk-SHXJ2GDR.js +75 -0
- package/dist/chunk-TDTCMZK7.js +10 -0
- package/dist/chunk-TROHVI2V.js +2 -0
- package/dist/chunk-U2LR73E2.js +1 -0
- package/dist/chunk-U2QL5733.js +36 -0
- package/dist/{chunk-TIE2XMGH.js → chunk-VCW5HSPC.js} +12 -12
- package/dist/chunk-VRW6KXNK.js +6 -0
- package/dist/chunk-VU2BKKMB.js +1 -0
- package/dist/chunk-WJVB6SSD.js +16 -0
- package/dist/{chunk-32OJDBIG.js → chunk-XBM2P45G.js} +2 -2
- package/dist/chunk-Y5YAP4F3.js +2 -0
- package/dist/{create-S64IWHAP.js → create-SBFBFXKN.js} +1 -1
- package/dist/{demo-kit-DZ7TPG7K.js → demo-kit-KHH63TNA.js} +2 -2
- package/dist/{doctor-4NNUDNGZ.js → doctor-OPCMTBJB.js} +1 -1
- package/dist/{dotnet-webapi-clean-A6MVDYXX.js → dotnet-webapi-clean-VXEF4SHM.js} +5 -5
- package/dist/{gofiber-standard-I5YPQG5V.js → gofiber-standard-AQGSC7ON.js} +3 -3
- package/dist/{gogin-standard-VY2L4QT5.js → gogin-standard-7DU3OCBX.js} +3 -3
- package/dist/index.d.ts +38 -6
- package/dist/index.js +267 -355
- package/dist/managed-agent-markers-COE5DJ3W.js +1 -0
- package/dist/pipeline-7BUXAFS2.js +5 -0
- package/dist/platform-capabilities-PR6YL4KC.js +1 -0
- package/dist/project-intelligence-lens-BKKVPCLC.js +1 -0
- package/dist/project-test-coverage-BALEHHTT.js +1 -0
- package/dist/{pythonRapidkitExec-CVCIK225.js → pythonRapidkitExec-YR7P5LWG.js} +1 -1
- package/dist/rust-axum-4HXDICIB.js +140 -0
- package/dist/{springboot-standard-55XKCBIZ.js → springboot-standard-EK6GYN5T.js} +7 -7
- package/dist/workspace-U6ZQLELX.js +1 -0
- package/dist/{workspace-agent-sync-662QHXGF.js → workspace-agent-sync-L4SY7B4Q.js} +1 -1
- package/dist/workspace-archive-4JNT4S7N.js +1 -0
- package/dist/workspace-context-KOBSLZTI.js +1 -0
- package/dist/workspace-contract-SOD3OOVF.js +1 -0
- package/dist/workspace-explain-2CTMW2YW.js +1 -0
- package/dist/workspace-explain-contract-H7O26QJU.js +1 -0
- package/dist/{workspace-feedback-SUVH2LUJ.js → workspace-feedback-ZZ4HPW2T.js} +1 -1
- package/dist/{workspace-foundation-WPLD7OEO.js → workspace-foundation-PUIYBQUF.js} +1 -1
- package/dist/workspace-graph-stream-BLKIC7VN.js +1 -0
- package/dist/workspace-graph-token-efficiency-5FNH4JZ5.js +1 -0
- package/dist/{workspace-history-BANOJRQ2.js → workspace-history-SPKNRHIX.js} +1 -1
- package/dist/workspace-intelligence-I3ABOH2F.js +1 -0
- package/dist/{workspace-intelligence-evaluation-IPH7M3WV.js → workspace-intelligence-evaluation-7CABG5Y6.js} +1 -1
- package/dist/workspace-intelligence-runner-Q2XSR3ZL.js +1 -0
- package/dist/workspace-intelligence-runtime-registry-ZZ3GRAL2.js +1 -0
- package/dist/{workspace-knowledge-graph-ARDC6HHG.js → workspace-knowledge-graph-5MKEI4Z5.js} +1 -1
- package/dist/{workspace-knowledge-graph-query-VOSPPH4W.js → workspace-knowledge-graph-query-EKHIE3E2.js} +1 -1
- package/dist/{workspace-marker-SMBC3Z2Q.js → workspace-marker-7NHMDIRL.js} +1 -1
- package/dist/workspace-mcp-serve-ETNUA72W.js +3 -0
- package/dist/workspace-model-HHA37SNH.js +1 -0
- package/dist/workspace-model-hash-ZXYPIGCW.js +1 -0
- package/dist/workspace-onboarding-ELHZABJE.js +1 -0
- package/dist/{workspace-python-engine-state-2MLKJYQG.js → workspace-python-engine-state-J4QKW55K.js} +1 -1
- package/dist/workspace-readme-HGGZ4AZB.js +77 -0
- package/dist/{workspace-registry-summary-ORDK7A36.js → workspace-registry-summary-D2QM5JF6.js} +1 -1
- package/dist/workspace-run-DAAZBCN7.js +1 -0
- package/dist/{workspace-verify-EBVL7FWT.js → workspace-verify-4WJTLXRA.js} +1 -1
- package/dist/workspace-watch-2PIFTQ6B.js +1 -0
- package/docs/GLOSSARY.md +17 -16
- package/docs/OPEN_SOURCE_USER_SCENARIOS.md +8 -3
- package/docs/README.md +6 -3
- package/docs/README_CONTENT_CONTRACT.md +98 -115
- package/docs/ci-workflows.md +13 -4
- package/docs/commands-reference.md +43 -10
- package/docs/contracts/ARTIFACT_CATALOG.md +65 -26
- package/docs/contracts/COMMAND_OWNERSHIP_MATRIX.md +2 -0
- package/docs/contracts/RUNTIME_SUPPORT_MATRIX.md +3 -3
- package/docs/contracts/rapidkit-cli-contracts.json +2 -2
- package/docs/create-planner-capabilities.md +36 -5
- package/docs/creating-workspaces-and-projects.md +59 -3
- package/docs/doctor-command.md +118 -11
- package/docs/from-code-to-shared-understanding.md +4 -1
- package/docs/graph-benchmark-methodology.md +2 -2
- package/docs/workspace-intelligence-evaluation.md +5 -0
- package/docs/workspace-knowledge-graph.md +141 -7
- package/docs/workspace-operations.md +149 -10
- package/package.json +7 -4
- package/scripts/enterprise-package-smoke.mjs +24 -1
- package/templates/kits/fastapi-ddd/README.md.j2 +1 -1
- package/templates/kits/fastapi-standard/README.md.j2 +1 -1
- package/templates/kits/nestjs-standard/Dockerfile.j2 +1 -1
- package/templates/kits/nestjs-standard/README.md.j2 +1 -1
- package/templates/kits/nestjs-standard/package.json.j2 +11 -2
- package/dist/analyze-EEEU3MIF.js +0 -1
- package/dist/autopilot-release-R4XRTWEM.js +0 -1
- package/dist/chunk-22DT744Z.js +0 -1
- package/dist/chunk-37CVKXBD.js +0 -1
- package/dist/chunk-3NU32T4A.js +0 -2
- package/dist/chunk-3ZK2GU7C.js +0 -1
- package/dist/chunk-4HDYADHT.js +0 -13
- package/dist/chunk-4KUIFXHM.js +0 -5
- package/dist/chunk-52PBRX7F.js +0 -1
- package/dist/chunk-54EP5CEV.js +0 -8
- package/dist/chunk-5XATWNME.js +0 -1
- package/dist/chunk-7YHK5NM3.js +0 -2
- package/dist/chunk-AFL3ACCR.js +0 -2
- package/dist/chunk-BFLJ2R4D.js +0 -80
- package/dist/chunk-E2KJ5QWY.js +0 -4
- package/dist/chunk-EKZLUMCS.js +0 -933
- package/dist/chunk-EYJ2CQSK.js +0 -1
- package/dist/chunk-FTY7GGXJ.js +0 -33
- package/dist/chunk-FXQJX34Z.js +0 -1
- package/dist/chunk-GSWPGELT.js +0 -2
- package/dist/chunk-GZTYAEWX.js +0 -1
- package/dist/chunk-HDXNIN4N.js +0 -1
- package/dist/chunk-HZDXO65G.js +0 -36
- package/dist/chunk-J5ENLXDF.js +0 -1
- package/dist/chunk-KB44JP4M.js +0 -2
- package/dist/chunk-LHOZXC2M.js +0 -2
- package/dist/chunk-MER6ZBN2.js +0 -13
- package/dist/chunk-NAJCUQ4X.js +0 -2
- package/dist/chunk-OA537ZQ5.js +0 -1
- package/dist/chunk-OW42TZFB.js +0 -1
- package/dist/chunk-P3D5YQB2.js +0 -1
- package/dist/chunk-PHXQR6PX.js +0 -2
- package/dist/chunk-PRTR2DQ2.js +0 -1
- package/dist/chunk-RHQW3DTP.js +0 -1
- package/dist/chunk-T4YR4RAI.js +0 -2
- package/dist/chunk-WDKNMTJQ.js +0 -1
- package/dist/chunk-Y45WZR5N.js +0 -5
- package/dist/chunk-YJZOMRAS.js +0 -1
- package/dist/pipeline-LHTPE3DR.js +0 -5
- package/dist/platform-capabilities-2B4QMZXE.js +0 -1
- package/dist/workspace-PJPRBUMQ.js +0 -1
- package/dist/workspace-archive-P76EDIUG.js +0 -10
- package/dist/workspace-context-23YYCUCP.js +0 -1
- package/dist/workspace-contract-TU2I7GC2.js +0 -1
- package/dist/workspace-dependency-graph-BP4EXYQ5.js +0 -1
- package/dist/workspace-explain-MWUEN643.js +0 -1
- package/dist/workspace-explain-contract-ZPI3JXJU.js +0 -1
- package/dist/workspace-graph-stream-KAGGQPJT.js +0 -1
- package/dist/workspace-graph-token-efficiency-CFGFCJ5V.js +0 -1
- package/dist/workspace-intelligence-MFJE7W67.js +0 -1
- package/dist/workspace-intelligence-runner-OTYTHV6B.js +0 -1
- package/dist/workspace-mcp-serve-EZR6O76D.js +0 -3
- package/dist/workspace-model-7OU2M3LE.js +0 -1
- package/dist/workspace-model-hash-MHXK5MEI.js +0 -1
- package/dist/workspace-run-QND2SIYA.js +0 -1
- package/dist/workspace-watch-7HWGA5TF.js +0 -1
package/README.md
CHANGED
|
@@ -3,524 +3,213 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/workspai)
|
|
4
4
|
[](https://www.npmjs.com/package/workspai)
|
|
5
5
|
[](LICENSE)
|
|
6
|
-
[](https://workspai.dev)
|
|
7
6
|
|
|
8
7
|
## Workspace Intelligence for software systems
|
|
9
8
|
|
|
10
9
|
> One workspace. One truth. Humans and AI aligned.
|
|
11
10
|
|
|
12
|
-
Workspai is an open-source CLI that
|
|
13
|
-
|
|
14
|
-
MCP-compatible tools, and AI agents can use that same view instead of rebuilding
|
|
15
|
-
different context from scattered files.
|
|
11
|
+
Workspai is an open-source CLI that brings related software projects together,
|
|
12
|
+
so people and AI tools can understand and work with the same system.
|
|
16
13
|
|
|
17
14
|
- **See the system:** projects, runtimes, APIs, dependencies, infrastructure,
|
|
18
|
-
documentation, policies, and release state
|
|
19
|
-
- **Ask with proof:**
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
and prepare useful context for AI tools.
|
|
15
|
+
documentation, tests, policies, and release state.
|
|
16
|
+
- **Ask with proof:** search relationships and trace them back to source files.
|
|
17
|
+
- **Act with confidence:** understand impact, verify changes, and prepare focused
|
|
18
|
+
context for AI tools.
|
|
23
19
|
|
|
24
20
|
[Quickstart](#start-in-two-minutes) ·
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
[Documentation](#documentation)
|
|
29
|
-
|
|
30
|
-
## Understand Workspai in one minute
|
|
31
|
-
|
|
32
|
-
Your software system is more than a repository. It may include several
|
|
33
|
-
applications and services, shared packages, API definitions, deployment files,
|
|
34
|
-
documentation, tests, owners, and CI results. Workspai connects those parts
|
|
35
|
-
without asking an AI model to decide what is true.
|
|
36
|
-
|
|
37
|
-
| Term | Plain-language meaning |
|
|
38
|
-
| ------------------- | ------------------------------------------------------------------------------------ |
|
|
39
|
-
| **Workspace** | A home for related projects, shared rules, and saved results |
|
|
40
|
-
| **Project** | An application, service, library, or existing source folder connected to a workspace |
|
|
41
|
-
| **Workspace Model** | The main saved record of what Workspai knows about the system |
|
|
42
|
-
| **Knowledge Graph** | A searchable map built from the model, with links back to supporting files |
|
|
43
|
-
| **Evidence** | The file, observation, hash, or report that supports an answer |
|
|
44
|
-
| **Artifact** | A file under `.workspai/` that people and other tools can read |
|
|
45
|
-
|
|
46
|
-
The Workspace Model is the canonical source of truth. This means it is the main
|
|
47
|
-
saved record. The Knowledge Graph is built from that record to make
|
|
48
|
-
relationships easy to search; it is not a second truth and it is not an AI
|
|
49
|
-
guess. In the technical contract, the graph is a derived, revision-bound
|
|
50
|
-
representation of the model.
|
|
51
|
-
|
|
52
|
-
The deterministic model, graph, contracts, and verification chain do not
|
|
53
|
-
require an AI API key. Optional AI-backed features declare that dependency
|
|
54
|
-
separately.
|
|
21
|
+
[Everyday workflows](#everyday-workflows) ·
|
|
22
|
+
[How it works](#how-workspace-intelligence-works) ·
|
|
23
|
+
[Documentation](docs/README.md)
|
|
55
24
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
### 1. Install or use `npx`
|
|
59
|
-
|
|
60
|
-
```bash
|
|
61
|
-
npm install -g workspai
|
|
62
|
-
workspai --help
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
Global installation is optional. Every example below also works with
|
|
66
|
-
`npx workspai`. The separate `wspai` package is only a short alias:
|
|
25
|
+

|
|
67
26
|
|
|
68
|
-
|
|
69
|
-
npx wspai --help
|
|
70
|
-
```
|
|
27
|
+
## Start in two minutes
|
|
71
28
|
|
|
72
|
-
|
|
73
|
-
name for interactive use. This package is the active CLI in the
|
|
74
|
-
[Workspai monorepo](../../README.md).
|
|
29
|
+
### Use an existing project
|
|
75
30
|
|
|
76
|
-
|
|
31
|
+
Open the project and adopt it:
|
|
77
32
|
|
|
78
33
|
```bash
|
|
79
34
|
cd /absolute/path/to/project
|
|
80
35
|
npx workspai adopt .
|
|
81
36
|
```
|
|
82
37
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
exact `Next shell step`.
|
|
86
|
-
|
|
87
|
-
### 3. Continue from the workspace root
|
|
38
|
+
The project stays where it is. Workspai creates or reuses a minimal workspace
|
|
39
|
+
in the default system location and records a validated local link.
|
|
88
40
|
|
|
89
|
-
|
|
90
|
-
in that workspace terminal:
|
|
41
|
+
Stay in the same project directory and run the complete intelligence loop:
|
|
91
42
|
|
|
92
43
|
```bash
|
|
93
|
-
cd ~/.workspai/workspaces/workspai
|
|
94
44
|
npx workspai workspace intelligence run --for-agent generic --strict --json
|
|
95
45
|
```
|
|
96
46
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
shared files used by GitHub Copilot, VS Code, and `AGENTS.md` consumers without
|
|
100
|
-
changing the system information or the checks Workspai runs.
|
|
101
|
-
|
|
102
|
-
The run saves its results so people and tools can inspect and reuse them:
|
|
103
|
-
|
|
104
|
-
```text
|
|
105
|
-
.workspai/
|
|
106
|
-
├── workspace.json
|
|
107
|
-
├── workspace.contract.json
|
|
108
|
-
├── AGENT-GROUNDING.md
|
|
109
|
-
└── reports/
|
|
110
|
-
├── workspace-model.json
|
|
111
|
-
├── workspace-knowledge-graph.json
|
|
112
|
-
├── workspace-impact-last-run.json
|
|
113
|
-
├── workspace-verify-last-run.json
|
|
114
|
-
├── workspace-context-agent.json
|
|
115
|
-
├── workspace-intelligence-run-last-run.json
|
|
116
|
-
└── INDEX.json
|
|
117
|
-
AGENTS.md
|
|
118
|
-
```
|
|
47
|
+
Workspai now knows which workspace owns the project. You only need
|
|
48
|
+
`--workspace <path>` when a moved or ambiguous binding cannot be resolved.
|
|
119
49
|
|
|
120
|
-
|
|
121
|
-
[Unified runner guide](docs/workspace-intelligence-runner.md). A blocked result
|
|
122
|
-
is useful evidence, not a crashed command.
|
|
50
|
+
### Start new software
|
|
123
51
|
|
|
124
|
-
|
|
52
|
+
Use the guided flow:
|
|
125
53
|
|
|
126
54
|
```bash
|
|
127
|
-
npx workspai
|
|
55
|
+
npx workspai create
|
|
128
56
|
```
|
|
129
57
|
|
|
130
|
-
|
|
58
|
+
Choose whether to create a workspace, scaffold a project, or add existing
|
|
59
|
+
software. Project starters are grouped as Backend, Frontend, Desktop, and
|
|
60
|
+
Extension.
|
|
61
|
+
|
|
62
|
+
Global installation is optional:
|
|
131
63
|
|
|
132
64
|
```bash
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
npx workspai create project nextjs web --yes
|
|
65
|
+
npm install -g workspai
|
|
66
|
+
workspai --help
|
|
136
67
|
```
|
|
137
68
|
|
|
138
|
-
|
|
139
|
-
place, or use `import` to copy or clone one into the workspace. See
|
|
140
|
-
[Creating Workspaces and Projects](docs/creating-workspaces-and-projects.md)
|
|
141
|
-
for supported starters.
|
|
69
|
+
`wspai` is an optional short alias for the same CLI.
|
|
142
70
|
|
|
143
|
-
##
|
|
71
|
+
## What happens after the first run
|
|
144
72
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
[View the Mermaid source and explanation](docs/from-code-to-shared-understanding.md).
|
|
148
|
-
|
|
149
|
-
Workspai is the deterministic layer between source code and its consumers:
|
|
150
|
-
|
|
151
|
-
```text
|
|
152
|
-
Code · packages · APIs · infrastructure · docs · CI · policies
|
|
153
|
-
│
|
|
154
|
-
deterministic providers
|
|
155
|
-
│
|
|
156
|
-
facts + proofs
|
|
157
|
-
│
|
|
158
|
-
Canonical Workspace Model
|
|
159
|
-
│ │
|
|
160
|
-
│ └── Evidence-backed Knowledge Graph
|
|
161
|
-
│ │
|
|
162
|
-
└──────────┬──────────────┘
|
|
163
|
-
│
|
|
164
|
-
diff · impact · verify · context · explain
|
|
165
|
-
│
|
|
166
|
-
Developers · CI · IDEs · MCP · AI agents
|
|
167
|
-
```
|
|
168
|
-
|
|
169
|
-
| Capability | What it answers |
|
|
170
|
-
| --------------------- | ------------------------------------------------------------------------------------------- |
|
|
171
|
-
| **Model** | What projects, runtimes, frameworks, commands, policies, contracts, and dependencies exist? |
|
|
172
|
-
| **Snapshot and diff** | What changed between two known workspace states? |
|
|
173
|
-
| **Impact** | Which projects and transitive dependents are affected? |
|
|
174
|
-
| **Evidence** | What do health, analysis, contracts, and readiness reports prove? |
|
|
175
|
-
| **Verify** | Is the affected workspace ready, blocked, stale, or missing evidence? |
|
|
176
|
-
| **Context** | What should developers, IDEs, and AI agents know before acting? |
|
|
177
|
-
| **Explain** | Why is a project, change, or release blocked, and what should happen next? |
|
|
178
|
-
| **Sync** | How do tools stay aligned with the same current workspace truth? |
|
|
73
|
+
Workspai saves reusable results under `.workspai/`:
|
|
179
74
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
75
|
+
- `workspace-model.json` — the canonical description of the system.
|
|
76
|
+
- `workspace-knowledge-graph.json` — searchable relationships with proof.
|
|
77
|
+
- `workspace-verify-last-run.json` — the latest verification decision.
|
|
78
|
+
- `workspace-context-agent.json` — bounded context for agents and IDEs.
|
|
79
|
+
- `INDEX.json` — the current evidence inventory and recommended read order.
|
|
183
80
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
means **not proven by current evidence**, not "these projects are independent."
|
|
81
|
+
It also prepares `AGENTS.md` and supported agent/IDE surfaces. Developers, CI,
|
|
82
|
+
IDEs, MCP clients, and AI agents can therefore read the same current evidence.
|
|
187
83
|
|
|
188
|
-
|
|
84
|
+
A blocked result is useful evidence, not a crashed command. Workspai names what
|
|
85
|
+
is missing or failing and keeps the generated reports available for inspection.
|
|
189
86
|
|
|
190
|
-
|
|
191
|
-
[`workspace-intelligence-chain.v1.json`](contracts/workspace-intelligence-chain.v1.json):
|
|
87
|
+
## How Workspace Intelligence works
|
|
192
88
|
|
|
193
89
|
```text
|
|
194
|
-
|
|
195
|
-
|
|
90
|
+
Workspace sources
|
|
91
|
+
│
|
|
92
|
+
▼
|
|
93
|
+
Canonical Workspace Model
|
|
94
|
+
│
|
|
95
|
+
▼
|
|
96
|
+
Evidence-backed Knowledge Graph
|
|
97
|
+
│
|
|
98
|
+
▼
|
|
99
|
+
Impact · Doctor · Verify · Context · Explain
|
|
100
|
+
│
|
|
101
|
+
▼
|
|
102
|
+
Humans · CI · IDEs · MCP · AI agents
|
|
196
103
|
```
|
|
197
104
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
The execution envelope reports `sync` before Model and baseline resolution
|
|
204
|
-
after Model/before Diff as exactly two `preflight` entries. They are not extra
|
|
205
|
-
chain stages. The report always contains exactly 11 ordered `stages`; exit `0`
|
|
206
|
-
means passed, `1` is a hard execution failure, and `2` is an evidence-blocked
|
|
207
|
-
completed run. See [Unified Workspace Intelligence Runner](docs/workspace-intelligence-runner.md)
|
|
208
|
-
for the complete report, baseline, failure-propagation, and CI contract.
|
|
105
|
+
The **Workspace Model is the canonical source of truth**. The Knowledge Graph is
|
|
106
|
+
a **derived, revision-bound representation** of that model. It can add
|
|
107
|
+
proof-backed detail without becoming a second source of truth or mutating the
|
|
108
|
+
model that authorized the run.
|
|
209
109
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
the broader governance/release orchestrator (`sync → doctor → analyze → readiness
|
|
213
|
-
→ autopilot`); it is not an alias for the canonical intelligence chain.
|
|
110
|
+
A missing relationship means **not proven by current evidence**, not "these
|
|
111
|
+
projects are independent."
|
|
214
112
|
|
|
215
|
-
|
|
113
|
+
The full contract-backed chain is:
|
|
216
114
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
```bash
|
|
222
|
-
npx workspai workspace graph search "who implements the login API?" --limit 8 --json
|
|
115
|
+
```text
|
|
116
|
+
Model → Diff → Impact → Doctor + Contract Verify + Analyze → Readiness
|
|
117
|
+
→ Verify → Context → Agent Sync → Explain
|
|
223
118
|
```
|
|
224
119
|
|
|
225
|
-
|
|
226
|
-
normal questions and agent context. Workspai reports unknown or unproven
|
|
227
|
-
relationships instead of inventing an edge.
|
|
228
|
-
|
|
229
|
-
### Current measured fixture
|
|
230
|
-
|
|
231
|
-
| Measure | Observed value |
|
|
232
|
-
| ------------------------------------ | -------------: |
|
|
233
|
-
| Registered projects | 16 |
|
|
234
|
-
| Knowledge Graph entities | 1,738 |
|
|
235
|
-
| Knowledge Graph relations | 2,244 |
|
|
236
|
-
| Portable proofs | 2,106 |
|
|
237
|
-
| Readable proof-source artifacts | 392 |
|
|
238
|
-
| Corpus size (`characters / 4`) | 134,105 tokens |
|
|
239
|
-
| `api endpoint --limit 8` retrieval | 2,812 tokens |
|
|
240
|
-
| Observed retrieval payload reduction | 97.9% |
|
|
241
|
-
| Observed corpus/retrieval ratio | 47.69× |
|
|
242
|
-
|
|
243
|
-
This is a reproducible observation from one 16-project development workspace on
|
|
244
|
-
2026-07-22, not a universal token-cost, answer-quality, or task-success claim.
|
|
245
|
-
See [Graph Benchmark Methodology](docs/graph-benchmark-methodology.md) for the
|
|
246
|
-
source hash, formulas, limitations, and publication gate. Use
|
|
247
|
-
`workspace eval` when measuring provider-reported tokens, latency, cost, and a
|
|
248
|
-
verified execution outcome.
|
|
249
|
-
|
|
250
|
-
## Core Workflows
|
|
251
|
-
|
|
252
|
-
Use the complete intelligence runner for the normal end-to-end path. The
|
|
253
|
-
individual commands below are useful for inspection, automation, and targeted
|
|
254
|
-
reruns.
|
|
255
|
-
|
|
256
|
-
### Model, change, and decisions
|
|
257
|
-
|
|
258
|
-
| What you need | Command |
|
|
259
|
-
| ------------------------------------------ | ----------------------------------------------------------------------------- |
|
|
260
|
-
| Build and persist the current system model | `npx workspai workspace model --json --write` |
|
|
261
|
-
| Save a model baseline | `npx workspai workspace snapshot --json` |
|
|
262
|
-
| Compare with a baseline or Git state | `npx workspai workspace diff --from <snapshot-or-git-ref> --json` |
|
|
263
|
-
| Calculate transitive blast radius | `npx workspai workspace impact --from <diff-report> --json` |
|
|
264
|
-
| Verify affected projects and evidence | `npx workspai workspace verify --from-impact <impact-report> --json --strict` |
|
|
265
|
-
| Explain a blocker | `npx workspai workspace explain release-blocked --json --write` |
|
|
266
|
-
|
|
267
|
-
### Graph, agents, and interoperability
|
|
268
|
-
|
|
269
|
-
| What you need | Command |
|
|
270
|
-
| ----------------------------------------- | ---------------------------------------------------------------------------------------- |
|
|
271
|
-
| Inspect a project in the dependency graph | `npx workspai workspace graph explain <project> --json` |
|
|
272
|
-
| Query proof-backed workspace entities | `npx workspai workspace graph entities endpoint --json` |
|
|
273
|
-
| Retrieve bounded context for an agent | `npx workspai workspace graph search "authentication endpoint" --limit 12 --json` |
|
|
274
|
-
| Measure retrieval payload reduction | `npx workspai workspace graph benchmark "authentication endpoint" --limit 12 --json` |
|
|
275
|
-
| Start a model-usage evaluation | `npx workspai workspace eval init repair-readiness workspace-intelligence --json` |
|
|
276
|
-
| Export graph for semantic/visual tools | `npx workspai workspace graph graphml --output workspace-graph.graphml` |
|
|
277
|
-
| Trace a relationship and its evidence | `npx workspai workspace graph path <from> <to> --json` |
|
|
278
|
-
| Compare two knowledge-graph revisions | `npx workspai workspace graph overlay --from <graph.json> --json` |
|
|
279
|
-
| Generate agent-ready context | `npx workspai workspace context --for-agent --json --write` |
|
|
280
|
-
| Generate portable agent and IDE surfaces | `npx workspai workspace agent-sync --write --refresh-context --preset enterprise --json` |
|
|
281
|
-
| Expose current evidence to MCP clients | `npx workspai workspace mcp serve` |
|
|
282
|
-
|
|
283
|
-
### Governance and operations
|
|
284
|
-
|
|
285
|
-
| What you need | Command |
|
|
286
|
-
| ------------------------------------ | ----------------------------------------------------------------------------- |
|
|
287
|
-
| Run affected project tests | `npx workspai workspace run test --affected --blast-radius --json` |
|
|
288
|
-
| Run the release/governance gate | `npx workspai pipeline --json --strict` |
|
|
289
|
-
| Run the canonical intelligence chain | `npx workspai workspace intelligence run --for-agent generic --strict --json` |
|
|
290
|
-
|
|
291
|
-
`workspace verify` consumes current impact, doctor, contract, analysis, and
|
|
292
|
-
readiness evidence. Use `workspace intelligence run` for the canonical chain,
|
|
293
|
-
or `pipeline` for the broader governance/release workflow.
|
|
294
|
-
|
|
295
|
-
Other useful operational commands:
|
|
120
|
+
Run it with:
|
|
296
121
|
|
|
297
122
|
```bash
|
|
298
|
-
npx workspai
|
|
299
|
-
npx workspai setup <python|node|go|java|dotnet> [--warm-deps]
|
|
300
|
-
npx workspai workspace list
|
|
301
|
-
npx workspai cache <status|clear|prune|repair>
|
|
302
|
-
npx workspai mirror <status|sync|verify|rotate>
|
|
123
|
+
npx workspai workspace intelligence run --for-agent generic --strict --json
|
|
303
124
|
```
|
|
304
125
|
|
|
305
|
-
|
|
126
|
+
`pipeline --json --strict` is the broader release and governance workflow. It
|
|
127
|
+
complements this chain; it does not replace it.
|
|
306
128
|
|
|
307
|
-
|
|
129
|
+
The deterministic model, graph, and checks do not require an AI API key.
|
|
308
130
|
|
|
309
|
-
|
|
310
|
-
npx workspai workspace model --json --write
|
|
311
|
-
npx workspai workspace snapshot --json
|
|
312
|
-
```
|
|
131
|
+
## Everyday workflows
|
|
313
132
|
|
|
314
|
-
|
|
133
|
+
| Goal | Command |
|
|
134
|
+
| --- | --- |
|
|
135
|
+
| Use guided setup | `npx workspai create` |
|
|
136
|
+
| Link a project without moving it | `npx workspai adopt .` |
|
|
137
|
+
| Copy or clone a project into a workspace | `npx workspai import <path-or-git-url> --workspace <path>` |
|
|
138
|
+
| Check the current project | `npx workspai doctor project` |
|
|
139
|
+
| Check the whole workspace | `npx workspai doctor workspace` |
|
|
140
|
+
| Refresh Model and Graph | `npx workspai workspace model --write --json` |
|
|
141
|
+
| Ask a focused architecture question | `npx workspai workspace graph search "authentication service" --limit 12 --json` |
|
|
142
|
+
| Verify current evidence | `npx workspai workspace verify --strict --json` |
|
|
143
|
+
| Refresh agent and IDE context | `npx workspai workspace agent-sync --write --preset enterprise --json` |
|
|
315
144
|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
npx workspai workspace diff \
|
|
319
|
-
--from .workspai/reports/workspace-model-snapshot.json \
|
|
320
|
-
--json
|
|
321
|
-
npx workspai workspace impact \
|
|
322
|
-
--from .workspai/reports/workspace-model-diff-last-run.json \
|
|
323
|
-
--json
|
|
324
|
-
```
|
|
145
|
+
For every command and flag, use the
|
|
146
|
+
[Command Reference](docs/commands-reference.md).
|
|
325
147
|
|
|
326
|
-
|
|
327
|
-
developers, CI, IDEs, and agents reason over the same blast radius.
|
|
148
|
+
## Outputs and integrations
|
|
328
149
|
|
|
329
|
-
|
|
150
|
+
Workspai exposes the same governed data through several stable surfaces:
|
|
330
151
|
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
152
|
+
- human-readable terminal summaries;
|
|
153
|
+
- JSON output for scripts and CI;
|
|
154
|
+
- versioned artifacts under `.workspai/reports/`;
|
|
155
|
+
- focused context and instructions for AI agents;
|
|
156
|
+
- MCP tools for read-oriented workspace queries;
|
|
157
|
+
- watch events and reports for IDEs and dashboards;
|
|
158
|
+
- JSON, JSON-LD, Mermaid, DOT, GraphML, and GEXF graph exports.
|
|
338
159
|
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
contracts, blockers, and verification evidence used by humans and CI.
|
|
343
|
-
|
|
344
|
-
For a user-focused graph quickstart, AI output paths, performance boundaries,
|
|
345
|
-
and reproducible token-efficiency methodology, see the
|
|
346
|
-
[Workspace Knowledge Graph guide](docs/workspace-knowledge-graph.md) and
|
|
347
|
-
[Graph Benchmark Methodology](docs/graph-benchmark-methodology.md).
|
|
348
|
-
|
|
349
|
-
## Outputs and Consumers
|
|
350
|
-
|
|
351
|
-
Workspai separates human output, machine output, and durable cross-tool state:
|
|
352
|
-
|
|
353
|
-
| Output | Primary consumers |
|
|
354
|
-
| ----------------------------------------- | -------------------------------------------------- |
|
|
355
|
-
| CLI summaries and next actions | Developers and operators |
|
|
356
|
-
| JSON stdout | Scripts, CI jobs, IDE command bridges, and agents |
|
|
357
|
-
| Exit codes | CI and release gates |
|
|
358
|
-
| Persisted `.workspai/reports/*` artifacts | Developers, CI, IDEs, dashboards, and agents |
|
|
359
|
-
| Generated grounding files | Copilot, Cursor, Claude, Codex, and other AI tools |
|
|
360
|
-
| MCP stdio tools | MCP-compatible clients |
|
|
361
|
-
| Workspace watch events | Incremental IDE and automation consumers |
|
|
362
|
-
|
|
363
|
-
Important durable outputs:
|
|
364
|
-
|
|
365
|
-
| Artifact | Producer | Used for |
|
|
366
|
-
| ------------------------------------------------------------------- | ------------------------------ | ------------------------------------------------ |
|
|
367
|
-
| `.workspai/reports/workspace-model.json` | `workspace model --write` | Canonical system structure |
|
|
368
|
-
| `.workspai/reports/workspace-knowledge-graph.json` | `workspace model --write` | Proof-backed retrieval and MCP |
|
|
369
|
-
| `.workspai/reports/workspace-model-diff-last-run.json` | `workspace diff` | Structural change evidence |
|
|
370
|
-
| `.workspai/reports/workspace-impact-last-run.json` | `workspace impact` | Blast radius and affected scope |
|
|
371
|
-
| `.workspai/reports/workspace-verify-last-run.json` | `workspace verify` | Structured verification gate |
|
|
372
|
-
| `.workspai/reports/workspace-context-agent.json` | `workspace context --write` | Canonical agent context |
|
|
373
|
-
| `.workspai/reports/INDEX.json` | `workspace agent-sync --write` | Agent read order and report discovery |
|
|
374
|
-
| `.workspai/reports/workspace-explain-last-run.json` | `workspace explain --write` | Evidence-backed narrative |
|
|
375
|
-
| `.workspai/reports/workspace-intelligence-history.json` | Verify and feedback flows | Trends and audit history |
|
|
376
|
-
| `.workspai/reports/workspace-intelligence-evaluation-live.json` | `workspace eval init/record` | Live provider/tokenizer usage and activity |
|
|
377
|
-
| `.workspai/reports/workspace-intelligence-evaluation-last-run.json` | `workspace eval report` | Final usage, cost, and verified outcome evidence |
|
|
378
|
-
| `.workspai/reports/pipeline-last-run.json` | `pipeline --json` | CI and release workflow result |
|
|
379
|
-
|
|
380
|
-
See the [Artifact Catalog](docs/contracts/ARTIFACT_CATALOG.md) for the complete
|
|
381
|
-
writer, schema, and consumer map.
|
|
382
|
-
|
|
383
|
-
### Graph interchange formats
|
|
384
|
-
|
|
385
|
-
The canonical persisted graph is JSON. Explicit projections make the same
|
|
386
|
-
governed data usable in documentation, semantic systems, and visualization
|
|
387
|
-
tools without changing the source of truth:
|
|
388
|
-
|
|
389
|
-
| Format | Typical use | Command selector |
|
|
390
|
-
| ------- | --------------------------------------- | ----------------------------- |
|
|
391
|
-
| JSON | Canonical artifact and programmatic use | `workspace graph emit --json` |
|
|
392
|
-
| JSON-LD | Semantic-web and linked-data tools | `workspace graph jsonld` |
|
|
393
|
-
| Mermaid | Markdown documentation and diagrams | `workspace graph mermaid` |
|
|
394
|
-
| DOT | Graphviz rendering | `workspace graph dot` |
|
|
395
|
-
| GraphML | General graph analysis tools | `workspace graph graphml` |
|
|
396
|
-
| GEXF | Exploration and visualization tools | `workspace graph gexf` |
|
|
397
|
-
|
|
398
|
-
## Onboard Software
|
|
399
|
-
|
|
400
|
-
All onboarding routes feed the same Workspace Intelligence model.
|
|
401
|
-
|
|
402
|
-
| Route | Use it when | Example |
|
|
403
|
-
| ---------------- | ------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
404
|
-
| Adopt | Existing source should stay in place | `npx workspai adopt /path/to/project --json` |
|
|
405
|
-
| Import local | Existing source should be copied into a workspace | `npx workspai import ../orders-api --workspace /path/to/workspace --json` |
|
|
406
|
-
| Import Git | A repository should be cloned into a workspace | `npx workspai import https://github.com/acme/orders-api.git --git --workspace /path/to/workspace --json` |
|
|
407
|
-
| Create workspace | You need a new governed boundary | `npx workspai create workspace my-workspace --profile polyglot --yes` |
|
|
408
|
-
| Create project | You need a supported new scaffold | `npx workspai create project nextjs web --yes` |
|
|
409
|
-
| Interactive | You want Workspai to guide the choice | `npx workspai create` |
|
|
410
|
-
|
|
411
|
-
Adopt never moves or copies source. Create can use a Workspai-managed kit or an
|
|
412
|
-
available official ecosystem generator. Unsupported native create requests are
|
|
413
|
-
directed toward official tooling followed by adoption.
|
|
414
|
-
|
|
415
|
-
Detailed onboarding behavior:
|
|
416
|
-
|
|
417
|
-
- [Creating Workspaces and Projects](docs/creating-workspaces-and-projects.md)
|
|
418
|
-
- [Workspace Operations](docs/workspace-operations.md)
|
|
419
|
-
- [Create Planner Capabilities](docs/create-planner-capabilities.md)
|
|
420
|
-
|
|
421
|
-
## Integrations
|
|
422
|
-
|
|
423
|
-
- **AI tools:** Generate context, `AGENTS.md`, instructions, skills, and tool-specific surfaces with `workspace agent-sync`.
|
|
424
|
-
- **CI:** Consume structured reports and exit codes with `pipeline --json --strict`.
|
|
425
|
-
- **IDEs:** Read the same model, impact, verification, contract, and context artifacts used by CI.
|
|
426
|
-
- **MCP:** Expose read-mostly workspace evidence with `workspace mcp serve`.
|
|
427
|
-
- **VS Code:** Use the [Workspai extension](https://marketplace.visualstudio.com/items?itemName=rapidkit.rapidkit-vscode) for dashboards, impact, evidence, guided workflows, and Incident Studio.
|
|
428
|
-
|
|
429
|
-
The VS Code extension invokes this npm CLI, so command-line and visual workflows
|
|
430
|
-
share the same contracts and artifacts.
|
|
431
|
-
|
|
432
|
-
The Marketplace listing may temporarily retain legacy `rapidkit` wording. The
|
|
433
|
-
canonical package, command, metadata namespace, and Node.js requirement are the
|
|
434
|
-
`workspai`, `.workspai`, and Node.js `>=20.19.0` contracts documented here.
|
|
160
|
+
The [Workspai VS Code extension](https://marketplace.visualstudio.com/items?itemName=rapidkit.rapidkit-vscode)
|
|
161
|
+
uses this CLI, so visual and terminal workflows share the same contracts and
|
|
162
|
+
artifacts.
|
|
435
163
|
|
|
436
164
|
## Requirements
|
|
437
165
|
|
|
438
166
|
- Node.js `>=20.19.0`
|
|
439
167
|
- npm
|
|
440
|
-
- Python `>=3.10` only for Python/Core-dependent workflows
|
|
441
|
-
- Java, Go, or .NET SDK only when operating those project types
|
|
442
168
|
|
|
443
|
-
Python
|
|
444
|
-
|
|
445
|
-
|
|
169
|
+
Python, Go, Java, .NET, Rust, or PHP are needed only for workflows that use
|
|
170
|
+
those runtimes. Python is not required for Python-free workspaces or npm-owned
|
|
171
|
+
project generators.
|
|
446
172
|
|
|
447
|
-
RapidKit Core is the optional Python engine
|
|
448
|
-
|
|
173
|
+
RapidKit Core is the optional Python engine for Python/Core-dependent kits and
|
|
174
|
+
modules; Workspai remains the workspace-level CLI.
|
|
449
175
|
|
|
450
176
|
## Documentation
|
|
451
177
|
|
|
452
|
-
|
|
|
453
|
-
|
|
|
454
|
-
| [
|
|
455
|
-
| [
|
|
456
|
-
|
|
|
457
|
-
| [Workspace
|
|
458
|
-
| [
|
|
459
|
-
| [
|
|
460
|
-
| [
|
|
461
|
-
| [Workspace Intelligence Evaluation](docs/workspace-intelligence-evaluation.md) | Live token, cost, activity, and verified-outcome measurements |
|
|
462
|
-
| [Glossary](docs/GLOSSARY.md) | Plain-language meanings for model, graph, evidence, and gates |
|
|
463
|
-
| [Doctor command](docs/doctor-command.md) | Health checks, evidence, fixes, and exit codes |
|
|
464
|
-
| [CI workflows](docs/ci-workflows.md) | CI examples and repository validation |
|
|
465
|
-
| [Configuration](docs/config-file-guide.md) | User configuration and precedence |
|
|
466
|
-
| [Open-source scenarios](docs/OPEN_SOURCE_USER_SCENARIOS.md) | Role-oriented examples |
|
|
467
|
-
| [Artifact Catalog](docs/contracts/ARTIFACT_CATALOG.md) | Canonical files, writers, schemas, and readers |
|
|
468
|
-
|
|
469
|
-
Repository workflows include
|
|
470
|
-
[`.github/workflows/ci.yml`](../../.github/workflows/ci.yml),
|
|
471
|
-
[`.github/workflows/workspace-e2e-matrix.yml`](../../.github/workflows/workspace-e2e-matrix.yml),
|
|
472
|
-
[`.github/workflows/windows-bridge-e2e.yml`](../../.github/workflows/windows-bridge-e2e.yml),
|
|
473
|
-
[`.github/workflows/e2e-smoke.yml`](../../.github/workflows/e2e-smoke.yml),
|
|
474
|
-
[`.github/workflows/frontend-generator-smoke.yml`](../../.github/workflows/frontend-generator-smoke.yml),
|
|
475
|
-
[`.github/workflows/security.yml`](../../.github/workflows/security.yml), and the
|
|
476
|
-
maintainer-only
|
|
477
|
-
[`.github/workflows/release-npm-manual.yml`](../../.github/workflows/release-npm-manual.yml).
|
|
478
|
-
See [CI Workflows](docs/ci-workflows.md) for the complete validation and
|
|
479
|
-
contributor-automation map.
|
|
178
|
+
| Goal | Guide |
|
|
179
|
+
| --- | --- |
|
|
180
|
+
| Learn the main terms | [Glossary](docs/GLOSSARY.md) |
|
|
181
|
+
| Create, adopt, import, or connect software | [Creating workspaces and projects](docs/creating-workspaces-and-projects.md) |
|
|
182
|
+
| Query Graph and inspect proof | [Workspace Knowledge Graph](docs/workspace-knowledge-graph.md) |
|
|
183
|
+
| Understand the exact decision loop | [Workspace Intelligence runner](docs/workspace-intelligence-runner.md) |
|
|
184
|
+
| Integrate CI | [CI workflows](docs/ci-workflows.md) |
|
|
185
|
+
| Find generated files and schemas | [Artifact Catalog](docs/contracts/ARTIFACT_CATALOG.md) |
|
|
186
|
+
| Browse all documentation | [Documentation index](docs/README.md) |
|
|
480
187
|
|
|
481
188
|
## Troubleshooting
|
|
482
189
|
|
|
483
|
-
| Problem
|
|
484
|
-
|
|
|
485
|
-
|
|
|
486
|
-
|
|
|
487
|
-
|
|
|
488
|
-
|
|
|
489
|
-
|
|
|
490
|
-
| Reports are stale | Report timestamps | Re-run `workspace intelligence run` or the documented producing command |
|
|
491
|
-
| AI tools ignore workspace evidence | `AGENTS.md` and `.workspai/reports/INDEX.json` | Run `workspace agent-sync --write --refresh-context` |
|
|
492
|
-
| Project generator fails | Runtime and network output | Fix the reported prerequisite, then retry or create officially and adopt |
|
|
493
|
-
|
|
494
|
-
For command-specific behavior, use the
|
|
495
|
-
[Command Reference](docs/commands-reference.md) and
|
|
496
|
-
[Documentation Index](docs/README.md).
|
|
497
|
-
|
|
498
|
-
## Contributing and Support
|
|
190
|
+
| Problem | Next step |
|
|
191
|
+
| --- | --- |
|
|
192
|
+
| The workspace is not detected | Run from the project/workspace or inspect `npx workspai project workspace status --json` |
|
|
193
|
+
| A check reports stale evidence | Re-run the complete Workspace Intelligence command |
|
|
194
|
+
| A runtime is missing | Install only the runtime required by that project |
|
|
195
|
+
| An agent cannot find current context | Run `npx workspai workspace agent-sync --write --refresh-context --json` |
|
|
196
|
+
| You need a specific flag | Open the [Command Reference](docs/commands-reference.md) |
|
|
499
197
|
|
|
500
|
-
|
|
501
|
-
support, contracts, documentation, tests, and Workspace Intelligence workflows
|
|
502
|
-
are welcome. Workspai is built by [Chistiq](https://chistiq.com/).
|
|
198
|
+
## Contributing
|
|
503
199
|
|
|
504
|
-
|
|
200
|
+
Workspai is developed in the open by
|
|
201
|
+
[Chistiq](https://chistiq.com/), the intelligence infrastructure company behind
|
|
202
|
+
RapidKit and Workspai.
|
|
505
203
|
|
|
506
204
|
```bash
|
|
507
205
|
npm ci
|
|
508
206
|
npm run build
|
|
509
207
|
npm test
|
|
510
|
-
npm run validate
|
|
511
208
|
```
|
|
512
209
|
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
the monorepo root.
|
|
517
|
-
|
|
518
|
-
- Read [CONTRIBUTING.md](https://github.com/chistiq/workspai/blob/main/packages/cli/CONTRIBUTING.md) before submitting changes.
|
|
519
|
-
- Use [GitHub Issues](https://github.com/chistiq/workspai/issues) for reproducible bugs and feature requests.
|
|
520
|
-
- Use [GitHub Discussions](https://github.com/chistiq/workspai/discussions) for questions and design conversations.
|
|
521
|
-
- Read the [Development Guide](docs/DEVELOPMENT.md) for local workflows.
|
|
522
|
-
- Report vulnerabilities through the [Security Policy](docs/SECURITY.md), not a public issue.
|
|
523
|
-
- Review the [Changelog](https://github.com/chistiq/workspai/blob/main/packages/cli/CHANGELOG.md) before upgrading.
|
|
210
|
+
Read [CONTRIBUTING.md](CONTRIBUTING.md), the
|
|
211
|
+
[Development Guide](docs/DEVELOPMENT.md), and the
|
|
212
|
+
[Security Policy](docs/SECURITY.md).
|
|
524
213
|
|
|
525
214
|
## License
|
|
526
215
|
|