@acidicsoil/portable-capabilities 0.1.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 (68) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +231 -0
  3. package/canonical/exceptions/antigravity-unsupported-primitives.yaml +16 -0
  4. package/canonical/exceptions/claude-code-unsupported-primitives.yaml +16 -0
  5. package/canonical/exceptions/codex-unsupported-primitives.yaml +16 -0
  6. package/canonical/exceptions/dcode-unsupported-primitives.yaml +16 -0
  7. package/canonical/exceptions/oh-my-pi-unsupported-primitives.yaml +16 -0
  8. package/canonical/exceptions/opencode-unsupported-primitives.yaml +16 -0
  9. package/canonical/exceptions/pi-unsupported-primitives.yaml +16 -0
  10. package/canonical/families/comparative-traceability.yaml +18 -0
  11. package/canonical/families/context-template-generation.yaml +18 -0
  12. package/canonical/families/corrective-transformation.yaml +18 -0
  13. package/canonical/families/exemplar-modeling.yaml +18 -0
  14. package/canonical/families/guardrails-evaluation.yaml +18 -0
  15. package/canonical/families/workflow-intent-abstraction.yaml +18 -0
  16. package/canonical/fixtures/runtime-primitive-matrix-112.json +1956 -0
  17. package/canonical/operations/compare.artifacts.yaml +22 -0
  18. package/canonical/operations/generation.render.yaml +22 -0
  19. package/canonical/operations/inference.classify.yaml +22 -0
  20. package/canonical/operations/ingest.sources.yaml +22 -0
  21. package/canonical/operations/normalize.artifacts.yaml +22 -0
  22. package/canonical/operations/patterns.extract.yaml +22 -0
  23. package/canonical/operations/segment.surfaces.yaml +22 -0
  24. package/canonical/operations/trace.build-evidence-ledger.yaml +22 -0
  25. package/canonical/operations/validation.contract.yaml +22 -0
  26. package/canonical/policies/evidence-policy.yaml +22 -0
  27. package/canonical/roles/acceptance-criteria-synthesis.yaml +84 -0
  28. package/canonical/roles/anti-pattern-inversion.yaml +83 -0
  29. package/canonical/roles/behavior-preserving-refactor.yaml +88 -0
  30. package/canonical/roles/canonical-exemplar-generalization.yaml +84 -0
  31. package/canonical/roles/constrained-exemplar-adaptation.yaml +85 -0
  32. package/canonical/roles/convention-mining.yaml +81 -0
  33. package/canonical/roles/conversation-to-specification.yaml +83 -0
  34. package/canonical/roles/delta-analysis.yaml +84 -0
  35. package/canonical/roles/domain-context-boundary.yaml +82 -0
  36. package/canonical/roles/evaluation-harness-design.yaml +86 -0
  37. package/canonical/roles/failure-to-guardrail.yaml +81 -0
  38. package/canonical/roles/multi-exemplar-consensus.yaml +81 -0
  39. package/canonical/roles/reference-trace-mapping.yaml +83 -0
  40. package/canonical/roles/reusable-workflow-abstraction.yaml +82 -0
  41. package/canonical/roles/structural-pattern-extraction.yaml +82 -0
  42. package/canonical/roles/template-family-generation.yaml +83 -0
  43. package/canonical/runtime-primitive-policy.yaml +100 -0
  44. package/canonical/runtime-profiles/antigravity.yaml +60 -0
  45. package/canonical/runtime-profiles/claude-code.yaml +65 -0
  46. package/canonical/runtime-profiles/codex.yaml +71 -0
  47. package/canonical/runtime-profiles/dcode.yaml +67 -0
  48. package/canonical/runtime-profiles/oh-my-pi.yaml +62 -0
  49. package/canonical/runtime-profiles/opencode.yaml +65 -0
  50. package/canonical/runtime-profiles/pi.yaml +66 -0
  51. package/canonical/schemas/acceptance-criteria-synthesis.output.schema.json +63 -0
  52. package/canonical/schemas/anti-pattern-inversion.output.schema.json +63 -0
  53. package/canonical/schemas/behavior-preserving-refactor.output.schema.json +63 -0
  54. package/canonical/schemas/canonical-exemplar-generalization.output.schema.json +63 -0
  55. package/canonical/schemas/constrained-exemplar-adaptation.output.schema.json +63 -0
  56. package/canonical/schemas/convention-mining.output.schema.json +63 -0
  57. package/canonical/schemas/conversation-to-specification.output.schema.json +63 -0
  58. package/canonical/schemas/delta-analysis.output.schema.json +63 -0
  59. package/canonical/schemas/domain-context-boundary.output.schema.json +63 -0
  60. package/canonical/schemas/evaluation-harness-design.output.schema.json +73 -0
  61. package/canonical/schemas/failure-to-guardrail.output.schema.json +63 -0
  62. package/canonical/schemas/multi-exemplar-consensus.output.schema.json +63 -0
  63. package/canonical/schemas/reference-trace-mapping.output.schema.json +63 -0
  64. package/canonical/schemas/reusable-workflow-abstraction.output.schema.json +73 -0
  65. package/canonical/schemas/structural-pattern-extraction.output.schema.json +63 -0
  66. package/canonical/schemas/template-family-generation.output.schema.json +63 -0
  67. package/canonical/taxonomy/analytical-capabilities.yaml +95 -0
  68. package/package.json +66 -0
