@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.
- package/CHANGELOG.md +11 -0
- package/README.md +231 -0
- package/canonical/exceptions/antigravity-unsupported-primitives.yaml +16 -0
- package/canonical/exceptions/claude-code-unsupported-primitives.yaml +16 -0
- package/canonical/exceptions/codex-unsupported-primitives.yaml +16 -0
- package/canonical/exceptions/dcode-unsupported-primitives.yaml +16 -0
- package/canonical/exceptions/oh-my-pi-unsupported-primitives.yaml +16 -0
- package/canonical/exceptions/opencode-unsupported-primitives.yaml +16 -0
- package/canonical/exceptions/pi-unsupported-primitives.yaml +16 -0
- package/canonical/families/comparative-traceability.yaml +18 -0
- package/canonical/families/context-template-generation.yaml +18 -0
- package/canonical/families/corrective-transformation.yaml +18 -0
- package/canonical/families/exemplar-modeling.yaml +18 -0
- package/canonical/families/guardrails-evaluation.yaml +18 -0
- package/canonical/families/workflow-intent-abstraction.yaml +18 -0
- package/canonical/fixtures/runtime-primitive-matrix-112.json +1956 -0
- package/canonical/operations/compare.artifacts.yaml +22 -0
- package/canonical/operations/generation.render.yaml +22 -0
- package/canonical/operations/inference.classify.yaml +22 -0
- package/canonical/operations/ingest.sources.yaml +22 -0
- package/canonical/operations/normalize.artifacts.yaml +22 -0
- package/canonical/operations/patterns.extract.yaml +22 -0
- package/canonical/operations/segment.surfaces.yaml +22 -0
- package/canonical/operations/trace.build-evidence-ledger.yaml +22 -0
- package/canonical/operations/validation.contract.yaml +22 -0
- package/canonical/policies/evidence-policy.yaml +22 -0
- package/canonical/roles/acceptance-criteria-synthesis.yaml +84 -0
- package/canonical/roles/anti-pattern-inversion.yaml +83 -0
- package/canonical/roles/behavior-preserving-refactor.yaml +88 -0
- package/canonical/roles/canonical-exemplar-generalization.yaml +84 -0
- package/canonical/roles/constrained-exemplar-adaptation.yaml +85 -0
- package/canonical/roles/convention-mining.yaml +81 -0
- package/canonical/roles/conversation-to-specification.yaml +83 -0
- package/canonical/roles/delta-analysis.yaml +84 -0
- package/canonical/roles/domain-context-boundary.yaml +82 -0
- package/canonical/roles/evaluation-harness-design.yaml +86 -0
- package/canonical/roles/failure-to-guardrail.yaml +81 -0
- package/canonical/roles/multi-exemplar-consensus.yaml +81 -0
- package/canonical/roles/reference-trace-mapping.yaml +83 -0
- package/canonical/roles/reusable-workflow-abstraction.yaml +82 -0
- package/canonical/roles/structural-pattern-extraction.yaml +82 -0
- package/canonical/roles/template-family-generation.yaml +83 -0
- package/canonical/runtime-primitive-policy.yaml +100 -0
- package/canonical/runtime-profiles/antigravity.yaml +60 -0
- package/canonical/runtime-profiles/claude-code.yaml +65 -0
- package/canonical/runtime-profiles/codex.yaml +71 -0
- package/canonical/runtime-profiles/dcode.yaml +67 -0
- package/canonical/runtime-profiles/oh-my-pi.yaml +62 -0
- package/canonical/runtime-profiles/opencode.yaml +65 -0
- package/canonical/runtime-profiles/pi.yaml +66 -0
- package/canonical/schemas/acceptance-criteria-synthesis.output.schema.json +63 -0
- package/canonical/schemas/anti-pattern-inversion.output.schema.json +63 -0
- package/canonical/schemas/behavior-preserving-refactor.output.schema.json +63 -0
- package/canonical/schemas/canonical-exemplar-generalization.output.schema.json +63 -0
- package/canonical/schemas/constrained-exemplar-adaptation.output.schema.json +63 -0
- package/canonical/schemas/convention-mining.output.schema.json +63 -0
- package/canonical/schemas/conversation-to-specification.output.schema.json +63 -0
- package/canonical/schemas/delta-analysis.output.schema.json +63 -0
- package/canonical/schemas/domain-context-boundary.output.schema.json +63 -0
- package/canonical/schemas/evaluation-harness-design.output.schema.json +73 -0
- package/canonical/schemas/failure-to-guardrail.output.schema.json +63 -0
- package/canonical/schemas/multi-exemplar-consensus.output.schema.json +63 -0
- package/canonical/schemas/reference-trace-mapping.output.schema.json +63 -0
- package/canonical/schemas/reusable-workflow-abstraction.output.schema.json +73 -0
- package/canonical/schemas/structural-pattern-extraction.output.schema.json +63 -0
- package/canonical/schemas/template-family-generation.output.schema.json +63 -0
- package/canonical/taxonomy/analytical-capabilities.yaml +95 -0
- package/package.json +66 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
schemaVersion: '1.0'
|
|
2
|
+
id: reference-trace-mapping
|
|
3
|
+
purpose: Map claims and structures to source references.
|
|
4
|
+
family:
|
|
5
|
+
id: comparative-traceability
|
|
6
|
+
version: 1.0.0
|
|
7
|
+
taxonomy:
|
|
8
|
+
id: reference-trace-mapping
|
|
9
|
+
displayName: Reference Trace Mapping
|
|
10
|
+
transformation: Map claims and structures to source references.
|
|
11
|
+
intendedOutput: Trace map
|
|
12
|
+
inputs:
|
|
13
|
+
- name: claims-or-structures
|
|
14
|
+
description: Claims or structural elements requiring source mapping.
|
|
15
|
+
required: true
|
|
16
|
+
- name: source-corpus
|
|
17
|
+
description: Candidate source artifacts.
|
|
18
|
+
required: true
|
|
19
|
+
- name: identity-rules
|
|
20
|
+
description: Rules for stable claim and source identifiers.
|
|
21
|
+
required: false
|
|
22
|
+
precedence:
|
|
23
|
+
- sourceClass: explicit-contract
|
|
24
|
+
rank: 0
|
|
25
|
+
- sourceClass: observed-artifact
|
|
26
|
+
rank: 1
|
|
27
|
+
- sourceClass: inference
|
|
28
|
+
rank: 2
|
|
29
|
+
pipeline:
|
|
30
|
+
- id: ingest.sources
|
|
31
|
+
version: 1.0.0
|
|
32
|
+
- id: trace.build-evidence-ledger
|
|
33
|
+
version: 1.0.0
|
|
34
|
+
- id: validation.contract
|
|
35
|
+
version: 1.0.0
|
|
36
|
+
output:
|
|
37
|
+
schema: canonical/schemas/reference-trace-mapping.output.schema.json
|
|
38
|
+
description: Trace map
|
|
39
|
+
requiredBehavior:
|
|
40
|
+
- 'activation: Use reference-trace-mapping only when the requested outcome requires this transformation: Map claims
|
|
41
|
+
and structures to source references.'
|
|
42
|
+
- 'sufficiency: Require all role inputs marked required and enough evidence to complete these gates: Every target
|
|
43
|
+
has a stable identifier and a resolved trace status, with exact locations for all supporting and counterevidence
|
|
44
|
+
sources.'
|
|
45
|
+
- 'conflict: Apply declared source precedence; when equally authoritative evidence changes the decision, preserve
|
|
46
|
+
both positions and return the affected output field as unresolved.'
|
|
47
|
+
- 'ambiguity: Isolate ambiguous terms or boundaries, show which stage and output fields they affect, and request
|
|
48
|
+
clarification rather than selecting an unsupported interpretation.'
|
|
49
|
+
- 'abstention: Abstain from reference-trace-mapping when required inputs are absent, the decision rule cannot be
|
|
50
|
+
applied, or evidence cannot satisfy the completion gate.'
|
|
51
|
+
- 'stop: Stop before emitting Trace map unless Every target has a stable identifier and a resolved trace status,
|
|
52
|
+
with exact locations for all supporting and counterevidence sources.'
|
|
53
|
+
- 'resources: Load the target inventory, source corpus, and identifier rules; retrieve only sources relevant to
|
|
54
|
+
unresolved targets.'
|
|
55
|
+
- 'transformation: Execute the ordered analytical procedure: 1) assign stable identifiers to target claims or structures;
|
|
56
|
+
2) locate direct and indirect source support; 3) record exact source locations and derivation links; 4) flag unsupported,
|
|
57
|
+
conflicting, or multiply-sourced targets.'
|
|
58
|
+
- 'output: Populate and validate canonical/schemas/reference-trace-mapping.output.schema.json with required fields
|
|
59
|
+
traceEntries, unsupportedTargets, conflicts, derivations, coverageSummary; do not replace missing fields with
|
|
60
|
+
prose.'
|
|
61
|
+
- 'traceability: Link every material output field to source identifiers and the analytical stage or decision that
|
|
62
|
+
produced it; retain counterevidence for unresolved results.'
|
|
63
|
+
- 'evaluation: Pass only when the output schema validates, the ordered stages are evidenced, the role decision rule
|
|
64
|
+
was applied, and this completion gate holds: Every target has a stable identifier and a resolved trace status,
|
|
65
|
+
with exact locations for all supporting and counterevidence sources.'
|
|
66
|
+
forbiddenBehavior:
|
|
67
|
+
- Do not substitute generic analytical behavior for the role-specific reference-trace-mapping transformation.
|
|
68
|
+
- Do not skip, reorder, or silently collapse the role's declared analytical stages.
|
|
69
|
+
- Do not invent missing evidence, resolve authority conflicts by convenience, or emit a completed result after a
|
|
70
|
+
stop or abstention condition.
|
|
71
|
+
- Do not copy operation-owned ingestion, ledger, or schema-validation mechanics into the role contract.
|
|
72
|
+
traceability:
|
|
73
|
+
materialClaimsRequireSources: true
|
|
74
|
+
ledgerFormat: jsonl
|
|
75
|
+
artifacts: content-addressed
|
|
76
|
+
evaluation:
|
|
77
|
+
criteria:
|
|
78
|
+
- The authoritative transformation and intended output for reference-trace-mapping are preserved.
|
|
79
|
+
- 'Required inputs and the decision rule are satisfied: Mark support as direct only when the source explicitly
|
|
80
|
+
entails the target; otherwise classify it as derived, inferred, conflicting, or unresolved.'
|
|
81
|
+
- 'The ordered analytical stages are evidenced and the output completion gate passes: Every target has a stable
|
|
82
|
+
identifier and a resolved trace status, with exact locations for all supporting and counterevidence sources.'
|
|
83
|
+
- Conflict, ambiguity, insufficient-evidence, abstention, and stop behavior remain explicit and testable.
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
schemaVersion: '1.0'
|
|
2
|
+
id: reusable-workflow-abstraction
|
|
3
|
+
purpose: Abstract a repeatable workflow from concrete execution.
|
|
4
|
+
family:
|
|
5
|
+
id: workflow-intent-abstraction
|
|
6
|
+
version: 1.0.0
|
|
7
|
+
taxonomy:
|
|
8
|
+
id: reusable-workflow-abstraction
|
|
9
|
+
displayName: Reusable Workflow Abstraction
|
|
10
|
+
transformation: Abstract a repeatable workflow from concrete execution.
|
|
11
|
+
intendedOutput: Reusable workflow contract
|
|
12
|
+
inputs:
|
|
13
|
+
- name: execution-traces
|
|
14
|
+
description: Concrete executions of the workflow.
|
|
15
|
+
required: true
|
|
16
|
+
- name: outcome-records
|
|
17
|
+
description: Observed outcomes and failure records.
|
|
18
|
+
required: true
|
|
19
|
+
- name: reuse-boundary
|
|
20
|
+
description: Contexts in which the abstraction must remain valid.
|
|
21
|
+
required: true
|
|
22
|
+
precedence:
|
|
23
|
+
- sourceClass: explicit-contract
|
|
24
|
+
rank: 0
|
|
25
|
+
- sourceClass: observed-artifact
|
|
26
|
+
rank: 1
|
|
27
|
+
- sourceClass: inference
|
|
28
|
+
rank: 2
|
|
29
|
+
pipeline:
|
|
30
|
+
- id: ingest.sources
|
|
31
|
+
version: 1.0.0
|
|
32
|
+
- id: trace.build-evidence-ledger
|
|
33
|
+
version: 1.0.0
|
|
34
|
+
- id: validation.contract
|
|
35
|
+
version: 1.0.0
|
|
36
|
+
output:
|
|
37
|
+
schema: canonical/schemas/reusable-workflow-abstraction.output.schema.json
|
|
38
|
+
description: Reusable workflow contract
|
|
39
|
+
requiredBehavior:
|
|
40
|
+
- 'activation: Use reusable-workflow-abstraction only when the requested outcome requires this transformation: Abstract
|
|
41
|
+
a repeatable workflow from concrete execution.'
|
|
42
|
+
- 'sufficiency: Require all role inputs marked required and enough evidence to complete these gates: Representative
|
|
43
|
+
successful and failed traces can be replayed through the abstraction without renderer- or operator-invented steps.'
|
|
44
|
+
- 'conflict: Apply declared source precedence; when equally authoritative evidence changes the decision, preserve
|
|
45
|
+
both positions and return the affected output field as unresolved.'
|
|
46
|
+
- 'ambiguity: Isolate ambiguous terms or boundaries, show which stage and output fields they affect, and request
|
|
47
|
+
clarification rather than selecting an unsupported interpretation.'
|
|
48
|
+
- 'abstention: Abstain from reusable-workflow-abstraction when required inputs are absent, the decision rule cannot
|
|
49
|
+
be applied, or evidence cannot satisfy the completion gate.'
|
|
50
|
+
- 'stop: Stop before emitting Reusable workflow contract unless Representative successful and failed traces can
|
|
51
|
+
be replayed through the abstraction without renderer- or operator-invented steps.'
|
|
52
|
+
- 'resources: Load execution traces, outcome records, and target reuse contexts; load failure traces whenever a
|
|
53
|
+
branch or stop condition is defined.'
|
|
54
|
+
- 'transformation: Execute the ordered analytical procedure: 1) decompose traces into triggers inputs actions decisions
|
|
55
|
+
and outputs; 2) identify invariant steps and context-dependent branches; 3) extract explicit preconditions postconditions
|
|
56
|
+
and failure paths; 4) validate the abstraction by replaying representative traces.'
|
|
57
|
+
- 'output: Populate and validate canonical/schemas/reusable-workflow-abstraction.output.schema.json with required
|
|
58
|
+
fields workflow, preconditions, decisionPoints, parameters, failurePaths, replayEvidence; do not replace missing
|
|
59
|
+
fields with prose.'
|
|
60
|
+
- 'traceability: Link every material output field to source identifiers and the analytical stage or decision that
|
|
61
|
+
produced it; retain counterevidence for unresolved results.'
|
|
62
|
+
- 'evaluation: Pass only when the output schema validates, the ordered stages are evidenced, the role decision rule
|
|
63
|
+
was applied, and this completion gate holds: Representative successful and failed traces can be replayed through
|
|
64
|
+
the abstraction without renderer- or operator-invented steps.'
|
|
65
|
+
forbiddenBehavior:
|
|
66
|
+
- Do not substitute generic analytical behavior for the role-specific reusable-workflow-abstraction transformation.
|
|
67
|
+
- Do not skip, reorder, or silently collapse the role's declared analytical stages.
|
|
68
|
+
- Do not invent missing evidence, resolve authority conflicts by convenience, or emit a completed result after a
|
|
69
|
+
stop or abstention condition.
|
|
70
|
+
- Do not copy operation-owned ingestion, ledger, or schema-validation mechanics into the role contract.
|
|
71
|
+
traceability:
|
|
72
|
+
materialClaimsRequireSources: true
|
|
73
|
+
ledgerFormat: jsonl
|
|
74
|
+
artifacts: content-addressed
|
|
75
|
+
evaluation:
|
|
76
|
+
criteria:
|
|
77
|
+
- The authoritative transformation and intended output for reusable-workflow-abstraction are preserved.
|
|
78
|
+
- 'Required inputs and the decision rule are satisfied: Abstract only steps that recur or are required by contract;
|
|
79
|
+
expose context-specific behavior as parameters or branches rather than hiding it.'
|
|
80
|
+
- 'The ordered analytical stages are evidenced and the output completion gate passes: Representative successful
|
|
81
|
+
and failed traces can be replayed through the abstraction without renderer- or operator-invented steps.'
|
|
82
|
+
- Conflict, ambiguity, insufficient-evidence, abstention, and stop behavior remain explicit and testable.
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
schemaVersion: '1.0'
|
|
2
|
+
id: structural-pattern-extraction
|
|
3
|
+
purpose: Extract durable structural patterns from exemplars.
|
|
4
|
+
family:
|
|
5
|
+
id: exemplar-modeling
|
|
6
|
+
version: 1.0.0
|
|
7
|
+
taxonomy:
|
|
8
|
+
id: structural-pattern-extraction
|
|
9
|
+
displayName: Structural Pattern Extraction
|
|
10
|
+
transformation: Extract durable structural patterns from exemplars.
|
|
11
|
+
intendedOutput: Pattern catalog
|
|
12
|
+
inputs:
|
|
13
|
+
- name: artifact-set
|
|
14
|
+
description: Artifacts from which durable structure will be extracted.
|
|
15
|
+
required: true
|
|
16
|
+
- name: segmentation-rules
|
|
17
|
+
description: Rules for identifying comparable structural units.
|
|
18
|
+
required: false
|
|
19
|
+
- name: noise-exclusions
|
|
20
|
+
description: Known incidental or generated features to ignore.
|
|
21
|
+
required: false
|
|
22
|
+
precedence:
|
|
23
|
+
- sourceClass: explicit-contract
|
|
24
|
+
rank: 0
|
|
25
|
+
- sourceClass: observed-artifact
|
|
26
|
+
rank: 1
|
|
27
|
+
- sourceClass: inference
|
|
28
|
+
rank: 2
|
|
29
|
+
pipeline:
|
|
30
|
+
- id: ingest.sources
|
|
31
|
+
version: 1.0.0
|
|
32
|
+
- id: trace.build-evidence-ledger
|
|
33
|
+
version: 1.0.0
|
|
34
|
+
- id: validation.contract
|
|
35
|
+
version: 1.0.0
|
|
36
|
+
output:
|
|
37
|
+
schema: canonical/schemas/structural-pattern-extraction.output.schema.json
|
|
38
|
+
description: Pattern catalog
|
|
39
|
+
requiredBehavior:
|
|
40
|
+
- 'activation: Use structural-pattern-extraction only when the requested outcome requires this transformation: Extract
|
|
41
|
+
durable structural patterns from exemplars.'
|
|
42
|
+
- 'sufficiency: Require all role inputs marked required and enough evidence to complete these gates: Each pattern
|
|
43
|
+
has recurrence evidence, applicability conditions, and at least one falsification or negative-example check.'
|
|
44
|
+
- 'conflict: Apply declared source precedence; when equally authoritative evidence changes the decision, preserve
|
|
45
|
+
both positions and return the affected output field as unresolved.'
|
|
46
|
+
- 'ambiguity: Isolate ambiguous terms or boundaries, show which stage and output fields they affect, and request
|
|
47
|
+
clarification rather than selecting an unsupported interpretation.'
|
|
48
|
+
- 'abstention: Abstain from structural-pattern-extraction when required inputs are absent, the decision rule cannot
|
|
49
|
+
be applied, or evidence cannot satisfy the completion gate.'
|
|
50
|
+
- 'stop: Stop before emitting Pattern catalog unless Each pattern has recurrence evidence, applicability conditions,
|
|
51
|
+
and at least one falsification or negative-example check.'
|
|
52
|
+
- 'resources: Load the artifact set, segmentation rules, and exclusion catalog; use negative examples to reject
|
|
53
|
+
over-broad patterns.'
|
|
54
|
+
- 'transformation: Execute the ordered analytical procedure: 1) segment artifacts into comparable units; 2) identify
|
|
55
|
+
repeated relations and ordering constraints; 3) distinguish durable patterns from coincidental repetition; 4)
|
|
56
|
+
name each pattern and attach positive and negative examples.'
|
|
57
|
+
- 'output: Populate and validate canonical/schemas/structural-pattern-extraction.output.schema.json with required
|
|
58
|
+
fields patterns, evidenceMatrix, negativeExamples, applicabilityConditions, openHypotheses; do not replace missing
|
|
59
|
+
fields with prose.'
|
|
60
|
+
- 'traceability: Link every material output field to source identifiers and the analytical stage or decision that
|
|
61
|
+
produced it; retain counterevidence for unresolved results.'
|
|
62
|
+
- 'evaluation: Pass only when the output schema validates, the ordered stages are evidenced, the role decision rule
|
|
63
|
+
was applied, and this completion gate holds: Each pattern has recurrence evidence, applicability conditions, and
|
|
64
|
+
at least one falsification or negative-example check.'
|
|
65
|
+
forbiddenBehavior:
|
|
66
|
+
- Do not substitute generic analytical behavior for the role-specific structural-pattern-extraction transformation.
|
|
67
|
+
- Do not skip, reorder, or silently collapse the role's declared analytical stages.
|
|
68
|
+
- Do not invent missing evidence, resolve authority conflicts by convenience, or emit a completed result after a
|
|
69
|
+
stop or abstention condition.
|
|
70
|
+
- Do not copy operation-owned ingestion, ledger, or schema-validation mechanics into the role contract.
|
|
71
|
+
traceability:
|
|
72
|
+
materialClaimsRequireSources: true
|
|
73
|
+
ledgerFormat: jsonl
|
|
74
|
+
artifacts: content-addressed
|
|
75
|
+
evaluation:
|
|
76
|
+
criteria:
|
|
77
|
+
- The authoritative transformation and intended output for structural-pattern-extraction are preserved.
|
|
78
|
+
- 'Required inputs and the decision rule are satisfied: Promote a candidate only when recurrence and structural
|
|
79
|
+
relevance exceed incidental similarity; otherwise retain it as a hypothesis.'
|
|
80
|
+
- 'The ordered analytical stages are evidenced and the output completion gate passes: Each pattern has recurrence
|
|
81
|
+
evidence, applicability conditions, and at least one falsification or negative-example check.'
|
|
82
|
+
- Conflict, ambiguity, insufficient-evidence, abstention, and stop behavior remain explicit and testable.
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
schemaVersion: '1.0'
|
|
2
|
+
id: template-family-generation
|
|
3
|
+
purpose: Generate a coherent family of reusable templates.
|
|
4
|
+
family:
|
|
5
|
+
id: context-template-generation
|
|
6
|
+
version: 1.0.0
|
|
7
|
+
taxonomy:
|
|
8
|
+
id: template-family-generation
|
|
9
|
+
displayName: Template Family Generation
|
|
10
|
+
transformation: Generate a coherent family of reusable templates.
|
|
11
|
+
intendedOutput: Template family
|
|
12
|
+
inputs:
|
|
13
|
+
- name: template-requirements
|
|
14
|
+
description: Requirements shared by the template family.
|
|
15
|
+
required: true
|
|
16
|
+
- name: variation-model
|
|
17
|
+
description: Allowed variants and their selection conditions.
|
|
18
|
+
required: true
|
|
19
|
+
- name: reference-artifacts
|
|
20
|
+
description: Approved examples or existing templates.
|
|
21
|
+
required: false
|
|
22
|
+
precedence:
|
|
23
|
+
- sourceClass: explicit-contract
|
|
24
|
+
rank: 0
|
|
25
|
+
- sourceClass: observed-artifact
|
|
26
|
+
rank: 1
|
|
27
|
+
- sourceClass: inference
|
|
28
|
+
rank: 2
|
|
29
|
+
pipeline:
|
|
30
|
+
- id: ingest.sources
|
|
31
|
+
version: 1.0.0
|
|
32
|
+
- id: trace.build-evidence-ledger
|
|
33
|
+
version: 1.0.0
|
|
34
|
+
- id: validation.contract
|
|
35
|
+
version: 1.0.0
|
|
36
|
+
output:
|
|
37
|
+
schema: canonical/schemas/template-family-generation.output.schema.json
|
|
38
|
+
description: Template family
|
|
39
|
+
requiredBehavior:
|
|
40
|
+
- 'activation: Use template-family-generation only when the requested outcome requires this transformation: Generate
|
|
41
|
+
a coherent family of reusable templates.'
|
|
42
|
+
- 'sufficiency: Require all role inputs marked required and enough evidence to complete these gates: All required
|
|
43
|
+
variants are generated, shared behavior is single-sourced, selection rules are deterministic, and every variant
|
|
44
|
+
validates.'
|
|
45
|
+
- 'conflict: Apply declared source precedence; when equally authoritative evidence changes the decision, preserve
|
|
46
|
+
both positions and return the affected output field as unresolved.'
|
|
47
|
+
- 'ambiguity: Isolate ambiguous terms or boundaries, show which stage and output fields they affect, and request
|
|
48
|
+
clarification rather than selecting an unsupported interpretation.'
|
|
49
|
+
- 'abstention: Abstain from template-family-generation when required inputs are absent, the decision rule cannot
|
|
50
|
+
be applied, or evidence cannot satisfy the completion gate.'
|
|
51
|
+
- 'stop: Stop before emitting Template family unless All required variants are generated, shared behavior is single-sourced,
|
|
52
|
+
selection rules are deterministic, and every variant validates.'
|
|
53
|
+
- 'resources: Load family requirements, variation model, approved references, and validation schemas; load each
|
|
54
|
+
reference only for the feature it evidences.'
|
|
55
|
+
- 'transformation: Execute the ordered analytical procedure: 1) derive the invariant template skeleton; 2) model
|
|
56
|
+
variation points and compatibility constraints; 3) generate each variant from shared primitives; 4) validate family
|
|
57
|
+
coherence coverage and non-duplication.'
|
|
58
|
+
- 'output: Populate and validate canonical/schemas/template-family-generation.output.schema.json with required fields
|
|
59
|
+
sharedTemplate, variants, selectionRules, compatibilityMatrix, validationResults; do not replace missing fields
|
|
60
|
+
with prose.'
|
|
61
|
+
- 'traceability: Link every material output field to source identifiers and the analytical stage or decision that
|
|
62
|
+
produced it; retain counterevidence for unresolved results.'
|
|
63
|
+
- 'evaluation: Pass only when the output schema validates, the ordered stages are evidenced, the role decision rule
|
|
64
|
+
was applied, and this completion gate holds: All required variants are generated, shared behavior is single-sourced,
|
|
65
|
+
selection rules are deterministic, and every variant validates.'
|
|
66
|
+
forbiddenBehavior:
|
|
67
|
+
- Do not substitute generic analytical behavior for the role-specific template-family-generation transformation.
|
|
68
|
+
- Do not skip, reorder, or silently collapse the role's declared analytical stages.
|
|
69
|
+
- Do not invent missing evidence, resolve authority conflicts by convenience, or emit a completed result after a
|
|
70
|
+
stop or abstention condition.
|
|
71
|
+
- Do not copy operation-owned ingestion, ledger, or schema-validation mechanics into the role contract.
|
|
72
|
+
traceability:
|
|
73
|
+
materialClaimsRequireSources: true
|
|
74
|
+
ledgerFormat: jsonl
|
|
75
|
+
artifacts: content-addressed
|
|
76
|
+
evaluation:
|
|
77
|
+
criteria:
|
|
78
|
+
- The authoritative transformation and intended output for template-family-generation are preserved.
|
|
79
|
+
- 'Required inputs and the decision rule are satisfied: Keep behavior in the shared primitive when all variants
|
|
80
|
+
require it; create a variant only when a documented selection condition changes structure or obligations.'
|
|
81
|
+
- 'The ordered analytical stages are evidenced and the output completion gate passes: All required variants are
|
|
82
|
+
generated, shared behavior is single-sourced, selection rules are deterministic, and every variant validates.'
|
|
83
|
+
- Conflict, ambiguity, insufficient-evidence, abstention, and stop behavior remain explicit and testable.
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
schemaVersion: '1.0'
|
|
2
|
+
familyPreferences:
|
|
3
|
+
exemplar-modeling:
|
|
4
|
+
- command
|
|
5
|
+
- skill
|
|
6
|
+
- agent
|
|
7
|
+
comparative-traceability:
|
|
8
|
+
- agent
|
|
9
|
+
- command
|
|
10
|
+
- skill
|
|
11
|
+
workflow-intent-abstraction:
|
|
12
|
+
- workflow
|
|
13
|
+
- agent
|
|
14
|
+
- skill
|
|
15
|
+
guardrails-evaluation:
|
|
16
|
+
- rule
|
|
17
|
+
- agent
|
|
18
|
+
- command
|
|
19
|
+
- skill
|
|
20
|
+
context-template-generation:
|
|
21
|
+
- extension
|
|
22
|
+
- workflow
|
|
23
|
+
- skill
|
|
24
|
+
corrective-transformation:
|
|
25
|
+
- agent
|
|
26
|
+
- command
|
|
27
|
+
- skill
|
|
28
|
+
clients:
|
|
29
|
+
reference:
|
|
30
|
+
root: generated/reference
|
|
31
|
+
capabilities:
|
|
32
|
+
- skill
|
|
33
|
+
activation: {}
|
|
34
|
+
evidence:
|
|
35
|
+
- packages/conformance/src/output/reproducibility.test.ts
|
|
36
|
+
oh-my-pi:
|
|
37
|
+
root: .pi/skills
|
|
38
|
+
capabilities:
|
|
39
|
+
- skill
|
|
40
|
+
activation: {}
|
|
41
|
+
evidence:
|
|
42
|
+
- docs/research/client-native-artifact-evidence.md
|
|
43
|
+
opencode:
|
|
44
|
+
root: .opencode/skills
|
|
45
|
+
capabilities:
|
|
46
|
+
- skill
|
|
47
|
+
- command
|
|
48
|
+
- agent
|
|
49
|
+
activation:
|
|
50
|
+
command: .opencode/commands/{role}.md
|
|
51
|
+
agent: .opencode/agents/{role}.md
|
|
52
|
+
evidence:
|
|
53
|
+
- docs/research/client-native-artifact-evidence.md
|
|
54
|
+
pi:
|
|
55
|
+
root: .pi/skills
|
|
56
|
+
capabilities:
|
|
57
|
+
- skill
|
|
58
|
+
- extension
|
|
59
|
+
activation:
|
|
60
|
+
extension: .pi/extensions/{role}.ts
|
|
61
|
+
evidence:
|
|
62
|
+
- docs/research/client-native-artifact-evidence.md
|
|
63
|
+
claude-code:
|
|
64
|
+
root: .claude/skills
|
|
65
|
+
capabilities:
|
|
66
|
+
- skill
|
|
67
|
+
- command
|
|
68
|
+
- agent
|
|
69
|
+
activation:
|
|
70
|
+
command: .claude/commands/{role}.md
|
|
71
|
+
agent: .claude/agents/{role}.md
|
|
72
|
+
evidence:
|
|
73
|
+
- docs/research/client-native-artifact-evidence.md
|
|
74
|
+
codex:
|
|
75
|
+
root: .agents/skills
|
|
76
|
+
capabilities:
|
|
77
|
+
- skill
|
|
78
|
+
- agent
|
|
79
|
+
activation:
|
|
80
|
+
agent: .codex/agents/{role}.toml
|
|
81
|
+
evidence:
|
|
82
|
+
- docs/research/client-native-artifact-evidence.md
|
|
83
|
+
antigravity:
|
|
84
|
+
root: .agents/skills
|
|
85
|
+
capabilities:
|
|
86
|
+
- skill
|
|
87
|
+
- workflow
|
|
88
|
+
- rule
|
|
89
|
+
activation:
|
|
90
|
+
workflow: .agents/workflows/{role}.md
|
|
91
|
+
rule: .agents/rules/{role}.md
|
|
92
|
+
evidence:
|
|
93
|
+
- docs/research/client-native-artifact-evidence.md
|
|
94
|
+
dcode:
|
|
95
|
+
root: .dcode/skills
|
|
96
|
+
capabilities:
|
|
97
|
+
- skill
|
|
98
|
+
activation: {}
|
|
99
|
+
evidence:
|
|
100
|
+
- docs/research/client-native-artifact-evidence.md
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
schemaVersion: "1.0"
|
|
2
|
+
id: antigravity
|
|
3
|
+
version: 1.0.0
|
|
4
|
+
nativeRoot: .agents/skills
|
|
5
|
+
supportedPrimitives:
|
|
6
|
+
- skill
|
|
7
|
+
- workflow
|
|
8
|
+
- rule
|
|
9
|
+
unsupportedPrimitives:
|
|
10
|
+
- command
|
|
11
|
+
- agent
|
|
12
|
+
- extension
|
|
13
|
+
- memory
|
|
14
|
+
capabilities:
|
|
15
|
+
skill: true
|
|
16
|
+
command: false
|
|
17
|
+
agent: false
|
|
18
|
+
workflow: true
|
|
19
|
+
rule: true
|
|
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://antigravity.google/changelog
|
|
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
|
+
extension: skill-resource
|
|
40
|
+
memory: skill-resource
|
|
41
|
+
compatibility:
|
|
42
|
+
minimumSupportedVersion: null
|
|
43
|
+
maximumKnownCompatibleVersion: null
|
|
44
|
+
maximumKnownCompatibleRange: null
|
|
45
|
+
testedVersions: []
|
|
46
|
+
outcome: unavailable
|
|
47
|
+
unknownVersionBehavior: fail
|
|
48
|
+
harness:
|
|
49
|
+
identity: antigravity-authoritative-behavioral-harness
|
|
50
|
+
availability: unavailable
|
|
51
|
+
evidence: .planning/phases/06.1-runtime-usability-and-behavioral-closure/06.1-COMPATIBILITY-RESEARCH.md#environment-probe
|
|
52
|
+
reviewedAt: 2026-07-30
|
|
53
|
+
expiresAt: 2026-10-28
|
|
54
|
+
approval:
|
|
55
|
+
status: approved
|
|
56
|
+
owner: Portable Capabilities maintainers
|
|
57
|
+
approvedAt: 2026-07-30
|
|
58
|
+
latestPublishedVersion: 2.4.3
|
|
59
|
+
releaseSource: https://antigravity.google/changelog
|
|
60
|
+
releaseObservedAt: 2026-07-30
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
schemaVersion: "1.0"
|
|
2
|
+
id: claude-code
|
|
3
|
+
version: 1.0.0
|
|
4
|
+
nativeRoot: .claude/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://www.npmjs.com/package/@anthropic-ai/claude-code
|
|
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: 2.1.220
|
|
43
|
+
maximumKnownCompatibleVersion: 2.1.220
|
|
44
|
+
maximumKnownCompatibleRange: ">=2.1.220 <=2.1.220"
|
|
45
|
+
testedVersions:
|
|
46
|
+
- version: 2.1.220
|
|
47
|
+
testedAt: 2026-07-29
|
|
48
|
+
platform: planning-environment
|
|
49
|
+
executable: claude
|
|
50
|
+
evidence: .planning/phases/06.1-runtime-usability-and-behavioral-closure/06.1-COMPATIBILITY-RESEARCH.md#environment-probe
|
|
51
|
+
outcome: supported
|
|
52
|
+
unknownVersionBehavior: fail
|
|
53
|
+
harness:
|
|
54
|
+
identity: claude-code-generated-package-behavioral-harness
|
|
55
|
+
availability: available
|
|
56
|
+
evidence: packages/conformance/src/tracer/runtime-usability-evidence.json
|
|
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: 2.1.220
|
|
64
|
+
releaseSource: https://www.npmjs.com/package/@anthropic-ai/claude-code
|
|
65
|
+
releaseObservedAt: 2026-07-30
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|