@acidicsoil/portable-capabilities 0.1.5 → 0.1.8

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 (59) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +31 -62
  3. package/dist-release/catalog/roles/acceptance-criteria-synthesis.yaml +84 -0
  4. package/dist-release/catalog/roles/anti-pattern-inversion.yaml +83 -0
  5. package/dist-release/catalog/roles/behavior-preserving-refactor.yaml +88 -0
  6. package/dist-release/catalog/roles/canonical-exemplar-generalization.yaml +84 -0
  7. package/dist-release/catalog/roles/constrained-exemplar-adaptation.yaml +85 -0
  8. package/dist-release/catalog/roles/convention-mining.yaml +81 -0
  9. package/dist-release/catalog/roles/conversation-to-specification.yaml +83 -0
  10. package/dist-release/catalog/roles/delta-analysis.yaml +84 -0
  11. package/dist-release/catalog/roles/domain-context-boundary.yaml +82 -0
  12. package/dist-release/catalog/roles/evaluation-harness-design.yaml +86 -0
  13. package/dist-release/catalog/roles/failure-to-guardrail.yaml +81 -0
  14. package/dist-release/catalog/roles/multi-exemplar-consensus.yaml +81 -0
  15. package/dist-release/catalog/roles/reference-trace-mapping.yaml +83 -0
  16. package/dist-release/catalog/roles/reusable-workflow-abstraction.yaml +82 -0
  17. package/dist-release/catalog/roles/structural-pattern-extraction.yaml +82 -0
  18. package/dist-release/catalog/roles/template-family-generation.yaml +83 -0
  19. package/dist-release/catalog/schemas/acceptance-criteria-synthesis.output.schema.json +63 -0
  20. package/dist-release/catalog/schemas/anti-pattern-inversion.output.schema.json +63 -0
  21. package/dist-release/catalog/schemas/behavior-preserving-refactor.output.schema.json +63 -0
  22. package/dist-release/catalog/schemas/canonical-exemplar-generalization.output.schema.json +63 -0
  23. package/dist-release/catalog/schemas/constrained-exemplar-adaptation.output.schema.json +63 -0
  24. package/dist-release/catalog/schemas/convention-mining.output.schema.json +63 -0
  25. package/dist-release/catalog/schemas/conversation-to-specification.output.schema.json +63 -0
  26. package/dist-release/catalog/schemas/delta-analysis.output.schema.json +63 -0
  27. package/dist-release/catalog/schemas/domain-context-boundary.output.schema.json +63 -0
  28. package/dist-release/catalog/schemas/evaluation-harness-design.output.schema.json +73 -0
  29. package/dist-release/catalog/schemas/failure-to-guardrail.output.schema.json +63 -0
  30. package/dist-release/catalog/schemas/multi-exemplar-consensus.output.schema.json +63 -0
  31. package/dist-release/catalog/schemas/reference-trace-mapping.output.schema.json +63 -0
  32. package/dist-release/catalog/schemas/reusable-workflow-abstraction.output.schema.json +73 -0
  33. package/dist-release/catalog/schemas/structural-pattern-extraction.output.schema.json +63 -0
  34. package/dist-release/catalog/schemas/template-family-generation.output.schema.json +63 -0
  35. package/dist-release/cli.js +5507 -3265
  36. package/dist-release/cli.js.map +4 -4
  37. package/dist-release/index.js +5976 -3447
  38. package/dist-release/index.js.map +4 -4
  39. package/package.json +37 -42
  40. package/schemas/canonical-artifact.schema.json +220 -0
  41. package/schemas/runtime-descriptor.schema.json +338 -0
  42. package/schemas/runtime-evidence-claim.schema.json +87 -0
  43. package/canonical/exceptions/antigravity-unsupported-primitives.yaml +0 -16
  44. package/canonical/exceptions/claude-code-unsupported-primitives.yaml +0 -16
  45. package/canonical/exceptions/codex-unsupported-primitives.yaml +0 -16
  46. package/canonical/exceptions/dcode-unsupported-primitives.yaml +0 -16
  47. package/canonical/exceptions/oh-my-pi-unsupported-primitives.yaml +0 -16
  48. package/canonical/exceptions/opencode-unsupported-primitives.yaml +0 -16
  49. package/canonical/exceptions/pi-unsupported-primitives.yaml +0 -16
  50. package/canonical/fixtures/runtime-primitive-matrix-112.json +0 -1956
  51. package/canonical/runtime-primitive-policy.yaml +0 -100
  52. package/canonical/runtime-profiles/antigravity.yaml +0 -60
  53. package/canonical/runtime-profiles/claude-code.yaml +0 -65
  54. package/canonical/runtime-profiles/codex.yaml +0 -71
  55. package/canonical/runtime-profiles/dcode.yaml +0 -67
  56. package/canonical/runtime-profiles/oh-my-pi.yaml +0 -62
  57. package/canonical/runtime-profiles/opencode.yaml +0 -65
  58. package/canonical/runtime-profiles/pi.yaml +0 -66
  59. package/schemas/runtime-profile.schema.json +0 -305