@@ -0,0 +1,67 @@
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
@@ -0,0 +1,62 @@
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
@@ -0,0 +1,65 @@
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
@@ -0,0 +1,66 @@
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
@@ -0,0 +1,63 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://portable-capabilities.dev/schemas/acceptance-criteria-synthesis.output.schema.json",
4
+ "title": "Acceptance Criteria Synthesis Output",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "criteria",
9
+ "evidenceRequirements",
10
+ "thresholds",
11
+ "failureConditions",
12
+ "coverageMap"
13
+ ],
14
+ "properties": {
15
+ "criteria": {
16
+ "type": [
17
+ "array",
18
+ "object",
19
+ "string"
20
+ ],
21
+ "description": "Role-specific criteria result with evidence links where material."
22
+ },
23
+ "evidenceRequirements": {
24
+ "type": [
25
+ "array",
26
+ "object",
27
+ "string"
28
+ ],
29
+ "description": "Role-specific evidenceRequirements result with evidence links where material."
30
+ },
31
+ "thresholds": {
32
+ "type": [
33
+ "array",
34
+ "object",
35
+ "string"
36
+ ],
37
+ "description": "Role-specific thresholds result with evidence links where material."
38
+ },
39
+ "failureConditions": {
40
+ "type": [
41
+ "array",
42
+ "object",
43
+ "string"
44
+ ],
45
+ "description": "Role-specific failureConditions result with evidence links where material."
46
+ },
47
+ "coverageMap": {
48
+ "type": [
49
+ "array",
50
+ "object",
51
+ "string"
52
+ ],
53
+ "description": "Role-specific coverageMap result with evidence links where material."
54
+ }
55
+ },
56
+ "x-material-claim-fields": [
57
+ "criteria",
58
+ "evidenceRequirements",
59
+ "thresholds",
60
+ "failureConditions",
61
+ "coverageMap"
62
+ ]
63
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://portable-capabilities.dev/schemas/anti-pattern-inversion.output.schema.json",
4
+ "title": "Anti-Pattern Inversion Output",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "antiPatternMap",
9
+ "positiveRules",
10
+ "exceptions",
11
+ "verificationChecks",
12
+ "coverageEvidence"
13
+ ],
14
+ "properties": {
15
+ "antiPatternMap": {
16
+ "type": [
17
+ "array",
18
+ "object",
19
+ "string"
20
+ ],
21
+ "description": "Role-specific antiPatternMap result with evidence links where material."
22
+ },
23
+ "positiveRules": {
24
+ "type": [
25
+ "array",
26
+ "object",
27
+ "string"
28
+ ],
29
+ "description": "Role-specific positiveRules result with evidence links where material."
30
+ },
31
+ "exceptions": {
32
+ "type": [
33
+ "array",
34
+ "object",
35
+ "string"
36
+ ],
37
+ "description": "Role-specific exceptions result with evidence links where material."
38
+ },
39
+ "verificationChecks": {
40
+ "type": [
41
+ "array",
42
+ "object",
43
+ "string"
44
+ ],
45
+ "description": "Role-specific verificationChecks result with evidence links where material."
46
+ },
47
+ "coverageEvidence": {
48
+ "type": [
49
+ "array",
50
+ "object",
51
+ "string"
52
+ ],
53
+ "description": "Role-specific coverageEvidence result with evidence links where material."
54
+ }
55
+ },
56
+ "x-material-claim-fields": [
57
+ "antiPatternMap",
58
+ "positiveRules",
59
+ "exceptions",
60
+ "verificationChecks",
61
+ "coverageEvidence"
62
+ ]
63
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://portable-capabilities.dev/schemas/behavior-preserving-refactor.output.schema.json",
4
+ "title": "Behavior-Preserving Refactor Output",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "refactoredArtifact",
9
+ "changeMap",
10
+ "equivalenceEvidence",
11
+ "behavioralDiffs",
12
+ "rollbackNotes"
13
+ ],
14
+ "properties": {
15
+ "refactoredArtifact": {
16
+ "type": [
17
+ "array",
18
+ "object",
19
+ "string"
20
+ ],
21
+ "description": "Role-specific refactoredArtifact result with evidence links where material."
22
+ },
23
+ "changeMap": {
24
+ "type": [
25
+ "array",
26
+ "object",
27
+ "string"
28
+ ],
29
+ "description": "Role-specific changeMap result with evidence links where material."
30
+ },
31
+ "equivalenceEvidence": {
32
+ "type": [
33
+ "array",
34
+ "object",
35
+ "string"
36
+ ],
37
+ "description": "Role-specific equivalenceEvidence result with evidence links where material."
38
+ },
39
+ "behavioralDiffs": {
40
+ "type": [
41
+ "array",
42
+ "object",
43
+ "string"
44
+ ],
45
+ "description": "Role-specific behavioralDiffs result with evidence links where material."
46
+ },
47
+ "rollbackNotes": {
48
+ "type": [
49
+ "array",
50
+ "object",
51
+ "string"
52
+ ],
53
+ "description": "Role-specific rollbackNotes result with evidence links where material."
54
+ }
55
+ },
56
+ "x-material-claim-fields": [
57
+ "refactoredArtifact",
58
+ "changeMap",
59
+ "equivalenceEvidence",
60
+ "behavioralDiffs",
61
+ "rollbackNotes"
62
+ ]
63
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://portable-capabilities.dev/schemas/canonical-exemplar-generalization.output.schema.json",
4
+ "title": "Canonical Exemplar Generalization Output",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "model",
9
+ "invariants",
10
+ "variationPoints",
11
+ "excludedDetails",
12
+ "coverageEvidence"
13
+ ],
14
+ "properties": {
15
+ "model": {
16
+ "type": [
17
+ "array",
18
+ "object",
19
+ "string"
20
+ ],
21
+ "description": "Role-specific model result with evidence links where material."
22
+ },
23
+ "invariants": {
24
+ "type": [
25
+ "array",
26
+ "object",
27
+ "string"
28
+ ],
29
+ "description": "Role-specific invariants result with evidence links where material."
30
+ },
31
+ "variationPoints": {
32
+ "type": [
33
+ "array",
34
+ "object",
35
+ "string"
36
+ ],
37
+ "description": "Role-specific variationPoints result with evidence links where material."
38
+ },
39
+ "excludedDetails": {
40
+ "type": [
41
+ "array",
42
+ "object",
43
+ "string"
44
+ ],
45
+ "description": "Role-specific excludedDetails result with evidence links where material."
46
+ },
47
+ "coverageEvidence": {
48
+ "type": [
49
+ "array",
50
+ "object",
51
+ "string"
52
+ ],
53
+ "description": "Role-specific coverageEvidence result with evidence links where material."
54
+ }
55
+ },
56
+ "x-material-claim-fields": [
57
+ "model",
58
+ "invariants",
59
+ "variationPoints",
60
+ "excludedDetails",
61
+ "coverageEvidence"
62
+ ]
63
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://portable-capabilities.dev/schemas/constrained-exemplar-adaptation.output.schema.json",
4
+ "title": "Constrained Exemplar Adaptation Output",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "adaptedArtifact",
9
+ "constraintMapping",
10
+ "preservedProperties",
11
+ "deviations",
12
+ "validationResults"
13
+ ],
14
+ "properties": {
15
+ "adaptedArtifact": {
16
+ "type": [
17
+ "array",
18
+ "object",
19
+ "string"
20
+ ],
21
+ "description": "Role-specific adaptedArtifact result with evidence links where material."
22
+ },
23
+ "constraintMapping": {
24
+ "type": [
25
+ "array",
26
+ "object",
27
+ "string"
28
+ ],
29
+ "description": "Role-specific constraintMapping result with evidence links where material."
30
+ },
31
+ "preservedProperties": {
32
+ "type": [
33
+ "array",
34
+ "object",
35
+ "string"
36
+ ],
37
+ "description": "Role-specific preservedProperties result with evidence links where material."
38
+ },
39
+ "deviations": {
40
+ "type": [
41
+ "array",
42
+ "object",
43
+ "string"
44
+ ],
45
+ "description": "Role-specific deviations result with evidence links where material."
46
+ },
47
+ "validationResults": {
48
+ "type": [
49
+ "array",
50
+ "object",
51
+ "string"
52
+ ],
53
+ "description": "Role-specific validationResults result with evidence links where material."
54
+ }
55
+ },
56
+ "x-material-claim-fields": [
57
+ "adaptedArtifact",
58
+ "constraintMapping",
59
+ "preservedProperties",
60
+ "deviations",
61
+ "validationResults"
62
+ ]
63
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://portable-capabilities.dev/schemas/convention-mining.output.schema.json",
4
+ "title": "Convention Mining Output",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "conventions",
9
+ "classification",
10
+ "supportCounts",
11
+ "counterexamples",
12
+ "scope"
13
+ ],
14
+ "properties": {
15
+ "conventions": {
16
+ "type": [
17
+ "array",
18
+ "object",
19
+ "string"
20
+ ],
21
+ "description": "Role-specific conventions result with evidence links where material."
22
+ },
23
+ "classification": {
24
+ "type": [
25
+ "array",
26
+ "object",
27
+ "string"
28
+ ],
29
+ "description": "Role-specific classification result with evidence links where material."
30
+ },
31
+ "supportCounts": {
32
+ "type": [
33
+ "array",
34
+ "object",
35
+ "string"
36
+ ],
37
+ "description": "Role-specific supportCounts result with evidence links where material."
38
+ },
39
+ "counterexamples": {
40
+ "type": [
41
+ "array",
42
+ "object",
43
+ "string"
44
+ ],
45
+ "description": "Role-specific counterexamples result with evidence links where material."
46
+ },
47
+ "scope": {
48
+ "type": [
49
+ "array",
50
+ "object",
51
+ "string"
52
+ ],
53
+ "description": "Role-specific scope result with evidence links where material."
54
+ }
55
+ },
56
+ "x-material-claim-fields": [
57
+ "conventions",
58
+ "classification",
59
+ "supportCounts",
60
+ "counterexamples",
61
+ "scope"
62
+ ]
63
+ }