workspai 0.58.0 → 0.59.1
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 +80 -32
- package/contracts/agent-customization-pack.v1.json +52 -4
- package/contracts/cli-runtime-command-inventory.v1.snapshot.json +90 -0
- package/contracts/extension-cli-compatibility.v1.json +3 -1
- package/contracts/project-workspace-resolution.v1.json +15 -2
- package/contracts/published-contract-catalog.v1.json +10 -0
- package/contracts/runtime-command-surface.v1.json +54 -0
- package/contracts/workspace-intelligence/agent-bootstrap-receipt.v1.json +247 -0
- package/contracts/workspace-intelligence/agent-customization-pack-report.v1.json +16 -1
- package/contracts/workspace-intelligence/goal-index.v1.json +7 -1
- package/contracts/workspace-intelligence/goal-pack.v1.json +2 -1
- package/contracts/workspace-intelligence/project-agent-entry.v1.json +204 -0
- package/contracts/workspace-intelligence/project-context-agent.v1.json +43 -26
- package/contracts/workspace-intelligence/workspace-context.v1.json +14 -1
- package/contracts/workspace-intelligence/workspace-repair-transaction.v1.json +15 -2
- package/contracts/workspace-repair-capabilities.v1.json +5 -0
- package/dist/analyze-52TEGLDR.js +1 -0
- package/dist/{artifact-remediation-plan-JRX4XZ7C.js → artifact-remediation-plan-HPNQTNJ2.js} +1 -1
- package/dist/autopilot-release-NFLAKBA3.js +1 -0
- package/dist/capabilities-command-VBLZXP2T.js +1 -0
- package/dist/{chunk-TTLVG5AR.js → chunk-3CGR6435.js} +1 -1
- package/dist/chunk-4PUJVYRM.js +1 -0
- package/dist/{chunk-4NN5QWOB.js → chunk-5NIZNXRS.js} +1 -1
- package/dist/{chunk-HYY5PQCV.js → chunk-5PSKBJKJ.js} +1 -1
- package/dist/{chunk-AA4PNQKR.js → chunk-5SFCBZOH.js} +1 -1
- package/dist/{chunk-MFJ6ZP7S.js → chunk-6FBNSTUS.js} +1 -1
- package/dist/{chunk-FY6OHOXR.js → chunk-7DSYI7YN.js} +1 -1
- package/dist/chunk-7SFXADXO.js +2 -0
- package/dist/{chunk-GRGUPSNP.js → chunk-CCDGHPEJ.js} +1 -1
- package/dist/{chunk-T63WRURN.js → chunk-D65FCQIO.js} +1 -1
- package/dist/{chunk-YYCPRYP7.js → chunk-DGGTTRYE.js} +1 -1
- package/dist/chunk-DQ6VXTDE.js +1 -0
- package/dist/{chunk-SM55RK3C.js → chunk-ENKGGWRX.js} +1 -1
- package/dist/chunk-FLTIFYTJ.js +142 -0
- package/dist/{chunk-RMDVRNU7.js → chunk-GPOZILMY.js} +1 -1
- package/dist/{chunk-C4NYG57I.js → chunk-HCFWT42C.js} +1 -1
- package/dist/{chunk-RJDGC6AQ.js → chunk-HS3DJMU5.js} +1 -1
- package/dist/{chunk-HI7ONEFI.js → chunk-J3X56S7L.js} +1 -1
- package/dist/{chunk-N3DFX4BY.js → chunk-KBR4Y4RW.js} +1 -1
- package/dist/{chunk-H545P6LN.js → chunk-KTN2ARZJ.js} +1 -1
- package/dist/chunk-LPCWROQ3.js +1 -0
- package/dist/chunk-MZKKRAAJ.js +2 -0
- package/dist/{chunk-LGJAAPNR.js → chunk-N4QQADXX.js} +1 -1
- package/dist/{chunk-FXIE2WVG.js → chunk-NOZ4JCH7.js} +1 -1
- package/dist/chunk-NZ3WZYD5.js +1 -0
- package/dist/{chunk-VAWV3UKV.js → chunk-OFWSZYUX.js} +1 -1
- package/dist/{chunk-XC26FNRL.js → chunk-P2WH7W2H.js} +11 -11
- package/dist/chunk-PVXSIYLP.js +1 -0
- package/dist/{chunk-7KXRA5ST.js → chunk-PXWKMPPI.js} +1 -1
- package/dist/{chunk-II4ROT6X.js → chunk-QCKWQFCD.js} +1 -1
- package/dist/{chunk-4YICCES6.js → chunk-QFBVQUKV.js} +1 -1
- package/dist/{chunk-G4VMNWSU.js → chunk-QJCCZLOF.js} +1 -1
- package/dist/{chunk-A3JCETSF.js → chunk-QMPFNXI7.js} +1 -1
- package/dist/{chunk-CFBAGPB4.js → chunk-QPE6VCDW.js} +1 -1
- package/dist/chunk-RTDEFUTL.js +39 -0
- package/dist/{chunk-YMY6EFX4.js → chunk-RVKMGKYL.js} +1 -1
- package/dist/chunk-S4CWUZ4K.js +1 -0
- package/dist/{chunk-EEMRRCGR.js → chunk-SP5EHSWG.js} +1 -1
- package/dist/{chunk-CHMCKYJJ.js → chunk-U3MGJN7A.js} +1 -1
- package/dist/{chunk-WSDVFLHT.js → chunk-W6FHVXNL.js} +1 -1
- package/dist/{chunk-M2BK3XTP.js → chunk-WQX3JYEP.js} +1 -1
- package/dist/{chunk-AUCHMXUZ.js → chunk-WSRUPDZN.js} +1 -1
- package/dist/{chunk-6TNSCVR4.js → chunk-Y4B55J5S.js} +1 -1
- package/dist/{chunk-GVS5OFUB.js → chunk-YEEAWZWI.js} +1 -1
- package/dist/{chunk-I5PDN2P2.js → chunk-ZJCM37KX.js} +1 -1
- package/dist/{create-QIN56Y4M.js → create-HUEDWYDM.js} +1 -1
- package/dist/{doctor-RP4Q2CKJ.js → doctor-NAZEKMGU.js} +1 -1
- package/dist/goal-lifecycle-NUKWVUAL.js +1 -0
- package/dist/goal-pack-TWOXHXN6.js +1 -0
- package/dist/index.d.ts +8 -1
- package/dist/index.js +134 -132
- package/dist/{pipeline-77NUVYQD.js → pipeline-62A2SDLC.js} +1 -1
- package/dist/project-agent-entry-7SYHRY7J.js +1 -0
- package/dist/{project-intelligence-lens-AM2B2PXU.js → project-intelligence-lens-BSG5LK6N.js} +1 -1
- package/dist/{project-test-coverage-MUSS7Z7V.js → project-test-coverage-HP37HUV2.js} +1 -1
- package/dist/{verified-goal-ZSIZYNVO.js → verified-goal-B6HQOZWA.js} +1 -1
- package/dist/{workspace-LFESVKE7.js → workspace-BNRSBWSL.js} +1 -1
- package/dist/{workspace-agent-sync-JMRX6J2Y.js → workspace-agent-sync-ANBHBZ2H.js} +1 -1
- package/dist/{workspace-archive-MFHCFCDO.js → workspace-archive-ZBCKJHXS.js} +1 -1
- package/dist/{workspace-context-TBKRMVMT.js → workspace-context-RAO62QVU.js} +1 -1
- package/dist/{workspace-contract-KKVC2DUQ.js → workspace-contract-ACSIHJIO.js} +1 -1
- package/dist/workspace-explain-RH27OQB4.js +1 -0
- package/dist/workspace-explain-contract-ZL4NMLZI.js +1 -0
- package/dist/{workspace-feedback-O6J3RQML.js → workspace-feedback-RQ4TGJW6.js} +1 -1
- package/dist/{workspace-foundation-JQWT7YGC.js → workspace-foundation-EWYJPPT6.js} +1 -1
- package/dist/{workspace-graph-stream-V5WOXP4B.js → workspace-graph-stream-ZZZEQQTE.js} +1 -1
- package/dist/workspace-graph-token-efficiency-D7CUT6NX.js +1 -0
- package/dist/{workspace-history-TOCRMJUJ.js → workspace-history-SYCDK7FO.js} +1 -1
- package/dist/{workspace-intelligence-SDBIRKMK.js → workspace-intelligence-3YERTBA3.js} +1 -1
- package/dist/{workspace-intelligence-evaluation-E4UMWDAZ.js → workspace-intelligence-evaluation-CQDKOYZZ.js} +1 -1
- package/dist/{workspace-intelligence-runner-DIMNL6CJ.js → workspace-intelligence-runner-QLLBUD6G.js} +1 -1
- package/dist/{workspace-intelligence-runtime-registry-YGWB2RRS.js → workspace-intelligence-runtime-registry-IW6J53LO.js} +1 -1
- package/dist/{workspace-knowledge-graph-MUW6UAGI.js → workspace-knowledge-graph-HZZP6ZRB.js} +1 -1
- package/dist/{workspace-knowledge-graph-query-6DAOXGGT.js → workspace-knowledge-graph-query-ON45H6Y7.js} +1 -1
- package/dist/workspace-knowledge-graph-snapshot-7DWHMEM2.js +1 -0
- package/dist/{workspace-mcp-serve-2SWLIH4I.js → workspace-mcp-serve-5TTAN243.js} +1 -1
- package/dist/{workspace-model-VPFCKTYQ.js → workspace-model-EIQSKDX7.js} +1 -1
- package/dist/{workspace-onboarding-GHI6UTQJ.js → workspace-onboarding-UW3CSURE.js} +1 -1
- package/dist/{workspace-readme-RASXBZRQ.js → workspace-readme-56YZ4EAZ.js} +1 -1
- package/dist/{workspace-registry-summary-7QT7YMIU.js → workspace-registry-summary-OV5KX3WC.js} +1 -1
- package/dist/workspace-repair-engine-DHH2UUJN.js +3 -0
- package/dist/workspace-run-BLHRXT2N.js +1 -0
- package/dist/{workspace-verify-RYCQZYYB.js → workspace-verify-W4P6LBIH.js} +1 -1
- package/dist/{workspace-watch-U3YGN3GG.js → workspace-watch-EZ4D4VCF.js} +1 -1
- package/docs/GLOSSARY.md +13 -10
- package/docs/README.md +24 -19
- package/docs/README_CONTENT_CONTRACT.md +12 -8
- package/docs/agent-entry.md +194 -0
- package/docs/ci-workflows.md +18 -1
- package/docs/commands-reference.md +26 -2
- package/docs/contracts/ARTIFACT_CATALOG.md +9 -3
- package/docs/contracts/COMMAND_OWNERSHIP_MATRIX.md +3 -0
- package/docs/contracts/README.md +22 -2
- package/docs/goal-packs.md +70 -9
- package/docs/workspace-operations.md +16 -8
- package/docs/workspace-repair-engine.md +36 -5
- package/package.json +4 -2
- package/scripts/enterprise-package-smoke.mjs +4 -0
- package/dist/analyze-MAU36FTX.js +0 -1
- package/dist/autopilot-release-TA2L7SCB.js +0 -1
- package/dist/capabilities-command-HE2FICLG.js +0 -1
- package/dist/chunk-42Q5E2YV.js +0 -1
- package/dist/chunk-7IRGSM25.js +0 -1
- package/dist/chunk-CNWUIXF3.js +0 -1
- package/dist/chunk-FPJNWPKU.js +0 -1
- package/dist/chunk-HH54C3XJ.js +0 -1
- package/dist/chunk-NQ5H4R2I.js +0 -83
- package/dist/chunk-PCXBPQO6.js +0 -1
- package/dist/chunk-QXW3SLEX.js +0 -1
- package/dist/chunk-TMOKXYAQ.js +0 -2
- package/dist/chunk-VIFTO53Y.js +0 -1
- package/dist/chunk-ZDYGO3T7.js +0 -36
- package/dist/goal-lifecycle-YTBU3ICP.js +0 -1
- package/dist/goal-pack-MYYH7K43.js +0 -1
- package/dist/workspace-explain-RGGZL5IW.js +0 -1
- package/dist/workspace-explain-contract-4ZZ6CJ44.js +0 -1
- package/dist/workspace-graph-token-efficiency-TF23UYEF.js +0 -1
- package/dist/workspace-knowledge-graph-snapshot-7IU2QAXI.js +0 -1
- package/dist/workspace-repair-engine-AZTJIFCY.js +0 -3
- package/dist/workspace-run-VMZY6LIF.js +0 -1
package/README.md
CHANGED
|
@@ -18,6 +18,10 @@ npx workspai adopt .
|
|
|
18
18
|
npx workspai workspace intelligence run --for-agent generic
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
+
`generic` is the safe default when you do not yet know which agent will use the
|
|
22
|
+
project: Workspai builds one portable context and prepares discovery adapters
|
|
23
|
+
for every supported host, without duplicating the Model or Graph.
|
|
24
|
+
|
|
21
25
|
A single run gives developers and tools the same operational picture:
|
|
22
26
|
|
|
23
27
|
```text
|
|
@@ -96,6 +100,34 @@ workspai --help
|
|
|
96
100
|
|
|
97
101
|
`wspai` is an optional short alias for the same CLI.
|
|
98
102
|
|
|
103
|
+
## Give your agent a goal—not an open-ended prompt
|
|
104
|
+
|
|
105
|
+
Describe the outcome in plain language from the adopted project:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
npx workspai goal "Raise test coverage to 85%" --for-agent generic
|
|
109
|
+
# Or pursue feature, defect, refactor, performance, documentation, or
|
|
110
|
+
# system-understanding outcomes in the same governed flow.
|
|
111
|
+
npx workspai goal "Add retry with exponential backoff" --for-agent generic
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
Workspai turns it into a bounded, evidence-backed handoff:
|
|
115
|
+
|
|
116
|
+
```text
|
|
117
|
+
Intent → project scope → proof-backed context → governed plan → safe execution
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
The agent gets a focused objective, not permission to scan or change
|
|
121
|
+
everything. Workspai keeps approval, verification, and rollback under CLI
|
|
122
|
+
control. The command prepares governed work; it does not edit source or claim
|
|
123
|
+
that the outcome is complete. Exact coverage, dependency-security, and release
|
|
124
|
+
Goals have deterministic CLI verifiers; other outcomes retain CLI safety and
|
|
125
|
+
rollback while the consumer performs an evidence-backed outcome review.
|
|
126
|
+
|
|
127
|
+