@@ -0,0 +1,87 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://portable-capabilities.dev/schemas/runtime-evidence-claim/1.0",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": [
7
+ "schemaVersion",
8
+ "id",
9
+ "runtimeId",
10
+ "category",
11
+ "subject",
12
+ "assertion",
13
+ "versionRange",
14
+ "source",
15
+ "sourceDigest",
16
+ "state",
17
+ "stability",
18
+ "verifiedAt",
19
+ "sourceType",
20
+ "sourceLocator",
21
+ "confidence",
22
+ "verificationStatus"
23
+ ],
24
+ "properties": {
25
+ "schemaVersion": {
26
+ "const": "1.0"
27
+ },
28
+ "id": {
29
+ "type": "string"
30
+ },
31
+ "runtimeId": {
32
+ "type": "string"
33
+ },
34
+ "category": {
35
+ "type": "string"
36
+ },
37
+ "subject": {
38
+ "type": "string"
39
+ },
40
+ "assertion": {
41
+ "type": "string"
42
+ },
43
+ "versionRange": {
44
+ "type": "string"
45
+ },
46
+ "source": {
47
+ "type": "string"
48
+ },
49
+ "sourceDigest": {
50
+ "type": "string"
51
+ },
52
+ "state": {
53
+ "enum": ["documented", "source-observed", "runtime-observed", "inferred", "unknown"]
54
+ },
55
+ "stability": {
56
+ "enum": ["stable", "experimental", "version-gated", "deprecated"]
57
+ },
58
+ "verifiedAt": {
59
+ "type": "string"
60
+ },
61
+ "supersedes": {
62
+ "type": "string"
63
+ },
64
+ "counterevidence": {
65
+ "type": "array",
66
+ "items": {
67
+ "type": "string"
68
+ }
69
+ },
70
+ "sourceType": {
71
+ "enum": ["official-docs", "official-source", "runtime-probe", "manual-observation"]
72
+ },
73
+ "sourceLocator": {
74
+ "type": "string",
75
+ "minLength": 1
76
+ },
77
+ "sourceExcerpt": {
78
+ "type": "string"
79
+ },
80
+ "confidence": {
81
+ "enum": ["high", "medium", "low"]
82
+ },
83
+ "verificationStatus": {
84
+ "enum": ["verified", "partially-verified", "unverified", "contradicted"]
85
+ }
86
+ }
87
+ }
@@ -1,16 +0,0 @@
1
- schemaVersion: "1.0"
2
- id: antigravity-unsupported-primitives
3
- runtime: antigravity
4
- scope: capability:native-primitives
5
- rationale: antigravity does not expose every portable wrapper primitive natively.
6
- impact:
7
- Unsupported primitives (command, agent, extension, memory) are not emitted
8
- as native wrappers.
9
- fallback:
10
- Use the generated skill and external resources as the portable behavioral
11
- unit.
12
- tests:
13
- - native-matrix:all-cells
14
- - runtime-profiles:unsupported-fallbacks
15
- provenance: docs/prd/product.md#runtime-projection-layer
16
- reviewDate: "2027-01-27"
@@ -1,16 +0,0 @@
1
- schemaVersion: "1.0"
2
- id: claude-code-unsupported-primitives
3
- runtime: claude-code
4
- scope: capability:native-primitives
5
- rationale: claude-code does not expose every portable wrapper primitive natively.
6
- impact:
7
- Unsupported primitives (workflow, rule, extension, memory) are not emitted
8
- as native wrappers.
9
- fallback:
10
- Use the generated skill and external resources as the portable behavioral
11
- unit.
12
- tests:
13
- - native-matrix:all-cells
14
- - runtime-profiles:unsupported-fallbacks
15
- provenance: docs/prd/product.md#runtime-projection-layer
16
- reviewDate: "2027-01-27"
@@ -1,16 +0,0 @@
1
- schemaVersion: "1.0"
2
- id: codex-unsupported-primitives
3
- runtime: codex
4
- scope: capability:native-primitives
5
- rationale: codex does not expose every portable wrapper primitive natively.
6
- impact:
7
- Unsupported primitives (command, workflow, rule, extension, memory) are not
8
- emitted as native wrappers.
9
- fallback:
10
- Use the generated skill and external resources as the portable behavioral
11
- unit.
12
- tests:
13
- - native-matrix:all-cells
14
- - runtime-profiles:unsupported-fallbacks
15
- provenance: docs/prd/product.md#runtime-projection-layer
16
- reviewDate: "2027-01-27"
@@ -1,16 +0,0 @@
1
- schemaVersion: "1.0"
2
- id: dcode-unsupported-primitives
3
- runtime: dcode
4
- scope: capability:native-primitives
5
- rationale: dcode does not expose every portable wrapper primitive natively.
6
- impact:
7
- Unsupported primitives (command, agent, workflow, rule, extension, memory) are not emitted
8
- as native wrappers.
9
- fallback:
10
- Use the generated skill and external resources as the portable behavioral
11
- unit.
12
- tests:
13
- - native-matrix:all-cells
14
- - runtime-profiles:unsupported-fallbacks
15
- provenance: docs/prd/product.md#runtime-projection-layer
16
- reviewDate: "2027-01-27"
@@ -1,16 +0,0 @@
1
- schemaVersion: "1.0"
2
- id: oh-my-pi-unsupported-primitives
3
- runtime: oh-my-pi
4
- scope: capability:native-primitives
5
- rationale: oh-my-pi does not expose every portable wrapper primitive natively.
6
- impact:
7
- Unsupported primitives (command, agent, workflow, rule, extension, memory) are not emitted
8
- as native wrappers.
9
- fallback:
10
- Use the generated skill and external resources as the portable behavioral
11
- unit.
12
- tests:
13
- - native-matrix:all-cells
14
- - runtime-profiles:unsupported-fallbacks
15
- provenance: docs/prd/product.md#runtime-projection-layer
16
- reviewDate: "2027-01-27"
@@ -1,16 +0,0 @@
1
- schemaVersion: "1.0"
2
- id: opencode-unsupported-primitives
3
- runtime: opencode
4
- scope: capability:native-primitives
5
- rationale: opencode does not expose every portable wrapper primitive natively.
6
- impact:
7
- Unsupported primitives (workflow, rule, extension, memory) are not emitted
8
- as native wrappers.
9
- fallback:
10
- Use the generated skill and external resources as the portable behavioral
11
- unit.
12
- tests:
13
- - native-matrix:all-cells
14
- - runtime-profiles:unsupported-fallbacks
15
- provenance: docs/prd/product.md#runtime-projection-layer
16
- reviewDate: "2027-01-27"
@@ -1,16 +0,0 @@
1
- schemaVersion: "1.0"
2
- id: pi-unsupported-primitives
3
- runtime: pi
4
- scope: capability:native-primitives
5
- rationale: pi does not expose every portable wrapper primitive natively.
6
- impact:
7
- Unsupported primitives (command, agent, workflow, rule, memory) are not emitted
8
- as native wrappers.
9
- fallback:
10
- Use the generated skill and external resources as the portable behavioral
11
- unit.
12
- tests:
13
- - native-matrix:all-cells
14
- - runtime-profiles:unsupported-fallbacks
15
- provenance: docs/prd/product.md#runtime-projection-layer
16
- reviewDate: "2027-01-27"