workspai 0.43.1 → 0.44.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 (134) hide show
  1. package/README.md +23 -10
  2. package/contracts/agent-customization-pack.v1.json +1 -1
  3. package/contracts/autopilot-release.v1.json +204 -0
  4. package/contracts/cli-operation-result.v1.json +119 -0
  5. package/contracts/command-capabilities.v1.json +138 -0
  6. package/contracts/compatibility-matrix.v1.json +37 -0
  7. package/contracts/create-planner-capabilities.v1.json +156 -65
  8. package/contracts/doctor-project-scan.v2.json +60 -0
  9. package/contracts/doctor-remediation-plan.v1.json +19 -4
  10. package/contracts/doctor-remediation-plan.v2.json +7 -0
  11. package/contracts/doctor-workspace-cache.v2.json +82 -0
  12. package/contracts/extension-cli-compatibility.v1.json +47 -3
  13. package/contracts/infra-plan.v1.json +189 -0
  14. package/contracts/private-product-manifest.v1.json +155 -0
  15. package/contracts/product-factory-plan.v1.json +200 -0
  16. package/contracts/project-archive.v1.json +40 -0
  17. package/contracts/project-entry-capability.v1.json +127 -0
  18. package/contracts/published-contract-catalog.v1.json +334 -0
  19. package/contracts/runtime-command-surface.v1.json +239 -10
  20. package/contracts/version.v1.json +48 -0
  21. package/contracts/workspace-archive-capabilities.v1.json +90 -0
  22. package/contracts/workspace-archive-manifest.v1.json +107 -0
  23. package/contracts/workspace-archive-operation-result.v1.json +565 -0
  24. package/contracts/workspace-intelligence/agent-customization-pack-report.v1.json +98 -0
  25. package/contracts/workspace-intelligence/agent-hooks.v1.json +38 -0
  26. package/contracts/workspace-intelligence/agent-reports-index.v1.json +56 -0
  27. package/contracts/workspace-intelligence/mcp-design.v1.json +42 -0
  28. package/contracts/workspace-intelligence/workspace-context.v1.json +12 -0
  29. package/contracts/workspace-intelligence/workspace-explain.v1.json +1 -0
  30. package/contracts/workspace-intelligence-architecture.v1.json +723 -0
  31. package/contracts/workspace-intelligence-chain.v1.json +1194 -0
  32. package/contracts/workspace-list.v1.json +56 -0
  33. package/contracts/workspace-model-cache.v1.json +55 -0
  34. package/contracts/workspace-snapshot.v1.json +58 -0
  35. package/contracts/workspace-snapshot.v2.json +97 -0
  36. package/contracts/workspace-sync.v1.json +30 -0
  37. package/contracts/workspace-watch-event.v1.json +112 -0
  38. package/dist/analyze-6OCBM4ID.js +1 -0
  39. package/dist/{artifact-remediation-plan-244S5K6I.js → artifact-remediation-plan-Z7OCSME3.js} +2 -2
  40. package/dist/autopilot-release-LI2WJCEW.js +1 -0
  41. package/dist/{chunk-LZQNVH7D.js → chunk-2K3GYCPS.js} +1 -1
  42. package/dist/chunk-2QN6BMM7.js +2 -0
  43. package/dist/chunk-2QOWRBQD.js +1 -0
  44. package/dist/chunk-5AKYMAIL.js +1 -0
  45. package/dist/{chunk-FDDDQMJ2.js → chunk-5PVEQ6CZ.js} +1 -1
  46. package/dist/{chunk-DOCPUNWS.js → chunk-7EIMPQR3.js} +1 -1
  47. package/dist/{chunk-U6AXYUQY.js → chunk-7IHLTPZ6.js} +1 -1
  48. package/dist/chunk-7RIWU5TZ.js +1 -0
  49. package/dist/chunk-B66A4TVP.js +1 -0
  50. package/dist/chunk-CL6TGI4Q.js +8 -0
  51. package/dist/chunk-FWJV7CCI.js +2 -0
  52. package/dist/chunk-J4AICQFB.js +1 -0
  53. package/dist/chunk-JICOD2GI.js +1 -0
  54. package/dist/{chunk-EMTQ6OKI.js → chunk-JP25YL3J.js} +1 -1
  55. package/dist/chunk-L2Q7B2OJ.js +1 -0
  56. package/dist/chunk-L3E6IRUQ.js +8 -0
  57. package/dist/chunk-LG6RFLPZ.js +1 -0
  58. package/dist/chunk-LGP6WXS2.js +4 -0
  59. package/dist/{chunk-ONU457VN.js → chunk-M4VITK6X.js} +52 -50
  60. package/dist/chunk-NTXO7BMH.js +4 -0
  61. package/dist/{chunk-PPHTYJ7G.js → chunk-OW4UNG27.js} +36 -37
  62. package/dist/chunk-P4SWTY5X.js +33 -0
  63. package/dist/chunk-TRMDODFM.js +13 -0
  64. package/dist/chunk-UNF72FTB.js +1 -0
  65. package/dist/chunk-V5JN4TDX.js +2 -0
  66. package/dist/chunk-VA5MRHKM.js +2 -0
  67. package/dist/chunk-XIVFLY6G.js +1 -0
  68. package/dist/chunk-YUX4YFGL.js +78 -0
  69. package/dist/{create-42RTNLH2.js → create-DFAWAS5C.js} +1 -1
  70. package/dist/doctor-PVSWDBJL.js +1 -0
  71. package/dist/index.d.ts +250 -24
  72. package/dist/index.js +194 -195
  73. package/dist/pipeline-ND734AJM.js +5 -0
  74. package/dist/{platform-capabilities-XAVU4HSM.js → platform-capabilities-YICBF4FA.js} +1 -1
  75. package/dist/{pythonRapidkitExec-GCQ3M46E.js → pythonRapidkitExec-UJYIB6FL.js} +1 -1
  76. package/dist/{workspace-DZHWB7BV.js → workspace-FQT3QIRS.js} +1 -1
  77. package/dist/workspace-agent-sync-ZYCPXTU3.js +1 -0
  78. package/dist/workspace-archive-EEGLHZDW.js +10 -0
  79. package/dist/workspace-context-WAGGJCDL.js +1 -0
  80. package/dist/{workspace-contract-2TA27LGT.js → workspace-contract-SEI4SNSG.js} +1 -1
  81. package/dist/workspace-explain-MVGGRCDN.js +1 -0
  82. package/dist/workspace-explain-contract-KT757JGQ.js +1 -0
  83. package/dist/{workspace-feedback-R6H4UFZB.js → workspace-feedback-RCB25NFO.js} +1 -1
  84. package/dist/{workspace-foundation-FQWHPQGX.js → workspace-foundation-KXDL6P6X.js} +1 -1
  85. package/dist/{workspace-history-CGCK2DJI.js → workspace-history-M4QQBIPB.js} +1 -1
  86. package/dist/workspace-intelligence-QOGD2TZS.js +1 -0
  87. package/dist/workspace-mcp-serve-CEFKEMYG.js +3 -0
  88. package/dist/{workspace-model-F3B75TYT.js → workspace-model-GMSRBICO.js} +1 -1
  89. package/dist/workspace-registry-summary-S52SEJAG.js +1 -0
  90. package/dist/workspace-run-VC4OUPRF.js +1 -0
  91. package/dist/{workspace-verify-OAATQV5T.js → workspace-verify-NP4GMFSV.js} +1 -1
  92. package/dist/workspace-watch-IIBH3Y25.js +1 -0
  93. package/docs/AI_FEATURES.md +67 -34
  94. package/docs/README.md +2 -1
  95. package/docs/commands-reference.md +26 -14
  96. package/docs/contracts/ARTIFACT_CATALOG.md +60 -36
  97. package/docs/contracts/README.md +3 -2
  98. package/docs/create-planner-capabilities.md +36 -18
  99. package/docs/workspace-operations.md +25 -0
  100. package/package.json +26 -14
  101. package/scripts/enterprise-package-smoke.mjs +40 -8
  102. package/scripts/prepack-enterprise.mjs +8 -0
  103. package/dist/analyze-5BU4QIPK.js +0 -1
  104. package/dist/autopilot-release-45YVOBQO.js +0 -1
  105. package/dist/chunk-3QVTWKUI.js +0 -4
  106. package/dist/chunk-753LOKFZ.js +0 -2
  107. package/dist/chunk-AMDKXXLP.js +0 -1
  108. package/dist/chunk-AQ4XZZC6.js +0 -1
  109. package/dist/chunk-CDE4Q77U.js +0 -2
  110. package/dist/chunk-DNAY5ALC.js +0 -1
  111. package/dist/chunk-FHSMY75W.js +0 -1
  112. package/dist/chunk-FM7GMFZA.js +0 -2
  113. package/dist/chunk-HV5ZFXAZ.js +0 -13
  114. package/dist/chunk-LRW2SAGL.js +0 -4
  115. package/dist/chunk-LTWYYP6E.js +0 -7
  116. package/dist/chunk-NAAQMSO3.js +0 -1
  117. package/dist/chunk-NFUXULIF.js +0 -1
  118. package/dist/chunk-OL64GWQC.js +0 -9
  119. package/dist/chunk-SI3AQKIP.js +0 -1
  120. package/dist/chunk-TH5Y3EMA.js +0 -33
  121. package/dist/chunk-UQKCCWUL.js +0 -78
  122. package/dist/chunk-XNGANEXM.js +0 -2
  123. package/dist/doctor-DK4BON3N.js +0 -1
  124. package/dist/pipeline-HQ57V6OZ.js +0 -5
  125. package/dist/workspace-agent-sync-5ADIQS7B.js +0 -1
  126. package/dist/workspace-archive-GCZNI44O.js +0 -3
  127. package/dist/workspace-context-GEXDHA7A.js +0 -1
  128. package/dist/workspace-explain-D5NNL3NG.js +0 -1
  129. package/dist/workspace-explain-contract-DNS2YEL7.js +0 -1
  130. package/dist/workspace-intelligence-BEM6WGCZ.js +0 -1
  131. package/dist/workspace-mcp-serve-OMBA5V3C.js +0 -3
  132. package/dist/workspace-registry-summary-6MFBRWDS.js +0 -1
  133. package/dist/workspace-run-3WJXIQKR.js +0 -1
  134. package/dist/workspace-watch-HU2OTQ52.js +0 -1