|
|
128
|
+
|
|
129
|
+
[Learn how Goal Packs work](docs/goal-packs.md)
|
|
130
|
+
|
|
99
131
|
## What happens after the first run
|
|
100
132
|
|
|
101
133
|
Workspai saves reusable results under `.workspai/`:
|
|
@@ -109,6 +141,19 @@ Workspai saves reusable results under `.workspai/`:
|
|
|
109
141
|
It also prepares `AGENTS.md` and supported agent/IDE surfaces. Developers, CI,
|
|
110
142
|
IDEs, MCP clients, and AI agents can therefore read the same current evidence.
|
|
111
143
|
|
|
144
|
+
An agent can prove that it entered through that evidence before scanning the
|
|
145
|
+
repository:
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
npx workspai agent bootstrap --for-agent codex --strict --json
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
The portable receipt checks workspace membership, host discovery, artifact
|
|
152
|
+
schemas and integrity, Model/Graph freshness, live inputs, and the active Goal
|
|
153
|
+
handoff. A blocked receipt prevents complete architecture or verification
|
|
154
|
+
claims; it never falls back silently to a broad source scan. [Learn about
|
|
155
|
+
canonical-first agent entry](docs/agent-entry.md).
|
|
156
|
+
|
|
112
157
|
A blocked result is useful evidence, not a crashed command. Workspai names what
|
|
113
158
|
is missing or failing and keeps the generated reports available for inspection.
|
|
114
159
|
|
|
@@ -158,19 +203,21 @@ The deterministic model, graph, and checks do not require an AI API key.
|
|
|
158
203
|
|
|
159
204
|
## Everyday workflows
|
|
160
205
|
|
|
161
|
-
| Goal
|
|
162
|
-
|
|
|
163
|
-
| Use guided setup
|
|
164
|
-
| Link a project without moving it
|
|
165
|
-
| Turn an outcome into governed work
|
|
166
|
-
|
|
|
167
|
-
|
|
|
168
|
-
|
|
|
169
|
-
|
|
|
170
|
-
|
|
|
171
|
-
|
|
|
172
|
-
|
|
|
173
|
-
|
|
|
206
|
+
| Goal | Command |
|
|
207
|
+
| ------------------------------------------ | -------------------------------------------------------------------------------- |
|
|
208
|
+
| Use guided setup | `npx workspai create` |
|
|
209
|
+
| Link a project without moving it | `npx workspai adopt .` |
|
|
210
|
+
| Turn an outcome into governed work | `npx workspai goal "Raise test coverage to 85%"` |
|
|
211
|
+
| Ground an agent before source discovery | `npx workspai agent bootstrap --for-agent codex --strict --json` |
|
|
212
|
+
| Audit every agent entry adapter | `npx workspai project agent-entry verify --for-agent all --strict --json` |
|
|
213
|
+
| Copy or clone a project into a workspace | `npx workspai import <path-or-git-url> --workspace <path>` |
|
|
214
|
+
| Check the current project | `npx workspai doctor project` |
|
|
215
|
+
| Check the whole workspace | `npx workspai doctor workspace` |
|
|
216
|
+
| Refresh Model and Graph | `npx workspai workspace model --write --json` |
|
|
217
|
+
| Ask a focused architecture question | `npx workspai workspace graph search "authentication service" --limit 12 --json` |
|
|
218
|
+
| Verify current evidence | `npx workspai workspace verify --strict --json` |
|
|
219
|
+
| Inspect a governed repair before execution | `npx workspai workspace repair capabilities --json` |
|
|
220
|
+
| Refresh agent and IDE context | `npx workspai workspace agent-sync --write --preset enterprise --json` |
|
|
174
221
|
|
|
175
222
|
For every command and flag, use the
|
|
176
223
|
[Command Reference](docs/commands-reference.md).
|
|
@@ -205,28 +252,29 @@ modules; Workspai remains the workspace-level CLI.
|
|
|
205
252
|
|
|
206
253
|
## Documentation
|
|
207
254
|
|
|
208
|
-
| Goal
|
|
209
|
-
|
|
|
210
|
-
| Learn the main terms
|
|
211
|
-
| Create, adopt, import, or connect software
|
|
212
|
-
| Query Graph and inspect proof
|
|
213
|
-
| Understand the exact decision loop
|
|
214
|
-
| Plan, approve, execute, or roll back a repair | [Workspace Repair Engine](docs/workspace-repair-engine.md)
|
|
215
|
-
| Set a release, security, or coverage outcome
|
|
216
|
-
| Compile plain language into a governed plan
|
|
217
|
-
|
|
|
218
|
-
|
|
|
219
|
-
|
|
|
255
|
+
| Goal | Guide |
|
|
256
|
+
| --------------------------------------------- | ---------------------------------------------------------------------------------------------- |
|
|
257
|
+
| Learn the main terms | [Glossary](docs/GLOSSARY.md) |
|
|
258
|
+
| Create, adopt, import, or connect software | [Creating workspaces and projects](docs/creating-workspaces-and-projects.md) |
|
|
259
|
+
| Query Graph and inspect proof | [Workspace Knowledge Graph](docs/workspace-knowledge-graph.md) |
|
|
260
|
+
| Understand the exact decision loop | [Workspace Intelligence runner](docs/workspace-intelligence-runner.md) |
|
|
261
|
+
| Plan, approve, execute, or roll back a repair | [Workspace Repair Engine](docs/workspace-repair-engine.md) |
|
|
262
|
+
| Set a release, security, or coverage outcome | [Verified engineering goals](docs/workspace-intelligence-runner.md#verified-engineering-goals) |
|
|
263
|
+
| Compile plain language into a governed plan | [Goal Packs](docs/goal-packs.md) |
|
|
264
|
+
| Ground an agent in canonical project evidence | [Canonical-first agent entry](docs/agent-entry.md) |
|
|
265
|
+
| Integrate CI | [CI workflows](docs/ci-workflows.md) |
|
|
266
|
+
| Find generated files and schemas | [Artifact Catalog](docs/contracts/ARTIFACT_CATALOG.md) |
|
|
267
|
+
| Browse all documentation | [Documentation index](docs/README.md) |
|
|
220
268
|
|
|
221
269
|
## Troubleshooting
|
|
222
270
|
|
|
223
|
-
| Problem
|
|
224
|
-
|
|
|
225
|
-
| The workspace is not detected
|
|
226
|
-
| A check reports stale evidence
|
|
227
|
-
| A runtime is missing
|
|
228
|
-
| An agent cannot find current context | Run `npx workspai workspace agent-sync --write --refresh-context --json`
|
|
229
|
-
| You need a specific flag
|
|
271
|
+
| Problem | Next step |
|
|
272
|
+
| ------------------------------------ | ---------------------------------------------------------------------------------------- |
|
|
273
|
+
| The workspace is not detected | Run from the project/workspace or inspect `npx workspai project workspace status --json` |
|
|
274
|
+
| A check reports stale evidence | Re-run the complete Workspace Intelligence command |
|
|
275
|
+
| A runtime is missing | Install only the runtime required by that project |
|
|
276
|
+
| An agent cannot find current context | Run `npx workspai workspace agent-sync --write --refresh-context --json` |
|
|
277
|
+
| You need a specific flag | Open the [Command Reference](docs/commands-reference.md) |
|
|
230
278
|
|
|
231
279
|
## Contributing
|
|
232
280
|
|
|
@@ -32,7 +32,13 @@
|
|
|
32
32
|
"vscode",
|
|
33
33
|
"copilot",
|
|
34
34
|
"cursor",
|
|
35
|
-
"claude"
|
|
35
|
+
"claude",
|
|
36
|
+
"gemini",
|
|
37
|
+
"qwen",
|
|
38
|
+
"kimi",
|
|
39
|
+
"grok",
|
|
40
|
+
"windsurf",
|
|
41
|
+
"amazon-q"
|
|
36
42
|
]
|
|
37
43
|
},
|
|
38
44
|
"vscode": {
|
|
@@ -78,8 +84,47 @@
|
|
|
78
84
|
"portable"
|
|
79
85
|
]
|
|
80
86
|
},
|
|
87
|
+
"gemini": {
|
|
88
|
+
"meaning": "Generate Gemini CLI grounding through GEMINI.md and canonical AGENTS.md.",
|
|
89
|
+
"outputFamilies": [
|
|
90
|
+
"adapter",
|
|
91
|
+
"portable"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"qwen": {
|
|
95
|
+
"meaning": "Generate Qwen Code grounding through QWEN.md and canonical AGENTS.md.",
|
|
96
|
+
"outputFamilies": [
|
|
97
|
+
"adapter",
|
|
98
|
+
"portable"
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
"kimi": {
|
|
102
|
+
"meaning": "Use AGENTS.md and the report index as the Kimi Code grounding layer.",
|
|
103
|
+
"outputFamilies": [
|
|
104
|
+
"portable"
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
"grok": {
|
|
108
|
+
"meaning": "Use AGENTS.md and the report index as the xAI Grok grounding layer.",
|
|
109
|
+
"outputFamilies": [
|
|
110
|
+
"portable"
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
"windsurf": {
|
|
114
|
+
"meaning": "Use AGENTS.md and the report index as the Windsurf grounding layer.",
|
|
115
|
+
"outputFamilies": [
|
|
116
|
+
"portable"
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
"amazon-q": {
|
|
120
|
+
"meaning": "Generate an Amazon Q project rule that routes agents to canonical evidence.",
|
|
121
|
+
"outputFamilies": [
|
|
122
|
+
"rules",
|
|
123
|
+
"portable"
|
|
124
|
+
]
|
|
125
|
+
},
|
|
81
126
|
"orca": {
|
|
82
|
-
"meaning": "
|
|
127
|
+
"meaning": "Legacy compatibility alias for AGENTS.md consumers; prefer the grok target.",
|
|
83
128
|
"outputFamilies": [
|
|
84
129
|
"portable"
|
|
85
130
|
]
|
|
@@ -238,12 +283,15 @@
|
|
|
238
283
|
"l2PrefixedMirrorRoots": [
|
|
239
284
|
".github/",
|
|
240
285
|
".cursor/",
|
|
241
|
-
".claude/"
|
|
286
|
+
".claude/",
|
|
287
|
+
".amazonq/"
|
|
242
288
|
],
|
|
243
289
|
"l3SharedIndustryFiles": [
|
|
244
290
|
"AGENTS.md",
|
|
245
291
|
".github/copilot-instructions.md",
|
|
246
|
-
"CLAUDE.md"
|
|
292
|
+
"CLAUDE.md",
|
|
293
|
+
"GEMINI.md",
|
|
294
|
+
"QWEN.md"
|
|
247
295
|
]
|
|
248
296
|
}
|
|
249
297
|
}
|
|
@@ -45,6 +45,54 @@
|
|
|
45
45
|
}
|
|
46
46
|
]
|
|
47
47
|
},
|
|
48
|
+
{
|
|
49
|
+
"path": [
|
|
50
|
+
"agent"
|
|
51
|
+
],
|
|
52
|
+
"command": "agent",
|
|
53
|
+
"parent": null,
|
|
54
|
+
"registrationKind": "commander",
|
|
55
|
+
"aliases": [],
|
|
56
|
+
"description": "Bootstrap coding agents from canonical Workspai project evidence",
|
|
57
|
+
"hidden": false,
|
|
58
|
+
"arguments": [],
|
|
59
|
+
"options": []
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"path": [
|
|
63
|
+
"agent",
|
|
64
|
+
"bootstrap"
|
|
65
|
+
],
|
|
66
|
+
"command": "bootstrap",
|
|
67
|
+
"parent": "agent",
|
|
68
|
+
"registrationKind": "commander",
|
|
69
|
+
"aliases": [],
|
|
70
|
+
"description": "Issue a portable canonical-first grounding receipt for the current project",
|
|
71
|
+
"hidden": false,
|
|
72
|
+
"arguments": [],
|
|
73
|
+
"options": [
|
|
74
|
+
{
|
|
75
|
+
"flags": "--project <path>",
|
|
76
|
+
"attributeName": "project"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"flags": "--for-agent <agent>",
|
|
80
|
+
"attributeName": "forAgent"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"flags": "--no-live-inputs",
|
|
84
|
+
"attributeName": "liveInputs"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"flags": "--strict",
|
|
88
|
+
"attributeName": "strict"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"flags": "--json",
|
|
92
|
+
"attributeName": "json"
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
},
|
|
48
96
|
{
|
|
49
97
|
"path": [
|
|
50
98
|
"ai"
|
|
@@ -865,6 +913,47 @@
|
|
|
865
913
|
"arguments": [],
|
|
866
914
|
"options": []
|
|
867
915
|
},
|
|
916
|
+
{
|
|
917
|
+
"path": [
|
|
918
|
+
"project",
|
|
919
|
+
"agent-entry"
|
|
920
|
+
],
|
|
921
|
+
"command": "agent-entry",
|
|
922
|
+
"parent": "project",
|
|
923
|
+
"registrationKind": "commander",
|
|
924
|
+
"aliases": [],
|
|
925
|
+
"description": "Verify canonical-first project entry coverage for supported agent hosts",
|
|
926
|
+
"hidden": false,
|
|
927
|
+
"arguments": [
|
|
928
|
+
{
|
|
929
|
+
"name": "action",
|
|
930
|
+
"required": false,
|
|
931
|
+
"variadic": false
|
|
932
|
+
}
|
|
933
|
+
],
|
|
934
|
+
"options": [
|
|
935
|
+
{
|
|
936
|
+
"flags": "--project <path>",
|
|
937
|
+
"attributeName": "project"
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"flags": "--for-agent <agent>",
|
|
941
|
+
"attributeName": "forAgent"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"flags": "--no-live-inputs",
|
|
945
|
+
"attributeName": "liveInputs"
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"flags": "--strict",
|
|
949
|
+
"attributeName": "strict"
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"flags": "--json",
|
|
953
|
+
"attributeName": "json"
|
|
954
|
+
}
|
|
955
|
+
]
|
|
956
|
+
},
|
|
868
957
|
{
|
|
869
958
|
"path": [
|
|
870
959
|
"project",
|
|
@@ -1597,6 +1686,7 @@
|
|
|
1597
1686
|
],
|
|
1598
1687
|
"topLevelCommands": [
|
|
1599
1688
|
"adopt",
|
|
1689
|
+
"agent",
|
|
1600
1690
|
"ai",
|
|
1601
1691
|
"analyze",
|
|
1602
1692
|
"autopilot",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "rapidkit-extension-cli-compatibility.v1",
|
|
3
3
|
"cli": "workspai",
|
|
4
|
-
"minimumVerifiedCliVersion": "0.
|
|
4
|
+
"minimumVerifiedCliVersion": "0.58.0",
|
|
5
5
|
"publishedContractSchemas": {
|
|
6
6
|
"workspaceContract": 1,
|
|
7
7
|
"runtimeCommandSurface": "rapidkit-runtime-command-surface-v1",
|
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
"projectWorkspaceLink": "project-workspace-link.v1",
|
|
19
19
|
"projectWorkspaceResolution": "project-workspace-resolution.v1",
|
|
20
20
|
"projectContextAgent": "project-context-agent.v1",
|
|
21
|
+
"projectAgentEntry": "workspai.agent-entry.v1",
|
|
22
|
+
"agentBootstrapReceipt": "workspai.agent-bootstrap-receipt.v1",
|
|
21
23
|
"doctorProjectEvidence": "doctor-project-evidence-v1",
|
|
22
24
|
"doctorWorkspaceEvidence": "doctor-workspace-evidence-v1",
|
|
23
25
|
"doctorGraphDiagnosis": "doctor-graph-diagnosis.v1",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"source",
|
|
13
13
|
"recovered",
|
|
14
14
|
"linkPath",
|
|
15
|
-
"nextCommand"
|
|
15
|
+
"nextCommand",
|
|
16
|
+
"pathPolicy"
|
|
16
17
|
],
|
|
17
18
|
"properties": {
|
|
18
19
|
"schemaVersion": { "const": "project-workspace-resolution.v1" },
|
|
@@ -22,7 +23,19 @@
|
|
|
22
23
|
"source": { "enum": ["explicit", "parent", "local-link", "registry"] },
|
|
23
24
|
"recovered": { "type": "boolean" },
|
|
24
25
|
"linkPath": { "type": "string", "minLength": 1 },
|
|
25
|
-
"nextCommand": { "type": "string", "minLength": 1 }
|
|
26
|
+
"nextCommand": { "type": "string", "minLength": 1 },
|
|
27
|
+
"pathPolicy": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"required": ["classification", "portable", "persistence", "disclosure", "purpose"],
|
|
30
|
+
"properties": {
|
|
31
|
+
"classification": { "const": "machine-local" },
|
|
32
|
+
"portable": { "const": false },
|
|
33
|
+
"persistence": { "const": "forbidden" },
|
|
34
|
+
"disclosure": { "const": "forbidden" },
|
|
35
|
+
"purpose": { "const": "runtime-workspace-resolution" }
|
|
36
|
+
},
|
|
37
|
+
"additionalProperties": false
|
|
38
|
+
}
|
|
26
39
|
},
|
|
27
40
|
"additionalProperties": false
|
|
28
41
|
}
|
|
@@ -76,6 +76,16 @@
|
|
|
76
76
|
"contractPath": "contracts/workspace-intelligence/project-context-agent.v1.json",
|
|
77
77
|
"publication": "json-schema"
|
|
78
78
|
},
|
|
79
|
+
"projectAgentEntry": {
|
|
80
|
+
"schemaVersion": "workspai.agent-entry.v1",
|
|
81
|
+
"contractPath": "contracts/workspace-intelligence/project-agent-entry.v1.json",
|
|
82
|
+
"publication": "json-schema"
|
|
83
|
+
},
|
|
84
|
+
"agentBootstrapReceipt": {
|
|
85
|
+
"schemaVersion": "workspai.agent-bootstrap-receipt.v1",
|
|
86
|
+
"contractPath": "contracts/workspace-intelligence/agent-bootstrap-receipt.v1.json",
|
|
87
|
+
"publication": "json-schema"
|
|
88
|
+
},
|
|
79
89
|
"doctorProjectEvidence": {
|
|
80
90
|
"schemaVersion": "doctor-project-evidence-v1",
|
|
81
91
|
"contractPath": "contracts/doctor-project-evidence.v1.json",
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"import",
|
|
50
50
|
"adopt",
|
|
51
51
|
"goal",
|
|
52
|
+
"agent",
|
|
52
53
|
"snapshot",
|
|
53
54
|
"bootstrap",
|
|
54
55
|
"setup",
|
|
@@ -80,6 +81,10 @@
|
|
|
80
81
|
"ai",
|
|
81
82
|
"update-embeddings"
|
|
82
83
|
],
|
|
84
|
+
[
|
|
85
|
+
"agent",
|
|
86
|
+
"bootstrap"
|
|
87
|
+
],
|
|
83
88
|
[
|
|
84
89
|
"config",
|
|
85
90
|
"ai"
|
|
@@ -129,6 +134,10 @@
|
|
|
129
134
|
"project",
|
|
130
135
|
"commands"
|
|
131
136
|
],
|
|
137
|
+
[
|
|
138
|
+
"project",
|
|
139
|
+
"agent-entry"
|
|
140
|
+
],
|
|
132
141
|
[
|
|
133
142
|
"project",
|
|
134
143
|
"coverage"
|
|
@@ -185,6 +194,21 @@
|
|
|
185
194
|
"adopt"
|
|
186
195
|
]
|
|
187
196
|
},
|
|
197
|
+
{
|
|
198
|
+
"invocation": "agent",
|
|
199
|
+
"summary": "Resolve portable project entry contracts and issue canonical-first grounding receipts for coding agents.",
|
|
200
|
+
"canonicalArgv": [
|
|
201
|
+
"agent"
|
|
202
|
+
]
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"invocation": "agent bootstrap",
|
|
206
|
+
"summary": "Validate host discovery, workspace membership, evidence freshness, live inputs, and active Goal bindings before broad source discovery.",
|
|
207
|
+
"canonicalArgv": [
|
|
208
|
+
"agent",
|
|
209
|
+
"bootstrap"
|
|
210
|
+
]
|
|
211
|
+
},
|
|
188
212
|
{
|
|
189
213
|
"invocation": "ai",
|
|
190
214
|
"summary": "Manage AI configuration, recommendations, and embedding operations for the active workspace.",
|
|
@@ -639,6 +663,14 @@
|
|
|
639
663
|
"project"
|
|
640
664
|
]
|
|
641
665
|
},
|
|
666
|
+
{
|
|
667
|
+
"invocation": "project agent-entry",
|
|
668
|
+
"summary": "Verify portable entry adapters and canonical evidence bindings for one or every supported agent host.",
|
|
669
|
+
"canonicalArgv": [
|
|
670
|
+
"project",
|
|
671
|
+
"agent-entry"
|
|
672
|
+
]
|
|
673
|
+
},
|
|
642
674
|
{
|
|
643
675
|
"invocation": "project archive",
|
|
644
676
|
"summary": "Move a project into governed archive storage while preserving registry metadata and recovery evidence.",
|
|
@@ -1869,6 +1901,28 @@
|
|
|
1869
1901
|
]
|
|
1870
1902
|
]
|
|
1871
1903
|
},
|
|
1904
|
+
{
|
|
1905
|
+
"artifactPath": ".workspai/agent-entry.v1.json",
|
|
1906
|
+
"schemaVersion": "workspai.agent-entry.v1",
|
|
1907
|
+
"contractPath": "contracts/workspace-intelligence/project-agent-entry.v1.json",
|
|
1908
|
+
"producerCommands": [
|
|
1909
|
+
[
|
|
1910
|
+
"adopt"
|
|
1911
|
+
],
|
|
1912
|
+
[
|
|
1913
|
+
"import"
|
|
1914
|
+
],
|
|
1915
|
+
[
|
|
1916
|
+
"workspace",
|
|
1917
|
+
"sync"
|
|
1918
|
+
],
|
|
1919
|
+
[
|
|
1920
|
+
"workspace",
|
|
1921
|
+
"agent-sync",
|
|
1922
|
+
"--write"
|
|
1923
|
+
]
|
|
1924
|
+
]
|
|
1925
|
+
},
|
|
1872
1926
|
{
|
|
1873
1927
|
"artifactPath": ".workspai/workspace.contract.json",
|
|
1874
1928
|
"schemaVersion": 1,
|