@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.
- package/CHANGELOG.md +18 -0
- package/README.md +31 -62
- package/dist-release/catalog/schemas/acceptance-criteria-synthesis.output.schema.json +63 -0
- package/dist-release/catalog/schemas/anti-pattern-inversion.output.schema.json +63 -0
- package/dist-release/catalog/schemas/behavior-preserving-refactor.output.schema.json +63 -0
- package/dist-release/catalog/schemas/canonical-exemplar-generalization.output.schema.json +63 -0
- package/dist-release/catalog/schemas/constrained-exemplar-adaptation.output.schema.json +63 -0
- package/dist-release/catalog/schemas/convention-mining.output.schema.json +63 -0
- package/dist-release/catalog/schemas/conversation-to-specification.output.schema.json +63 -0
- package/dist-release/catalog/schemas/delta-analysis.output.schema.json +63 -0
- package/dist-release/catalog/schemas/domain-context-boundary.output.schema.json +63 -0
- package/dist-release/catalog/schemas/evaluation-harness-design.output.schema.json +73 -0
- package/dist-release/catalog/schemas/failure-to-guardrail.output.schema.json +63 -0
- package/dist-release/catalog/schemas/multi-exemplar-consensus.output.schema.json +63 -0
- package/dist-release/catalog/schemas/reference-trace-mapping.output.schema.json +63 -0
- package/dist-release/catalog/schemas/reusable-workflow-abstraction.output.schema.json +73 -0
- package/dist-release/catalog/schemas/structural-pattern-extraction.output.schema.json +63 -0
- package/dist-release/catalog/schemas/template-family-generation.output.schema.json +63 -0
- package/dist-release/cli.js +5620 -3297
- package/dist-release/cli.js.map +4 -4
- package/dist-release/index.js +5418 -2808
- package/dist-release/index.js.map +4 -4
- package/package.json +26 -23
- package/schemas/canonical-artifact.schema.json +220 -0
- package/schemas/runtime-descriptor.schema.json +344 -0
- package/schemas/runtime-evidence-claim.schema.json +87 -0
- package/canonical/exceptions/antigravity-unsupported-primitives.yaml +0 -16
- package/canonical/exceptions/claude-code-unsupported-primitives.yaml +0 -16
- package/canonical/exceptions/codex-unsupported-primitives.yaml +0 -16
- package/canonical/exceptions/dcode-unsupported-primitives.yaml +0 -16
- package/canonical/exceptions/oh-my-pi-unsupported-primitives.yaml +0 -16
- package/canonical/exceptions/opencode-unsupported-primitives.yaml +0 -16
- package/canonical/exceptions/pi-unsupported-primitives.yaml +0 -16
- package/canonical/fixtures/runtime-primitive-matrix-112.json +0 -1956
- package/canonical/runtime-primitive-policy.yaml +0 -100
- package/canonical/runtime-profiles/antigravity.yaml +0 -60
- package/canonical/runtime-profiles/claude-code.yaml +0 -65
- package/canonical/runtime-profiles/codex.yaml +0 -71
- package/canonical/runtime-profiles/dcode.yaml +0 -67
- package/canonical/runtime-profiles/oh-my-pi.yaml +0 -62
- package/canonical/runtime-profiles/opencode.yaml +0 -65
- package/canonical/runtime-profiles/pi.yaml +0 -66
- package/dist-release/catalog/runtime-profiles/antigravity.yaml +0 -60
- package/dist-release/catalog/runtime-profiles/claude-code.yaml +0 -65
- package/dist-release/catalog/runtime-profiles/codex.yaml +0 -71
- package/dist-release/catalog/runtime-profiles/dcode.yaml +0 -67
- package/dist-release/catalog/runtime-profiles/oh-my-pi.yaml +0 -62
- package/dist-release/catalog/runtime-profiles/opencode.yaml +0 -65
- package/dist-release/catalog/runtime-profiles/pi.yaml +0 -66
- package/schemas/runtime-profile.schema.json +0 -305
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#66](https://github.com/AcidicSoil/portable-capabilities/pull/66) [`ef4277a`](https://github.com/AcidicSoil/portable-capabilities/commit/ef4277a8461419f02873037397c3ea03dc8f17fe) Thanks [@AcidicSoil](https://github.com/AcidicSoil)! - version bump (0.1.9)
|
|
8
|
+
|
|
9
|
+
## 0.1.8
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#22](https://github.com/AcidicSoil/portable-capabilities/pull/22) [`6dd4920`](https://github.com/AcidicSoil/portable-capabilities/commit/6dd49209a4b7d3ddb87f454312bbc75c5528b85f) Thanks [@AcidicSoil](https://github.com/AcidicSoil)! - Provide a Node `createRequire` bridge in generated ESM CLI bundles so bundled CommonJS code can load Node built-ins without failing at startup.
|
|
14
|
+
|
|
15
|
+
- [#22](https://github.com/AcidicSoil/portable-capabilities/pull/22) [`6dd4920`](https://github.com/AcidicSoil/portable-capabilities/commit/6dd49209a4b7d3ddb87f454312bbc75c5528b85f) Thanks [@AcidicSoil](https://github.com/AcidicSoil)! - Keep CommonJS-backed runtime dependencies external to the public ESM bundle so the globally installed CLI starts correctly under Node.js.
|
|
16
|
+
|
|
17
|
+
- [#32](https://github.com/AcidicSoil/portable-capabilities/pull/32) [`c4167b4`](https://github.com/AcidicSoil/portable-capabilities/commit/c4167b408e794ba68d5f153c9846c23b7b57b9ed) Thanks [@AcidicSoil](https://github.com/AcidicSoil)! - Make the CLI source workspace private and keep the repository root as the single npm distribution surface.
|
|
18
|
+
|
|
19
|
+
- [#22](https://github.com/AcidicSoil/portable-capabilities/pull/22) [`6dd4920`](https://github.com/AcidicSoil/portable-capabilities/commit/6dd49209a4b7d3ddb87f454312bbc75c5528b85f) Thanks [@AcidicSoil](https://github.com/AcidicSoil)! - Publish the `portable-capabilities` executable from the public package, include the canonical assets and runtime schemas in the same tarball, and verify a global-style npm installation end to end.
|
|
20
|
+
|
|
3
21
|
## 1.0.0
|
|
4
22
|
|
|
5
23
|
- Added canonical schemas, contracts, nine shared operations, six families, and 16 analytical roles.
|
package/README.md
CHANGED
|
@@ -10,24 +10,19 @@ Define an analytical coding-agent capability once, then generate and install the
|
|
|
10
10
|
|
|
11
11
|
Portable Capabilities is a contract-first compiler and CLI. A canonical capability describes its activation criteria, accepted inputs, ordered procedure, output schema, evidence requirements, and allowed effects. The compiler turns that contract into runtime-native skills, commands, agents, workflows, rules, or extensions without maintaining a separate handwritten implementation for every client.
|
|
12
12
|
|
|
13
|
-
## Review
|
|
13
|
+
## Review runtime support
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
bash review/runtime-packages/codex/install.sh
|
|
19
|
-
```
|
|
15
|
+
Historical generated-package snapshots and captured native outputs for all seven runtimes are available in [`review/runtime-packages`](review/runtime-packages/README.md). Use the typed CLI for current installation; the snapshots do not define the active command surface.
|
|
20
16
|
|
|
21
17
|
## Try it
|
|
22
18
|
|
|
23
|
-
|
|
19
|
+
Inspect the current command surface:
|
|
24
20
|
|
|
25
21
|
```bash
|
|
26
|
-
pnpm
|
|
22
|
+
pnpm cli -- --help
|
|
23
|
+
pnpm cli -- runtimes
|
|
27
24
|
```
|
|
28
25
|
|
|
29
|
-
This builds the canonical `acceptance-criteria-synthesis` capability for Codex, installs it into a clean project, invokes it through Codex, and writes the result to `.demo/result.md`.
|
|
30
|
-
|
|
31
26
|
## What problem does it solve?
|
|
32
27
|
|
|
33
28
|
Coding-agent clients discover and activate reusable behavior differently. The same capability may require a skill directory in one client, a slash command in another, a subagent definition elsewhere, and different permission metadata in each package.
|
|
@@ -72,7 +67,7 @@ Every generated package retains a `SKILL.md` behavioral core plus its required r
|
|
|
72
67
|
|
|
73
68
|
## Runtime packages
|
|
74
69
|
|
|
75
|
-
The project generates packages for seven clients. Package generation is not the same as authoritative behavioral certification: the runtime
|
|
70
|
+
The project generates packages for seven clients. Package generation is not the same as authoritative behavioral certification: the runtime descriptor and retained execution evidence determine whether a client is currently supported, unavailable, unsupported, or covered by an approved exception.
|
|
76
71
|
|
|
77
72
|
| Runtime | Native primitives | Package and verification guide |
|
|
78
73
|
| ------------------ | --------------------- | ------------------------------------------- |
|
|
@@ -105,63 +100,37 @@ The package installs the executable into npm's configured global binary director
|
|
|
105
100
|
|
|
106
101
|
While working from this repository, replace `portable-capabilities` in the examples with `pnpm cli --`.
|
|
107
102
|
|
|
108
|
-
| Command
|
|
109
|
-
|
|
|
110
|
-
| `
|
|
111
|
-
| `
|
|
112
|
-
| `
|
|
113
|
-
| `
|
|
114
|
-
| `
|
|
115
|
-
| `
|
|
116
|
-
| `
|
|
117
|
-
| `
|
|
118
|
-
| `upgrade` | Upgrade installer-owned capability files |
|
|
119
|
-
| `downgrade` | Restore an earlier package version |
|
|
120
|
-
| `recover` | Recover an interrupted installation transaction |
|
|
121
|
-
| `remove` | Remove installer-owned files safely |
|
|
103
|
+
| Command | Purpose |
|
|
104
|
+
| ---------- | -------------------------------------------- |
|
|
105
|
+
| `wizard` | Guided capability installation |
|
|
106
|
+
| `runtimes` | List supported runtime IDs |
|
|
107
|
+
| `setup` | Plan or perform typed setup |
|
|
108
|
+
| `install` | Install one or more capabilities |
|
|
109
|
+
| `update` | Update installer-owned capability files |
|
|
110
|
+
| `status` | Inspect installation health |
|
|
111
|
+
| `remove` | Remove selected installer-owned files safely |
|
|
112
|
+
| `invoke` | Execute a verified package through the CLI |
|
|
122
113
|
|
|
123
114
|
Machine-readable commands support `--format json`.
|
|
124
115
|
|
|
125
|
-
##
|
|
116
|
+
## Set up a capability
|
|
126
117
|
|
|
127
|
-
|
|
118
|
+
Install one or more catalog capabilities into a clean project:
|
|
128
119
|
|
|
129
120
|
```bash
|
|
130
|
-
MANIFEST=/path/to/capability-system.yaml
|
|
131
|
-
RUNTIME=codex
|
|
132
|
-
CAPABILITY=<capability-id>
|
|
133
|
-
BUNDLE=/tmp/portable-capabilities-bundle
|
|
134
121
|
CONSUMER=/tmp/portable-capabilities-consumer
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
Build and inspect one runtime projection:
|
|
138
|
-
|
|
139
|
-
```bash
|
|
140
|
-
pnpm cli -- build "$MANIFEST" \
|
|
141
|
-
--target "$RUNTIME" \
|
|
142
|
-
--role "$CAPABILITY" \
|
|
143
|
-
--output "$BUNDLE"
|
|
144
|
-
|
|
145
|
-
pnpm cli -- inspect "$MANIFEST" \
|
|
146
|
-
--target "$RUNTIME" \
|
|
147
|
-
--role "$CAPABILITY" \
|
|
148
|
-
--format json
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
Install it into a clean consumer project and verify installer health:
|
|
152
|
-
|
|
153
|
-
```bash
|
|
154
122
|
mkdir -p "$CONSUMER"
|
|
155
|
-
git -C "$CONSUMER" init
|
|
156
|
-
|
|
157
123
|
pnpm cli -- install \
|
|
158
|
-
--
|
|
159
|
-
--
|
|
160
|
-
--
|
|
161
|
-
--
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
124
|
+
--runtime codex \
|
|
125
|
+
--capability convention-mining \
|
|
126
|
+
--project "$CONSUMER" \
|
|
127
|
+
--approval-policy preapproved
|
|
128
|
+
|
|
129
|
+
pnpm cli -- status \
|
|
130
|
+
--runtime codex \
|
|
131
|
+
--capability convention-mining \
|
|
132
|
+
--project "$CONSUMER" \
|
|
133
|
+
--format json
|
|
165
134
|
```
|
|
166
135
|
|
|
167
136
|
Then start the selected coding-agent client from `$CONSUMER` and follow its runtime guide. Each guide documents the generated paths, native invocation syntax, user smoke test, maintainer certification procedure, and current evidence status.
|
|
@@ -170,9 +139,9 @@ Then start the selected coding-agent client from `$CONSUMER` and follow its runt
|
|
|
170
139
|
|
|
171
140
|
Portable Capabilities keeps these claims separate:
|
|
172
141
|
|
|
173
|
-
1. **Static package validation** proves file layout, schemas, resources,
|
|
174
|
-
2. **Clean installation validation** proves the packed CLI can install,
|
|
175
|
-
3. **Native client execution** proves the real client discovered and invoked the generated
|
|
142
|
+
1. **Static package validation** proves file layout, schemas, resources, and integrity metadata.
|
|
143
|
+
2. **Clean installation validation** proves the packed CLI can install, update, status-check, and remove generated capabilities in a disposable project.
|
|
144
|
+
3. **Native client execution** proves the real client discovered and invoked the generated capability.
|
|
176
145
|
4. **Behavioral conformance** proves the client consumed the operational instructions, produced schema-valid output, preserved evidence requirements, and respected effects.
|
|
177
146
|
|
|
178
147
|
A static or simulated pass must not be reported as native behavioral support. See [Testing](docs/TESTING.md).
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://portable-capabilities.dev/schemas/conversation-to-specification.output.schema.json",
|
|
4
|
+
"title": "Conversation to Specification Output",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"requirements",
|
|
9
|
+
"acceptanceCriteria",
|
|
10
|
+
"assumptions",
|
|
11
|
+
"openQuestions",
|
|
12
|
+
"traceLinks"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"requirements": {
|
|
16
|
+
"type": [
|
|
17
|
+
"array",
|
|
18
|
+
"object",
|
|
19
|
+
"string"
|
|
20
|
+
],
|
|
21
|
+
"description": "Role-specific requirements result with evidence links where material."
|
|
22
|
+
},
|
|
23
|
+
"acceptanceCriteria": {
|
|
24
|
+
"type": [
|
|
25
|
+
"array",
|
|
26
|
+
"object",
|
|
27
|
+
"string"
|
|
28
|
+
],
|
|
29
|
+
"description": "Role-specific acceptanceCriteria result with evidence links where material."
|
|
30
|
+
},
|
|
31
|
+
"assumptions": {
|
|
32
|
+
"type": [
|
|
33
|
+
"array",
|
|
34
|
+
"object",
|
|
35
|
+
"string"
|
|
36
|
+
],
|
|
37
|
+
"description": "Role-specific assumptions result with evidence links where material."
|
|
38
|
+
},
|
|
39
|
+
"openQuestions": {
|
|
40
|
+
"type": [
|
|
41
|
+
"array",
|
|
42
|
+
"object",
|
|
43
|
+
"string"
|
|
44
|
+
],
|
|
45
|
+
"description": "Role-specific openQuestions result with evidence links where material."
|
|
46
|
+
},
|
|
47
|
+
"traceLinks": {
|
|
48
|
+
"type": [
|
|
49
|
+
"array",
|
|
50
|
+
"object",
|
|
51
|
+
"string"
|
|
52
|
+
],
|
|
53
|
+
"description": "Role-specific traceLinks result with evidence links where material."
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"x-material-claim-fields": [
|
|
57
|
+
"requirements",
|
|
58
|
+
"acceptanceCriteria",
|
|
59
|
+
"assumptions",
|
|
60
|
+
"openQuestions",
|
|
61
|
+
"traceLinks"
|
|
62
|
+
]
|
|
63
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://portable-capabilities.dev/schemas/delta-analysis.output.schema.json",
|
|
4
|
+
"title": "Delta Analysis Output",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"deltas",
|
|
9
|
+
"materiality",
|
|
10
|
+
"impactAnalysis",
|
|
11
|
+
"unchangedAreas",
|
|
12
|
+
"evidence"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"deltas": {
|
|
16
|
+
"type": [
|
|
17
|
+
"array",
|
|
18
|
+
"object",
|
|
19
|
+
"string"
|
|
20
|
+
],
|
|
21
|
+
"description": "Role-specific deltas result with evidence links where material."
|
|
22
|
+
},
|
|
23
|
+
"materiality": {
|
|
24
|
+
"type": [
|
|
25
|
+
"array",
|
|
26
|
+
"object",
|
|
27
|
+
"string"
|
|
28
|
+
],
|
|
29
|
+
"description": "Role-specific materiality result with evidence links where material."
|
|
30
|
+
},
|
|
31
|
+
"impactAnalysis": {
|
|
32
|
+
"type": [
|
|
33
|
+
"array",
|
|
34
|
+
"object",
|
|
35
|
+
"string"
|
|
36
|
+
],
|
|
37
|
+
"description": "Role-specific impactAnalysis result with evidence links where material."
|
|
38
|
+
},
|
|
39
|
+
"unchangedAreas": {
|
|
40
|
+
"type": [
|
|
41
|
+
"array",
|
|
42
|
+
"object",
|
|
43
|
+
"string"
|
|
44
|
+
],
|
|
45
|
+
"description": "Role-specific unchangedAreas result with evidence links where material."
|
|
46
|
+
},
|
|
47
|
+
"evidence": {
|
|
48
|
+
"type": [
|
|
49
|
+
"array",
|
|
50
|
+
"object",
|
|
51
|
+
"string"
|
|
52
|
+
],
|
|
53
|
+
"description": "Role-specific evidence result with evidence links where material."
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"x-material-claim-fields": [
|
|
57
|
+
"deltas",
|
|
58
|
+
"materiality",
|
|
59
|
+
"impactAnalysis",
|
|
60
|
+
"unchangedAreas",
|
|
61
|
+
"evidence"
|
|
62
|
+
]
|
|
63
|
+
}
|