workspai 0.52.3 → 0.54.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 +2 -0
- package/contracts/artifact-remediation-plan.v1.json +23 -3
- package/contracts/cli-runtime-command-inventory.v1.snapshot.json +36 -0
- package/contracts/doctor-project-evidence.v1.json +21 -2
- package/contracts/doctor-remediation-plan.v1.json +22 -3
- package/contracts/doctor-workspace-evidence.v1.json +21 -2
- package/contracts/extension-cli-compatibility.v1.json +24 -2
- package/contracts/published-contract-catalog.v1.json +113 -2
- package/contracts/runtime-command-surface.v1.json +216 -5
- package/contracts/studio-card-repair-capabilities.v1.json +378 -0
- package/contracts/workspace-intelligence/doctor-dependency-repair-transaction.v1.json +52 -13
- package/contracts/workspace-intelligence/workspace-repair-proposal.v1.json +78 -0
- package/contracts/workspace-intelligence/workspace-repair-transaction.v1.json +299 -0
- package/contracts/workspace-intelligence-chain.v1.json +6 -0
- package/contracts/workspace-repair-capabilities.v1.json +364 -0
- package/dist/analyze-AAZEJ4FC.js +1 -0
- package/dist/artifact-remediation-plan-A2PRCUNA.js +1 -0
- package/dist/autopilot-release-63XHNGR6.js +1 -0
- package/dist/{chunk-OTDGTAZJ.js → chunk-2FJW6GSW.js} +1 -1
- package/dist/chunk-3DONU3DU.js +1 -0
- package/dist/chunk-3LVJBH7V.js +5 -0
- package/dist/chunk-44VJHNZB.js +1 -0
- package/dist/chunk-4HTSZGEU.js +88 -0
- package/dist/chunk-5XDPQ3CB.js +1 -0
- package/dist/chunk-7AR5PDLD.js +1 -0
- package/dist/chunk-7KKP7RNB.js +3 -0
- package/dist/chunk-AMB42V2F.js +1 -0
- package/dist/chunk-BPACED27.js +8 -0
- package/dist/chunk-BYVTHIC3.js +2 -0
- package/dist/{chunk-6PBSAAS5.js → chunk-EBKYSDCX.js} +1 -1
- package/dist/chunk-FQLB4BIC.js +7 -0
- package/dist/{chunk-ICLYL3N5.js → chunk-FZCYTRBQ.js} +1 -1
- package/dist/{chunk-ZVOEPWQM.js → chunk-GDU7VP6G.js} +1 -1
- package/dist/chunk-H7P7SSUW.js +75 -0
- package/dist/{chunk-MZFSINY7.js → chunk-HRN5J6PW.js} +12 -12
- package/dist/chunk-HY3RMPW5.js +10 -0
- package/dist/chunk-I5CGTCP5.js +1 -0
- package/dist/chunk-IQQWQ3II.js +3 -0
- package/dist/chunk-KFKZOPZC.js +1 -0
- package/dist/{chunk-HPWLSLMC.js → chunk-KVUYAYTY.js} +1 -1
- package/dist/chunk-MQ73VS4E.js +2 -0
- package/dist/{chunk-2OIBHUVH.js → chunk-MRFN5ZQP.js} +1 -1
- package/dist/{chunk-4UVGTFOX.js → chunk-NYHVCFBT.js} +1 -1
- package/dist/{chunk-IO54DFWR.js → chunk-OLX6LX77.js} +1 -1
- package/dist/chunk-OUBBBC7T.js +36 -0
- package/dist/{chunk-WJY7ZXVJ.js → chunk-P7K5RHJC.js} +1 -1
- package/dist/chunk-QZ7PNMVP.js +1 -0
- package/dist/chunk-RA24WQLF.js +1 -0
- package/dist/{chunk-3PTIIBRY.js → chunk-RMXXK64P.js} +1 -1
- package/dist/{chunk-PTTZPDLX.js → chunk-S7Z4DP3P.js} +1 -1
- package/dist/chunk-SJLUE6AY.js +1 -0
- package/dist/chunk-UFOCUHG3.js +1 -0
- package/dist/chunk-WD2XDMGB.js +1 -0
- package/dist/chunk-WIO6L24E.js +2 -0
- package/dist/{chunk-QURMI7ID.js → chunk-WZA5ISAQ.js} +1 -1
- package/dist/chunk-XVRJVKOX.js +1 -0
- package/dist/chunk-ZLYEYHMH.js +1 -0
- package/dist/{create-ESK3CQPK.js → create-R6A7EHQZ.js} +1 -1
- package/dist/{doctor-MYRJ5BFF.js → doctor-HJ3O7SAO.js} +1 -1
- package/dist/index.d.ts +92 -23
- package/dist/index.js +246 -244
- package/dist/pipeline-TDQK5QYQ.js +5 -0
- package/dist/{project-intelligence-lens-Q4SZDI2N.js → project-intelligence-lens-ZOAWXYC5.js} +1 -1
- package/dist/project-test-coverage-44ZPCOPV.js +1 -0
- package/dist/{verified-goal-PSQF2TF2.js → verified-goal-S2PEBJUV.js} +1 -1
- package/dist/{workspace-LSOZM2CG.js → workspace-B53XH35L.js} +1 -1
- package/dist/{workspace-agent-sync-RZBQXCNJ.js → workspace-agent-sync-446AXPHJ.js} +1 -1
- package/dist/{workspace-archive-ZOWQXWJ6.js → workspace-archive-VHUPOBAV.js} +1 -1
- package/dist/{workspace-context-IYJKO5BN.js → workspace-context-XSECHC7O.js} +1 -1
- package/dist/{workspace-contract-AZFISDLS.js → workspace-contract-AYFTZIKM.js} +1 -1
- package/dist/workspace-explain-SZI2WAAD.js +1 -0
- package/dist/workspace-explain-contract-N2XQHAPM.js +1 -0
- package/dist/{workspace-feedback-LIHEWTNV.js → workspace-feedback-WXE7NVMV.js} +1 -1
- package/dist/{workspace-foundation-H5UTAUXQ.js → workspace-foundation-FFNCK5ZD.js} +1 -1
- package/dist/{workspace-graph-stream-KUDOZE73.js → workspace-graph-stream-AJPS45FD.js} +1 -1
- package/dist/{workspace-history-HULG5EFN.js → workspace-history-YY7YRDOH.js} +1 -1
- package/dist/{workspace-intelligence-A4UE4DZK.js → workspace-intelligence-FWRB47EJ.js} +1 -1
- package/dist/{workspace-intelligence-evaluation-AOLGHYHC.js → workspace-intelligence-evaluation-UP2K3L35.js} +1 -1
- package/dist/{workspace-intelligence-runner-5VAAMKMK.js → workspace-intelligence-runner-EQFLRVRL.js} +1 -1
- package/dist/workspace-intelligence-runtime-registry-MRSF7RTT.js +1 -0
- package/dist/{workspace-knowledge-graph-LEM6X5CM.js → workspace-knowledge-graph-BMMM2FUE.js} +1 -1
- package/dist/{workspace-mcp-serve-N2QPR7VJ.js → workspace-mcp-serve-COA4FMCA.js} +1 -1
- package/dist/{workspace-model-FJXX3NET.js → workspace-model-MNJOGBPP.js} +1 -1
- package/dist/{workspace-onboarding-IKFISWWY.js → workspace-onboarding-2B7CYZ5H.js} +1 -1
- package/dist/{workspace-readme-E2M35RJH.js → workspace-readme-4S6PJ74A.js} +1 -1
- package/dist/{workspace-registry-summary-HOQ3OBNT.js → workspace-registry-summary-GPJEL7K7.js} +1 -1
- package/dist/workspace-repair-engine-OZXOXVVV.js +3 -0
- package/dist/workspace-run-VPXRRHDK.js +1 -0
- package/dist/{workspace-verify-32AWCJQG.js → workspace-verify-C6HWHRLJ.js} +1 -1
- package/dist/{workspace-watch-4WVNB26E.js → workspace-watch-DLPHLF5R.js} +1 -1
- package/docs/README.md +2 -0
- package/docs/commands-reference.md +10 -8
- package/docs/contracts/ARTIFACT_CATALOG.md +27 -22
- package/docs/contracts/README.md +3 -0
- package/docs/contracts/RUNTIME_ACCEPTANCE_MATRIX.md +20 -11
- package/docs/doctor-command.md +16 -4
- package/docs/workspace-intelligence-runner.md +2 -1
- package/docs/workspace-knowledge-graph.md +6 -1
- package/docs/workspace-operations.md +3 -1
- package/docs/workspace-repair-engine.md +122 -0
- package/docs/workspace-run.md +17 -14
- package/package.json +3 -2
- package/scripts/enterprise-package-smoke.mjs +9 -6
- package/dist/analyze-J7VNZMDH.js +0 -1
- package/dist/artifact-remediation-plan-IDCJGULX.js +0 -3
- package/dist/autopilot-release-XRNPBYC6.js +0 -1
- package/dist/chunk-23JDMHSD.js +0 -86
- package/dist/chunk-2E6WGUN6.js +0 -1
- package/dist/chunk-2ZRMYFJG.js +0 -1
- package/dist/chunk-3D3PFPP5.js +0 -1
- package/dist/chunk-4D7DIGAB.js +0 -1
- package/dist/chunk-5XJRCP3D.js +0 -36
- package/dist/chunk-62K2H72S.js +0 -1
- package/dist/chunk-7MQZQ4UU.js +0 -1
- package/dist/chunk-AL237TSJ.js +0 -7
- package/dist/chunk-B4CPDK6J.js +0 -2
- package/dist/chunk-CZC5P2MF.js +0 -1
- package/dist/chunk-DZ4VKAXB.js +0 -75
- package/dist/chunk-FUPHQOJB.js +0 -1
- package/dist/chunk-GHB6QMQH.js +0 -1
- package/dist/chunk-LOCPNNSK.js +0 -1
- package/dist/chunk-LPCL4U4L.js +0 -1
- package/dist/chunk-MBRU3VWJ.js +0 -2
- package/dist/chunk-NHVHRBBV.js +0 -4
- package/dist/chunk-OXNV7OJM.js +0 -8
- package/dist/chunk-P4OSLAVD.js +0 -3
- package/dist/chunk-Q6CUJ3WF.js +0 -10
- package/dist/chunk-ULR66OJR.js +0 -2
- package/dist/chunk-XHRHNVCZ.js +0 -1
- package/dist/chunk-ZTKIBREF.js +0 -1
- package/dist/pipeline-P6DFMDL4.js +0 -5
- package/dist/project-test-coverage-A677ZLW3.js +0 -1
- package/dist/workspace-explain-26UGV7L4.js +0 -1
- package/dist/workspace-explain-contract-GIWPCCEF.js +0 -1
- package/dist/workspace-intelligence-runtime-registry-YOQ5GFFJ.js +0 -1
- package/dist/workspace-run-HRKCACGR.js +0 -1
package/README.md
CHANGED
|
@@ -140,6 +140,7 @@ The deterministic model, graph, and checks do not require an AI API key.
|
|
|
140
140
|
| Refresh Model and Graph | `npx workspai workspace model --write --json` |
|
|
141
141
|
| Ask a focused architecture question | `npx workspai workspace graph search "authentication service" --limit 12 --json` |
|
|
142
142
|
| Verify current evidence | `npx workspai workspace verify --strict --json` |
|
|
143
|
+
| Inspect a governed repair before execution | `npx workspai workspace repair capabilities --json` |
|
|
143
144
|
| Refresh agent and IDE context | `npx workspai workspace agent-sync --write --preset enterprise --json` |
|
|
144
145
|
|
|
145
146
|
For every command and flag, use the
|
|
@@ -181,6 +182,7 @@ modules; Workspai remains the workspace-level CLI.
|
|
|
181
182
|
| Create, adopt, import, or connect software | [Creating workspaces and projects](docs/creating-workspaces-and-projects.md) |
|
|
182
183
|
| Query Graph and inspect proof | [Workspace Knowledge Graph](docs/workspace-knowledge-graph.md) |
|
|
183
184
|
| Understand the exact decision loop | [Workspace Intelligence runner](docs/workspace-intelligence-runner.md) |
|
|
185
|
+
| Plan, approve, execute, or roll back a repair | [Workspace Repair Engine](docs/workspace-repair-engine.md) |
|
|
184
186
|
| Set a release, security, or coverage outcome | [Verified engineering goals](docs/workspace-intelligence-runner.md#verified-engineering-goals) |
|
|
185
187
|
| Integrate CI | [CI workflows](docs/ci-workflows.md) |
|
|
186
188
|
| Find generated files and schemas | [Artifact Catalog](docs/contracts/ARTIFACT_CATALOG.md) |
|
|
@@ -131,10 +131,12 @@
|
|
|
131
131
|
"schemaVersion": {
|
|
132
132
|
"const": "workspai.doctor-dependency-repair-transaction.v1"
|
|
133
133
|
},
|
|
134
|
-
"kind": { "
|
|
134
|
+
"kind": { "enum": ["dependency-security", "dependency-materialization"] },
|
|
135
135
|
"state": { "const": "planned" },
|
|
136
136
|
"projectPath": { "type": "string", "minLength": 1 },
|
|
137
137
|
"ecosystem": { "type": "string", "minLength": 1 },
|
|
138
|
+
"sourceMutationRequired": { "type": "boolean" },
|
|
139
|
+
"observableState": { "enum": ["runtime-dependency-tree"] },
|
|
138
140
|
"requiredStages": {
|
|
139
141
|
"type": "array",
|
|
140
142
|
"items": { "enum": ["reconcile", "audit", "test", "build"] },
|
|
@@ -145,7 +147,6 @@
|
|
|
145
147
|
"additionalProperties": false,
|
|
146
148
|
"required": [
|
|
147
149
|
"manifestLockConsistent",
|
|
148
|
-
"auditClean",
|
|
149
150
|
"declaredTestsPass",
|
|
150
151
|
"declaredBuildPass",
|
|
151
152
|
"canonicalVerificationRequired"
|
|
@@ -153,12 +154,30 @@
|
|
|
153
154
|
"properties": {
|
|
154
155
|
"manifestLockConsistent": { "const": true },
|
|
155
156
|
"auditClean": { "const": true },
|
|
157
|
+
"installedTreePresent": { "const": true },
|
|
156
158
|
"declaredTestsPass": { "const": true },
|
|
157
159
|
"declaredBuildPass": { "const": true },
|
|
158
160
|
"canonicalVerificationRequired": { "const": true }
|
|
159
161
|
}
|
|
160
162
|
}
|
|
161
|
-
}
|
|
163
|
+
},
|
|
164
|
+
"allOf": [
|
|
165
|
+
{
|
|
166
|
+
"if": { "properties": { "kind": { "const": "dependency-security" } } },
|
|
167
|
+
"then": { "properties": { "completion": { "type": "object", "properties": { "auditClean": { "const": true } }, "required": ["auditClean"] } } }
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"if": { "properties": { "kind": { "const": "dependency-materialization" } } },
|
|
171
|
+
"then": {
|
|
172
|
+
"required": ["sourceMutationRequired", "observableState"],
|
|
173
|
+
"properties": {
|
|
174
|
+
"sourceMutationRequired": { "const": false },
|
|
175
|
+
"observableState": { "const": "runtime-dependency-tree" },
|
|
176
|
+
"completion": { "type": "object", "properties": { "installedTreePresent": { "const": true } }, "required": ["installedTreePresent"] }
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
]
|
|
162
181
|
},
|
|
163
182
|
"action": {
|
|
164
183
|
"type": "object",
|
|
@@ -218,6 +237,7 @@
|
|
|
218
237
|
"blocker": { "type": "string" },
|
|
219
238
|
"summary": { "type": "string" },
|
|
220
239
|
"command": { "type": "string" },
|
|
240
|
+
"invocation": { "$ref": "#/$defs/commandInvocation" },
|
|
221
241
|
"verifyCommand": { "type": "string" },
|
|
222
242
|
"cwd": { "enum": ["workspace", "project"] },
|
|
223
243
|
"files": {
|
|
@@ -1432,6 +1432,42 @@
|
|
|
1432
1432
|
"flags": "--allow-force",
|
|
1433
1433
|
"attributeName": "allowForce"
|
|
1434
1434
|
},
|
|
1435
|
+
{
|
|
1436
|
+
"flags": "--card <id>",
|
|
1437
|
+
"attributeName": "card"
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
"flags": "--action-id <id>",
|
|
1441
|
+
"attributeName": "actionId"
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
"flags": "--project <name>",
|
|
1445
|
+
"attributeName": "project"
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
"flags": "--proposal <path>",
|
|
1449
|
+
"attributeName": "proposal"
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
"flags": "--transaction <id>",
|
|
1453
|
+
"attributeName": "transaction"
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
"flags": "--approved-by <actor>",
|
|
1457
|
+
"attributeName": "approvedBy"
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
"flags": "--decision <choice>",
|
|
1461
|
+
"attributeName": "decision"
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
"flags": "--max-risk <risk>",
|
|
1465
|
+
"attributeName": "maxRisk"
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"flags": "--no-auto-rollback",
|
|
1469
|
+
"attributeName": "autoRollback"
|
|
1470
|
+
},
|
|
1435
1471
|
{
|
|
1436
1472
|
"flags": "--no-build",
|
|
1437
1473
|
"attributeName": "build"
|
|
@@ -497,10 +497,12 @@
|
|
|
497
497
|
"schemaVersion": {
|
|
498
498
|
"const": "workspai.doctor-dependency-repair-transaction.v1"
|
|
499
499
|
},
|
|
500
|
-
"kind": { "
|
|
500
|
+
"kind": { "enum": ["dependency-security", "dependency-materialization"] },
|
|
501
501
|
"state": { "const": "planned" },
|
|
502
502
|
"projectPath": { "type": "string", "minLength": 1 },
|
|
503
503
|
"ecosystem": { "type": "string", "minLength": 1 },
|
|
504
|
+
"sourceMutationRequired": { "type": "boolean" },
|
|
505
|
+
"observableState": { "enum": ["runtime-dependency-tree"] },
|
|
504
506
|
"requiredStages": {
|
|
505
507
|
"type": "array",
|
|
506
508
|
"items": { "enum": ["reconcile", "audit", "test", "build"] },
|
|
@@ -510,7 +512,6 @@
|
|
|
510
512
|
"type": "object",
|
|
511
513
|
"required": [
|
|
512
514
|
"manifestLockConsistent",
|
|
513
|
-
"auditClean",
|
|
514
515
|
"declaredTestsPass",
|
|
515
516
|
"declaredBuildPass",
|
|
516
517
|
"canonicalVerificationRequired"
|
|
@@ -518,6 +519,7 @@
|
|
|
518
519
|
"properties": {
|
|
519
520
|
"manifestLockConsistent": { "const": true },
|
|
520
521
|
"auditClean": { "const": true },
|
|
522
|
+
"installedTreePresent": { "const": true },
|
|
521
523
|
"declaredTestsPass": { "const": true },
|
|
522
524
|
"declaredBuildPass": { "const": true },
|
|
523
525
|
"canonicalVerificationRequired": { "const": true }
|
|
@@ -525,6 +527,23 @@
|
|
|
525
527
|
"additionalProperties": false
|
|
526
528
|
}
|
|
527
529
|
},
|
|
530
|
+
"allOf": [
|
|
531
|
+
{
|
|
532
|
+
"if": { "properties": { "kind": { "const": "dependency-security" } } },
|
|
533
|
+
"then": { "properties": { "completion": { "type": "object", "properties": { "auditClean": { "const": true } }, "required": ["auditClean"] } } }
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"if": { "properties": { "kind": { "const": "dependency-materialization" } } },
|
|
537
|
+
"then": {
|
|
538
|
+
"required": ["sourceMutationRequired", "observableState"],
|
|
539
|
+
"properties": {
|
|
540
|
+
"sourceMutationRequired": { "const": false },
|
|
541
|
+
"observableState": { "const": "runtime-dependency-tree" },
|
|
542
|
+
"completion": { "type": "object", "properties": { "installedTreePresent": { "const": true } }, "required": ["installedTreePresent"] }
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
],
|
|
528
547
|
"additionalProperties": false
|
|
529
548
|
},
|
|
530
549
|
"commandInvocation": {
|
|
@@ -186,10 +186,12 @@
|
|
|
186
186
|
"schemaVersion": {
|
|
187
187
|
"const": "workspai.doctor-dependency-repair-transaction.v1"
|
|
188
188
|
},
|
|
189
|
-
"kind": { "
|
|
189
|
+
"kind": { "enum": ["dependency-security", "dependency-materialization"] },
|
|
190
190
|
"state": { "const": "planned" },
|
|
191
191
|
"projectPath": { "type": "string", "minLength": 1 },
|
|
192
192
|
"ecosystem": { "type": "string", "minLength": 1 },
|
|
193
|
+
"sourceMutationRequired": { "type": "boolean" },
|
|
194
|
+
"observableState": { "enum": ["runtime-dependency-tree"] },
|
|
193
195
|
"requiredStages": {
|
|
194
196
|
"type": "array",
|
|
195
197
|
"items": { "enum": ["reconcile", "audit", "test", "build"] },
|
|
@@ -200,7 +202,6 @@
|
|
|
200
202
|
"additionalProperties": false,
|
|
201
203
|
"required": [
|
|
202
204
|
"manifestLockConsistent",
|
|
203
|
-
"auditClean",
|
|
204
205
|
"declaredTestsPass",
|
|
205
206
|
"declaredBuildPass",
|
|
206
207
|
"canonicalVerificationRequired"
|
|
@@ -208,12 +209,30 @@
|
|
|
208
209
|
"properties": {
|
|
209
210
|
"manifestLockConsistent": { "const": true },
|
|
210
211
|
"auditClean": { "const": true },
|
|
212
|
+
"installedTreePresent": { "const": true },
|
|
211
213
|
"declaredTestsPass": { "const": true },
|
|
212
214
|
"declaredBuildPass": { "const": true },
|
|
213
215
|
"canonicalVerificationRequired": { "const": true }
|
|
214
216
|
}
|
|
215
217
|
}
|
|
216
|
-
}
|
|
218
|
+
},
|
|
219
|
+
"allOf": [
|
|
220
|
+
{
|
|
221
|
+
"if": { "properties": { "kind": { "const": "dependency-security" } } },
|
|
222
|
+
"then": { "properties": { "completion": { "type": "object", "properties": { "auditClean": { "const": true } }, "required": ["auditClean"] } } }
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"if": { "properties": { "kind": { "const": "dependency-materialization" } } },
|
|
226
|
+
"then": {
|
|
227
|
+
"required": ["sourceMutationRequired", "observableState"],
|
|
228
|
+
"properties": {
|
|
229
|
+
"sourceMutationRequired": { "const": false },
|
|
230
|
+
"observableState": { "const": "runtime-dependency-tree" },
|
|
231
|
+
"completion": { "type": "object", "properties": { "installedTreePresent": { "const": true } }, "required": ["installedTreePresent"] }
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
]
|
|
217
236
|
},
|
|
218
237
|
"repairIntent": {
|
|
219
238
|
"type": "object",
|
|
@@ -507,10 +507,12 @@
|
|
|
507
507
|
"schemaVersion": {
|
|
508
508
|
"const": "workspai.doctor-dependency-repair-transaction.v1"
|
|
509
509
|
},
|
|
510
|
-
"kind": { "
|
|
510
|
+
"kind": { "enum": ["dependency-security", "dependency-materialization"] },
|
|
511
511
|
"state": { "const": "planned" },
|
|
512
512
|
"projectPath": { "type": "string", "minLength": 1 },
|
|
513
513
|
"ecosystem": { "type": "string", "minLength": 1 },
|
|
514
|
+
"sourceMutationRequired": { "type": "boolean" },
|
|
515
|
+
"observableState": { "enum": ["runtime-dependency-tree"] },
|
|
514
516
|
"requiredStages": {
|
|
515
517
|
"type": "array",
|
|
516
518
|
"items": { "enum": ["reconcile", "audit", "test", "build"] },
|
|
@@ -520,7 +522,6 @@
|
|
|
520
522
|
"type": "object",
|
|
521
523
|
"required": [
|
|
522
524
|
"manifestLockConsistent",
|
|
523
|
-
"auditClean",
|
|
524
525
|
"declaredTestsPass",
|
|
525
526
|
"declaredBuildPass",
|
|
526
527
|
"canonicalVerificationRequired"
|
|
@@ -528,6 +529,7 @@
|
|
|
528
529
|
"properties": {
|
|
529
530
|
"manifestLockConsistent": { "const": true },
|
|
530
531
|
"auditClean": { "const": true },
|
|
532
|
+
"installedTreePresent": { "const": true },
|
|
531
533
|
"declaredTestsPass": { "const": true },
|
|
532
534
|
"declaredBuildPass": { "const": true },
|
|
533
535
|
"canonicalVerificationRequired": { "const": true }
|
|
@@ -535,6 +537,23 @@
|
|
|
535
537
|
"additionalProperties": false
|
|
536
538
|
}
|
|
537
539
|
},
|
|
540
|
+
"allOf": [
|
|
541
|
+
{
|
|
542
|
+
"if": { "properties": { "kind": { "const": "dependency-security" } } },
|
|
543
|
+
"then": { "properties": { "completion": { "type": "object", "properties": { "auditClean": { "const": true } }, "required": ["auditClean"] } } }
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"if": { "properties": { "kind": { "const": "dependency-materialization" } } },
|
|
547
|
+
"then": {
|
|
548
|
+
"required": ["sourceMutationRequired", "observableState"],
|
|
549
|
+
"properties": {
|
|
550
|
+
"sourceMutationRequired": { "const": false },
|
|
551
|
+
"observableState": { "const": "runtime-dependency-tree" },
|
|
552
|
+
"completion": { "type": "object", "properties": { "installedTreePresent": { "const": true } }, "required": ["installedTreePresent"] }
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
],
|
|
538
557
|
"additionalProperties": false
|
|
539
558
|
},
|
|
540
559
|
"commandInvocation": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "rapidkit-extension-cli-compatibility.v1",
|
|
3
3
|
"cli": "workspai",
|
|
4
|
-
"minimumVerifiedCliVersion": "0.
|
|
4
|
+
"minimumVerifiedCliVersion": "0.54.0",
|
|
5
5
|
"publishedContractSchemas": {
|
|
6
6
|
"workspaceContract": 1,
|
|
7
7
|
"runtimeCommandSurface": "rapidkit-runtime-command-surface-v1",
|
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
"intelligenceRun": "workspace-intelligence-run.v1",
|
|
47
47
|
"evaluationLive": "workspace-intelligence-evaluation.v1",
|
|
48
48
|
"evaluationLastRun": "workspace-intelligence-evaluation.v1",
|
|
49
|
-
"verifiedGoalStatus": "workspai.verified-goal-status.v1"
|
|
49
|
+
"verifiedGoalStatus": "workspai.verified-goal-status.v1",
|
|
50
|
+
"repairTransaction": "workspai.workspace-repair-transaction.v1"
|
|
50
51
|
},
|
|
51
52
|
"cliLogEvent": "cli-log-event-v1",
|
|
52
53
|
"freshnessMetadata": "rapidkit-freshness-metadata-v1",
|
|
@@ -76,7 +77,28 @@
|
|
|
76
77
|
"doctorRemediationPlan": "doctor-remediation-plan-v2",
|
|
77
78
|
"doctorDependencyRepairTransaction": "workspai.doctor-dependency-repair-transaction.v1",
|
|
78
79
|
"artifactRemediationPlan": "artifact-remediation-plan-v1",
|
|
80
|
+
"studioCardRepairCapabilities": "workspai.studio-card-repair-capabilities.v1",
|
|
81
|
+
"workspaceRepairProposal": "workspai.workspace-repair-proposal.v1",
|
|
82
|
+
"workspaceRepairCapabilities": "workspai.workspace-repair-capabilities.v1",
|
|
83
|
+
"workspaceRepairTransaction": "workspai.workspace-repair-transaction.v1",
|
|
79
84
|
"doctorFixResult": "rapidkit-doctor-fix-result-v1",
|
|
85
|
+
"backendImportStackParitySnapshot": "backend-import-stack-parity-v1",
|
|
86
|
+
"bootstrapCompliance": "bootstrap-compliance.v1",
|
|
87
|
+
"commandCapabilities": "rapidkit-command-capabilities-v1",
|
|
88
|
+
"createPlannerCapabilities": "rapidkit-create-planner-capabilities-v1",
|
|
89
|
+
"doctorRemediationPlanLegacy": "doctor-remediation-plan-v2",
|
|
90
|
+
"extensionCliCompatibility": "rapidkit-extension-cli-compatibility.v1",
|
|
91
|
+
"infraStack": "rapidkit.infra-stack.v1",
|
|
92
|
+
"mirrorOps": "mirror-ops.v1",
|
|
93
|
+
"moduleLayout": "rapidkit.module-layout.v1",
|
|
94
|
+
"moduleSupport": "rapidkit-module-support-v1",
|
|
95
|
+
"pipelineLastRun": "rapidkit-pipeline-v1",
|
|
96
|
+
"transparencyEvidence": "transparency-evidence.v1",
|
|
97
|
+
"version": "rapidkit-version-v1",
|
|
98
|
+
"studioBlockerHandoff": "rapidkit-studio-blocker-handoff-v1",
|
|
99
|
+
"workspaceRegistry": "workspace-registry.v1",
|
|
100
|
+
"workspaceRunLast": "workspace-run-v1",
|
|
101
|
+
"workspaceShareBundle": "1.1",
|
|
80
102
|
"autopilotRelease": "autopilot-release-v1",
|
|
81
103
|
"workspaceList": "rapidkit-workspace-list-v1",
|
|
82
104
|
"workspaceSync": "rapidkit-workspace-sync-v1",
|
|
@@ -133,7 +133,8 @@
|
|
|
133
133
|
"intelligenceRun": "workspace-intelligence-run.v1",
|
|
134
134
|
"evaluationLive": "workspace-intelligence-evaluation.v1",
|
|
135
135
|
"evaluationLastRun": "workspace-intelligence-evaluation.v1",
|
|
136
|
-
"verifiedGoalStatus": "workspai.verified-goal-status.v1"
|
|
136
|
+
"verifiedGoalStatus": "workspai.verified-goal-status.v1",
|
|
137
|
+
"repairTransaction": "workspai.workspace-repair-transaction.v1"
|
|
137
138
|
},
|
|
138
139
|
"contractPath": null,
|
|
139
140
|
"publication": "embedded-type",
|
|
@@ -242,6 +243,11 @@
|
|
|
242
243
|
"path": ".workspai/reports/verified-goal-last-run.json",
|
|
243
244
|
"schemaVersion": "workspai.verified-goal-status.v1",
|
|
244
245
|
"contractPath": "contracts/workspace-intelligence/verified-goal-status.v1.json"
|
|
246
|
+
},
|
|
247
|
+
"repairTransaction": {
|
|
248
|
+
"path": ".workspai/reports/workspace-repair-last-run.json",
|
|
249
|
+
"schemaVersion": "workspai.workspace-repair-transaction.v1",
|
|
250
|
+
"contractPath": "contracts/workspace-intelligence/workspace-repair-transaction.v1.json"
|
|
245
251
|
}
|
|
246
252
|
}
|
|
247
253
|
},
|
|
@@ -385,11 +391,116 @@
|
|
|
385
391
|
"contractPath": "contracts/artifact-remediation-plan.v1.json",
|
|
386
392
|
"publication": "json-schema"
|
|
387
393
|
},
|
|
394
|
+
"studioCardRepairCapabilities": {
|
|
395
|
+
"schemaVersion": "workspai.studio-card-repair-capabilities.v1",
|
|
396
|
+
"contractPath": "contracts/studio-card-repair-capabilities.v1.json",
|
|
397
|
+
"publication": "capability-contract"
|
|
398
|
+
},
|
|
399
|
+
"workspaceRepairProposal": {
|
|
400
|
+
"schemaVersion": "workspai.workspace-repair-proposal.v1",
|
|
401
|
+
"contractPath": "contracts/workspace-intelligence/workspace-repair-proposal.v1.json",
|
|
402
|
+
"publication": "json-schema"
|
|
403
|
+
},
|
|
404
|
+
"workspaceRepairCapabilities": {
|
|
405
|
+
"schemaVersion": "workspai.workspace-repair-capabilities.v1",
|
|
406
|
+
"contractPath": "contracts/workspace-repair-capabilities.v1.json",
|
|
407
|
+
"publication": "capability-contract"
|
|
408
|
+
},
|
|
409
|
+
"workspaceRepairTransaction": {
|
|
410
|
+
"schemaVersion": "workspai.workspace-repair-transaction.v1",
|
|
411
|
+
"contractPath": "contracts/workspace-intelligence/workspace-repair-transaction.v1.json",
|
|
412
|
+
"publication": "json-schema"
|
|
413
|
+
},
|
|
388
414
|
"doctorFixResult": {
|
|
389
415
|
"schemaVersion": "rapidkit-doctor-fix-result-v1",
|
|
390
416
|
"contractPath": "contracts/workspace-intelligence/doctor-fix-result.v1.json",
|
|
391
417
|
"publication": "json-schema"
|
|
392
418
|
},
|
|
419
|
+
"backendImportStackParitySnapshot": {
|
|
420
|
+
"schemaVersion": "backend-import-stack-parity-v1",
|
|
421
|
+
"contractPath": "contracts/backend-import-stack-parity.snapshot.json",
|
|
422
|
+
"publication": "capability-contract"
|
|
423
|
+
},
|
|
424
|
+
"bootstrapCompliance": {
|
|
425
|
+
"schemaVersion": "bootstrap-compliance.v1",
|
|
426
|
+
"contractPath": "contracts/bootstrap-compliance.v1.json",
|
|
427
|
+
"publication": "json-schema"
|
|
428
|
+
},
|
|
429
|
+
"commandCapabilities": {
|
|
430
|
+
"schemaVersion": "rapidkit-command-capabilities-v1",
|
|
431
|
+
"contractPath": "contracts/command-capabilities.v1.json",
|
|
432
|
+
"publication": "capability-contract"
|
|
433
|
+
},
|
|
434
|
+
"createPlannerCapabilities": {
|
|
435
|
+
"schemaVersion": "rapidkit-create-planner-capabilities-v1",
|
|
436
|
+
"contractPath": "contracts/create-planner-capabilities.v1.json",
|
|
437
|
+
"publication": "capability-contract"
|
|
438
|
+
},
|
|
439
|
+
"doctorRemediationPlanLegacy": {
|
|
440
|
+
"schemaVersion": "doctor-remediation-plan-v2",
|
|
441
|
+
"contractPath": "contracts/doctor-remediation-plan.v1.json",
|
|
442
|
+
"publication": "json-schema"
|
|
443
|
+
},
|
|
444
|
+
"extensionCliCompatibility": {
|
|
445
|
+
"schemaVersion": "rapidkit-extension-cli-compatibility.v1",
|
|
446
|
+
"contractPath": "contracts/extension-cli-compatibility.v1.json",
|
|
447
|
+
"publication": "capability-contract"
|
|
448
|
+
},
|
|
449
|
+
"infraStack": {
|
|
450
|
+
"schemaVersion": "rapidkit.infra-stack.v1",
|
|
451
|
+
"contractPath": "contracts/infra-stack.v1.json",
|
|
452
|
+
"publication": "json-schema"
|
|
453
|
+
},
|
|
454
|
+
"mirrorOps": {
|
|
455
|
+
"schemaVersion": "mirror-ops.v1",
|
|
456
|
+
"contractPath": "contracts/mirror-ops.v1.json",
|
|
457
|
+
"publication": "json-schema"
|
|
458
|
+
},
|
|
459
|
+
"moduleLayout": {
|
|
460
|
+
"schemaVersion": "rapidkit.module-layout.v1",
|
|
461
|
+
"contractPath": "contracts/module-layout.v1.json",
|
|
462
|
+
"publication": "capability-contract"
|
|
463
|
+
},
|
|
464
|
+
"moduleSupport": {
|
|
465
|
+
"schemaVersion": "rapidkit-module-support-v1",
|
|
466
|
+
"contractPath": "contracts/module-support.v1.json",
|
|
467
|
+
"publication": "capability-contract"
|
|
468
|
+
},
|
|
469
|
+
"pipelineLastRun": {
|
|
470
|
+
"schemaVersion": "rapidkit-pipeline-v1",
|
|
471
|
+
"contractPath": "contracts/pipeline-last-run.v1.json",
|
|
472
|
+
"publication": "json-schema"
|
|
473
|
+
},
|
|
474
|
+
"transparencyEvidence": {
|
|
475
|
+
"schemaVersion": "transparency-evidence.v1",
|
|
476
|
+
"contractPath": "contracts/transparency-evidence.v1.json",
|
|
477
|
+
"publication": "json-schema"
|
|
478
|
+
},
|
|
479
|
+
"version": {
|
|
480
|
+
"schemaVersion": "rapidkit-version-v1",
|
|
481
|
+
"contractPath": "contracts/version.v1.json",
|
|
482
|
+
"publication": "json-schema"
|
|
483
|
+
},
|
|
484
|
+
"studioBlockerHandoff": {
|
|
485
|
+
"schemaVersion": "rapidkit-studio-blocker-handoff-v1",
|
|
486
|
+
"contractPath": "contracts/workspace-intelligence/studio-blocker-handoff.v1.json",
|
|
487
|
+
"publication": "json-schema"
|
|
488
|
+
},
|
|
489
|
+
"workspaceRegistry": {
|
|
490
|
+
"schemaVersion": "workspace-registry.v1",
|
|
491
|
+
"contractPath": "contracts/workspace-registry.v1.json",
|
|
492
|
+
"publication": "json-schema"
|
|
493
|
+
},
|
|
494
|
+
"workspaceRunLast": {
|
|
495
|
+
"schemaVersion": "workspace-run-v1",
|
|
496
|
+
"contractPath": "contracts/workspace-run-last.v1.json",
|
|
497
|
+
"publication": "json-schema"
|
|
498
|
+
},
|
|
499
|
+
"workspaceShareBundle": {
|
|
500
|
+
"schemaVersion": "1.1",
|
|
501
|
+
"contractPath": "contracts/workspace-share-bundle.v1.json",
|
|
502
|
+
"publication": "json-schema"
|
|
503
|
+
},
|
|
393
504
|
"autopilotRelease": {
|
|
394
505
|
"schemaVersion": "autopilot-release-v1",
|
|
395
506
|
"contractPath": "contracts/autopilot-release.v1.json",
|
|
@@ -428,7 +539,7 @@
|
|
|
428
539
|
"workspaceSnapshot": {
|
|
429
540
|
"schemaVersion": "rapidkit-workspace-snapshot-v1",
|
|
430
541
|
"contractPath": "contracts/workspace-snapshot.v1.json",
|
|
431
|
-
"publication": "
|
|
542
|
+
"publication": "capability-contract"
|
|
432
543
|
},
|
|
433
544
|
"workspaceSnapshotV2": {
|
|
434
545
|
"schemaVersion": "rapidkit-workspace-snapshot-v2",
|