@acidicsoil/portable-capabilities 0.1.7 → 0.1.9

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 (50) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +31 -62
  3. package/dist-release/catalog/schemas/acceptance-criteria-synthesis.output.schema.json +63 -0
  4. package/dist-release/catalog/schemas/anti-pattern-inversion.output.schema.json +63 -0
  5. package/dist-release/catalog/schemas/behavior-preserving-refactor.output.schema.json +63 -0
  6. package/dist-release/catalog/schemas/canonical-exemplar-generalization.output.schema.json +63 -0
  7. package/dist-release/catalog/schemas/constrained-exemplar-adaptation.output.schema.json +63 -0
  8. package/dist-release/catalog/schemas/convention-mining.output.schema.json +63 -0
  9. package/dist-release/catalog/schemas/conversation-to-specification.output.schema.json +63 -0
  10. package/dist-release/catalog/schemas/delta-analysis.output.schema.json +63 -0
  11. package/dist-release/catalog/schemas/domain-context-boundary.output.schema.json +63 -0
  12. package/dist-release/catalog/schemas/evaluation-harness-design.output.schema.json +73 -0
  13. package/dist-release/catalog/schemas/failure-to-guardrail.output.schema.json +63 -0
  14. package/dist-release/catalog/schemas/multi-exemplar-consensus.output.schema.json +63 -0
  15. package/dist-release/catalog/schemas/reference-trace-mapping.output.schema.json +63 -0
  16. package/dist-release/catalog/schemas/reusable-workflow-abstraction.output.schema.json +73 -0
  17. package/dist-release/catalog/schemas/structural-pattern-extraction.output.schema.json +63 -0
  18. package/dist-release/catalog/schemas/template-family-generation.output.schema.json +63 -0
  19. package/dist-release/cli.js +5620 -3297
  20. package/dist-release/cli.js.map +4 -4
  21. package/dist-release/index.js +5418 -2808
  22. package/dist-release/index.js.map +4 -4
  23. package/package.json +26 -23
  24. package/schemas/canonical-artifact.schema.json +220 -0
  25. package/schemas/runtime-descriptor.schema.json +344 -0
  26. package/schemas/runtime-evidence-claim.schema.json +87 -0
  27. package/canonical/exceptions/antigravity-unsupported-primitives.yaml +0 -16
  28. package/canonical/exceptions/claude-code-unsupported-primitives.yaml +0 -16
  29. package/canonical/exceptions/codex-unsupported-primitives.yaml +0 -16
  30. package/canonical/exceptions/dcode-unsupported-primitives.yaml +0 -16
  31. package/canonical/exceptions/oh-my-pi-unsupported-primitives.yaml +0 -16
  32. package/canonical/exceptions/opencode-unsupported-primitives.yaml +0 -16
  33. package/canonical/exceptions/pi-unsupported-primitives.yaml +0 -16
  34. package/canonical/fixtures/runtime-primitive-matrix-112.json +0 -1956
  35. package/canonical/runtime-primitive-policy.yaml +0 -100
  36. package/canonical/runtime-profiles/antigravity.yaml +0 -60
  37. package/canonical/runtime-profiles/claude-code.yaml +0 -65
  38. package/canonical/runtime-profiles/codex.yaml +0 -71
  39. package/canonical/runtime-profiles/dcode.yaml +0 -67
  40. package/canonical/runtime-profiles/oh-my-pi.yaml +0 -62
  41. package/canonical/runtime-profiles/opencode.yaml +0 -65
  42. package/canonical/runtime-profiles/pi.yaml +0 -66
  43. package/dist-release/catalog/runtime-profiles/antigravity.yaml +0 -60
  44. package/dist-release/catalog/runtime-profiles/claude-code.yaml +0 -65
  45. package/dist-release/catalog/runtime-profiles/codex.yaml +0 -71
  46. package/dist-release/catalog/runtime-profiles/dcode.yaml +0 -67
  47. package/dist-release/catalog/runtime-profiles/oh-my-pi.yaml +0 -62
  48. package/dist-release/catalog/runtime-profiles/opencode.yaml +0 -65
  49. package/dist-release/catalog/runtime-profiles/pi.yaml +0 -66
  50. package/schemas/runtime-profile.schema.json +0 -305
