@acidicsoil/portable-capabilities 0.1.7 → 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 (50) hide show
  1. package/CHANGELOG.md +12 -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 +5282 -3080
  20. package/dist-release/cli.js.map +4 -4
  21. package/dist-release/index.js +6008 -3519
  22. package/dist-release/index.js.map +4 -4
  23. package/package.json +37 -42
  24. package/schemas/canonical-artifact.schema.json +220 -0
  25. package/schemas/runtime-descriptor.schema.json +338 -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
@@ -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"