workspai 0.48.0 → 0.50.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 +151 -75
- 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 +84 -0
- package/contracts/compatibility-matrix.v1.json +2 -0
- package/contracts/create-planner-capabilities.v1.json +144 -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 +11 -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 +50 -0
- package/contracts/release-readiness.v1.json +2 -2
- package/contracts/runtime-command-surface.v1.json +1456 -123
- 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 +262 -0
- 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-ZFQWTCJQ.js +1 -0
- package/dist/{artifact-remediation-plan-SPOUHMK5.js → artifact-remediation-plan-ICN3KOFG.js} +1 -1
- package/dist/autopilot-release-VKXQ7BS7.js +1 -0
- package/dist/chunk-2AXEGYPL.js +1 -0
- package/dist/chunk-2D4UOYOJ.js +1 -0
- package/dist/chunk-2OIBHUVH.js +1 -0
- package/dist/chunk-3GRKUP5W.js +33 -0
- package/dist/{managed-agent-markers-AXUM75OE.js → chunk-3RBUSW7H.js} +1 -1
- package/dist/chunk-5EXZBCAZ.js +4 -0
- package/dist/chunk-6UTM5AJI.js +1 -0
- 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-AL2A7Q4X.js +86 -0
- package/dist/{chunk-VU7NZHPM.js → chunk-BHYTI3RH.js} +1 -1
- package/dist/{chunk-ESLPI3XZ.js → chunk-BQGBU2Y3.js} +1 -1
- package/dist/chunk-C35UXTDM.js +2 -0
- package/dist/chunk-C3FLCDRN.js +2 -0
- package/dist/chunk-CZC5P2MF.js +1 -0
- package/dist/{chunk-Y5UJLPS4.js → chunk-DDQ3XK3H.js} +13 -13
- package/dist/{chunk-CRHYBQI3.js → chunk-DQ3PI7EP.js} +1 -1
- package/dist/chunk-EWZZUQBR.js +1 -0
- package/dist/{chunk-4KUIFXHM.js → chunk-GNQRYISX.js} +3 -3
- package/dist/chunk-I42F552T.js +2 -0
- package/dist/chunk-IDQKVJUF.js +2 -0
- package/dist/{chunk-3VFA7D5T.js → chunk-IND3TUVU.js} +1 -1
- package/dist/chunk-IPJ5URDF.js +1 -0
- package/dist/{chunk-I46XEIPL.js → chunk-JFUD73OZ.js} +52 -52
- package/dist/chunk-KKAOTTYO.js +8 -0
- package/dist/chunk-KMLPHFLD.js +2 -0
- package/dist/{chunk-NHN4QXPP.js → chunk-KVSYBHUR.js} +1 -1
- package/dist/chunk-KXG6E5VK.js +1 -0
- package/dist/chunk-L2YK5RV2.js +1 -0
- package/dist/chunk-LAJM2SBP.js +15 -0
- package/dist/{chunk-5S3DJQEP.js → chunk-LZQUZGXB.js} +1 -1
- package/dist/chunk-MOSXTVPU.js +1 -0
- package/dist/chunk-MV7KF75Q.js +13 -0
- package/dist/chunk-MVLIONQD.js +1 -0
- package/dist/chunk-RJIYCDVC.js +1 -0
- package/dist/{chunk-BGPXQQNY.js → chunk-RTVRZFIJ.js} +1 -1
- package/dist/chunk-RVQLMTTI.js +2 -0
- package/dist/chunk-SHXJ2GDR.js +75 -0
- package/dist/{chunk-32OJDBIG.js → chunk-SS2VV3D5.js} +1 -1
- package/dist/chunk-TDTCMZK7.js +10 -0
- package/dist/chunk-UETZ7USY.js +36 -0
- package/dist/chunk-VKTUWUS6.js +1 -0
- package/dist/chunk-VRW6KXNK.js +6 -0
- package/dist/chunk-Y5YAP4F3.js +2 -0
- package/dist/chunk-YPKNQCLK.js +2 -0
- package/dist/{create-DBQNAMKP.js → create-I23DC7SN.js} +1 -1
- package/dist/{demo-kit-DZ7TPG7K.js → demo-kit-KHH63TNA.js} +2 -2
- package/dist/{doctor-4NNUDNGZ.js → doctor-DOOMYLIH.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 +41 -6
- package/dist/index.js +268 -356
- package/dist/managed-agent-markers-COE5DJ3W.js +1 -0
- package/dist/pipeline-U77HSINC.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-4TEHZJFC.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-ZEYUVR26.js +1 -0
- package/dist/{workspace-agent-sync-662QHXGF.js → workspace-agent-sync-DKYJLUDP.js} +1 -1
- package/dist/workspace-archive-4JNT4S7N.js +1 -0
- package/dist/{workspace-context-23YYCUCP.js → workspace-context-IHUFMZT3.js} +1 -1
- package/dist/workspace-contract-PVLGPBBV.js +1 -0
- package/dist/workspace-explain-64HNKAHO.js +1 -0
- package/dist/workspace-explain-contract-H7O26QJU.js +1 -0
- package/dist/{workspace-feedback-SUVH2LUJ.js → workspace-feedback-RATRXFUC.js} +1 -1
- package/dist/{workspace-foundation-WXJ6I7ES.js → workspace-foundation-D33LJLGT.js} +1 -1
- package/dist/workspace-graph-stream-THNG2T7R.js +1 -0
- package/dist/{workspace-history-BANOJRQ2.js → workspace-history-EWFPT74O.js} +1 -1
- package/dist/workspace-intelligence-MCNSWWDV.js +1 -0
- package/dist/{workspace-intelligence-evaluation-IPH7M3WV.js → workspace-intelligence-evaluation-7CABG5Y6.js} +1 -1
- package/dist/workspace-intelligence-runner-TG2VLHNZ.js +1 -0
- package/dist/workspace-intelligence-runtime-registry-ZZ3GRAL2.js +1 -0
- package/dist/{workspace-knowledge-graph-ARDC6HHG.js → workspace-knowledge-graph-2EYR7N56.js} +1 -1
- package/dist/{workspace-marker-SMBC3Z2Q.js → workspace-marker-7NHMDIRL.js} +1 -1
- package/dist/workspace-mcp-serve-FLAVKWYW.js +3 -0
- package/dist/workspace-model-FMFYLHE4.js +1 -0
- package/dist/workspace-model-hash-ZXYPIGCW.js +1 -0
- package/dist/workspace-onboarding-MYROZDI2.js +1 -0
- package/dist/{workspace-python-engine-state-2MLKJYQG.js → workspace-python-engine-state-J4QKW55K.js} +1 -1
- package/dist/{workspace-registry-summary-ORDK7A36.js → workspace-registry-summary-6VXIAQLX.js} +1 -1
- package/dist/workspace-run-2ZI5UMJ2.js +1 -0
- package/dist/{workspace-verify-EBVL7FWT.js → workspace-verify-FKYI65UQ.js} +1 -1
- package/dist/workspace-watch-RP5KMVP2.js +1 -0
- package/docs/GLOSSARY.md +17 -16
- package/docs/OPEN_SOURCE_USER_SCENARIOS.md +18 -10
- package/docs/README.md +49 -14
- package/docs/README_CONTENT_CONTRACT.md +19 -10
- package/docs/ci-workflows.md +3 -3
- package/docs/commands-reference.md +41 -10
- package/docs/contracts/ARTIFACT_CATALOG.md +72 -27
- 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 +75 -15
- package/docs/doctor-command.md +148 -39
- package/docs/examples/ci-agent-grounding.yml +1 -1
- package/docs/from-code-to-shared-understanding.md +6 -3
- package/docs/graph-benchmark-methodology.md +2 -2
- package/docs/workspace-intelligence-evaluation.md +13 -6
- package/docs/workspace-intelligence-runner.md +17 -6
- package/docs/workspace-knowledge-graph.md +102 -7
- package/docs/workspace-operations.md +154 -10
- package/package.json +10 -5
- package/scripts/enterprise-package-smoke.mjs +13 -1
- package/templates/kits/fastapi-ddd/README.md.j2 +1 -1
- package/dist/analyze-EEEU3MIF.js +0 -1
- package/dist/autopilot-release-XGVXPOZI.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-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-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-QNONOO4F.js +0 -4
- package/dist/chunk-RHQW3DTP.js +0 -1
- package/dist/chunk-T4YR4RAI.js +0 -2
- package/dist/chunk-Y45WZR5N.js +0 -5
- package/dist/chunk-YJZOMRAS.js +0 -1
- package/dist/pipeline-TQM43A3K.js +0 -5
- package/dist/platform-capabilities-2B4QMZXE.js +0 -1
- package/dist/workspace-NCWRINEF.js +0 -1
- package/dist/workspace-archive-P76EDIUG.js +0 -10
- 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-intelligence-MFJE7W67.js +0 -1
- package/dist/workspace-intelligence-runner-THYLHHMF.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-RLIYSOTN.js +0 -1
- package/dist/workspace-watch-3BPGLFLB.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://
|
|
4
|
-
"title": "
|
|
3
|
+
"$id": "https://workspai.dev/schemas/doctor-workspace-evidence.v1.json",
|
|
4
|
+
"title": "Workspai Doctor Workspace Evidence",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"required": [
|
|
7
7
|
"schemaVersion",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"projectScanCached": { "type": "boolean" },
|
|
28
28
|
"projectScanSignature": { "type": "string" },
|
|
29
29
|
"cachePath": { "type": ["string", "null"] },
|
|
30
|
-
"healthScore": { "
|
|
30
|
+
"healthScore": { "$ref": "#/$defs/healthScore" },
|
|
31
31
|
"evidenceFreshness": { "$ref": "#/$defs/evidenceFreshness" },
|
|
32
32
|
"system": { "type": "object", "additionalProperties": true },
|
|
33
33
|
"projects": {
|
|
@@ -42,7 +42,13 @@
|
|
|
42
42
|
"repairCapabilities": {
|
|
43
43
|
"type": "array",
|
|
44
44
|
"items": { "$ref": "#/$defs/repairCapability" }
|
|
45
|
-
}
|
|
45
|
+
},
|
|
46
|
+
"dependencyAudit": { "$ref": "#/$defs/dependencyAudit" },
|
|
47
|
+
"graphDiagnosis": {
|
|
48
|
+
"$ref": "https://workspai.dev/schemas/workspace-intelligence/doctor-graph-diagnosis.v1.json"
|
|
49
|
+
},
|
|
50
|
+
"verdict": { "enum": ["passed", "attention", "blocked"] },
|
|
51
|
+
"probeSummary": { "$ref": "#/$defs/probeSummary" }
|
|
46
52
|
},
|
|
47
53
|
"additionalProperties": true
|
|
48
54
|
}
|
|
@@ -55,6 +61,9 @@
|
|
|
55
61
|
"totalIssues": { "type": "integer", "minimum": 0 },
|
|
56
62
|
"projectAdvisoryWarningProjects": { "type": "integer", "minimum": 0 },
|
|
57
63
|
"projectAdvisoryWarnings": { "type": "integer", "minimum": 0 },
|
|
64
|
+
"verdict": { "enum": ["passed", "attention", "blocked"] },
|
|
65
|
+
"blockingFindings": { "type": "integer", "minimum": 0 },
|
|
66
|
+
"advisoryFindings": { "type": "integer", "minimum": 0 },
|
|
58
67
|
"hasSystemErrors": { "type": "boolean" },
|
|
59
68
|
"scopeProvenance": { "type": "object", "additionalProperties": true }
|
|
60
69
|
},
|
|
@@ -69,16 +78,154 @@
|
|
|
69
78
|
"policyProfile": { "$ref": "#/$defs/policyProfile" }
|
|
70
79
|
},
|
|
71
80
|
"$defs": {
|
|
72
|
-
"
|
|
81
|
+
"dependencyAudit": {
|
|
73
82
|
"type": "object",
|
|
74
83
|
"required": [
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
84
|
+
"schemaVersion",
|
|
85
|
+
"runtime",
|
|
86
|
+
"ecosystem",
|
|
87
|
+
"tool",
|
|
78
88
|
"status",
|
|
79
|
-
"
|
|
80
|
-
"
|
|
89
|
+
"generatedAt",
|
|
90
|
+
"findingCount",
|
|
91
|
+
"blockingFindingCount",
|
|
92
|
+
"severityCounts",
|
|
93
|
+
"reason",
|
|
94
|
+
"limitations"
|
|
95
|
+
],
|
|
96
|
+
"properties": {
|
|
97
|
+
"schemaVersion": { "const": "doctor-dependency-audit-v1" },
|
|
98
|
+
"runtime": {
|
|
99
|
+
"enum": [
|
|
100
|
+
"node",
|
|
101
|
+
"bun",
|
|
102
|
+
"deno",
|
|
103
|
+
"python",
|
|
104
|
+
"go",
|
|
105
|
+
"java",
|
|
106
|
+
"rust",
|
|
107
|
+
"elixir",
|
|
108
|
+
"clojure",
|
|
109
|
+
"php",
|
|
110
|
+
"ruby",
|
|
111
|
+
"dotnet",
|
|
112
|
+
"scala",
|
|
113
|
+
"kotlin",
|
|
114
|
+
"c",
|
|
115
|
+
"cpp",
|
|
116
|
+
"unknown"
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
"ecosystem": { "type": "string", "minLength": 1 },
|
|
120
|
+
"tool": { "type": "string", "minLength": 1 },
|
|
121
|
+
"status": {
|
|
122
|
+
"enum": ["clean", "vulnerable", "tool-unavailable", "unsupported", "failed"]
|
|
123
|
+
},
|
|
124
|
+
"generatedAt": { "type": "string", "format": "date-time" },
|
|
125
|
+
"invocation": { "$ref": "#/$defs/commandInvocation" },
|
|
126
|
+
"exitCode": { "type": "integer" },
|
|
127
|
+
"findingCount": { "type": ["integer", "null"], "minimum": 0 },
|
|
128
|
+
"blockingFindingCount": { "type": ["integer", "null"], "minimum": 0 },
|
|
129
|
+
"severityCounts": {
|
|
130
|
+
"type": "object",
|
|
131
|
+
"required": ["low", "moderate", "high", "critical", "unknown"],
|
|
132
|
+
"properties": {
|
|
133
|
+
"low": { "type": "integer", "minimum": 0 },
|
|
134
|
+
"moderate": { "type": "integer", "minimum": 0 },
|
|
135
|
+
"high": { "type": "integer", "minimum": 0 },
|
|
136
|
+
"critical": { "type": "integer", "minimum": 0 },
|
|
137
|
+
"unknown": { "type": "integer", "minimum": 0 }
|
|
138
|
+
},
|
|
139
|
+
"additionalProperties": false
|
|
140
|
+
},
|
|
141
|
+
"subjects": {
|
|
142
|
+
"type": "array",
|
|
143
|
+
"items": { "$ref": "#/$defs/dependencyAuditSubject" }
|
|
144
|
+
},
|
|
145
|
+
"reason": { "type": "string", "minLength": 1 },
|
|
146
|
+
"limitations": { "type": "array", "items": { "type": "string" } }
|
|
147
|
+
},
|
|
148
|
+
"additionalProperties": false
|
|
149
|
+
},
|
|
150
|
+
"dependencyAuditSubject": {
|
|
151
|
+
"type": "object",
|
|
152
|
+
"required": ["name", "advisoryIds", "severities"],
|
|
153
|
+
"properties": {
|
|
154
|
+
"name": { "type": "string", "minLength": 1 },
|
|
155
|
+
"version": { "type": "string", "minLength": 1 },
|
|
156
|
+
"direct": { "type": "boolean" },
|
|
157
|
+
"advisoryIds": {
|
|
158
|
+
"type": "array",
|
|
159
|
+
"items": { "type": "string", "minLength": 1 },
|
|
160
|
+
"uniqueItems": true
|
|
161
|
+
},
|
|
162
|
+
"severities": {
|
|
163
|
+
"type": "array",
|
|
164
|
+
"items": { "enum": ["low", "moderate", "high", "critical", "unknown"] },
|
|
165
|
+
"uniqueItems": true
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"additionalProperties": false
|
|
169
|
+
},
|
|
170
|
+
"scoreComponent": {
|
|
171
|
+
"type": "object",
|
|
172
|
+
"required": ["errors"],
|
|
173
|
+
"properties": {
|
|
174
|
+
"percent": { "type": "number", "minimum": 0, "maximum": 100 },
|
|
175
|
+
"total": { "type": "integer", "minimum": 0 },
|
|
176
|
+
"passed": { "type": "integer", "minimum": 0 },
|
|
177
|
+
"warnings": { "type": "integer", "minimum": 0 },
|
|
178
|
+
"errors": { "type": "integer", "minimum": 0 }
|
|
179
|
+
},
|
|
180
|
+
"additionalProperties": false
|
|
181
|
+
},
|
|
182
|
+
"healthScore": {
|
|
183
|
+
"type": "object",
|
|
184
|
+
"required": ["errors"],
|
|
185
|
+
"properties": {
|
|
186
|
+
"percent": { "type": "number", "minimum": 0, "maximum": 100 },
|
|
187
|
+
"total": { "type": "integer", "minimum": 0 },
|
|
188
|
+
"passed": { "type": "integer", "minimum": 0 },
|
|
189
|
+
"warnings": { "type": "integer", "minimum": 0 },
|
|
190
|
+
"errors": { "type": "integer", "minimum": 0 },
|
|
191
|
+
"verdict": { "enum": ["passed", "attention", "blocked"] },
|
|
192
|
+
"components": {
|
|
193
|
+
"type": "object",
|
|
194
|
+
"required": ["host", "projects"],
|
|
195
|
+
"properties": {
|
|
196
|
+
"host": { "$ref": "#/$defs/scoreComponent" },
|
|
197
|
+
"projects": { "$ref": "#/$defs/scoreComponent" }
|
|
198
|
+
},
|
|
199
|
+
"additionalProperties": false
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"additionalProperties": false
|
|
203
|
+
},
|
|
204
|
+
"probeSummary": {
|
|
205
|
+
"type": "object",
|
|
206
|
+
"required": [
|
|
207
|
+
"total",
|
|
208
|
+
"passed",
|
|
209
|
+
"warnings",
|
|
210
|
+
"failed",
|
|
211
|
+
"blockingFindings",
|
|
212
|
+
"advisoryFindings",
|
|
213
|
+
"verdict"
|
|
81
214
|
],
|
|
215
|
+
"properties": {
|
|
216
|
+
"total": { "type": "integer", "minimum": 0 },
|
|
217
|
+
"passed": { "type": "integer", "minimum": 0 },
|
|
218
|
+
"warnings": { "type": "integer", "minimum": 0 },
|
|
219
|
+
"failed": { "type": "integer", "minimum": 0 },
|
|
220
|
+
"blockingFindings": { "type": "integer", "minimum": 0 },
|
|
221
|
+
"advisoryFindings": { "type": "integer", "minimum": 0 },
|
|
222
|
+
"verdict": { "enum": ["passed", "attention", "blocked"] }
|
|
223
|
+
},
|
|
224
|
+
"additionalProperties": false
|
|
225
|
+
},
|
|
226
|
+
"freshness": {
|
|
227
|
+
"type": "object",
|
|
228
|
+
"required": ["category", "generatedAt", "ttlSeconds", "status", "verifyBeforeUse", "reason"],
|
|
82
229
|
"properties": {
|
|
83
230
|
"category": { "enum": ["structure", "verification", "state"] },
|
|
84
231
|
"generatedAt": { "type": "string", "format": "date-time" },
|
|
@@ -248,6 +395,11 @@
|
|
|
248
395
|
"requiresReview": { "type": "boolean" },
|
|
249
396
|
"files": { "type": "array", "items": { "type": "string" } },
|
|
250
397
|
"command": { "type": "string" },
|
|
398
|
+
"invocation": { "$ref": "#/$defs/commandInvocation" },
|
|
399
|
+
"strategy": {
|
|
400
|
+
"type": "array",
|
|
401
|
+
"items": { "$ref": "#/$defs/repairStrategyStage" }
|
|
402
|
+
},
|
|
251
403
|
"operation": { "$ref": "#/$defs/repairOperation" },
|
|
252
404
|
"verifyCommand": { "type": "string" },
|
|
253
405
|
"refreshCommands": { "type": "array", "items": { "type": "string" } },
|
|
@@ -256,6 +408,33 @@
|
|
|
256
408
|
},
|
|
257
409
|
"additionalProperties": true
|
|
258
410
|
},
|
|
411
|
+
"commandInvocation": {
|
|
412
|
+
"type": "object",
|
|
413
|
+
"required": ["cwd", "executable", "args"],
|
|
414
|
+
"properties": {
|
|
415
|
+
"cwd": { "type": "string", "minLength": 1 },
|
|
416
|
+
"executable": { "type": "string", "minLength": 1 },
|
|
417
|
+
"args": { "type": "array", "items": { "type": "string" } }
|
|
418
|
+
},
|
|
419
|
+
"additionalProperties": false
|
|
420
|
+
},
|
|
421
|
+
"repairStrategyStage": {
|
|
422
|
+
"type": "object",
|
|
423
|
+
"required": ["id", "kind", "description", "risk", "continueWhen"],
|
|
424
|
+
"properties": {
|
|
425
|
+
"id": { "type": "string", "minLength": 1 },
|
|
426
|
+
"kind": {
|
|
427
|
+
"enum": ["diagnose", "safe-fix", "targeted-upgrade", "verify", "exception-review"]
|
|
428
|
+
},
|
|
429
|
+
"description": { "type": "string", "minLength": 1 },
|
|
430
|
+
"risk": { "enum": ["safe", "guarded", "invasive"] },
|
|
431
|
+
"invocation": { "$ref": "#/$defs/commandInvocation" },
|
|
432
|
+
"continueWhen": {
|
|
433
|
+
"enum": ["always", "previous-passed", "blocker-remains", "manual-decision"]
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
"additionalProperties": false
|
|
437
|
+
},
|
|
259
438
|
"repairOperation": {
|
|
260
439
|
"type": "object",
|
|
261
440
|
"required": ["type", "path"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "rapidkit-extension-cli-compatibility.v1",
|
|
3
3
|
"cli": "workspai",
|
|
4
|
-
"minimumVerifiedCliVersion": "0.
|
|
4
|
+
"minimumVerifiedCliVersion": "0.50.0",
|
|
5
5
|
"publishedContractSchemas": {
|
|
6
6
|
"workspaceContract": 1,
|
|
7
7
|
"runtimeCommandSurface": "rapidkit-runtime-command-surface-v1",
|
|
@@ -11,7 +11,16 @@
|
|
|
11
11
|
"workspaceArchiveCapabilities": "workspai-workspace-archive-capabilities-v1",
|
|
12
12
|
"workspaceArchiveManifest": "workspai-workspace-archive-manifest-v1",
|
|
13
13
|
"workspaceArchiveOperationResult": "workspai-workspace-archive-operation-result-v1",
|
|
14
|
+
"ingestionPlan": "workspai.ingestion-plan.v1",
|
|
15
|
+
"ingestionResult": "workspai.ingestion-result.v1",
|
|
14
16
|
"projectEntryCapability": "workspai-project-entry-capability-v1",
|
|
17
|
+
"projectWorkspaceLink": "project-workspace-link.v1",
|
|
18
|
+
"projectWorkspaceResolution": "project-workspace-resolution.v1",
|
|
19
|
+
"projectContextAgent": "project-context-agent.v1",
|
|
20
|
+
"doctorProjectEvidence": "doctor-project-evidence-v1",
|
|
21
|
+
"doctorWorkspaceEvidence": "doctor-workspace-evidence-v1",
|
|
22
|
+
"doctorGraphDiagnosis": "doctor-graph-diagnosis.v1",
|
|
23
|
+
"projectTestCoverage": "workspai.project-test-coverage.v1",
|
|
15
24
|
"workspaceIntelligenceArchitecture": "workspai-workspace-intelligence-architecture-v1",
|
|
16
25
|
"workspaceIntelligenceChain": "workspai-workspace-intelligence-chain-v1",
|
|
17
26
|
"workspaceIntelligenceArtifacts": {
|
|
@@ -46,6 +55,7 @@
|
|
|
46
55
|
"workspaceContext": "workspace-context.v1",
|
|
47
56
|
"workspaceDependencyGraph": "workspace-dependency-graph.v1",
|
|
48
57
|
"workspaceKnowledgeGraph": "workspace-knowledge-graph.v1",
|
|
58
|
+
"workspaceGraphStream": "workspace-graph-stream.v1",
|
|
49
59
|
"workspaceKnowledgeGraphChangeOverlay": "workspace-knowledge-graph-change-overlay.v1",
|
|
50
60
|
"workspaceKnowledgeSearch": "workspace-knowledge-search.v1",
|
|
51
61
|
"workspaceGraphTokenEfficiency": "workspace-graph-token-efficiency.v1",
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://workspai.dev/contracts/ingestion-plan.v1.json",
|
|
4
|
+
"title": "Workspai Ingestion Plan v1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"action",
|
|
10
|
+
"resourceKind",
|
|
11
|
+
"sourceKind",
|
|
12
|
+
"mode",
|
|
13
|
+
"ownership",
|
|
14
|
+
"registration",
|
|
15
|
+
"source"
|
|
16
|
+
],
|
|
17
|
+
"properties": {
|
|
18
|
+
"schemaVersion": {
|
|
19
|
+
"const": "workspai.ingestion-plan.v1"
|
|
20
|
+
},
|
|
21
|
+
"action": {
|
|
22
|
+
"enum": [
|
|
23
|
+
"adopt-project",
|
|
24
|
+
"import-project",
|
|
25
|
+
"connect-workspace",
|
|
26
|
+
"import-workspace",
|
|
27
|
+
"hydrate-workspace"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"resourceKind": {
|
|
31
|
+
"enum": [
|
|
32
|
+
"project",
|
|
33
|
+
"workspace"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"sourceKind": {
|
|
37
|
+
"enum": [
|
|
38
|
+
"local-folder",
|
|
39
|
+
"git-url",
|
|
40
|
+
"archive"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"mode": {
|
|
44
|
+
"enum": [
|
|
45
|
+
"link",
|
|
46
|
+
"copy",
|
|
47
|
+
"clone",
|
|
48
|
+
"hydrate"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"ownership": {
|
|
52
|
+
"enum": [
|
|
53
|
+
"external",
|
|
54
|
+
"workspace-owned",
|
|
55
|
+
"materialized"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"registration": {
|
|
59
|
+
"enum": [
|
|
60
|
+
"project",
|
|
61
|
+
"workspace",
|
|
62
|
+
"none"
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
"source": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"minLength": 1
|
|
68
|
+
},
|
|
69
|
+
"targetWorkspace": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"minLength": 1
|
|
72
|
+
},
|
|
73
|
+
"destination": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"minLength": 1
|
|
76
|
+
},
|
|
77
|
+
"projectGrounding": {
|
|
78
|
+
"enum": [
|
|
79
|
+
"managed",
|
|
80
|
+
"local",
|
|
81
|
+
"off"
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://workspai.dev/contracts/ingestion-result.v1.json",
|
|
4
|
+
"title": "Workspai Ingestion Result v1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"status",
|
|
10
|
+
"plan",
|
|
11
|
+
"writtenFiles",
|
|
12
|
+
"registered",
|
|
13
|
+
"verified",
|
|
14
|
+
"warnings"
|
|
15
|
+
],
|
|
16
|
+
"properties": {
|
|
17
|
+
"schemaVersion": {
|
|
18
|
+
"const": "workspai.ingestion-result.v1"
|
|
19
|
+
},
|
|
20
|
+
"status": {
|
|
21
|
+
"enum": [
|
|
22
|
+
"passed",
|
|
23
|
+
"preview",
|
|
24
|
+
"failed"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"plan": {
|
|
28
|
+
"$ref": "https://workspai.dev/contracts/ingestion-plan.v1.json"
|
|
29
|
+
},
|
|
30
|
+
"workspacePath": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"minLength": 1
|
|
33
|
+
},
|
|
34
|
+
"projectPath": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"minLength": 1
|
|
37
|
+
},
|
|
38
|
+
"writtenFiles": {
|
|
39
|
+
"type": "array",
|
|
40
|
+
"items": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"minLength": 1
|
|
43
|
+
},
|
|
44
|
+
"uniqueItems": true
|
|
45
|
+
},
|
|
46
|
+
"registered": {
|
|
47
|
+
"type": "boolean"
|
|
48
|
+
},
|
|
49
|
+
"verified": {
|
|
50
|
+
"type": "boolean"
|
|
51
|
+
},
|
|
52
|
+
"warnings": {
|
|
53
|
+
"type": "array",
|
|
54
|
+
"items": {
|
|
55
|
+
"type": "string"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://
|
|
3
|
+
"$id": "https://workspai.dev/schemas/mirror-ops.v1.json",
|
|
4
|
+
"title": "Workspai Mirror Operation Evidence",
|
|
4
5
|
"type": "object",
|
|
5
6
|
"required": ["schemaVersion", "command", "action", "result", "timestamp", "workspacePath", "mirror"],
|
|
6
7
|
"properties": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://
|
|
4
|
-
"title": "
|
|
3
|
+
"$id": "https://workspai.dev/schemas/pipeline-last-run.v1.json",
|
|
4
|
+
"title": "Workspai Governance Pipeline Last Run",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"required": [
|
|
7
7
|
"schemaVersion",
|
|
@@ -23,10 +23,9 @@
|
|
|
23
23
|
{
|
|
24
24
|
"id": "import",
|
|
25
25
|
"status": "available",
|
|
26
|
-
"purpose": "
|
|
26
|
+
"purpose": "Copy a local project or clone a repository into workspace-owned source.",
|
|
27
27
|
"commands": [
|
|
28
|
-
"import"
|
|
29
|
-
"workspace import"
|
|
28
|
+
"import"
|
|
30
29
|
]
|
|
31
30
|
}
|
|
32
31
|
],
|