@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,95 @@
|
|
|
1
|
+
schemaVersion: "1.0"
|
|
2
|
+
families:
|
|
3
|
+
- id: exemplar-modeling
|
|
4
|
+
displayName: Exemplar Modeling
|
|
5
|
+
- id: comparative-traceability
|
|
6
|
+
displayName: Comparative Traceability
|
|
7
|
+
- id: workflow-intent-abstraction
|
|
8
|
+
displayName: Workflow Intent Abstraction
|
|
9
|
+
- id: guardrails-evaluation
|
|
10
|
+
displayName: Guardrails Evaluation
|
|
11
|
+
- id: context-template-generation
|
|
12
|
+
displayName: Context Template Generation
|
|
13
|
+
- id: corrective-transformation
|
|
14
|
+
displayName: Corrective Transformation
|
|
15
|
+
roles:
|
|
16
|
+
- id: canonical-exemplar-generalization
|
|
17
|
+
displayName: Canonical Exemplar Generalization
|
|
18
|
+
transformation: Transform concrete exemplars into a reusable canonical model.
|
|
19
|
+
intendedOutput: Canonical generalized model
|
|
20
|
+
familyId: exemplar-modeling
|
|
21
|
+
- id: constrained-exemplar-adaptation
|
|
22
|
+
displayName: Constrained Exemplar Adaptation
|
|
23
|
+
transformation: Adapt an exemplar under explicit constraints.
|
|
24
|
+
intendedOutput: Constraint-compliant adaptation
|
|
25
|
+
familyId: exemplar-modeling
|
|
26
|
+
- id: structural-pattern-extraction
|
|
27
|
+
displayName: Structural Pattern Extraction
|
|
28
|
+
transformation: Extract durable structural patterns from exemplars.
|
|
29
|
+
intendedOutput: Pattern catalog
|
|
30
|
+
familyId: exemplar-modeling
|
|
31
|
+
- id: convention-mining
|
|
32
|
+
displayName: Convention Mining
|
|
33
|
+
transformation: Infer recurring conventions from observed artifacts.
|
|
34
|
+
intendedOutput: Convention registry
|
|
35
|
+
familyId: exemplar-modeling
|
|
36
|
+
- id: reference-trace-mapping
|
|
37
|
+
displayName: Reference Trace Mapping
|
|
38
|
+
transformation: Map claims and structures to source references.
|
|
39
|
+
intendedOutput: Trace map
|
|
40
|
+
familyId: comparative-traceability
|
|
41
|
+
- id: multi-exemplar-consensus
|
|
42
|
+
displayName: Multi-Exemplar Consensus
|
|
43
|
+
transformation: Derive consensus and divergence across exemplars.
|
|
44
|
+
intendedOutput: Consensus model
|
|
45
|
+
familyId: comparative-traceability
|
|
46
|
+
- id: delta-analysis
|
|
47
|
+
displayName: Delta Analysis
|
|
48
|
+
transformation: Characterize material differences between artifacts.
|
|
49
|
+
intendedOutput: Structured delta report
|
|
50
|
+
familyId: comparative-traceability
|
|
51
|
+
- id: reusable-workflow-abstraction
|
|
52
|
+
displayName: Reusable Workflow Abstraction
|
|
53
|
+
transformation: Abstract a repeatable workflow from concrete execution.
|
|
54
|
+
intendedOutput: Reusable workflow contract
|
|
55
|
+
familyId: workflow-intent-abstraction
|
|
56
|
+
- id: conversation-to-specification
|
|
57
|
+
displayName: Conversation to Specification
|
|
58
|
+
transformation: Convert conversational intent into an executable specification.
|
|
59
|
+
intendedOutput: Traceable specification
|
|
60
|
+
familyId: workflow-intent-abstraction
|
|
61
|
+
- id: failure-to-guardrail
|
|
62
|
+
displayName: Failure to Guardrail
|
|
63
|
+
transformation: Convert observed failures into preventive controls.
|
|
64
|
+
intendedOutput: Guardrail contract
|
|
65
|
+
familyId: guardrails-evaluation
|
|
66
|
+
- id: acceptance-criteria-synthesis
|
|
67
|
+
displayName: Acceptance Criteria Synthesis
|
|
68
|
+
transformation: Derive measurable acceptance criteria from intent and evidence.
|
|
69
|
+
intendedOutput: Acceptance criteria set
|
|
70
|
+
familyId: guardrails-evaluation
|
|
71
|
+
- id: evaluation-harness-design
|
|
72
|
+
displayName: Evaluation Harness Design
|
|
73
|
+
transformation: Design executable checks for a capability contract.
|
|
74
|
+
intendedOutput: Evaluation harness specification
|
|
75
|
+
familyId: guardrails-evaluation
|
|
76
|
+
- id: domain-context-boundary
|
|
77
|
+
displayName: Domain Context Boundary
|
|
78
|
+
transformation: Define the minimal sufficient domain context and exclusions.
|
|
79
|
+
intendedOutput: Context boundary contract
|
|
80
|
+
familyId: context-template-generation
|
|
81
|
+
- id: template-family-generation
|
|
82
|
+
displayName: Template Family Generation
|
|
83
|
+
transformation: Generate a coherent family of reusable templates.
|
|
84
|
+
intendedOutput: Template family
|
|
85
|
+
familyId: context-template-generation
|
|
86
|
+
- id: anti-pattern-inversion
|
|
87
|
+
displayName: Anti-Pattern Inversion
|
|
88
|
+
transformation: Invert documented anti-patterns into positive construction rules.
|
|
89
|
+
intendedOutput: Corrective rule set
|
|
90
|
+
familyId: corrective-transformation
|
|
91
|
+
- id: behavior-preserving-refactor
|
|
92
|
+
displayName: Behavior-Preserving Refactor
|
|
93
|
+
transformation: Transform structure while preserving observable behavior.
|
|
94
|
+
intendedOutput: Refactored artifact with equivalence evidence
|
|
95
|
+
familyId: corrective-transformation
|
package/package.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@acidicsoil/portable-capabilities",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public",
|
|
7
|
+
"registry": "https://registry.npmjs.org/"
|
|
8
|
+
},
|
|
9
|
+
"engines": {
|
|
10
|
+
"node": ">=24.14.0",
|
|
11
|
+
"pnpm": ">=11.1.0"
|
|
12
|
+
},
|
|
13
|
+
"scripts": {
|
|
14
|
+
"typecheck": "turbo run typecheck",
|
|
15
|
+
"test:run": "turbo run test",
|
|
16
|
+
"test:coverage": "vitest run --coverage",
|
|
17
|
+
"ci": "pnpm verify:tool-boundary && pnpm format:yaml:check && pnpm format:docs:check && pnpm turbo lint format-check typecheck test verify:reproducible && pnpm audit --prod --audit-level moderate",
|
|
18
|
+
"build": "turbo run build",
|
|
19
|
+
"lint": "turbo run lint",
|
|
20
|
+
"lint:fix": "biome lint --write .",
|
|
21
|
+
"format": "biome format --write .",
|
|
22
|
+
"format:check": "biome format .",
|
|
23
|
+
"check": "biome check .",
|
|
24
|
+
"check:fix": "biome check --write .",
|
|
25
|
+
"biome:ci": "biome ci .",
|
|
26
|
+
"cli": "tsx packages/cli/src/entry.ts",
|
|
27
|
+
"verify:reproducible": "turbo run verify:reproducible",
|
|
28
|
+
"test": "turbo run test",
|
|
29
|
+
"format-check": "turbo run format-check",
|
|
30
|
+
"format:yaml": "prettier --write \"pnpm-workspace.yaml\" \"pnpm-lock.yaml\" \"lefthook.yml\" \"packages/fixtures/data/**/*.{yaml,yml}\" \".github/workflows/*.{yaml,yml}\"",
|
|
31
|
+
"format:yaml:check": "prettier --check \"pnpm-workspace.yaml\" \"pnpm-lock.yaml\" \"lefthook.yml\" \"packages/fixtures/data/**/*.{yaml,yml}\" \".github/workflows/*.{yaml,yml}\"",
|
|
32
|
+
"verify:tool-boundary": "node scripts/verify-tool-boundary.mjs",
|
|
33
|
+
"verify:generated-drift": "node scripts/verify-generated-drift.mjs",
|
|
34
|
+
"verify:ci-matrix": "node scripts/verify-ci-matrix.mjs",
|
|
35
|
+
"release:pack:verify": "node scripts/release/verify-pack.mjs",
|
|
36
|
+
"changeset": "changeset",
|
|
37
|
+
"changeset:status": "changeset status",
|
|
38
|
+
"release:cli:build": "node scripts/release/build-cli.mjs",
|
|
39
|
+
"release:bundles": "tsx scripts/release/generate-bundles.ts",
|
|
40
|
+
"release:bundles:verify": "node scripts/release/verify-bundles.mjs",
|
|
41
|
+
"docs:verify": "node scripts/release/verify-docs.mjs",
|
|
42
|
+
"release:verify": "node scripts/release/verify-clean-checkout.mjs",
|
|
43
|
+
"format:docs": "prettier --write \"README.md\" \"CHANGELOG.md\" \"phase-6.1-milestone.md\" \"docs/**/*.md\" \"packages/**/*.md\" \".planning/**/*.md\" \".changeset/**/*.md\"",
|
|
44
|
+
"format:docs:check": "prettier --check \"README.md\" \"CHANGELOG.md\" \"phase-6.1-milestone.md\" \"docs/**/*.md\" \"packages/**/*.md\" \".planning/**/*.md\" \".changeset/**/*.md\""
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"ajv": "8.20.0",
|
|
48
|
+
"yaml": "2.9.0"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@biomejs/biome": "2.5.5",
|
|
52
|
+
"@changesets/cli": "2.29.7",
|
|
53
|
+
"@types/node": "24.1.0",
|
|
54
|
+
"@vitest/coverage-v8": "4.1.10",
|
|
55
|
+
"esbuild": "0.25.12",
|
|
56
|
+
"execa": "10.0.0",
|
|
57
|
+
"fast-check": "4.9.0",
|
|
58
|
+
"lefthook": "1.11.13",
|
|
59
|
+
"prettier": "3.6.2",
|
|
60
|
+
"tsx": "4.20.3",
|
|
61
|
+
"turbo": "2.5.6",
|
|
62
|
+
"typescript": "5.8.3",
|
|
63
|
+
"vitest": "4.1.10"
|
|
64
|
+
},
|
|
65
|
+
"packageManager": "pnpm@11.1.3"
|
|
66
|
+
}
|