@openplanr/protocol 0.2.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/LICENSE +21 -0
- package/README.md +82 -0
- package/lib/dashboard/closed-json-contract.mjs +141 -0
- package/lib/dashboard/generated/operate-experience-surface-schema-data.mjs +67 -0
- package/lib/dashboard/generated/operate-review-schema-data.mjs +35 -0
- package/lib/dashboard/generated/operate-schema-token-codec.mjs +127 -0
- package/lib/dashboard/operate-experience-audit-display-contract.d.mts +196 -0
- package/lib/dashboard/operate-experience-audit-display-contract.mjs +700 -0
- package/lib/dashboard/operate-experience-display-contract.d.mts +572 -0
- package/lib/dashboard/operate-experience-display-contract.mjs +1007 -0
- package/lib/dashboard/operate-experience-surface-contract.d.mts +157 -0
- package/lib/dashboard/operate-experience-surface-contract.mjs +91 -0
- package/lib/dashboard/operate-review-contract.d.mts +34 -0
- package/lib/dashboard/operate-review-contract.mjs +175 -0
- package/lib/dashboard/operate-review-display-workspace-contract.d.mts +54 -0
- package/lib/dashboard/operate-review-display-workspace-contract.mjs +258 -0
- package/lib/dashboard/operate-review-payload-safety.d.mts +7 -0
- package/lib/dashboard/operate-review-payload-safety.mjs +42 -0
- package/lib/dashboard/operate-review-workspace-projection-v2.d.mts +218 -0
- package/lib/protocol/index.d.ts +2638 -0
- package/package.json +115 -0
- package/registries/commands.json +1952 -0
- package/registries/diagram-grammars.json +2407 -0
- package/registries/diagram-semantic-patterns.json +111 -0
- package/registries/output-paths.json +40 -0
- package/registries/outputs.json +864 -0
- package/registries/roles.json +661 -0
- package/registries/rules.json +261 -0
- package/registries/skill-host-profiles.json +247 -0
- package/registries/skill-modules.json +1112 -0
- package/registries/skill-routing.json +389 -0
- package/registries/skills.json +1545 -0
- package/registries/task-kinds.json +220 -0
- package/registry/adapters.json +110 -0
- package/registry/artifact-theme.json +60 -0
- package/registry/evaluation-graders.json +303 -0
- package/registry/evaluation-host-profiles.json +131 -0
- package/registry/frozen-commands.json +15 -0
- package/registry/landing-operations.json +20 -0
- package/registry/landing-workflows.json +70 -0
- package/registry/live-evidence-providers.json +1 -0
- package/registry/operate-v2-contracts.json +5965 -0
- package/registry/professional-skills.json +115 -0
- package/registry/roles.json +14 -0
- package/registry/ship-review-specialists.json +42 -0
- package/schemas/v1.0.0/design-approved.schema.json +35 -0
- package/schemas/v1.0.0/design-feedback.schema.json +169 -0
- package/schemas/v1.0.0/design-manifest.schema.json +90 -0
- package/schemas/v1.0.0/design-session.schema.json +73 -0
- package/schemas/v1.0.0/graph.schema.json +100 -0
- package/schemas/v1.0.0/pipeline-shipped.schema.json +154 -0
- package/schemas/v1.0.0/run-manifest.schema.json +81 -0
- package/schemas/v1.0.0/spec.schema.json +120 -0
- package/schemas/v1.0.0/stack.schema.json +184 -0
- package/schemas/v1.0.0/story.schema.json +95 -0
- package/schemas/v1.0.0/task.schema.json +171 -0
- package/schemas/v1.0.0/taste-profile.schema.json +96 -0
- package/schemas/v1.1.0/adapter-registry.schema.json +72 -0
- package/schemas/v1.1.0/artifact-envelope.schema.json +142 -0
- package/schemas/v1.1.0/artifact-paste.schema.json +49 -0
- package/schemas/v1.1.0/artifact-review.schema.json +97 -0
- package/schemas/v1.1.0/artifact-room-descriptor.schema.json +39 -0
- package/schemas/v1.1.0/artifact-room-event.schema.json +184 -0
- package/schemas/v1.1.0/artifact-room-signed-event.schema.json +58 -0
- package/schemas/v1.1.0/artifact-theme.schema.json +139 -0
- package/schemas/v1.1.0/browser-qa-gate.schema.json +21 -0
- package/schemas/v1.1.0/browser-qa-result.schema.json +24 -0
- package/schemas/v1.1.0/browser-qa-session.schema.json +12 -0
- package/schemas/v1.1.0/ecosystem-manifest.schema.json +46 -0
- package/schemas/v1.1.0/investigation-diagnosis.schema.json +12 -0
- package/schemas/v1.1.0/investigation-event.schema.json +15 -0
- package/schemas/v1.1.0/investigation-experiment.schema.json +17 -0
- package/schemas/v1.1.0/investigation-fix.schema.json +11 -0
- package/schemas/v1.1.0/investigation-hypothesis.schema.json +6 -0
- package/schemas/v1.1.0/investigation-observation.schema.json +10 -0
- package/schemas/v1.1.0/investigation-receipt.schema.json +7 -0
- package/schemas/v1.1.0/investigation-record.schema.json +7 -0
- package/schemas/v1.1.0/investigation-request.schema.json +34 -0
- package/schemas/v1.1.0/planning-review-event.schema.json +64 -0
- package/schemas/v1.1.0/planning-review-receipt.schema.json +19 -0
- package/schemas/v1.1.0/planning-review-record.schema.json +176 -0
- package/schemas/v1.1.0/planning-review-state.schema.json +19 -0
- package/schemas/v1.1.0/professional-skills.schema.json +105 -0
- package/schemas/v1.1.0/professional-specification.schema.json +111 -0
- package/schemas/v1.1.0/provenance-event.schema.json +82 -0
- package/schemas/v1.1.0/role-registry.schema.json +28 -0
- package/schemas/v1.1.0/runtime-lock.schema.json +39 -0
- package/schemas/v1.1.0/ship-closure.schema.json +353 -0
- package/schemas/v1.1.0/ship-review-specialist-registry.schema.json +29 -0
- package/schemas/v1.1.0/ship-risk-classification.schema.json +48 -0
- package/schemas/v1.1.0/specialist-review-result.schema.json +19 -0
- package/schemas/v1.10.0/design-review-bundle.schema.json +584 -0
- package/schemas/v1.10.0/design-review-context.schema.json +191 -0
- package/schemas/v1.10.0/design-review-handoff.schema.json +407 -0
- package/schemas/v1.10.0/design-review-metadata-payload.schema.json +106 -0
- package/schemas/v1.11.0/design-review-metadata-payload.schema.json +107 -0
- package/schemas/v1.12.0/enterprise-access-context.schema.json +217 -0
- package/schemas/v1.12.0/enterprise-agent-handoff.schema.json +508 -0
- package/schemas/v1.12.0/enterprise-artifact-revision.schema.json +87 -0
- package/schemas/v1.12.0/enterprise-change-proposal.schema.json +359 -0
- package/schemas/v1.12.0/enterprise-evidence-reference.schema.json +147 -0
- package/schemas/v1.12.0/enterprise-review-thread.schema.json +278 -0
- package/schemas/v1.12.0/enterprise-sync-state.schema.json +169 -0
- package/schemas/v1.2.0/adapter-registry.schema.json +83 -0
- package/schemas/v1.2.0/dashboard-bootstrap.schema.json +219 -0
- package/schemas/v1.2.0/ecosystem-release-operation.schema.json +90 -0
- package/schemas/v1.2.0/ecosystem-saga.schema.json +54 -0
- package/schemas/v1.2.0/evidence-diagnostic.schema.json +77 -0
- package/schemas/v1.2.0/guided-answer-envelope.schema.json +73 -0
- package/schemas/v1.2.0/guided-confirmation.schema.json +128 -0
- package/schemas/v1.2.0/guided-question.schema.json +242 -0
- package/schemas/v1.2.0/guided-questionnaire.schema.json +278 -0
- package/schemas/v1.2.0/guided-session.schema.json +141 -0
- package/schemas/v1.2.0/landing-confirmation.schema.json +17 -0
- package/schemas/v1.2.0/landing-event.schema.json +12 -0
- package/schemas/v1.2.0/landing-operation-registry.schema.json +16 -0
- package/schemas/v1.2.0/landing-phase-receipt.schema.json +19 -0
- package/schemas/v1.2.0/landing-plan.schema.json +36 -0
- package/schemas/v1.2.0/landing-receipt.schema.json +12 -0
- package/schemas/v1.2.0/landing-workflow-catalog.schema.json +143 -0
- package/schemas/v1.2.0/operate-action-display-workspace.schema.json +119 -0
- package/schemas/v1.2.0/operate-cycle-display-workspace.schema.json +109 -0
- package/schemas/v1.2.0/operate-executive-board-display-surface.schema.json +72 -0
- package/schemas/v1.2.0/operate-experience-audit-display-surface.schema.json +328 -0
- package/schemas/v1.2.0/operate-experience-display-surface.schema.json +46 -0
- package/schemas/v1.2.0/operate-experience-surface.schema.json +590 -0
- package/schemas/v1.2.0/operate-recovery-display-surface.schema.json +85 -0
- package/schemas/v1.2.0/structured-action.schema.json +91 -0
- package/schemas/v1.3.0/adapter-registry.schema.json +84 -0
- package/schemas/v1.3.0/ecosystem-manifest.schema.json +120 -0
- package/schemas/v1.3.0/release-compatibility-claim.schema.json +46 -0
- package/schemas/v1.3.0/release-ledger-receipt.schema.json +45 -0
- package/schemas/v1.3.0/release-ledger.schema.json +60 -0
- package/schemas/v1.4.0/adapter-registry.schema.json +62 -0
- package/schemas/v1.4.0/evaluation-aggregate-report.schema.json +166 -0
- package/schemas/v1.4.0/evaluation-budget.schema.json +49 -0
- package/schemas/v1.4.0/evaluation-corpus.schema.json +93 -0
- package/schemas/v1.4.0/evaluation-fixture.schema.json +64 -0
- package/schemas/v1.4.0/evaluation-gate-policy.schema.json +33 -0
- package/schemas/v1.4.0/evaluation-grader-registration.schema.json +141 -0
- package/schemas/v1.4.0/evaluation-grader-registry.schema.json +20 -0
- package/schemas/v1.4.0/evaluation-host-profile-registry.schema.json +20 -0
- package/schemas/v1.4.0/evaluation-host-profile.schema.json +73 -0
- package/schemas/v1.4.0/evaluation-observation.schema.json +76 -0
- package/schemas/v1.4.0/evaluation-run-result.schema.json +84 -0
- package/schemas/v1.4.0/evaluation-scenario.schema.json +231 -0
- package/schemas/v1.4.0/evaluation-waiver.schema.json +65 -0
- package/schemas/v1.4.0/skill-certification-receipt.schema.json +103 -0
- package/schemas/v1.5.0/command-catalog.schema.json +296 -0
- package/schemas/v1.5.0/common.schema.json +261 -0
- package/schemas/v1.5.0/generated-asset-manifest.schema.json +313 -0
- package/schemas/v1.5.0/implementation-result.schema.json +152 -0
- package/schemas/v1.5.0/migration-preservation-manifest.schema.json +749 -0
- package/schemas/v1.5.0/output-catalog.schema.json +210 -0
- package/schemas/v1.5.0/output-path-catalog.schema.json +81 -0
- package/schemas/v1.5.0/role-registry.schema.json +261 -0
- package/schemas/v1.5.0/rule-catalog.schema.json +130 -0
- package/schemas/v1.5.0/skill-catalog.schema.json +303 -0
- package/schemas/v1.5.0/task-kind-registry.schema.json +167 -0
- package/schemas/v1.5.0/task-manifest.schema.json +373 -0
- package/schemas/v1.5.0/task-output-manifest.schema.json +462 -0
- package/schemas/v1.6.0/common.schema.json +462 -0
- package/schemas/v1.6.0/diagram-consumer-reference.schema.json +167 -0
- package/schemas/v1.6.0/diagram-document.schema.json +699 -0
- package/schemas/v1.6.0/diagram-fidelity-report.schema.json +137 -0
- package/schemas/v1.6.0/diagram-manifest.schema.json +162 -0
- package/schemas/v1.6.0/diagram-quality-report.schema.json +148 -0
- package/schemas/v1.6.0/diagram-review-binding.schema.json +132 -0
- package/schemas/v1.6.0/diagram-semantic-pattern-registry.schema.json +90 -0
- package/schemas/v1.6.0/diagram-type-registry.schema.json +373 -0
- package/schemas/v1.6.0/generated-asset-manifest.schema.json +103 -0
- package/schemas/v1.6.0/skill-catalog.schema.json +84 -0
- package/schemas/v1.6.0/skill-completion-receipt.schema.json +72 -0
- package/schemas/v1.6.0/skill-consent-record.schema.json +74 -0
- package/schemas/v1.6.0/skill-host-profile-registry.schema.json +526 -0
- package/schemas/v1.6.0/skill-learning-record.schema.json +116 -0
- package/schemas/v1.6.0/skill-module-registry.schema.json +108 -0
- package/schemas/v1.6.0/skill-routing-registry.schema.json +93 -0
- package/schemas/v1.6.0/skill-session.schema.json +73 -0
- package/schemas/v1.6.0/skill-source.schema.json +169 -0
- package/schemas/v1.7.0/common.schema.json +464 -0
- package/schemas/v1.7.0/generated-asset-manifest.schema.json +103 -0
- package/schemas/v1.7.0/planning-id-sequence.schema.json +50 -0
- package/schemas/v1.7.0/request-authority.schema.json +71 -0
- package/schemas/v1.7.0/skill-catalog.schema.json +84 -0
- package/schemas/v1.7.0/skill-completion-receipt.schema.json +72 -0
- package/schemas/v1.7.0/skill-consent-record.schema.json +74 -0
- package/schemas/v1.7.0/skill-host-profile-registry.schema.json +526 -0
- package/schemas/v1.7.0/skill-learning-record.schema.json +116 -0
- package/schemas/v1.7.0/skill-module-registry.schema.json +108 -0
- package/schemas/v1.7.0/skill-routing-registry.schema.json +93 -0
- package/schemas/v1.7.0/skill-session.schema.json +73 -0
- package/schemas/v1.7.0/skill-source.schema.json +169 -0
- package/schemas/v1.7.0/spec.schema.json +117 -0
- package/schemas/v1.7.0/story.schema.json +107 -0
- package/schemas/v1.7.0/task.schema.json +217 -0
- package/schemas/v1.8.0/common.schema.json +96 -0
- package/schemas/v1.8.0/skill-package.schema.json +63 -0
- package/schemas/v1.8.0/utility-command-catalog.schema.json +82 -0
- package/schemas/v1.9.0/design-document.schema.json +306 -0
- package/schemas/v1.9.0/design-review-bundle.schema.json +346 -0
- package/schemas/v1.9.0/design-review-workspace.schema.json +108 -0
- package/schemas/v1.9.0/design-workspace-create.schema.json +170 -0
- package/schemas/v1.9.0/design-workspace-event.schema.json +97 -0
- package/schemas/v1.9.0/design-workspace-revision.schema.json +56 -0
- package/schemas/v2.0.0/agent-runtime-manifest.schema.json +59 -0
- package/schemas/v2.0.0/business-operating-snapshot-projection.schema.json +14 -0
- package/schemas/v2.0.0/operate-allowed-action.schema.json +181 -0
- package/schemas/v2.0.0/operate-api-envelope.schema.json +225 -0
- package/schemas/v2.0.0/operate-capability-provider-registration.schema.json +30 -0
- package/schemas/v2.0.0/operate-domain-registration.schema.json +284 -0
- package/schemas/v2.0.0/operate-evidence-provider-registration.schema.json +55 -0
- package/schemas/v2.0.0/operate-evidence-resolver-registration.schema.json +46 -0
- package/schemas/v2.0.0/operate-executor-registration.schema.json +27 -0
- package/schemas/v2.0.0/operate-experience-live-patch.schema.json +47 -0
- package/schemas/v2.0.0/operate-experience-preview.schema.json +51 -0
- package/schemas/v2.0.0/operate-experience-view.schema.json +281 -0
- package/schemas/v2.0.0/operate-live-evidence-provider-registration.schema.json +48 -0
- package/schemas/v2.0.0/operate-live-evidence-provider-registry.schema.json +17 -0
- package/schemas/v2.0.0/operate-metric-provider-registration.schema.json +12 -0
- package/schemas/v2.0.0/operate-policy-provider-registration.schema.json +33 -0
- package/schemas/v2.0.0/operate-review-bound-submission.schema.json +29 -0
- package/schemas/v2.0.0/operate-review-display-workspace.schema.json +390 -0
- package/schemas/v2.0.0/operate-snapshot-provider-registration.schema.json +16 -0
- package/schemas/v2.0.0/operate-tool-call.schema.json +172 -0
- package/schemas/v2.0.0/operate-verification-provider-registration.schema.json +12 -0
- package/schemas/v2.0.0/operating-action-policy.schema.json +31 -0
- package/schemas/v2.0.0/operating-action-verification-plan.schema.json +13 -0
- package/schemas/v2.0.0/operating-action.schema.json +86 -0
- package/schemas/v2.0.0/operating-advisor-result.schema.json +394 -0
- package/schemas/v2.0.0/operating-approval-record.schema.json +23 -0
- package/schemas/v2.0.0/operating-approval-requirement.schema.json +31 -0
- package/schemas/v2.0.0/operating-artifact.schema.json +52 -0
- package/schemas/v2.0.0/operating-assignment.schema.json +437 -0
- package/schemas/v2.0.0/operating-assumption.schema.json +16 -0
- package/schemas/v2.0.0/operating-capability-availability.schema.json +15 -0
- package/schemas/v2.0.0/operating-capability-grant.schema.json +14 -0
- package/schemas/v2.0.0/operating-challenger-review.schema.json +204 -0
- package/schemas/v2.0.0/operating-checkpoint.schema.json +43 -0
- package/schemas/v2.0.0/operating-claim.schema.json +17 -0
- package/schemas/v2.0.0/operating-connector-checkpoint.schema.json +28 -0
- package/schemas/v2.0.0/operating-context-capture.schema.json +74 -0
- package/schemas/v2.0.0/operating-cycle-input-binding.schema.json +30 -0
- package/schemas/v2.0.0/operating-cycle.schema.json +42 -0
- package/schemas/v2.0.0/operating-decision-ledger.schema.json +237 -0
- package/schemas/v2.0.0/operating-decision.schema.json +137 -0
- package/schemas/v2.0.0/operating-delivery-evidence.schema.json +46 -0
- package/schemas/v2.0.0/operating-delivery-route.schema.json +43 -0
- package/schemas/v2.0.0/operating-delta.schema.json +13 -0
- package/schemas/v2.0.0/operating-domain-projection.schema.json +15 -0
- package/schemas/v2.0.0/operating-event-trigger.schema.json +11 -0
- package/schemas/v2.0.0/operating-event.schema.json +505 -0
- package/schemas/v2.0.0/operating-evidence-candidate.schema.json +88 -0
- package/schemas/v2.0.0/operating-evidence-edge.schema.json +39 -0
- package/schemas/v2.0.0/operating-evidence-graph.schema.json +25 -0
- package/schemas/v2.0.0/operating-evidence-observation.schema.json +48 -0
- package/schemas/v2.0.0/operating-evidence-ref.schema.json +51 -0
- package/schemas/v2.0.0/operating-evidence-resolution.schema.json +54 -0
- package/schemas/v2.0.0/operating-execution-result.schema.json +23 -0
- package/schemas/v2.0.0/operating-executive-board.schema.json +78 -0
- package/schemas/v2.0.0/operating-finding.schema.json +116 -0
- package/schemas/v2.0.0/operating-governed-operation.schema.json +54 -0
- package/schemas/v2.0.0/operating-intelligence-input-bundle.schema.json +128 -0
- package/schemas/v2.0.0/operating-intelligence-plan.schema.json +302 -0
- package/schemas/v2.0.0/operating-learning-receipt.schema.json +31 -0
- package/schemas/v2.0.0/operating-learning.schema.json +13 -0
- package/schemas/v2.0.0/operating-live-evidence-consent-record.schema.json +42 -0
- package/schemas/v2.0.0/operating-live-evidence-ingestion.schema.json +31 -0
- package/schemas/v2.0.0/operating-measurement-plan.schema.json +18 -0
- package/schemas/v2.0.0/operating-measurement-schedule-receipt.schema.json +7 -0
- package/schemas/v2.0.0/operating-measurement-schedule.schema.json +16 -0
- package/schemas/v2.0.0/operating-metric-observation.schema.json +15 -0
- package/schemas/v2.0.0/operating-metric.schema.json +18 -0
- package/schemas/v2.0.0/operating-model-state.schema.json +36 -0
- package/schemas/v2.0.0/operating-objective.schema.json +21 -0
- package/schemas/v2.0.0/operating-origin.schema.json +31 -0
- package/schemas/v2.0.0/operating-outcome-evaluation.schema.json +46 -0
- package/schemas/v2.0.0/operating-outcome.schema.json +13 -0
- package/schemas/v2.0.0/operating-planning-proposal.schema.json +45 -0
- package/schemas/v2.0.0/operating-policy-evaluation.schema.json +28 -0
- package/schemas/v2.0.0/operating-review-read.schema.json +217 -0
- package/schemas/v2.0.0/operating-review-receipt.schema.json +64 -0
- package/schemas/v2.0.0/operating-review.schema.json +47 -0
- package/schemas/v2.0.0/operating-risk.schema.json +96 -0
- package/schemas/v2.0.0/operating-rollback-plan.schema.json +10 -0
- package/schemas/v2.0.0/operating-rollback-result.schema.json +20 -0
- package/schemas/v2.0.0/operating-runtime-state.schema.json +289 -0
- package/schemas/v2.0.0/operating-scenario.schema.json +13 -0
- package/schemas/v2.0.0/operating-snapshot.schema.json +38 -0
- package/schemas/v2.0.0/operating-submission.schema.json +34 -0
- package/schemas/v2.0.0/operating-trace-matrix.schema.json +176 -0
- package/schemas/v2.0.0/operating-work-change-set.schema.json +89 -0
- package/schemas/v2.0.0/operating-work-ledger.schema.json +40 -0
- package/schemas/v2.0.0/software-operating-snapshot-projection.schema.json +14 -0
- package/src/browser-contracts.d.mts +5 -0
- package/src/browser-contracts.mjs +40 -0
- package/src/canonical-json.d.mts +5 -0
- package/src/canonical-json.mjs +142 -0
- package/src/compat/live-evidence-v2.mjs +1019 -0
- package/src/compat/operate-experience-live-patch.mjs +66 -0
- package/src/compat/operating-planning-contracts.mjs +114 -0
- package/src/contracts.d.mts +42 -0
- package/src/contracts.mjs +990 -0
- package/src/design-contracts.d.mts +62 -0
- package/src/design-contracts.mjs +186 -0
- package/src/design-publication-contracts.d.mts +4 -0
- package/src/design-publication-contracts.mjs +85 -0
- package/src/diagram-contracts.d.mts +19 -0
- package/src/diagram-contracts.mjs +28 -0
- package/src/enterprise-contracts.d.mts +107 -0
- package/src/enterprise-contracts.mjs +463 -0
- package/src/errors.d.mts +11 -0
- package/src/errors.mjs +109 -0
- package/src/generated/canonical-registries.mjs +5554 -0
- package/src/generated/contract-catalog-v2.mjs +7076 -0
- package/src/generated/diagram-registries.mjs +2529 -0
- package/src/index.d.mts +10 -0
- package/src/index.mjs +40 -0
- package/src/json-schema.d.mts +7 -0
- package/src/json-schema.mjs +283 -0
- package/src/planning-contracts.d.mts +10 -0
- package/src/planning-contracts.mjs +53 -0
- package/src/registries.d.mts +40 -0
- package/src/registries.mjs +261 -0
- package/src/review-experience-contracts.d.mts +11 -0
- package/src/review-experience-contracts.mjs +103 -0
- package/src/semver.d.mts +2 -0
- package/src/semver.mjs +7 -0
- package/src/skill-source-contracts.d.mts +25 -0
- package/src/skill-source-contracts.mjs +105 -0
- package/src/task-contracts.d.mts +7 -0
- package/src/task-contracts.mjs +130 -0
- package/src/workspace-contracts.d.mts +26 -0
- package/src/workspace-contracts.mjs +83 -0
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://openplanr.dev/schemas/v1.5.0/skill-catalog.schema.json",
|
|
4
|
+
"x-openplanr-contract": {
|
|
5
|
+
"id": "skill-catalog",
|
|
6
|
+
"version": "1.5.0"
|
|
7
|
+
},
|
|
8
|
+
"type": "object",
|
|
9
|
+
"additionalProperties": false,
|
|
10
|
+
"required": [
|
|
11
|
+
"kind",
|
|
12
|
+
"schemaVersion",
|
|
13
|
+
"protocolVersion",
|
|
14
|
+
"documentVersion",
|
|
15
|
+
"digestAlgorithm",
|
|
16
|
+
"canonicalization",
|
|
17
|
+
"documentDigest",
|
|
18
|
+
"matchingPolicyVersion",
|
|
19
|
+
"skills",
|
|
20
|
+
"compatibilityAliases"
|
|
21
|
+
],
|
|
22
|
+
"properties": {
|
|
23
|
+
"kind": {
|
|
24
|
+
"const": "skill-catalog"
|
|
25
|
+
},
|
|
26
|
+
"schemaVersion": {
|
|
27
|
+
"const": "1.0.0"
|
|
28
|
+
},
|
|
29
|
+
"protocolVersion": {
|
|
30
|
+
"const": "1.5.0"
|
|
31
|
+
},
|
|
32
|
+
"documentVersion": {
|
|
33
|
+
"$ref": "common.schema.json#/$defs/semver"
|
|
34
|
+
},
|
|
35
|
+
"digestAlgorithm": {
|
|
36
|
+
"const": "sha256"
|
|
37
|
+
},
|
|
38
|
+
"canonicalization": {
|
|
39
|
+
"const": "rfc8785"
|
|
40
|
+
},
|
|
41
|
+
"documentDigest": {
|
|
42
|
+
"$ref": "common.schema.json#/$defs/digest"
|
|
43
|
+
},
|
|
44
|
+
"matchingPolicyVersion": {
|
|
45
|
+
"$ref": "common.schema.json#/$defs/semver"
|
|
46
|
+
},
|
|
47
|
+
"skills": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"items": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"additionalProperties": false,
|
|
52
|
+
"required": [
|
|
53
|
+
"skillId",
|
|
54
|
+
"skillVersion",
|
|
55
|
+
"description",
|
|
56
|
+
"lifecycle",
|
|
57
|
+
"authorityClass",
|
|
58
|
+
"source",
|
|
59
|
+
"sourceDigest",
|
|
60
|
+
"triggerPolicy",
|
|
61
|
+
"contracts",
|
|
62
|
+
"cliRequirements",
|
|
63
|
+
"ruleIds",
|
|
64
|
+
"contributionManifestRefs",
|
|
65
|
+
"hosts",
|
|
66
|
+
"testRefs",
|
|
67
|
+
"certificationRefs"
|
|
68
|
+
],
|
|
69
|
+
"properties": {
|
|
70
|
+
"skillId": {
|
|
71
|
+
"$ref": "common.schema.json#/$defs/skillId"
|
|
72
|
+
},
|
|
73
|
+
"skillVersion": {
|
|
74
|
+
"$ref": "common.schema.json#/$defs/semver"
|
|
75
|
+
},
|
|
76
|
+
"description": {
|
|
77
|
+
"$ref": "common.schema.json#/$defs/nonBlankText"
|
|
78
|
+
},
|
|
79
|
+
"lifecycle": {
|
|
80
|
+
"enum": [
|
|
81
|
+
"active",
|
|
82
|
+
"deprecated",
|
|
83
|
+
"retired"
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
"authorityClass": {
|
|
87
|
+
"$ref": "common.schema.json#/$defs/identifier"
|
|
88
|
+
},
|
|
89
|
+
"source": {
|
|
90
|
+
"$ref": "common.schema.json#/$defs/relativePath"
|
|
91
|
+
},
|
|
92
|
+
"sourceDigest": {
|
|
93
|
+
"$ref": "common.schema.json#/$defs/digest"
|
|
94
|
+
},
|
|
95
|
+
"triggerPolicy": {
|
|
96
|
+
"type": "object",
|
|
97
|
+
"additionalProperties": false,
|
|
98
|
+
"required": [
|
|
99
|
+
"include",
|
|
100
|
+
"exclude",
|
|
101
|
+
"deferTo"
|
|
102
|
+
],
|
|
103
|
+
"properties": {
|
|
104
|
+
"include": {
|
|
105
|
+
"type": "array",
|
|
106
|
+
"items": {
|
|
107
|
+
"$ref": "common.schema.json#/$defs/nonBlankText"
|
|
108
|
+
},
|
|
109
|
+
"minItems": 1,
|
|
110
|
+
"maxItems": 64,
|
|
111
|
+
"uniqueItems": true
|
|
112
|
+
},
|
|
113
|
+
"exclude": {
|
|
114
|
+
"type": "array",
|
|
115
|
+
"items": {
|
|
116
|
+
"$ref": "common.schema.json#/$defs/nonBlankText"
|
|
117
|
+
},
|
|
118
|
+
"minItems": 1,
|
|
119
|
+
"maxItems": 64,
|
|
120
|
+
"uniqueItems": true
|
|
121
|
+
},
|
|
122
|
+
"deferTo": {
|
|
123
|
+
"type": "array",
|
|
124
|
+
"items": {
|
|
125
|
+
"$ref": "common.schema.json#/$defs/skillId"
|
|
126
|
+
},
|
|
127
|
+
"minItems": 0,
|
|
128
|
+
"maxItems": 32,
|
|
129
|
+
"uniqueItems": true
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"contracts": {
|
|
134
|
+
"type": "object",
|
|
135
|
+
"additionalProperties": false,
|
|
136
|
+
"required": [
|
|
137
|
+
"inputs",
|
|
138
|
+
"outputs"
|
|
139
|
+
],
|
|
140
|
+
"properties": {
|
|
141
|
+
"inputs": {
|
|
142
|
+
"type": "array",
|
|
143
|
+
"items": {
|
|
144
|
+
"$ref": "common.schema.json#/$defs/contractRef"
|
|
145
|
+
},
|
|
146
|
+
"minItems": 0,
|
|
147
|
+
"maxItems": 32
|
|
148
|
+
},
|
|
149
|
+
"outputs": {
|
|
150
|
+
"type": "array",
|
|
151
|
+
"items": {
|
|
152
|
+
"$ref": "common.schema.json#/$defs/contractRef"
|
|
153
|
+
},
|
|
154
|
+
"minItems": 1,
|
|
155
|
+
"maxItems": 32
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"cliRequirements": {
|
|
160
|
+
"type": "array",
|
|
161
|
+
"items": {
|
|
162
|
+
"type": "object",
|
|
163
|
+
"additionalProperties": false,
|
|
164
|
+
"required": [
|
|
165
|
+
"commandId",
|
|
166
|
+
"argv",
|
|
167
|
+
"requiredOptions"
|
|
168
|
+
],
|
|
169
|
+
"properties": {
|
|
170
|
+
"commandId": {
|
|
171
|
+
"$ref": "common.schema.json#/$defs/identifier"
|
|
172
|
+
},
|
|
173
|
+
"argv": {
|
|
174
|
+
"type": "array",
|
|
175
|
+
"items": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"minLength": 1
|
|
178
|
+
},
|
|
179
|
+
"minItems": 1,
|
|
180
|
+
"maxItems": 16
|
|
181
|
+
},
|
|
182
|
+
"requiredOptions": {
|
|
183
|
+
"type": "array",
|
|
184
|
+
"items": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"pattern": "^--[a-z0-9-]+$"
|
|
187
|
+
},
|
|
188
|
+
"minItems": 0,
|
|
189
|
+
"maxItems": 32,
|
|
190
|
+
"uniqueItems": true
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"minItems": 0,
|
|
195
|
+
"maxItems": 64
|
|
196
|
+
},
|
|
197
|
+
"ruleIds": {
|
|
198
|
+
"type": "array",
|
|
199
|
+
"items": {
|
|
200
|
+
"$ref": "common.schema.json#/$defs/ruleId"
|
|
201
|
+
},
|
|
202
|
+
"minItems": 1,
|
|
203
|
+
"maxItems": 10,
|
|
204
|
+
"uniqueItems": true
|
|
205
|
+
},
|
|
206
|
+
"contributionManifestRefs": {
|
|
207
|
+
"type": "array",
|
|
208
|
+
"items": {
|
|
209
|
+
"$ref": "common.schema.json#/$defs/relativePath"
|
|
210
|
+
},
|
|
211
|
+
"minItems": 1,
|
|
212
|
+
"maxItems": 64,
|
|
213
|
+
"uniqueItems": true
|
|
214
|
+
},
|
|
215
|
+
"hosts": {
|
|
216
|
+
"type": "array",
|
|
217
|
+
"items": {
|
|
218
|
+
"type": "object",
|
|
219
|
+
"additionalProperties": false,
|
|
220
|
+
"required": [
|
|
221
|
+
"host",
|
|
222
|
+
"entrypoint",
|
|
223
|
+
"path"
|
|
224
|
+
],
|
|
225
|
+
"properties": {
|
|
226
|
+
"host": {
|
|
227
|
+
"enum": [
|
|
228
|
+
"claude-code",
|
|
229
|
+
"codex",
|
|
230
|
+
"cursor"
|
|
231
|
+
]
|
|
232
|
+
},
|
|
233
|
+
"entrypoint": {
|
|
234
|
+
"$ref": "common.schema.json#/$defs/nonBlankText"
|
|
235
|
+
},
|
|
236
|
+
"path": {
|
|
237
|
+
"$ref": "common.schema.json#/$defs/relativePath"
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"minItems": 1,
|
|
242
|
+
"maxItems": 8
|
|
243
|
+
},
|
|
244
|
+
"testRefs": {
|
|
245
|
+
"type": "array",
|
|
246
|
+
"items": {
|
|
247
|
+
"$ref": "common.schema.json#/$defs/relativePath"
|
|
248
|
+
},
|
|
249
|
+
"minItems": 1,
|
|
250
|
+
"maxItems": 64,
|
|
251
|
+
"uniqueItems": true
|
|
252
|
+
},
|
|
253
|
+
"certificationRefs": {
|
|
254
|
+
"type": "array",
|
|
255
|
+
"items": {
|
|
256
|
+
"$ref": "common.schema.json#/$defs/relativePath"
|
|
257
|
+
},
|
|
258
|
+
"minItems": 1,
|
|
259
|
+
"maxItems": 64,
|
|
260
|
+
"uniqueItems": true
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"minItems": 1,
|
|
265
|
+
"maxItems": 256
|
|
266
|
+
},
|
|
267
|
+
"compatibilityAliases": {
|
|
268
|
+
"type": "array",
|
|
269
|
+
"items": {
|
|
270
|
+
"type": "object",
|
|
271
|
+
"additionalProperties": false,
|
|
272
|
+
"required": [
|
|
273
|
+
"aliasId",
|
|
274
|
+
"canonicalSkillId",
|
|
275
|
+
"lifecycle",
|
|
276
|
+
"generatedPaths"
|
|
277
|
+
],
|
|
278
|
+
"properties": {
|
|
279
|
+
"aliasId": {
|
|
280
|
+
"$ref": "common.schema.json#/$defs/identifier"
|
|
281
|
+
},
|
|
282
|
+
"canonicalSkillId": {
|
|
283
|
+
"$ref": "common.schema.json#/$defs/skillId"
|
|
284
|
+
},
|
|
285
|
+
"lifecycle": {
|
|
286
|
+
"const": "deprecated"
|
|
287
|
+
},
|
|
288
|
+
"generatedPaths": {
|
|
289
|
+
"type": "array",
|
|
290
|
+
"items": {
|
|
291
|
+
"$ref": "common.schema.json#/$defs/relativePath"
|
|
292
|
+
},
|
|
293
|
+
"minItems": 1,
|
|
294
|
+
"maxItems": 16,
|
|
295
|
+
"uniqueItems": true
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"minItems": 0,
|
|
300
|
+
"maxItems": 64
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://openplanr.dev/schemas/v1.5.0/task-kind-registry.schema.json",
|
|
4
|
+
"x-openplanr-contract": {
|
|
5
|
+
"id": "task-kind-registry",
|
|
6
|
+
"version": "1.5.0"
|
|
7
|
+
},
|
|
8
|
+
"type": "object",
|
|
9
|
+
"additionalProperties": false,
|
|
10
|
+
"required": [
|
|
11
|
+
"kind",
|
|
12
|
+
"schemaVersion",
|
|
13
|
+
"protocolVersion",
|
|
14
|
+
"documentVersion",
|
|
15
|
+
"digestAlgorithm",
|
|
16
|
+
"canonicalization",
|
|
17
|
+
"documentDigest",
|
|
18
|
+
"roleRegistryDigest",
|
|
19
|
+
"bindings",
|
|
20
|
+
"legacyMappings"
|
|
21
|
+
],
|
|
22
|
+
"properties": {
|
|
23
|
+
"kind": {
|
|
24
|
+
"const": "task-kind-registry"
|
|
25
|
+
},
|
|
26
|
+
"schemaVersion": {
|
|
27
|
+
"const": "1.0.0"
|
|
28
|
+
},
|
|
29
|
+
"protocolVersion": {
|
|
30
|
+
"const": "1.5.0"
|
|
31
|
+
},
|
|
32
|
+
"documentVersion": {
|
|
33
|
+
"$ref": "common.schema.json#/$defs/semver"
|
|
34
|
+
},
|
|
35
|
+
"digestAlgorithm": {
|
|
36
|
+
"const": "sha256"
|
|
37
|
+
},
|
|
38
|
+
"canonicalization": {
|
|
39
|
+
"const": "rfc8785"
|
|
40
|
+
},
|
|
41
|
+
"documentDigest": {
|
|
42
|
+
"$ref": "common.schema.json#/$defs/digest"
|
|
43
|
+
},
|
|
44
|
+
"roleRegistryDigest": {
|
|
45
|
+
"$ref": "common.schema.json#/$defs/digest"
|
|
46
|
+
},
|
|
47
|
+
"bindings": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"items": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"additionalProperties": false,
|
|
52
|
+
"required": [
|
|
53
|
+
"taskKind",
|
|
54
|
+
"roleId",
|
|
55
|
+
"assignmentLevel",
|
|
56
|
+
"countsTowardR2",
|
|
57
|
+
"implementationAuthority",
|
|
58
|
+
"description",
|
|
59
|
+
"inputContracts",
|
|
60
|
+
"outputContracts",
|
|
61
|
+
"requiredRuleIds"
|
|
62
|
+
],
|
|
63
|
+
"properties": {
|
|
64
|
+
"taskKind": {
|
|
65
|
+
"$ref": "common.schema.json#/$defs/identifier"
|
|
66
|
+
},
|
|
67
|
+
"roleId": {
|
|
68
|
+
"$ref": "common.schema.json#/$defs/roleId"
|
|
69
|
+
},
|
|
70
|
+
"assignmentLevel": {
|
|
71
|
+
"enum": [
|
|
72
|
+
"story",
|
|
73
|
+
"preflight",
|
|
74
|
+
"feature",
|
|
75
|
+
"quality"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
"countsTowardR2": {
|
|
79
|
+
"type": "boolean"
|
|
80
|
+
},
|
|
81
|
+
"implementationAuthority": {
|
|
82
|
+
"type": "boolean"
|
|
83
|
+
},
|
|
84
|
+
"description": {
|
|
85
|
+
"$ref": "common.schema.json#/$defs/nonBlankText"
|
|
86
|
+
},
|
|
87
|
+
"inputContracts": {
|
|
88
|
+
"type": "array",
|
|
89
|
+
"items": {
|
|
90
|
+
"$ref": "common.schema.json#/$defs/contractRef"
|
|
91
|
+
},
|
|
92
|
+
"minItems": 0,
|
|
93
|
+
"maxItems": 32
|
|
94
|
+
},
|
|
95
|
+
"outputContracts": {
|
|
96
|
+
"type": "array",
|
|
97
|
+
"items": {
|
|
98
|
+
"$ref": "common.schema.json#/$defs/contractRef"
|
|
99
|
+
},
|
|
100
|
+
"minItems": 1,
|
|
101
|
+
"maxItems": 32
|
|
102
|
+
},
|
|
103
|
+
"requiredRuleIds": {
|
|
104
|
+
"type": "array",
|
|
105
|
+
"items": {
|
|
106
|
+
"$ref": "common.schema.json#/$defs/ruleId"
|
|
107
|
+
},
|
|
108
|
+
"minItems": 1,
|
|
109
|
+
"maxItems": 10,
|
|
110
|
+
"uniqueItems": true
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"minItems": 1,
|
|
115
|
+
"maxItems": 64
|
|
116
|
+
},
|
|
117
|
+
"legacyMappings": {
|
|
118
|
+
"type": "array",
|
|
119
|
+
"items": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"additionalProperties": false,
|
|
122
|
+
"required": [
|
|
123
|
+
"legacyType",
|
|
124
|
+
"legacyAgent",
|
|
125
|
+
"taskKind",
|
|
126
|
+
"evidence",
|
|
127
|
+
"precedence"
|
|
128
|
+
],
|
|
129
|
+
"properties": {
|
|
130
|
+
"legacyType": {
|
|
131
|
+
"enum": [
|
|
132
|
+
"UI",
|
|
133
|
+
"Tech"
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
"legacyAgent": {
|
|
137
|
+
"anyOf": [
|
|
138
|
+
{
|
|
139
|
+
"type": "string",
|
|
140
|
+
"pattern": "^[a-z][a-z0-9-]+-agent$"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"type": "null"
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
"taskKind": {
|
|
148
|
+
"$ref": "common.schema.json#/$defs/identifier"
|
|
149
|
+
},
|
|
150
|
+
"evidence": {
|
|
151
|
+
"enum": [
|
|
152
|
+
"explicit-type-and-agent",
|
|
153
|
+
"explicit-type-default"
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
"precedence": {
|
|
157
|
+
"type": "integer",
|
|
158
|
+
"minimum": 1,
|
|
159
|
+
"maximum": 16
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"minItems": 1,
|
|
164
|
+
"maxItems": 32
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|