workspai 0.57.0 → 0.59.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.
Files changed (144) hide show
  1. package/README.md +80 -30
  2. package/contracts/agent-customization-pack.v1.json +62 -4
  3. package/contracts/cli-runtime-command-inventory.v1.snapshot.json +167 -0
  4. package/contracts/extension-cli-compatibility.v1.json +8 -1
  5. package/contracts/project-workspace-resolution.v1.json +15 -2
  6. package/contracts/published-contract-catalog.v1.json +35 -0
  7. package/contracts/runtime-command-surface.v1.json +99 -0
  8. package/contracts/workspace-intelligence/agent-bootstrap-receipt.v1.json +247 -0
  9. package/contracts/workspace-intelligence/agent-customization-pack-report.v1.json +16 -1
  10. package/contracts/workspace-intelligence/goal-agent-handoff.v1.json +96 -0
  11. package/contracts/workspace-intelligence/goal-index.v1.json +51 -0
  12. package/contracts/workspace-intelligence/goal-lifecycle-result.v1.json +96 -0
  13. package/contracts/workspace-intelligence/goal-pack.v1.json +251 -0
  14. package/contracts/workspace-intelligence/goal-plan-result.v1.json +46 -0
  15. package/contracts/workspace-intelligence/project-agent-entry.v1.json +204 -0
  16. package/contracts/workspace-intelligence/project-context-agent.v1.json +43 -26
  17. package/contracts/workspace-intelligence/workspace-context.v1.json +14 -1
  18. package/contracts/workspace-intelligence/workspace-repair-proposal.v1.json +1 -0
  19. package/contracts/workspace-intelligence/workspace-repair-transaction.v1.json +15 -2
  20. package/contracts/workspace-intelligence-architecture.v1.json +20 -0
  21. package/contracts/workspace-repair-capabilities.v1.json +5 -0
  22. package/dist/analyze-52TEGLDR.js +1 -0
  23. package/dist/{artifact-remediation-plan-BPLON5VX.js → artifact-remediation-plan-HPNQTNJ2.js} +1 -1
  24. package/dist/autopilot-release-KQGDM2AA.js +1 -0
  25. package/dist/capabilities-command-VBLZXP2T.js +1 -0
  26. package/dist/chunk-4PUJVYRM.js +1 -0
  27. package/dist/{workspace-knowledge-graph-snapshot-XSQADCNR.js → chunk-5NIZNXRS.js} +1 -1
  28. package/dist/chunk-5PSKBJKJ.js +1 -0
  29. package/dist/{chunk-AA4PNQKR.js → chunk-5SFCBZOH.js} +1 -1
  30. package/dist/{chunk-N2BIIUDH.js → chunk-6FBNSTUS.js} +1 -1
  31. package/dist/{chunk-YJTEMJFV.js → chunk-7DSYI7YN.js} +1 -1
  32. package/dist/chunk-7SFXADXO.js +2 -0
  33. package/dist/{chunk-ADL3CK44.js → chunk-CCDGHPEJ.js} +1 -1
  34. package/dist/{chunk-LYVDRRDO.js → chunk-D65FCQIO.js} +1 -1
  35. package/dist/{chunk-YM77FQB3.js → chunk-DGGTTRYE.js} +1 -1
  36. package/dist/{chunk-TTFQWH55.js → chunk-ENKGGWRX.js} +1 -1
  37. package/dist/{chunk-ZPA6ECBJ.js → chunk-GPOZILMY.js} +1 -1
  38. package/dist/{chunk-L36ZASME.js → chunk-HCFWT42C.js} +1 -1
  39. package/dist/chunk-HOUQIT7U.js +1 -0
  40. package/dist/{chunk-IXOLHPTN.js → chunk-HS3DJMU5.js} +1 -1
  41. package/dist/{chunk-XMTLKDPP.js → chunk-J3X56S7L.js} +1 -1
  42. package/dist/{chunk-64JUYYRC.js → chunk-KBR4Y4RW.js} +1 -1
  43. package/dist/{chunk-E53BGUOW.js → chunk-KTN2ARZJ.js} +1 -1
  44. package/dist/chunk-LPCWROQ3.js +1 -0
  45. package/dist/{chunk-VL3APTVB.js → chunk-M3IKRWXA.js} +1 -1
  46. package/dist/{chunk-P475BOJW.js → chunk-M4UOXP5T.js} +1 -1
  47. package/dist/{chunk-GBMCHFOV.js → chunk-N4QQADXX.js} +1 -1
  48. package/dist/{chunk-75HOCFNH.js → chunk-NOZ4JCH7.js} +1 -1
  49. package/dist/chunk-NZ3WZYD5.js +1 -0
  50. package/dist/{chunk-QHY6F4SS.js → chunk-OFWSZYUX.js} +1 -1
  51. package/dist/{chunk-IUYZ3NHS.js → chunk-OLC7EYUA.js} +3 -3
  52. package/dist/chunk-PVXSIYLP.js +1 -0
  53. package/dist/{chunk-NHTLE3WN.js → chunk-PXWKMPPI.js} +1 -1
  54. package/dist/{chunk-V5EYVQ63.js → chunk-QCKWQFCD.js} +1 -1
  55. package/dist/{chunk-GDKFN3CM.js → chunk-QFBVQUKV.js} +1 -1
  56. package/dist/{chunk-W5ZFXKSL.js → chunk-QJCCZLOF.js} +1 -1
  57. package/dist/{chunk-Z57G62KE.js → chunk-QMPFNXI7.js} +1 -1
  58. package/dist/chunk-RBBBXFEU.js +1 -0
  59. package/dist/{chunk-DF4NWPB7.js → chunk-RHK53ZK7.js} +1 -1
  60. package/dist/chunk-S45YGN2I.js +142 -0
  61. package/dist/chunk-S4CWUZ4K.js +1 -0
  62. package/dist/{chunk-SNO3WG4V.js → chunk-SP5EHSWG.js} +1 -1
  63. package/dist/chunk-TCURN5VD.js +2 -0
  64. package/dist/{chunk-GTJY55QK.js → chunk-UVBPEX3E.js} +1 -1
  65. package/dist/chunk-V3ABABV5.js +39 -0
  66. package/dist/{chunk-IZLEMTES.js → chunk-W6FHVXNL.js} +1 -1
  67. package/dist/{chunk-UQEQ6CXU.js → chunk-WQX3JYEP.js} +1 -1
  68. package/dist/{chunk-GXTCU4WF.js → chunk-WSRUPDZN.js} +1 -1
  69. package/dist/{chunk-6OFGLNFS.js → chunk-YEEAWZWI.js} +1 -1
  70. package/dist/{chunk-QK5QOXOE.js → chunk-ZJCM37KX.js} +1 -1
  71. package/dist/{create-O2KLTN5H.js → create-6QWIJTGU.js} +1 -1
  72. package/dist/{doctor-AL5YWO5X.js → doctor-NAZEKMGU.js} +1 -1
  73. package/dist/goal-command-contract-CHE7U6YY.js +1 -0
  74. package/dist/goal-lifecycle-ECIRCHN5.js +1 -0
  75. package/dist/goal-pack-HBOPVZFO.js +1 -0
  76. package/dist/index.d.ts +25 -3
  77. package/dist/index.js +150 -148
  78. package/dist/{pipeline-4ST4BQWY.js → pipeline-5LLFP5ZH.js} +1 -1
  79. package/dist/project-agent-entry-AFKDDRDL.js +1 -0
  80. package/dist/{project-intelligence-lens-JHYECYOK.js → project-intelligence-lens-U2V3VNZG.js} +1 -1
  81. package/dist/project-test-coverage-HP37HUV2.js +1 -0
  82. package/dist/{verified-goal-KFNRGOKT.js → verified-goal-HUYJ6LBI.js} +1 -1
  83. package/dist/{workspace-O4E5CCGK.js → workspace-CQ43AWUF.js} +1 -1
  84. package/dist/{workspace-agent-sync-N5DPGU2E.js → workspace-agent-sync-YMXYUGYY.js} +1 -1
  85. package/dist/{workspace-archive-BA3ONVXX.js → workspace-archive-ZBCKJHXS.js} +1 -1
  86. package/dist/{workspace-context-ETZNEHOJ.js → workspace-context-RAO62QVU.js} +1 -1
  87. package/dist/{workspace-contract-OSI7NBXS.js → workspace-contract-ACSIHJIO.js} +1 -1
  88. package/dist/workspace-explain-RH27OQB4.js +1 -0
  89. package/dist/workspace-explain-contract-ZL4NMLZI.js +1 -0
  90. package/dist/{workspace-feedback-PCZKXG5R.js → workspace-feedback-RQ4TGJW6.js} +1 -1
  91. package/dist/{workspace-foundation-QQHX66KE.js → workspace-foundation-JH2GFSAZ.js} +1 -1
  92. package/dist/{workspace-graph-stream-UZJQ75XZ.js → workspace-graph-stream-ZZZEQQTE.js} +1 -1
  93. package/dist/workspace-graph-token-efficiency-D7CUT6NX.js +1 -0
  94. package/dist/{workspace-history-CHJOABME.js → workspace-history-SYCDK7FO.js} +1 -1
  95. package/dist/{workspace-intelligence-A7O7MN6T.js → workspace-intelligence-3YERTBA3.js} +1 -1
  96. package/dist/{workspace-intelligence-evaluation-YMY3C5AW.js → workspace-intelligence-evaluation-CQDKOYZZ.js} +1 -1
  97. package/dist/{workspace-intelligence-runner-4EF66L66.js → workspace-intelligence-runner-YXMOT6GK.js} +1 -1
  98. package/dist/{workspace-intelligence-runtime-registry-NCVHKCMP.js → workspace-intelligence-runtime-registry-IW6J53LO.js} +1 -1
  99. package/dist/{workspace-knowledge-graph-BVN4NTJ6.js → workspace-knowledge-graph-HZZP6ZRB.js} +1 -1
  100. package/dist/{workspace-knowledge-graph-query-6DAOXGGT.js → workspace-knowledge-graph-query-ON45H6Y7.js} +1 -1
  101. package/dist/workspace-knowledge-graph-snapshot-7DWHMEM2.js +1 -0
  102. package/dist/{workspace-mcp-serve-TKX4J3SX.js → workspace-mcp-serve-5TTAN243.js} +1 -1
  103. package/dist/{workspace-model-7ESEP366.js → workspace-model-EIQSKDX7.js} +1 -1
  104. package/dist/{workspace-onboarding-SY255V7L.js → workspace-onboarding-SHHW4R4G.js} +1 -1
  105. package/dist/{workspace-readme-IVJXSIBS.js → workspace-readme-56YZ4EAZ.js} +1 -1
  106. package/dist/{workspace-registry-summary-7ISKYEPM.js → workspace-registry-summary-OV5KX3WC.js} +1 -1
  107. package/dist/workspace-repair-engine-BNXZHW35.js +3 -0
  108. package/dist/workspace-run-7EJEBHAH.js +1 -0
  109. package/dist/{workspace-verify-CNXZPWS5.js → workspace-verify-W4P6LBIH.js} +1 -1
  110. package/dist/{workspace-watch-HGFL2EU3.js → workspace-watch-EZ4D4VCF.js} +1 -1
  111. package/docs/GLOSSARY.md +13 -10
  112. package/docs/README.md +24 -17
  113. package/docs/README_CONTENT_CONTRACT.md +12 -8
  114. package/docs/agent-entry.md +194 -0
  115. package/docs/ci-workflows.md +1 -1
  116. package/docs/commands-reference.md +38 -2
  117. package/docs/contracts/ARTIFACT_CATALOG.md +17 -0
  118. package/docs/contracts/COMMAND_OWNERSHIP_MATRIX.md +4 -0
  119. package/docs/contracts/README.md +7 -0
  120. package/docs/goal-packs.md +235 -0
  121. package/docs/real-world-qualification.md +22 -3
  122. package/docs/workspace-operations.md +16 -8
  123. package/docs/workspace-repair-engine.md +36 -5
  124. package/package.json +3 -2
  125. package/scripts/enterprise-package-smoke.mjs +4 -0
  126. package/dist/analyze-HJ774J3E.js +0 -1
  127. package/dist/autopilot-release-WIFFFQKW.js +0 -1
  128. package/dist/capabilities-command-44JVOE5S.js +0 -1
  129. package/dist/chunk-3U4VLIGW.js +0 -1
  130. package/dist/chunk-5EPPPMAS.js +0 -1
  131. package/dist/chunk-CNWUIXF3.js +0 -1
  132. package/dist/chunk-D4RST2HE.js +0 -1
  133. package/dist/chunk-DT4X7I5M.js +0 -81
  134. package/dist/chunk-FPJNWPKU.js +0 -1
  135. package/dist/chunk-PKIRVQLG.js +0 -1
  136. package/dist/chunk-RPHM7LQW.js +0 -36
  137. package/dist/chunk-VUR7H2FU.js +0 -2
  138. package/dist/chunk-VZPWIILU.js +0 -1
  139. package/dist/project-test-coverage-FRMVYTFB.js +0 -1
  140. package/dist/workspace-explain-EM7IUV6L.js +0 -1
  141. package/dist/workspace-explain-contract-KVQO57RC.js +0 -1
  142. package/dist/workspace-graph-token-efficiency-TF23UYEF.js +0 -1
  143. package/dist/workspace-repair-engine-GMA2YTCF.js +0 -3
  144. package/dist/workspace-run-ZZXVNFUS.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