@@ -0,0 +1,189 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "required": [
5
+ "schemaVersion",
6
+ "generatedAt",
7
+ "workspacePath",
8
+ "strategy",
9
+ "composePath",
10
+ "envExamplePath",
11
+ "services",
12
+ "connectionEnv",
13
+ "sources",
14
+ "warnings"
15
+ ],
16
+ "properties": {
17
+ "schemaVersion": {
18
+ "const": "rapidkit.infra-plan.v1"
19
+ },
20
+ "generatedAt": {
21
+ "type": "string",
22
+ "format": "date-time"
23
+ },
24
+ "workspacePath": {
25
+ "type": "string",
26
+ "minLength": 1
27
+ },
28
+ "workspaceName": {
29
+ "type": "string",
30
+ "minLength": 1
31
+ },
32
+ "contractPath": {
33
+ "type": "string",
34
+ "minLength": 1
35
+ },
36
+ "strategy": {
37
+ "const": "sidecar"
38
+ },
39
+ "composePath": {
40
+ "type": "string",
41
+ "minLength": 1
42
+ },
43
+ "envExamplePath": {
44
+ "type": "string",
45
+ "minLength": 1
46
+ },
47
+ "services": {
48
+ "type": "array",
49
+ "items": {
50
+ "type": "object",
51
+ "required": [
52
+ "id",
53
+ "displayName",
54
+ "category",
55
+ "image",
56
+ "ports",
57
+ "sources"
58
+ ],
59
+ "properties": {
60
+ "id": {
61
+ "type": "string",
62
+ "minLength": 1
63
+ },
64
+ "displayName": {
65
+ "type": "string",
66
+ "minLength": 1
67
+ },
68
+ "category": {
69
+ "type": "string",
70
+ "minLength": 1
71
+ },
72
+ "image": {
73
+ "type": "string",
74
+ "minLength": 1
75
+ },
76
+ "ports": {
77
+ "type": "array",
78
+ "items": {
79
+ "type": "object",
80
+ "required": [
81
+ "name",
82
+ "host",
83
+ "container"
84
+ ],
85
+ "properties": {
86
+ "name": {
87
+ "type": "string",
88
+ "minLength": 1
89
+ },
90
+ "host": {
91
+ "type": "integer",
92
+ "minimum": 1,
93
+ "maximum": 65535
94
+ },
95
+ "container": {
96
+ "type": "integer",
97
+ "minimum": 1,
98
+ "maximum": 65535
99
+ }
100
+ },
101
+ "additionalProperties": false
102
+ }
103
+ },
104
+ "sources": {
105
+ "type": "array",
106
+ "items": {
107
+ "type": "object",
108
+ "required": [
109
+ "kind",
110
+ "value"
111
+ ],
112
+ "properties": {
113
+ "kind": {
114
+ "enum": [
115
+ "module",
116
+ "env-var",
117
+ "override",
118
+ "contract-env"
119
+ ]
120
+ },
121
+ "value": {
122
+ "type": "string",
123
+ "minLength": 1
124
+ },
125
+ "project": {
126
+ "type": "string",
127
+ "minLength": 1
128
+ }
129
+ },
130
+ "additionalProperties": false
131
+ }
132
+ }
133
+ },
134
+ "additionalProperties": false
135
+ }
136
+ },
137
+ "connectionEnv": {
138
+ "type": "object",
139
+ "additionalProperties": {
140
+ "type": "string"
141
+ }
142
+ },
143
+ "sources": {
144
+ "type": "object",
145
+ "required": [
146
+ "modules",
147
+ "envVars",
148
+ "overrides"
149
+ ],
150
+ "properties": {
151
+ "modules": {
152
+ "type": "array",
153
+ "items": {
154
+ "type": "string"
155
+ }
156
+ },
157
+ "envVars": {
158
+ "type": "array",
159
+ "items": {
160
+ "type": "string"
161
+ }
162
+ },
163
+ "overrides": {
164
+ "type": "array",
165
+ "items": {
166
+ "type": "string"
167
+ }
168
+ }
169
+ },
170
+ "additionalProperties": false
171
+ },
172
+ "warnings": {
173
+ "type": "array",
174
+ "items": {
175
+ "type": "string"
176
+ }
177
+ },
178
+ "serviceEnvOverrides": {
179
+ "type": "object",
180
+ "additionalProperties": {
181
+ "type": "object",
182
+ "additionalProperties": {
183
+ "type": "string"
184
+ }
185
+ }
186
+ }
187
+ },
188
+ "additionalProperties": true
189
+ }
@@ -0,0 +1,155 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "required": [
5
+ "schemaVersion",
6
+ "generatedAt",
7
+ "product",
8
+ "workspace",
9
+ "projects",
10
+ "factory"
11
+ ],
12
+ "properties": {
13
+ "schemaVersion": {
14
+ "const": "rapidkit.private-product-manifest.v1"
15
+ },
16
+ "generatedAt": {
17
+ "type": "string",
18
+ "format": "date-time"
19
+ },
20
+ "product": {
21
+ "type": "object",
22
+ "required": [
23
+ "rank",
24
+ "slug",
25
+ "title",
26
+ "category",
27
+ "tier",
28
+ "summary"
29
+ ],
30
+ "properties": {
31
+ "rank": {
32
+ "type": "number"
33
+ },
34
+ "slug": {
35
+ "type": "string",
36
+ "minLength": 1
37
+ },
38
+ "title": {
39
+ "type": "string",
40
+ "minLength": 1
41
+ },
42
+ "category": {
43
+ "type": "string",
44
+ "minLength": 1
45
+ },
46
+ "tier": {
47
+ "type": "string",
48
+ "minLength": 1
49
+ },
50
+ "summary": {
51
+ "type": "string"
52
+ }
53
+ },
54
+ "additionalProperties": false
55
+ },
56
+ "workspace": {
57
+ "type": "object",
58
+ "required": [
59
+ "name",
60
+ "profile",
61
+ "outputHint"
62
+ ],
63
+ "properties": {
64
+ "name": {
65
+ "type": "string",
66
+ "minLength": 1
67
+ },
68
+ "profile": {
69
+ "const": "enterprise"
70
+ },
71
+ "outputHint": {
72
+ "type": "string",
73
+ "minLength": 1
74
+ }
75
+ },
76
+ "additionalProperties": false
77
+ },
78
+ "projects": {
79
+ "type": "array",
80
+ "minItems": 1,
81
+ "maxItems": 1,
82
+ "items": {
83
+ "type": "object",
84
+ "required": [
85
+ "slug",
86
+ "kit",
87
+ "runtime",
88
+ "framework",
89
+ "modules",
90
+ "moduleGaps"
91
+ ],
92
+ "properties": {
93
+ "slug": {
94
+ "const": "api"
95
+ },
96
+ "kit": {
97
+ "type": "string",
98
+ "minLength": 1
99
+ },
100
+ "runtime": {
101
+ "const": "python"
102
+ },
103
+ "framework": {
104
+ "const": "fastapi"
105
+ },
106
+ "modules": {
107
+ "type": "array",
108
+ "items": {
109
+ "type": "string"
110
+ }
111
+ },
112
+ "moduleGaps": {
113
+ "type": "array",
114
+ "items": {
115
+ "type": "string"
116
+ }
117
+ }
118
+ },
119
+ "additionalProperties": false
120
+ }
121
+ },
122
+ "factory": {
123
+ "type": "object",
124
+ "required": [
125
+ "sourceBacklogPath",
126
+ "manifestChecksum",
127
+ "requiredCommands",
128
+ "releaseEvidencePath"
129
+ ],
130
+ "properties": {
131
+ "sourceBacklogPath": {
132
+ "type": "string",
133
+ "minLength": 1
134
+ },
135
+ "manifestChecksum": {
136
+ "type": "string",
137
+ "pattern": "^sha256:[a-f0-9]{64}$"
138
+ },
139
+ "requiredCommands": {
140
+ "type": "array",
141
+ "items": {
142
+ "type": "string",
143
+ "minLength": 1
144
+ }
145
+ },
146
+ "releaseEvidencePath": {
147
+ "type": "string",
148
+ "minLength": 1
149
+ }
150
+ },
151
+ "additionalProperties": false
152
+ }
153
+ },
154
+ "additionalProperties": true
155
+ }
@@ -0,0 +1,200 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "required": [
5
+ "schemaVersion",
6
+ "generatedAt",
7
+ "source",
8
+ "defaults",
9
+ "stats",
10
+ "products"
11
+ ],
12
+ "properties": {
13
+ "schemaVersion": {
14
+ "const": "rapidkit.product-factory-plan.v1"
15
+ },
16
+ "generatedAt": {
17
+ "type": "string",
18
+ "format": "date-time"
19
+ },
20
+ "source": {
21
+ "type": "object",
22
+ "required": [
23
+ "backlogPath",
24
+ "backlogSchemaVersion",
25
+ "purpose",
26
+ "publicationRule"
27
+ ],
28
+ "properties": {
29
+ "backlogPath": {
30
+ "type": "string",
31
+ "minLength": 1
32
+ },
33
+ "backlogSchemaVersion": {
34
+ "type": [
35
+ "string",
36
+ "null"
37
+ ]
38
+ },
39
+ "purpose": {
40
+ "type": [
41
+ "string",
42
+ "null"
43
+ ]
44
+ },
45
+ "publicationRule": {
46
+ "type": [
47
+ "string",
48
+ "null"
49
+ ]
50
+ }
51
+ },
52
+ "additionalProperties": false
53
+ },
54
+ "defaults": {
55
+ "type": "object",
56
+ "required": [
57
+ "kit",
58
+ "workspaceProfile",
59
+ "projectSlug"
60
+ ],
61
+ "properties": {
62
+ "kit": {
63
+ "type": "string",
64
+ "minLength": 1
65
+ },
66
+ "workspaceProfile": {
67
+ "const": "enterprise"
68
+ },
69
+ "projectSlug": {
70
+ "const": "api"
71
+ }
72
+ },
73
+ "additionalProperties": false
74
+ },
75
+ "stats": {
76
+ "type": "object",
77
+ "required": [
78
+ "totalProducts",
79
+ "plannedProducts",
80
+ "readyProducts",
81
+ "blockedProducts",
82
+ "uniqueModules",
83
+ "knownModuleGaps"
84
+ ],
85
+ "properties": {
86
+ "totalProducts": {
87
+ "type": "integer",
88
+ "minimum": 0
89
+ },
90
+ "plannedProducts": {
91
+ "type": "integer",
92
+ "minimum": 0
93
+ },
94
+ "readyProducts": {
95
+ "type": "integer",
96
+ "minimum": 0
97
+ },
98
+ "blockedProducts": {
99
+ "type": "integer",
100
+ "minimum": 0
101
+ },
102
+ "uniqueModules": {
103
+ "type": "integer",
104
+ "minimum": 0
105
+ },
106
+ "knownModuleGaps": {
107
+ "type": "integer",
108
+ "minimum": 0
109
+ }
110
+ },
111
+ "additionalProperties": false
112
+ },
113
+ "products": {
114
+ "type": "array",
115
+ "items": {
116
+ "type": "object",
117
+ "required": [
118
+ "rank",
119
+ "slug",
120
+ "title",
121
+ "category",
122
+ "tier",
123
+ "summary",
124
+ "modules",
125
+ "moduleGaps",
126
+ "recommendedKit",
127
+ "workspaceProfile",
128
+ "readiness"
129
+ ],
130
+ "properties": {
131
+ "rank": {
132
+ "type": "number"
133
+ },
134
+ "slug": {
135
+ "type": "string",
136
+ "minLength": 1
137
+ },
138
+ "title": {
139
+ "type": "string",
140
+ "minLength": 1
141
+ },
142
+ "category": {
143
+ "type": "string",
144
+ "minLength": 1
145
+ },
146
+ "tier": {
147
+ "type": "string",
148
+ "minLength": 1
149
+ },
150
+ "summary": {
151
+ "type": "string"
152
+ },
153
+ "modules": {
154
+ "type": "array",
155
+ "items": {
156
+ "type": "string"
157
+ }
158
+ },
159
+ "moduleGaps": {
160
+ "type": "array",
161
+ "items": {
162
+ "type": "string"
163
+ }
164
+ },
165
+ "recommendedKit": {
166
+ "type": "string",
167
+ "minLength": 1
168
+ },
169
+ "workspaceProfile": {
170
+ "const": "enterprise"
171
+ },
172
+ "readiness": {
173
+ "type": "object",
174
+ "required": [
175
+ "status",
176
+ "blockingGaps"
177
+ ],
178
+ "properties": {
179
+ "status": {
180
+ "enum": [
181
+ "ready-for-private-manifest",
182
+ "blocked-by-module-gaps"
183
+ ]
184
+ },
185
+ "blockingGaps": {
186
+ "type": "array",
187
+ "items": {
188
+ "type": "string"
189
+ }
190
+ }
191
+ },
192
+ "additionalProperties": false
193
+ }
194
+ },
195
+ "additionalProperties": false
196
+ }
197
+ }
198
+ },
199
+ "additionalProperties": true
200
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "required": [
5
+ "schema",
6
+ "projectName",
7
+ "originalPath",
8
+ "archivedPath",
9
+ "archivedAt"
10
+ ],
11
+ "properties": {
12
+ "schema": {
13
+ "const": "rapidkit-project-archive-v1"
14
+ },
15
+ "projectName": {
16
+ "type": "string",
17
+ "minLength": 1
18
+ },
19
+ "originalPath": {
20
+ "type": "string",
21
+ "minLength": 1
22
+ },
23
+ "archivedPath": {
24
+ "type": "string",
25
+ "minLength": 1
26
+ },
27
+ "reason": {
28
+ "type": "string"
29
+ },
30
+ "archivedAt": {
31
+ "type": "string",
32
+ "format": "date-time"
33
+ },
34
+ "safetySnapshotPath": {
35
+ "type": "string",
36
+ "minLength": 1
37
+ }
38
+ },
39
+ "additionalProperties": false
40
+ }
@@ -0,0 +1,127 @@
1
+ {
2
+ "schemaVersion": "workspai-project-entry-capability-v1",
3
+ "name": "Project Entry Capability",
4
+ "plainLanguageRule": "Any readable project can enter Workspace Intelligence through adopt/import. Runtime-specific detection improves understanding depth; it is not the permission gate.",
5
+ "entryRoutes": [
6
+ {
7
+ "id": "create",
8
+ "status": "available",
9
+ "purpose": "Start a new project only through native kits or available official generator paths listed in the create planner contract.",
10
+ "commands": [
11
+ "create workspace",
12
+ "create project"
13
+ ]
14
+ },
15
+ {
16
+ "id": "adopt",
17
+ "status": "available",
18
+ "purpose": "Register an existing local project in place without moving or rewriting its source.",
19
+ "commands": [
20
+ "adopt"
21
+ ]
22
+ },
23
+ {
24
+ "id": "import",
25
+ "status": "available",
26
+ "purpose": "Attach an existing project, repository folder, or imported path to a workspace inventory.",
27
+ "commands": [
28
+ "import",
29
+ "workspace import"
30
+ ]
31
+ }
32
+ ],
33
+ "universalExistingProjectEntry": {
34
+ "status": "available",
35
+ "appliesTo": [
36
+ "any readable repository",
37
+ "any readable local project folder",
38
+ "monorepos and multi-project workspaces",
39
+ "known runtimes, unknown runtimes, and mixed stacks"
40
+ ],
41
+ "minimumConditions": [
42
+ "The path is readable by the CLI.",
43
+ "The workspace can write Workspai metadata or record an external adopted path.",
44
+ "The project can be represented with at least a name, path, and entry record."
45
+ ],
46
+ "doesNotRequire": [
47
+ "native scaffold support",
48
+ "official generator support",
49
+ "module command support",
50
+ "a known runtime detector",
51
+ "moving source files into the workspace"
52
+ ],
53
+ "result": [
54
+ "project registry membership",
55
+ "workspace model participation",
56
+ "workspace context participation",
57
+ "governance and evidence participation according to available facts"
58
+ ]
59
+ },
60
+ "supportDepths": [
61
+ {
62
+ "id": "registered",
63
+ "label": "Registered",
64
+ "meaning": "The project is known to the workspace and can participate in inventory, context, and governance.",
65
+ "examples": [
66
+ "unknown runtime",
67
+ "custom stack",
68
+ "legacy service"
69
+ ]
70
+ },
71
+ {
72
+ "id": "detected",
73
+ "label": "Detected",
74
+ "meaning": "The CLI recognizes runtime or framework signals and can label the project with higher confidence.",
75
+ "examples": [
76
+ "node package.json",
77
+ "python pyproject.toml",
78
+ "php composer.json"
79
+ ]
80
+ },
81
+ {
82
+ "id": "operational",
83
+ "label": "Operational",
84
+ "meaning": "The CLI can infer or use lifecycle commands, health checks, or workspace run stages.",
85
+ "examples": [
86
+ "test script",
87
+ "build script",
88
+ "doctor evidence"
89
+ ]
90
+ },
91
+ {
92
+ "id": "deep",
93
+ "label": "Deep",
94
+ "meaning": "The project has stack-specific module, doctor, or scaffold support beyond generic Workspace Intelligence.",
95
+ "examples": [
96
+ "FastAPI module support",
97
+ "NestJS module support",
98
+ "native Workspai kit"
99
+ ]
100
+ }
101
+ ],
102
+ "runtimeSignals": {
103
+ "purpose": "Help the planner and model recognize common existing-project requests and improve labels.",
104
+ "examples": [
105
+ "php",
106
+ "ruby",
107
+ "rust",
108
+ "elixir",
109
+ "clojure",
110
+ "scala",
111
+ "kotlin"
112
+ ],
113
+ "rule": "Runtime signals are examples for detection and messaging, not a closed allowlist for adopt/import."
114
+ },
115
+ "boundaries": {
116
+ "allowedClaims": [
117
+ "Any readable project can enter Workspace Intelligence through adopt/import when it can be registered.",
118
+ "Known runtime and framework detectors improve confidence and depth, but unknown projects can still be registered.",
119
+ "Create support is limited to native kits and available official generator paths in the create planner contract."
120
+ ],
121
+ "forbiddenClaims": [
122
+ "Do not say adopt/import supports only the listed runtime signals.",
123
+ "Do not say every imported project receives deep runtime-specific module support.",
124
+ "Do not say Workspai can natively scaffold every language or framework."
125
+ ]
126
+ }
127
+ }