@@ -1,71 +0,0 @@
1
- schemaVersion: "1.0"
2
- id: codex
3
- version: 1.0.0
4
- nativeRoot: .agents/skills
5
- supportedPrimitives:
6
- - skill
7
- - agent
8
- unsupportedPrimitives:
9
- - command
10
- - workflow
11
- - rule
12
- - extension
13
- - memory
14
- capabilities:
15
- skill: true
16
- command: false
17
- agent: true
18
- workflow: false
19
- rule: false
20
- extension: false
21
- memory: false
22
- limitations:
23
- - Canonical behavior remains in generated skills and resources.
24
- limits:
25
- maxInitialBytes: 8192
26
- maxResourceBytes: 1048576
27
- permissionModel: read-only-default
28
- provenance:
29
- sources:
30
- - docs/prd/product.md
31
- - .planning/phases/06.1-runtime-usability-and-behavioral-closure/06.1-COMPATIBILITY-RESEARCH.md
32
- - https://www.npmjs.com/package/@openai/codex
33
- reviewedAt: 2026-08-02
34
- reviewBy: 2027-02-02
35
- reviewer: portable-capabilities
36
- fallbacks:
37
- command: skill-resource
38
- workflow: skill-resource
39
- rule: skill-resource
40
- extension: skill-resource
41
- memory: skill-resource
42
- compatibility:
43
- minimumSupportedVersion: 0.144.4
44
- maximumKnownCompatibleVersion: 0.146.0
45
- maximumKnownCompatibleRange: ">=0.144.4 <=0.146.0"
46
- testedVersions:
47
- - version: 0.144.4
48
- testedAt: 2026-07-29
49
- platform: planning-environment
50
- executable: codex
51
- evidence: .planning/phases/06.1-runtime-usability-and-behavioral-closure/06.1-COMPATIBILITY-RESEARCH.md#environment-probe
52
- - version: 0.146.0
53
- testedAt: 2026-07-30
54
- platform: isolated-temporary-consumer
55
- executable: codex
56
- evidence: packages/conformance/src/tracer/runtime-usability-evidence.json
57
- outcome: supported
58
- unknownVersionBehavior: fail
59
- harness:
60
- identity: codex-generated-package-behavioral-harness
61
- availability: available
62
- evidence: packages/conformance/src/tracer/runtime-usability-evidence.json
63
- reviewedAt: 2026-07-30
64
- expiresAt: 2026-10-28
65
- approval:
66
- status: approved
67
- owner: Portable Capabilities maintainers
68
- approvedAt: 2026-07-30
69
- latestPublishedVersion: 0.146.0
70
- releaseSource: https://www.npmjs.com/package/@openai/codex
71
- releaseObservedAt: 2026-07-30
@@ -1,67 +0,0 @@
1
- schemaVersion: "1.0"
2
- id: dcode
3
- version: 1.0.0
4
- nativeRoot: .dcode/skills
5
- supportedPrimitives:
6
- - skill
7
- unsupportedPrimitives:
8
- - command
9
- - agent
10
- - workflow
11
- - rule
12
- - extension
13
- - memory
14
- capabilities:
15
- skill: true
16
- command: false
17
- agent: false
18
- workflow: false
19
- rule: false
20
- extension: false
21
- memory: false
22
- limitations:
23
- - Canonical behavior remains in generated skills and resources.
24
- limits:
25
- maxInitialBytes: 8192
26
- maxResourceBytes: 1048576
27
- permissionModel: read-only-default
28
- provenance:
29
- sources:
30
- - docs/prd/product.md
31
- - .planning/phases/06.1-runtime-usability-and-behavioral-closure/06.1-COMPATIBILITY-RESEARCH.md
32
- - https://github.com/langchain-ai/deepagents/releases
33
- reviewedAt: 2026-08-02
34
- reviewBy: 2027-02-02
35
- reviewer: portable-capabilities
36
- fallbacks:
37
- command: skill-resource
38
- agent: skill-resource
39
- workflow: skill-resource
40
- rule: skill-resource
41
- extension: skill-resource
42
- memory: skill-resource
43
- compatibility:
44
- minimumSupportedVersion: 0.1.38
45
- maximumKnownCompatibleVersion: 0.1.38
46
- maximumKnownCompatibleRange: ">=0.1.38 <=0.1.38"
47
- testedVersions:
48
- - version: 0.1.38
49
- testedAt: 2026-07-29
50
- platform: planning-environment
51
- executable: dcode
52
- evidence: .planning/phases/06.1-runtime-usability-and-behavioral-closure/06.1-COMPATIBILITY-RESEARCH.md#environment-probe
53
- outcome: unavailable
54
- unknownVersionBehavior: fail
55
- harness:
56
- identity: dcode-authoritative-behavioral-harness
57
- availability: unavailable
58
- evidence: .planning/phases/06.1-runtime-usability-and-behavioral-closure/06.1-COMPATIBILITY-RESEARCH.md#projection-and-harness-implications
59
- reviewedAt: 2026-07-30
60
- expiresAt: 2026-10-28
61
- approval:
62
- status: approved
63
- owner: Portable Capabilities maintainers
64
- approvedAt: 2026-07-30
65
- latestPublishedVersion: 0.1.50
66
- releaseSource: https://github.com/langchain-ai/deepagents/releases
67
- releaseObservedAt: 2026-07-30
@@ -1,62 +0,0 @@
1
- schemaVersion: "1.0"
2
- id: oh-my-pi
3
- version: 1.0.0
4
- nativeRoot: .pi/skills
5
- supportedPrimitives:
6
- - skill
7
- unsupportedPrimitives:
8
- - command
9
- - agent
10
- - workflow
11
- - rule
12
- - extension
13
- - memory
14
- capabilities:
15
- skill: true
16
- command: false
17
- agent: false
18
- workflow: false
19
- rule: false
20
- extension: false
21
- memory: false
22
- limitations:
23
- - Canonical behavior remains in generated skills and resources.
24
- limits:
25
- maxInitialBytes: 8192
26
- maxResourceBytes: 1048576
27
- permissionModel: read-only-default
28
- provenance:
29
- sources:
30
- - docs/prd/product.md
31
- - .planning/phases/06.1-runtime-usability-and-behavioral-closure/06.1-COMPATIBILITY-RESEARCH.md
32
- - https://github.com/can1357/oh-my-pi/releases/latest
33
- reviewedAt: 2026-08-02
34
- reviewBy: 2027-02-02
35
- reviewer: portable-capabilities
36
- fallbacks:
37
- command: skill-resource
38
- agent: skill-resource
39
- workflow: skill-resource
40
- rule: skill-resource
41
- extension: skill-resource
42
- memory: skill-resource
43
- compatibility:
44
- minimumSupportedVersion: null
45
- maximumKnownCompatibleVersion: null
46
- maximumKnownCompatibleRange: null
47
- testedVersions: []
48
- outcome: unavailable
49
- unknownVersionBehavior: fail
50
- harness:
51
- identity: oh-my-pi-authoritative-behavioral-harness
52
- availability: unavailable
53
- evidence: .planning/phases/06.1-runtime-usability-and-behavioral-closure/06.1-COMPATIBILITY-RESEARCH.md#environment-probe
54
- reviewedAt: 2026-07-30
55
- expiresAt: 2026-10-28
56
- approval:
57
- status: approved
58
- owner: Portable Capabilities maintainers
59
- approvedAt: 2026-07-30
60
- latestPublishedVersion: 17.2.1
61
- releaseSource: https://github.com/can1357/oh-my-pi/releases/latest
62
- releaseObservedAt: 2026-07-30
@@ -1,65 +0,0 @@
1
- schemaVersion: "1.0"
2
- id: opencode
3
- version: 1.0.0
4
- nativeRoot: .opencode/skills
5
- supportedPrimitives:
6
- - skill
7
- - command
8
- - agent
9
- unsupportedPrimitives:
10
- - workflow
11
- - rule
12
- - extension
13
- - memory
14
- capabilities:
15
- skill: true
16
- command: true
17
- agent: true
18
- workflow: false
19
- rule: false
20
- extension: false
21
- memory: false
22
- limitations:
23
- - Canonical behavior remains in generated skills and resources.
24
- limits:
25
- maxInitialBytes: 8192
26
- maxResourceBytes: 1048576
27
- permissionModel: read-only-default
28
- provenance:
29
- sources:
30
- - docs/prd/product.md
31
- - .planning/phases/06.1-runtime-usability-and-behavioral-closure/06.1-COMPATIBILITY-RESEARCH.md
32
- - https://github.com/anomalyco/opencode/releases/latest
33
- reviewedAt: 2026-08-02
34
- reviewBy: 2027-02-02
35
- reviewer: portable-capabilities
36
- fallbacks:
37
- workflow: skill-resource
38
- rule: skill-resource
39
- extension: skill-resource
40
- memory: skill-resource
41
- compatibility:
42
- minimumSupportedVersion: 1.17.20
43
- maximumKnownCompatibleVersion: 1.17.20
44
- maximumKnownCompatibleRange: ">=1.17.20 <=1.17.20"
45
- testedVersions:
46
- - version: 1.17.20
47
- testedAt: 2026-07-29
48
- platform: planning-environment
49
- executable: opencode
50
- evidence: .planning/phases/06.1-runtime-usability-and-behavioral-closure/06.1-COMPATIBILITY-RESEARCH.md#environment-probe
51
- outcome: unavailable
52
- unknownVersionBehavior: fail
53
- harness:
54
- identity: opencode-authoritative-behavioral-harness
55
- availability: unavailable
56
- evidence: .planning/phases/06.1-runtime-usability-and-behavioral-closure/06.1-COMPATIBILITY-RESEARCH.md#projection-and-harness-implications
57
- reviewedAt: 2026-07-30
58
- expiresAt: 2026-10-28
59
- approval:
60
- status: approved
61
- owner: Portable Capabilities maintainers
62
- approvedAt: 2026-07-30
63
- latestPublishedVersion: 1.17.20
64
- releaseSource: https://github.com/anomalyco/opencode/releases/latest
65
- releaseObservedAt: 2026-07-30
@@ -1,66 +0,0 @@
1
- schemaVersion: "1.0"
2
- id: pi
3
- version: 1.0.0
4
- nativeRoot: .pi/skills
5
- supportedPrimitives:
6
- - skill
7
- - extension
8
- unsupportedPrimitives:
9
- - command
10
- - agent
11
- - workflow
12
- - rule
13
- - memory
14
- capabilities:
15
- skill: true
16
- command: false
17
- agent: false
18
- workflow: false
19
- rule: false
20
- extension: true
21
- memory: false
22
- limitations:
23
- - Canonical behavior remains in generated skills and resources.
24
- limits:
25
- maxInitialBytes: 8192
26
- maxResourceBytes: 1048576
27
- permissionModel: read-only-default
28
- provenance:
29
- sources:
30
- - docs/prd/product.md
31
- - .planning/phases/06.1-runtime-usability-and-behavioral-closure/06.1-COMPATIBILITY-RESEARCH.md
32
- - https://www.npmjs.com/package/@earendil-works/pi-coding-agent
33
- reviewedAt: 2026-08-02
34
- reviewBy: 2027-02-02
35
- reviewer: portable-capabilities
36
- fallbacks:
37
- command: skill-resource
38
- agent: skill-resource
39
- workflow: skill-resource
40
- rule: skill-resource
41
- memory: skill-resource
42
- compatibility:
43
- minimumSupportedVersion: 0.64.0
44
- maximumKnownCompatibleVersion: 0.64.0
45
- maximumKnownCompatibleRange: ">=0.64.0 <=0.64.0"
46
- testedVersions:
47
- - version: 0.64.0
48
- testedAt: 2026-07-29
49
- platform: planning-environment
50
- executable: pi
51
- evidence: .planning/phases/06.1-runtime-usability-and-behavioral-closure/06.1-COMPATIBILITY-RESEARCH.md#environment-probe
52
- outcome: unavailable
53
- unknownVersionBehavior: fail
54
- harness:
55
- identity: pi-authoritative-behavioral-harness
56
- availability: unavailable
57
- evidence: .planning/phases/06.1-runtime-usability-and-behavioral-closure/06.1-COMPATIBILITY-RESEARCH.md#projection-and-harness-implications
58
- reviewedAt: 2026-07-30
59
- expiresAt: 2026-10-28
60
- approval:
61
- status: approved
62
- owner: Portable Capabilities maintainers
63
- approvedAt: 2026-07-30
64
- latestPublishedVersion: 0.83.0
65
- releaseSource: https://www.npmjs.com/package/@earendil-works/pi-coding-agent
66
- releaseObservedAt: 2026-07-30
@@ -1,305 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://portable-capabilities.dev/schemas/runtime-profile/1.0",
4
- "type": "object",
5
- "additionalProperties": false,
6
- "required": [
7
- "schemaVersion",
8
- "id",
9
- "version",
10
- "nativeRoot",
11
- "supportedPrimitives",
12
- "unsupportedPrimitives",
13
- "capabilities",
14
- "limitations",
15
- "limits",
16
- "permissionModel",
17
- "provenance",
18
- "compatibility",
19
- "fallbacks"
20
- ],
21
- "properties": {
22
- "schemaVersion": {
23
- "const": "1.0"
24
- },
25
- "id": {
26
- "enum": [
27
- "reference",
28
- "oh-my-pi",
29
- "opencode",
30
- "pi",
31
- "claude-code",
32
- "codex",
33
- "antigravity",
34
- "dcode"
35
- ]
36
- },
37
- "version": {
38
- "type": "string",
39
- "pattern": "^\\d+\\.\\d+\\.\\d+$"
40
- },
41
- "nativeRoot": {
42
- "type": "string",
43
- "minLength": 1
44
- },
45
- "supportedPrimitives": {
46
- "type": "array",
47
- "uniqueItems": true,
48
- "items": {
49
- "enum": ["skill", "command", "agent", "workflow", "rule", "extension", "memory"]
50
- }
51
- },
52
- "unsupportedPrimitives": {
53
- "type": "array",
54
- "uniqueItems": true,
55
- "items": {
56
- "enum": ["skill", "command", "agent", "workflow", "rule", "extension", "memory"]
57
- }
58
- },
59
- "capabilities": {
60
- "type": "object",
61
- "additionalProperties": {
62
- "type": "boolean"
63
- }
64
- },
65
- "limitations": {
66
- "type": "array",
67
- "items": {
68
- "type": "string",
69
- "minLength": 1
70
- }
71
- },
72
- "limits": {
73
- "type": "object",
74
- "additionalProperties": false,
75
- "required": ["maxInitialBytes", "maxResourceBytes"],
76
- "properties": {
77
- "maxInitialBytes": {
78
- "type": "integer",
79
- "minimum": 1
80
- },
81
- "maxResourceBytes": {
82
- "type": "integer",
83
- "minimum": 1
84
- }
85
- }
86
- },
87
- "permissionModel": {
88
- "const": "read-only-default"
89
- },
90
- "provenance": {
91
- "type": "object",
92
- "additionalProperties": false,
93
- "required": ["sources", "reviewedAt", "reviewBy", "reviewer"],
94
- "properties": {
95
- "sources": {
96
- "type": "array",
97
- "minItems": 1,
98
- "items": {
99
- "type": "string"
100
- }
101
- },
102
- "reviewedAt": {
103
- "type": "string",
104
- "format": "date"
105
- },
106
- "reviewBy": {
107
- "type": "string",
108
- "format": "date"
109
- },
110
- "reviewer": {
111
- "type": "string",
112
- "minLength": 1
113
- }
114
- }
115
- },
116
- "fallbacks": {
117
- "type": "object",
118
- "additionalProperties": {
119
- "type": "string",
120
- "minLength": 1
121
- }
122
- },
123
- "compatibility": {
124
- "type": "object",
125
- "additionalProperties": false,
126
- "required": [
127
- "releaseObservedAt",
128
- "releaseSource",
129
- "latestPublishedVersion",
130
- "minimumSupportedVersion",
131
- "maximumKnownCompatibleVersion",
132
- "maximumKnownCompatibleRange",
133
- "testedVersions",
134
- "outcome",
135
- "unknownVersionBehavior",
136
- "harness",
137
- "reviewedAt",
138
- "expiresAt",
139
- "approval"
140
- ],
141
- "properties": {
142
- "minimumSupportedVersion": {
143
- "type": ["string", "null"],
144
- "pattern": "^\\d+\\.\\d+\\.\\d+(?:[-+][0-9A-Za-z.-]+)?$"
145
- },
146
- "testedVersions": {
147
- "type": "array",
148
- "items": {
149
- "type": "object",
150
- "additionalProperties": false,
151
- "required": ["version", "testedAt", "platform", "executable", "evidence"],
152
- "properties": {
153
- "version": {
154
- "type": "string",
155
- "minLength": 1
156
- },
157
- "testedAt": {
158
- "type": "string",
159
- "format": "date"
160
- },
161
- "platform": {
162
- "type": "string",
163
- "minLength": 1
164
- },
165
- "executable": {
166
- "type": "string",
167
- "minLength": 1
168
- },
169
- "evidence": {
170
- "type": "string",
171
- "minLength": 1
172
- }
173
- }
174
- }
175
- },
176
- "outcome": {
177
- "enum": ["supported", "unsupported", "unavailable", "unknown-version"]
178
- },
179
- "unknownVersionBehavior": {
180
- "enum": ["fail", "warn-with-exception"]
181
- },
182
- "harness": {
183
- "type": "object",
184
- "additionalProperties": false,
185
- "required": ["identity", "availability", "evidence"],
186
- "properties": {
187
- "identity": {
188
- "type": "string",
189
- "minLength": 1
190
- },
191
- "availability": {
192
- "enum": ["available", "unavailable"]
193
- },
194
- "evidence": {
195
- "type": "string",
196
- "minLength": 1
197
- }
198
- }
199
- },
200
- "reviewedAt": {
201
- "type": "string",
202
- "format": "date"
203
- },
204
- "expiresAt": {
205
- "type": "string",
206
- "format": "date"
207
- },
208
- "approval": {
209
- "type": "object",
210
- "additionalProperties": false,
211
- "required": ["status", "owner"],
212
- "properties": {
213
- "status": {
214
- "enum": ["pending", "approved", "rejected"]
215
- },
216
- "owner": {
217
- "type": "string",
218
- "minLength": 1
219
- },
220
- "approvedAt": {
221
- "type": "string",
222
- "format": "date"
223
- }
224
- }
225
- },
226
- "latestPublishedVersion": {
227
- "type": "string",
228
- "pattern": "^\\d+\\.\\d+\\.\\d+(?:[-+][0-9A-Za-z.-]+)?$"
229
- },
230
- "releaseSource": {
231
- "type": "string",
232
- "pattern": "^https://.+"
233
- },
234
- "releaseObservedAt": {
235
- "type": "string",
236
- "format": "date"
237
- },
238
- "maximumKnownCompatibleVersion": {
239
- "type": ["string", "null"],
240
- "pattern": "^\\d+\\.\\d+\\.\\d+(?:[-+][0-9A-Za-z.-]+)?$"
241
- },
242
- "maximumKnownCompatibleRange": {
243
- "type": ["string", "null"],
244
- "pattern": "^>=\\d+\\.\\d+\\.\\d+(?:[-+][0-9A-Za-z.-]+)? <=\\d+\\.\\d+\\.\\d+(?:[-+][0-9A-Za-z.-]+)?$"
245
- }
246
- },
247
- "allOf": [
248
- {
249
- "if": {
250
- "properties": {
251
- "outcome": {
252
- "const": "supported"
253
- }
254
- }
255
- },
256
- "then": {
257
- "properties": {
258
- "harness": {
259
- "properties": {
260
- "availability": {
261
- "const": "available"
262
- }
263
- },
264
- "type": "object"
265
- },
266
- "approval": {
267
- "properties": {
268
- "status": {
269
- "const": "approved"
270
- },
271
- "approvedAt": {
272
- "type": "string",
273
- "format": "date"
274
- }
275
- },
276
- "required": ["approvedAt"],
277
- "type": "object"
278
- },
279
- "testedVersions": {
280
- "minItems": 1,
281
- "type": "array"
282
- }
283
- }
284
- }
285
- },
286
- {
287
- "if": {
288
- "properties": {
289
- "outcome": {
290
- "const": "unknown-version"
291
- }
292
- }
293
- },
294
- "then": {
295
- "properties": {
296
- "minimumSupportedVersion": {
297
- "type": "null"
298
- }
299
- }
300
- }
301
- }
302
- ]
303
- }
304
- }
305
- }