+ ![Workspai turns a plain-language objective into a governed Goal Pack](https://raw.githubusercontent.com/chistiq/workspai/main/packages/cli/docs/workspai-goal-readme-cli.gif)
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,18 +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 | Command |
162
- | --- | --- |
163
- | Use guided setup | `npx workspai create` |
164
- | Link a project without moving it | `npx workspai adopt .` |
165
- | Copy or clone a project into a workspace | `npx workspai import <path-or-git-url> --workspace <path>` |
166
- | Check the current project | `npx workspai doctor project` |
167
- | Check the whole workspace | `npx workspai doctor workspace` |
168
- | Refresh Model and Graph | `npx workspai workspace model --write --json` |
169
- | Ask a focused architecture question | `npx workspai workspace graph search "authentication service" --limit 12 --json` |
170
- | Verify current evidence | `npx workspai workspace verify --strict --json` |
171
- | Inspect a governed repair before execution | `npx workspai workspace repair capabilities --json` |
172
- | Refresh agent and IDE context | `npx workspai workspace agent-sync --write --preset enterprise --json` |
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` |
173
221
 
174
222
  For every command and flag, use the
175
223
  [Command Reference](docs/commands-reference.md).
@@ -204,27 +252,29 @@ modules; Workspai remains the workspace-level CLI.
204
252
 
205
253
  ## Documentation
206
254
 
207
- | Goal | Guide |
208
- | --- | --- |
209
- | Learn the main terms | [Glossary](docs/GLOSSARY.md) |
210
- | Create, adopt, import, or connect software | [Creating workspaces and projects](docs/creating-workspaces-and-projects.md) |
211
- | Query Graph and inspect proof | [Workspace Knowledge Graph](docs/workspace-knowledge-graph.md) |
212
- | Understand the exact decision loop | [Workspace Intelligence runner](docs/workspace-intelligence-runner.md) |
213
- | Plan, approve, execute, or roll back a repair | [Workspace Repair Engine](docs/workspace-repair-engine.md) |
214
- | Set a release, security, or coverage outcome | [Verified engineering goals](docs/workspace-intelligence-runner.md#verified-engineering-goals) |
215
- | Integrate CI | [CI workflows](docs/ci-workflows.md) |
216
- | Find generated files and schemas | [Artifact Catalog](docs/contracts/ARTIFACT_CATALOG.md) |
217
- | Browse all documentation | [Documentation index](docs/README.md) |
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) |
218
268
 
219
269
  ## Troubleshooting
220
270
 
221
- | Problem | Next step |
222
- | --- | --- |
223
- | The workspace is not detected | Run from the project/workspace or inspect `npx workspai project workspace status --json` |
224
- | A check reports stale evidence | Re-run the complete Workspace Intelligence command |
225
- | A runtime is missing | Install only the runtime required by that project |
226
- | An agent cannot find current context | Run `npx workspai workspace agent-sync --write --refresh-context --json` |
227
- | You need a specific flag | Open the [Command Reference](docs/commands-reference.md) |
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) |
228
278
 
229
279
  ## Contributing
230
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": "Use AGENTS.md and the report index as the Orca/Grok grounding layer.",
127
+ "meaning": "Legacy compatibility alias for AGENTS.md consumers; prefer the grok target.",
83
128
  "outputFamilies": [
84
129
  "portable"
85
130
  ]
@@ -95,6 +140,16 @@
95
140
  "Assumptions"
96
141
  ],
97
142
  "requiredReports": [
143
+ {
144
+ "path": ".workspai/goals/index.json",
145
+ "label": "Active Goal Pack index",
146
+ "required": false
147
+ },
148
+ {
149
+ "path": ".workspai/reports/goal-pack-last-run.json",
150
+ "label": "Latest governed Goal Pack",
151
+ "required": false
152
+ },
98
153
  {
99
154
  "path": ".workspai/reports/workspace-context-agent.json",
100
155
  "label": "Agent context pack",
@@ -228,12 +283,15 @@
228
283
  "l2PrefixedMirrorRoots": [
229
284
  ".github/",
230
285
  ".cursor/",
231
- ".claude/"
286
+ ".claude/",
287
+ ".amazonq/"
232
288
  ],
233
289
  "l3SharedIndustryFiles": [
234
290
  "AGENTS.md",
235
291
  ".github/copilot-instructions.md",
236
- "CLAUDE.md"
292
+ "CLAUDE.md",
293
+ "GEMINI.md",
294
+ "QWEN.md"
237
295
  ]
238
296
  }
239
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"
@@ -430,6 +478,82 @@
430
478
  }
431
479
  ]
432
480
  },
481
+ {
482
+ "path": [
483
+ "goal"
484
+ ],
485
+ "command": "goal",
486
+ "parent": null,
487
+ "registrationKind": "commander",
488
+ "aliases": [],
489
+ "description": "Compile a plain-language engineering intent into a governed, evidence-bound Goal Pack",
490
+ "hidden": false,
491
+ "arguments": [
492
+ {
493
+ "name": "intent",
494
+ "required": false,
495
+ "variadic": false
496
+ }
497
+ ],
498
+ "options": [
499
+ {
500
+ "flags": "--workspace <path>",
501
+ "attributeName": "workspace"
502
+ },
503
+ {
504
+ "flags": "--scope <scope>",
505
+ "attributeName": "scope"
506
+ },
507
+ {
508
+ "flags": "--for-agent <consumer>",
509
+ "attributeName": "forAgent"
510
+ },
511
+ {
512
+ "flags": "--max-attempts <count>",
513
+ "attributeName": "maxAttempts"
514
+ },
515
+ {
516
+ "flags": "--refresh",
517
+ "attributeName": "refresh"
518
+ },
519
+ {
520
+ "flags": "--dry-run",
521
+ "attributeName": "dryRun"
522
+ },
523
+ {
524
+ "flags": "--status [goal-id]",
525
+ "attributeName": "status"
526
+ },
527
+ {
528
+ "flags": "--list",
529
+ "attributeName": "list"
530
+ },
531
+ {
532
+ "flags": "--activate <goal-id>",
533
+ "attributeName": "activate"
534
+ },
535
+ {
536
+ "flags": "--cancel <goal-id>",
537
+ "attributeName": "cancel"
538
+ },
539
+ {
540
+ "flags": "--prepare <goal-id>",
541
+ "attributeName": "prepare"
542
+ },
543
+ {
544
+ "flags": "--verify <goal-id>",
545
+ "attributeName": "verify"
546
+ },
547
+ {
548
+ "flags": "--no-run",
549
+ "attributeName": "run"
550
+ },
551
+ {
552
+ "flags": "--json",
553
+ "attributeName": "json"
554
+ }
555
+ ]
556
+ },
433
557
  {
434
558
  "path": [
435
559
  "import"
@@ -789,6 +913,47 @@
789
913
  "arguments": [],
790
914
  "options": []
791
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
+ },
792
957
  {
793
958
  "path": [
794
959
  "project",
@@ -1521,6 +1686,7 @@
1521
1686
  ],
1522
1687
  "topLevelCommands": [
1523
1688
  "adopt",
1689
+ "agent",
1524
1690
  "ai",
1525
1691
  "analyze",
1526
1692
  "autopilot",
@@ -1530,6 +1696,7 @@
1530
1696
  "config",
1531
1697
  "create",
1532
1698
  "doctor",
1699
+ "goal",
1533
1700
  "import",
1534
1701
  "infra",
1535
1702
  "mirror",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "rapidkit-extension-cli-compatibility.v1",
3
3
  "cli": "workspai",
4
- "minimumVerifiedCliVersion": "0.56.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",
@@ -29,6 +31,11 @@
29
31
  "projectTestCoverage": "workspai.project-test-coverage.v1",
30
32
  "verifiedGoal": "workspai.verified-goal.v1",
31
33
  "verifiedGoalStatus": "workspai.verified-goal-status.v1",
34
+ "goalPack": "workspai.goal-pack.v1",
35
+ "goalAgentHandoff": "workspai.goal-agent-handoff.v1",
36
+ "goalPlanResult": "workspai.goal-plan-result.v1",
37
+ "goalIndex": "workspai.goal-index.v1",
38
+ "goalLifecycleResult": "workspai.goal-lifecycle-result.v1",
32
39
  "workspaceIntelligenceArchitecture": "workspai-workspace-intelligence-architecture-v1",
33
40
  "workspaceIntelligenceChain": "workspai-workspace-intelligence-chain-v1",
34
41
  "workspaceIntelligenceArtifacts": {
@@ -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",
@@ -131,6 +141,31 @@
131
141
  "contractPath": "contracts/workspace-intelligence/verified-goal-status.v1.json",
132
142
  "publication": "json-schema"
133
143
  },
144
+ "goalPack": {
145
+ "schemaVersion": "workspai.goal-pack.v1",
146
+ "contractPath": "contracts/workspace-intelligence/goal-pack.v1.json",
147
+ "publication": "json-schema"
148
+ },
149
+ "goalAgentHandoff": {
150
+ "schemaVersion": "workspai.goal-agent-handoff.v1",
151
+ "contractPath": "contracts/workspace-intelligence/goal-agent-handoff.v1.json",
152
+ "publication": "json-schema"
153
+ },
154
+ "goalPlanResult": {
155
+ "schemaVersion": "workspai.goal-plan-result.v1",
156
+ "contractPath": "contracts/workspace-intelligence/goal-plan-result.v1.json",
157
+ "publication": "json-schema"
158
+ },
159
+ "goalIndex": {
160
+ "schemaVersion": "workspai.goal-index.v1",
161
+ "contractPath": "contracts/workspace-intelligence/goal-index.v1.json",
162
+ "publication": "json-schema"
163
+ },
164
+ "goalLifecycleResult": {
165
+ "schemaVersion": "workspai.goal-lifecycle-result.v1",
166
+ "contractPath": "contracts/workspace-intelligence/goal-lifecycle-result.v1.json",
167
+ "publication": "json-schema"
168
+ },
134
169
  "workspaceIntelligenceArchitecture": {
135
170
  "schemaVersion": "workspai-workspace-intelligence-architecture-v1",
136
171
  "contractPath": "contracts/workspace-intelligence-architecture.v1.json",