workspai 0.49.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 +88 -28
- package/contracts/analyze-last-run.v1.json +2 -2
- package/contracts/artifact-remediation-plan.v1.json +3 -9
- package/contracts/autopilot-release.v1.json +2 -0
- package/contracts/bootstrap-compliance.v1.json +2 -1
- package/contracts/cli-log-event.v1.json +1 -1
- package/contracts/cli-runtime-command-inventory.v1.snapshot.json +80 -0
- package/contracts/compatibility-matrix.v1.json +2 -0
- package/contracts/create-planner-capabilities.v1.json +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 +10 -1
- package/contracts/infra-plan.v1.json +2 -0
- package/contracts/ingestion-plan.v1.json +85 -0
- package/contracts/ingestion-result.v1.json +59 -0
- package/contracts/mirror-ops.v1.json +2 -1
- package/contracts/pipeline-last-run.v1.json +2 -2
- package/contracts/private-product-manifest.v1.json +2 -0
- package/contracts/product-factory-plan.v1.json +2 -0
- package/contracts/project-archive.v1.json +2 -0
- package/contracts/project-entry-capability.v1.json +2 -3
- package/contracts/project-test-coverage.v1.json +189 -0
- package/contracts/project-workspace-link.v1.json +66 -0
- package/contracts/project-workspace-resolution.v1.json +28 -0
- package/contracts/published-contract-catalog.v1.json +45 -0
- package/contracts/release-readiness.v1.json +2 -2
- package/contracts/runtime-command-surface.v1.json +1456 -139
- package/contracts/transparency-evidence.v1.json +2 -1
- package/contracts/workspace-archive-capabilities.v1.json +11 -5
- package/contracts/workspace-archive-manifest.v1.json +236 -0
- package/contracts/workspace-archive-operation-result.v1.json +236 -0
- package/contracts/workspace-contract.v1.json +1 -1
- package/contracts/workspace-intelligence/agent-action-outcome.v1.json +2 -2
- package/contracts/workspace-intelligence/agent-customization-pack-report.v1.json +1 -1
- package/contracts/workspace-intelligence/agent-hooks.v1.json +2 -0
- package/contracts/workspace-intelligence/agent-reports-index.v1.json +1 -1
- package/contracts/workspace-intelligence/blocker-resolution.v1.json +3 -9
- package/contracts/workspace-intelligence/doctor-fix-result.v1.json +2 -2
- package/contracts/workspace-intelligence/doctor-graph-diagnosis.v1.json +208 -0
- package/contracts/workspace-intelligence/fact-freshness.v1.json +2 -2
- package/contracts/workspace-intelligence/mcp-design.v1.json +2 -0
- package/contracts/workspace-intelligence/model-usage-event.v1.json +1 -1
- package/contracts/workspace-intelligence/project-context-agent.v1.json +360 -0
- package/contracts/workspace-intelligence/studio-blocker-handoff.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-context.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-contract-verify.v1.json +2 -2
- package/contracts/workspace-intelligence/workspace-dependency-graph.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-explain.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-graph-stream.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-graph-token-efficiency.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-impact.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-intelligence-evaluation-comparison.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-intelligence-evaluation.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-intelligence-history.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-intelligence-run.v1.json +2 -2
- package/contracts/workspace-intelligence/workspace-knowledge-graph-change-overlay.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-knowledge-graph.v1.json +48 -5
- package/contracts/workspace-intelligence/workspace-knowledge-search.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-model-diff.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-model-snapshot.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-model.v1.json +97 -5
- package/contracts/workspace-intelligence/workspace-operational-skill.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-skills-index.v1.json +1 -1
- package/contracts/workspace-intelligence/workspace-verify.v1.json +1 -1
- package/contracts/workspace-intelligence-architecture.v1.json +33 -7
- package/contracts/workspace-intelligence-chain.v1.json +1 -1
- package/contracts/workspace-list.v1.json +2 -0
- package/contracts/workspace-model-cache.v1.json +2 -0
- package/contracts/workspace-registry.v1.json +1 -1
- package/contracts/workspace-run-last.v1.json +1 -1
- package/contracts/workspace-share-bundle.v1.json +2 -1
- package/contracts/workspace-snapshot.v1.json +2 -0
- package/contracts/workspace-snapshot.v2.json +2 -0
- package/contracts/workspace-sync.v1.json +2 -0
- package/contracts/workspace-watch-event.v1.json +2 -0
- package/dist/analyze-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-TIE2XMGH.js → chunk-DDQ3XK3H.js} +12 -12
- 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-EKZLUMCS.js → chunk-JFUD73OZ.js} +51 -51
- 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-K4X3DM7R.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-S64IWHAP.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 +38 -6
- package/dist/index.js +267 -355
- 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-WPLD7OEO.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 +8 -3
- package/docs/README.md +6 -3
- package/docs/README_CONTENT_CONTRACT.md +18 -9
- package/docs/commands-reference.md +39 -8
- package/docs/contracts/ARTIFACT_CATALOG.md +65 -26
- package/docs/contracts/COMMAND_OWNERSHIP_MATRIX.md +2 -0
- package/docs/contracts/RUNTIME_SUPPORT_MATRIX.md +3 -3
- package/docs/contracts/rapidkit-cli-contracts.json +2 -2
- package/docs/create-planner-capabilities.md +36 -5
- package/docs/creating-workspaces-and-projects.md +59 -3
- package/docs/doctor-command.md +118 -11
- package/docs/from-code-to-shared-understanding.md +4 -1
- package/docs/graph-benchmark-methodology.md +2 -2
- package/docs/workspace-intelligence-evaluation.md +5 -0
- package/docs/workspace-knowledge-graph.md +102 -7
- package/docs/workspace-operations.md +146 -10
- package/package.json +2 -2
- package/scripts/enterprise-package-smoke.mjs +13 -1
- package/dist/analyze-EEEU3MIF.js +0 -1
- package/dist/autopilot-release-R4XRTWEM.js +0 -1
- package/dist/chunk-22DT744Z.js +0 -1
- package/dist/chunk-37CVKXBD.js +0 -1
- package/dist/chunk-3NU32T4A.js +0 -2
- package/dist/chunk-3ZK2GU7C.js +0 -1
- package/dist/chunk-4HDYADHT.js +0 -13
- package/dist/chunk-52PBRX7F.js +0 -1
- package/dist/chunk-54EP5CEV.js +0 -8
- package/dist/chunk-5XATWNME.js +0 -1
- package/dist/chunk-7YHK5NM3.js +0 -2
- package/dist/chunk-AFL3ACCR.js +0 -2
- package/dist/chunk-BFLJ2R4D.js +0 -80
- package/dist/chunk-E2KJ5QWY.js +0 -4
- package/dist/chunk-EYJ2CQSK.js +0 -1
- package/dist/chunk-FTY7GGXJ.js +0 -33
- package/dist/chunk-FXQJX34Z.js +0 -1
- package/dist/chunk-GSWPGELT.js +0 -2
- package/dist/chunk-GZTYAEWX.js +0 -1
- package/dist/chunk-HDXNIN4N.js +0 -1
- package/dist/chunk-HZDXO65G.js +0 -36
- package/dist/chunk-J5ENLXDF.js +0 -1
- package/dist/chunk-KB44JP4M.js +0 -2
- package/dist/chunk-LHOZXC2M.js +0 -2
- package/dist/chunk-MER6ZBN2.js +0 -13
- package/dist/chunk-NAJCUQ4X.js +0 -2
- package/dist/chunk-OA537ZQ5.js +0 -1
- package/dist/chunk-OW42TZFB.js +0 -1
- package/dist/chunk-P3D5YQB2.js +0 -1
- package/dist/chunk-PHXQR6PX.js +0 -2
- package/dist/chunk-PRTR2DQ2.js +0 -1
- package/dist/chunk-RHQW3DTP.js +0 -1
- package/dist/chunk-T4YR4RAI.js +0 -2
- package/dist/chunk-Y45WZR5N.js +0 -5
- package/dist/chunk-YJZOMRAS.js +0 -1
- package/dist/pipeline-LHTPE3DR.js +0 -5
- package/dist/platform-capabilities-2B4QMZXE.js +0 -1
- package/dist/workspace-PJPRBUMQ.js +0 -1
- package/dist/workspace-archive-P76EDIUG.js +0 -10
- package/dist/workspace-contract-TU2I7GC2.js +0 -1
- package/dist/workspace-dependency-graph-BP4EXYQ5.js +0 -1
- package/dist/workspace-explain-MWUEN643.js +0 -1
- package/dist/workspace-explain-contract-ZPI3JXJU.js +0 -1
- package/dist/workspace-graph-stream-KAGGQPJT.js +0 -1
- package/dist/workspace-intelligence-MFJE7W67.js +0 -1
- package/dist/workspace-intelligence-runner-OTYTHV6B.js +0 -1
- package/dist/workspace-mcp-serve-EZR6O76D.js +0 -3
- package/dist/workspace-model-7OU2M3LE.js +0 -1
- package/dist/workspace-model-hash-MHXK5MEI.js +0 -1
- package/dist/workspace-run-QND2SIYA.js +0 -1
- package/dist/workspace-watch-7HWGA5TF.js +0 -1
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://workspai.dev/contracts/project-test-coverage.v1.json",
|
|
4
|
+
"title": "Workspai Project Test Coverage Evidence",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"schemaVersion",
|
|
8
|
+
"generatedAt",
|
|
9
|
+
"status",
|
|
10
|
+
"project",
|
|
11
|
+
"runtime",
|
|
12
|
+
"runner",
|
|
13
|
+
"target",
|
|
14
|
+
"metrics",
|
|
15
|
+
"files",
|
|
16
|
+
"lowCoverageFiles",
|
|
17
|
+
"source",
|
|
18
|
+
"execution",
|
|
19
|
+
"diagnostics",
|
|
20
|
+
"artifactPaths"
|
|
21
|
+
],
|
|
22
|
+
"properties": {
|
|
23
|
+
"schemaVersion": { "const": "workspai.project-test-coverage.v1" },
|
|
24
|
+
"generatedAt": { "type": "string", "format": "date-time" },
|
|
25
|
+
"status": { "enum": ["passed", "below-target", "unavailable", "failed"] },
|
|
26
|
+
"project": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"required": ["id", "name", "path", "workspacePath"],
|
|
29
|
+
"properties": {
|
|
30
|
+
"id": { "type": "string", "minLength": 1 },
|
|
31
|
+
"name": { "type": "string", "minLength": 1 },
|
|
32
|
+
"path": { "type": "string", "minLength": 1 },
|
|
33
|
+
"workspacePath": { "type": ["string", "null"] }
|
|
34
|
+
},
|
|
35
|
+
"additionalProperties": false
|
|
36
|
+
},
|
|
37
|
+
"runtime": {
|
|
38
|
+
"enum": [
|
|
39
|
+
"node",
|
|
40
|
+
"bun",
|
|
41
|
+
"deno",
|
|
42
|
+
"python",
|
|
43
|
+
"go",
|
|
44
|
+
"java",
|
|
45
|
+
"dotnet",
|
|
46
|
+
"rust",
|
|
47
|
+
"php",
|
|
48
|
+
"ruby",
|
|
49
|
+
"elixir",
|
|
50
|
+
"clojure",
|
|
51
|
+
"scala",
|
|
52
|
+
"kotlin",
|
|
53
|
+
"c",
|
|
54
|
+
"cpp",
|
|
55
|
+
"unknown"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"runner": { "type": ["string", "null"] },
|
|
59
|
+
"target": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"required": ["metric", "percent"],
|
|
62
|
+
"properties": {
|
|
63
|
+
"metric": { "enum": ["lines", "branches", "functions", "statements"] },
|
|
64
|
+
"percent": { "type": "integer", "minimum": 0, "maximum": 100 }
|
|
65
|
+
},
|
|
66
|
+
"additionalProperties": false
|
|
67
|
+
},
|
|
68
|
+
"metrics": {
|
|
69
|
+
"type": "object",
|
|
70
|
+
"properties": {
|
|
71
|
+
"lines": { "$ref": "#/$defs/metric" },
|
|
72
|
+
"branches": { "$ref": "#/$defs/metric" },
|
|
73
|
+
"functions": { "$ref": "#/$defs/metric" },
|
|
74
|
+
"statements": { "$ref": "#/$defs/metric" }
|
|
75
|
+
},
|
|
76
|
+
"additionalProperties": false
|
|
77
|
+
},
|
|
78
|
+
"files": {
|
|
79
|
+
"type": "array",
|
|
80
|
+
"items": {
|
|
81
|
+
"type": "object",
|
|
82
|
+
"required": ["path", "metrics"],
|
|
83
|
+
"properties": {
|
|
84
|
+
"path": { "type": "string", "minLength": 1 },
|
|
85
|
+
"metrics": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"properties": {
|
|
88
|
+
"lines": { "$ref": "#/$defs/metric" },
|
|
89
|
+
"branches": { "$ref": "#/$defs/metric" },
|
|
90
|
+
"functions": { "$ref": "#/$defs/metric" },
|
|
91
|
+
"statements": { "$ref": "#/$defs/metric" }
|
|
92
|
+
},
|
|
93
|
+
"additionalProperties": false
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"additionalProperties": false
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"lowCoverageFiles": {
|
|
100
|
+
"type": "array",
|
|
101
|
+
"items": {
|
|
102
|
+
"type": "object",
|
|
103
|
+
"required": ["path", "percent", "uncovered"],
|
|
104
|
+
"properties": {
|
|
105
|
+
"path": { "type": "string", "minLength": 1 },
|
|
106
|
+
"percent": { "type": ["number", "null"], "minimum": 0, "maximum": 100 },
|
|
107
|
+
"uncovered": { "type": "integer", "minimum": 0 }
|
|
108
|
+
},
|
|
109
|
+
"additionalProperties": false
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"source": {
|
|
113
|
+
"type": "object",
|
|
114
|
+
"required": ["format", "path", "sha256"],
|
|
115
|
+
"properties": {
|
|
116
|
+
"format": {
|
|
117
|
+
"enum": [
|
|
118
|
+
"istanbul-json",
|
|
119
|
+
"coverage-py-json",
|
|
120
|
+
"lcov",
|
|
121
|
+
"go-coverprofile",
|
|
122
|
+
"jacoco-xml",
|
|
123
|
+
"cobertura-xml",
|
|
124
|
+
"clover-xml",
|
|
125
|
+
"scoverage-xml",
|
|
126
|
+
"simplecov-json",
|
|
127
|
+
"llvm-cov-json",
|
|
128
|
+
"unknown"
|
|
129
|
+
]
|
|
130
|
+
},
|
|
131
|
+
"path": { "type": ["string", "null"] },
|
|
132
|
+
"sha256": { "type": ["string", "null"], "pattern": "^[a-f0-9]{64}$" }
|
|
133
|
+
},
|
|
134
|
+
"additionalProperties": false
|
|
135
|
+
},
|
|
136
|
+
"execution": {
|
|
137
|
+
"type": "object",
|
|
138
|
+
"required": ["requested", "invocations", "exitCodes", "durationMs"],
|
|
139
|
+
"properties": {
|
|
140
|
+
"requested": { "type": "boolean" },
|
|
141
|
+
"invocations": {
|
|
142
|
+
"type": "array",
|
|
143
|
+
"items": { "$ref": "#/$defs/invocation" }
|
|
144
|
+
},
|
|
145
|
+
"exitCodes": {
|
|
146
|
+
"type": "array",
|
|
147
|
+
"items": { "type": "integer", "minimum": 0 }
|
|
148
|
+
},
|
|
149
|
+
"durationMs": { "type": "integer", "minimum": 0 }
|
|
150
|
+
},
|
|
151
|
+
"additionalProperties": false
|
|
152
|
+
},
|
|
153
|
+
"diagnostics": { "type": "array", "items": { "type": "string" } },
|
|
154
|
+
"artifactPaths": {
|
|
155
|
+
"type": "object",
|
|
156
|
+
"required": ["project", "workspaceLatest", "workspaceProject"],
|
|
157
|
+
"properties": {
|
|
158
|
+
"project": { "type": "string", "minLength": 1 },
|
|
159
|
+
"workspaceLatest": { "type": ["string", "null"] },
|
|
160
|
+
"workspaceProject": { "type": ["string", "null"] }
|
|
161
|
+
},
|
|
162
|
+
"additionalProperties": false
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"$defs": {
|
|
166
|
+
"metric": {
|
|
167
|
+
"type": "object",
|
|
168
|
+
"required": ["total", "covered", "skipped", "percent"],
|
|
169
|
+
"properties": {
|
|
170
|
+
"total": { "type": "integer", "minimum": 0 },
|
|
171
|
+
"covered": { "type": "integer", "minimum": 0 },
|
|
172
|
+
"skipped": { "type": "integer", "minimum": 0 },
|
|
173
|
+
"percent": { "type": ["number", "null"], "minimum": 0, "maximum": 100 }
|
|
174
|
+
},
|
|
175
|
+
"additionalProperties": false
|
|
176
|
+
},
|
|
177
|
+
"invocation": {
|
|
178
|
+
"type": "object",
|
|
179
|
+
"required": ["cwd", "executable", "args"],
|
|
180
|
+
"properties": {
|
|
181
|
+
"cwd": { "type": "string", "minLength": 1 },
|
|
182
|
+
"executable": { "type": "string", "minLength": 1 },
|
|
183
|
+
"args": { "type": "array", "items": { "type": "string" } }
|
|
184
|
+
},
|
|
185
|
+
"additionalProperties": false
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"additionalProperties": false
|
|
189
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://workspai.dev/schemas/project-workspace-link.v1.json",
|
|
4
|
+
"title": "Workspai Project Workspace Link",
|
|
5
|
+
"description": "Machine-local, gitignored binding from a Workspai project to its canonical workspace. Absolute paths are permitted only in this local contract.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"kind",
|
|
10
|
+
"generatedAt",
|
|
11
|
+
"state",
|
|
12
|
+
"workspace",
|
|
13
|
+
"project",
|
|
14
|
+
"integrity"
|
|
15
|
+
],
|
|
16
|
+
"properties": {
|
|
17
|
+
"schemaVersion": { "const": "project-workspace-link.v1" },
|
|
18
|
+
"kind": { "const": "workspai.project-workspace-link" },
|
|
19
|
+
"generatedAt": { "type": "string", "format": "date-time" },
|
|
20
|
+
"state": { "const": "active" },
|
|
21
|
+
"workspace": {
|
|
22
|
+
"type": "object",
|
|
23
|
+
"required": ["name", "root", "marker", "contract"],
|
|
24
|
+
"properties": {
|
|
25
|
+
"name": { "type": "string", "minLength": 1 },
|
|
26
|
+
"root": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"minLength": 1,
|
|
29
|
+
"pattern": "^(?:/|[A-Za-z]:[\\\\/])",
|
|
30
|
+
"description": "Machine-local absolute workspace path. This file must remain gitignored."
|
|
31
|
+
},
|
|
32
|
+
"marker": {
|
|
33
|
+
"enum": [".workspai-workspace", ".workspai/workspace.json"]
|
|
34
|
+
},
|
|
35
|
+
"contract": { "const": ".workspai/workspace.contract.json" }
|
|
36
|
+
},
|
|
37
|
+
"additionalProperties": false
|
|
38
|
+
},
|
|
39
|
+
"project": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"required": ["name", "relativePath", "relationship"],
|
|
42
|
+
"properties": {
|
|
43
|
+
"name": { "type": "string", "minLength": 1 },
|
|
44
|
+
"relativePath": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"minLength": 1,
|
|
47
|
+
"not": { "pattern": "(?:^|[\\\\/])\\.\\.(?:[\\\\/]|$)|^(?:/|[A-Za-z]:[\\\\/])" }
|
|
48
|
+
},
|
|
49
|
+
"relationship": {
|
|
50
|
+
"enum": ["managed", "adopted", "imported", "linked", "restored"]
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"additionalProperties": false
|
|
54
|
+
},
|
|
55
|
+
"integrity": {
|
|
56
|
+
"type": "object",
|
|
57
|
+
"required": ["algorithm", "binding"],
|
|
58
|
+
"properties": {
|
|
59
|
+
"algorithm": { "const": "sha256" },
|
|
60
|
+
"binding": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
|
|
61
|
+
},
|
|
62
|
+
"additionalProperties": false
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"additionalProperties": false
|
|
66
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://workspai.dev/schemas/project-workspace-resolution.v1.json",
|
|
4
|
+
"title": "Workspai Project Workspace Resolution",
|
|
5
|
+
"description": "Machine-readable result of resolving or repairing a project's canonical Workspai workspace binding.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"status",
|
|
10
|
+
"workspacePath",
|
|
11
|
+
"projectPath",
|
|
12
|
+
"source",
|
|
13
|
+
"recovered",
|
|
14
|
+
"linkPath",
|
|
15
|
+
"nextCommand"
|
|
16
|
+
],
|
|
17
|
+
"properties": {
|
|
18
|
+
"schemaVersion": { "const": "project-workspace-resolution.v1" },
|
|
19
|
+
"status": { "const": "resolved" },
|
|
20
|
+
"workspacePath": { "type": "string", "minLength": 1 },
|
|
21
|
+
"projectPath": { "type": "string", "minLength": 1 },
|
|
22
|
+
"source": { "enum": ["explicit", "parent", "local-link", "registry"] },
|
|
23
|
+
"recovered": { "type": "boolean" },
|
|
24
|
+
"linkPath": { "type": "string", "minLength": 1 },
|
|
25
|
+
"nextCommand": { "type": "string", "minLength": 1 }
|
|
26
|
+
},
|
|
27
|
+
"additionalProperties": false
|
|
28
|
+
}
|
|
@@ -41,11 +41,56 @@
|
|
|
41
41
|
"contractPath": "contracts/workspace-archive-operation-result.v1.json",
|
|
42
42
|
"publication": "json-schema"
|
|
43
43
|
},
|
|
44
|
+
"ingestionPlan": {
|
|
45
|
+
"schemaVersion": "workspai.ingestion-plan.v1",
|
|
46
|
+
"contractPath": "contracts/ingestion-plan.v1.json",
|
|
47
|
+
"publication": "json-schema"
|
|
48
|
+
},
|
|
49
|
+
"ingestionResult": {
|
|
50
|
+
"schemaVersion": "workspai.ingestion-result.v1",
|
|
51
|
+
"contractPath": "contracts/ingestion-result.v1.json",
|
|
52
|
+
"publication": "json-schema"
|
|
53
|
+
},
|
|
44
54
|
"projectEntryCapability": {
|
|
45
55
|
"schemaVersion": "workspai-project-entry-capability-v1",
|
|
46
56
|
"contractPath": "contracts/project-entry-capability.v1.json",
|
|
47
57
|
"publication": "json-schema"
|
|
48
58
|
},
|
|
59
|
+
"projectWorkspaceLink": {
|
|
60
|
+
"schemaVersion": "project-workspace-link.v1",
|
|
61
|
+
"contractPath": "contracts/project-workspace-link.v1.json",
|
|
62
|
+
"publication": "json-schema"
|
|
63
|
+
},
|
|
64
|
+
"projectWorkspaceResolution": {
|
|
65
|
+
"schemaVersion": "project-workspace-resolution.v1",
|
|
66
|
+
"contractPath": "contracts/project-workspace-resolution.v1.json",
|
|
67
|
+
"publication": "json-schema"
|
|
68
|
+
},
|
|
69
|
+
"projectContextAgent": {
|
|
70
|
+
"schemaVersion": "project-context-agent.v1",
|
|
71
|
+
"contractPath": "contracts/workspace-intelligence/project-context-agent.v1.json",
|
|
72
|
+
"publication": "json-schema"
|
|
73
|
+
},
|
|
74
|
+
"doctorProjectEvidence": {
|
|
75
|
+
"schemaVersion": "doctor-project-evidence-v1",
|
|
76
|
+
"contractPath": "contracts/doctor-project-evidence.v1.json",
|
|
77
|
+
"publication": "json-schema"
|
|
78
|
+
},
|
|
79
|
+
"doctorWorkspaceEvidence": {
|
|
80
|
+
"schemaVersion": "doctor-workspace-evidence-v1",
|
|
81
|
+
"contractPath": "contracts/doctor-workspace-evidence.v1.json",
|
|
82
|
+
"publication": "json-schema"
|
|
83
|
+
},
|
|
84
|
+
"doctorGraphDiagnosis": {
|
|
85
|
+
"schemaVersion": "doctor-graph-diagnosis.v1",
|
|
86
|
+
"contractPath": "contracts/workspace-intelligence/doctor-graph-diagnosis.v1.json",
|
|
87
|
+
"publication": "json-schema"
|
|
88
|
+
},
|
|
89
|
+
"projectTestCoverage": {
|
|
90
|
+
"schemaVersion": "workspai.project-test-coverage.v1",
|
|
91
|
+
"contractPath": "contracts/project-test-coverage.v1.json",
|
|
92
|
+
"publication": "json-schema"
|
|
93
|
+
},
|
|
49
94
|
"workspaceIntelligenceArchitecture": {
|
|
50
95
|
"schemaVersion": "workspai-workspace-intelligence-architecture-v1",
|
|
51
96
|
"contractPath": "contracts/workspace-intelligence-architecture.v1.json",
|
|
@@ -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/release-readiness.v1.json",
|
|
4
|
+
"title": "Workspai Release Readiness Evidence",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"required": [
|
|
7
7
|
"schemaVersion",
|