PTSIP 0.3.8b3__py3-none-win_amd64.whl
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.
- agent_contracts/__init__.py +5 -0
- agent_contracts/actions/analyze-source-profile.yaml +13 -0
- agent_contracts/actions/apply-adoption.yaml +12 -0
- agent_contracts/actions/apply-profile-transition.yaml +11 -0
- agent_contracts/actions/build-adoption-plan.yaml +10 -0
- agent_contracts/actions/build-transition-plan.yaml +10 -0
- agent_contracts/actions/capture-repository-snapshot.yaml +13 -0
- agent_contracts/actions/collect-conformance-evidence.yaml +13 -0
- agent_contracts/actions/compare-profile-authority.yaml +10 -0
- agent_contracts/actions/emit-conformance-result.yaml +10 -0
- agent_contracts/actions/evaluate-conformance-rules.yaml +10 -0
- agent_contracts/actions/map-profile-target.yaml +10 -0
- agent_contracts/actions/project-authority-winner.yaml +13 -0
- agent_contracts/actions/read-relevant-authority.yaml +13 -0
- agent_contracts/actions/resolve-adoption-facts.yaml +11 -0
- agent_contracts/actions/resolve-profile-schema.yaml +14 -0
- agent_contracts/actions/resolve-reconciliation-state.yaml +10 -0
- agent_contracts/actions/validate-profile-structure.yaml +10 -0
- agent_contracts/actions/validate-responsibility-map-semantics.yaml +10 -0
- agent_contracts/bindings/current.yaml +125 -0
- agent_contracts/candidate.py +383 -0
- agent_contracts/canonicalization/ptsip-canonical-json-v1.json +81 -0
- agent_contracts/conditions/adopt-apply-requested.yaml +10 -0
- agent_contracts/conditions/adopt-authority-fresh.yaml +10 -0
- agent_contracts/conditions/adopt-facts-resolved.yaml +10 -0
- agent_contracts/conditions/adopt-profile-fresh.yaml +10 -0
- agent_contracts/conditions/adopt-repository-fresh.yaml +10 -0
- agent_contracts/conditions/adopt-snapshot-identified.yaml +10 -0
- agent_contracts/conditions/adopt-write-authorized.yaml +10 -0
- agent_contracts/conditions/authority-authority-fresh.yaml +10 -0
- agent_contracts/conditions/authority-coordination-available.yaml +10 -0
- agent_contracts/conditions/authority-profile-fresh.yaml +10 -0
- agent_contracts/conditions/authority-projection-required.yaml +10 -0
- agent_contracts/conditions/authority-semantic-conflict-absent.yaml +10 -0
- agent_contracts/conditions/authority-write-authorized.yaml +10 -0
- agent_contracts/conditions/conform-profile-ready.yaml +10 -0
- agent_contracts/conditions/conform-snapshot-identified.yaml +10 -0
- agent_contracts/conditions/migrate-apply-requested.yaml +10 -0
- agent_contracts/conditions/migrate-source-fresh.yaml +10 -0
- agent_contracts/conditions/migrate-source-profile-identified.yaml +10 -0
- agent_contracts/conditions/migrate-target-contract-resolved.yaml +10 -0
- agent_contracts/conditions/migrate-target-fresh.yaml +10 -0
- agent_contracts/conditions/migrate-write-authorized.yaml +10 -0
- agent_contracts/conditions/validate-contract-resolved.yaml +10 -0
- agent_contracts/conditions/validate-profile-selected.yaml +10 -0
- agent_contracts/conformance/current.json +987 -0
- agent_contracts/contracts/current.json +3978 -0
- agent_contracts/digests/policy-v1.json +7746 -0
- agent_contracts/digests/projection-v1.json +7698 -0
- agent_contracts/gates/adoption-write.yaml +18 -0
- agent_contracts/gates/authority-projection-write.yaml +18 -0
- agent_contracts/gates/profile-transition-write.yaml +15 -0
- agent_contracts/index.json +427 -0
- agent_contracts/index.yaml +113 -0
- agent_contracts/machine_resolver.py +81 -0
- agent_contracts/operations/adopt.yaml +99 -0
- agent_contracts/operations/conform.yaml +57 -0
- agent_contracts/operations/migrate-profile.yaml +85 -0
- agent_contracts/operations/reconcile-authority.yaml +87 -0
- agent_contracts/operations/validate.yaml +53 -0
- agent_contracts/promotion/current.json +50 -0
- agent_contracts/promotion/index.json +13 -0
- agent_contracts/promotion/specification-contract.json +49 -0
- agent_contracts/resolver.py +253 -0
- agent_contracts/schemas/candidate-group.schema.json +107 -0
- agent_contracts/schemas/candidate-index.schema.json +246 -0
- agent_contracts/schemas/candidate-vectors.schema.json +49 -0
- agent_contracts/schemas/contracts/action.schema.json +21 -0
- agent_contracts/schemas/contracts/binding.schema.json +32 -0
- agent_contracts/schemas/contracts/condition.schema.json +25 -0
- agent_contracts/schemas/contracts/index.schema.json +27 -0
- agent_contracts/schemas/contracts/io.schema.json +12 -0
- agent_contracts/schemas/contracts/mutation-gate.schema.json +17 -0
- agent_contracts/schemas/contracts/operation.schema.json +259 -0
- agent_contracts/schemas/contracts/promotion.schema.json +81 -0
- agent_contracts/schemas/contracts/spec.schema.json +13 -0
- agent_contracts/schemas/contracts/vocabulary.schema.json +11 -0
- agent_contracts/schemas/io/adopt-request.schema.json +8 -0
- agent_contracts/schemas/io/adopt-result.schema.json +6 -0
- agent_contracts/schemas/io/adopt-state.schema.json +12 -0
- agent_contracts/schemas/io/authority-request.schema.json +8 -0
- agent_contracts/schemas/io/authority-result.schema.json +6 -0
- agent_contracts/schemas/io/authority-state.schema.json +13 -0
- agent_contracts/schemas/io/conform-request.schema.json +6 -0
- agent_contracts/schemas/io/conform-result.schema.json +6 -0
- agent_contracts/schemas/io/conform-state.schema.json +6 -0
- agent_contracts/schemas/io/migrate-request.schema.json +11 -0
- agent_contracts/schemas/io/migrate-result.schema.json +6 -0
- agent_contracts/schemas/io/migrate-state.schema.json +11 -0
- agent_contracts/schemas/io/validate-request.schema.json +6 -0
- agent_contracts/schemas/io/validate-result.schema.json +6 -0
- agent_contracts/schemas/io/validate-state.schema.json +6 -0
- agent_contracts/spec/adoption-procedure.yaml +148 -0
- agent_contracts/spec/adoption.yaml +33 -0
- agent_contracts/spec/agent-behavior.yaml +148 -0
- agent_contracts/spec/authority.yaml +40 -0
- agent_contracts/spec/classification.yaml +64 -0
- agent_contracts/spec/conformance-detail.yaml +120 -0
- agent_contracts/spec/conformance.yaml +43 -0
- agent_contracts/spec/core.yaml +29 -0
- agent_contracts/spec/governance.yaml +30 -0
- agent_contracts/spec/profile-transition-detail.yaml +78 -0
- agent_contracts/spec/profile-transition.yaml +30 -0
- agent_contracts/spec/repository-boundaries.yaml +148 -0
- agent_contracts/spec/responsibility-map-detail.yaml +92 -0
- agent_contracts/spec/responsibility-map.yaml +36 -0
- agent_contracts/spec/specification-governance.yaml +91 -0
- agent_contracts/validator.py +723 -0
- agent_contracts/vocabulary/authority.yaml +20 -0
- agent_contracts/vocabulary/diagnostics.yaml +23 -0
- agent_contracts/vocabulary/lifecycle.yaml +20 -0
- agent_contracts/vocabulary/outcomes.yaml +26 -0
- agent_contracts/vocabulary/terminology.yaml +428 -0
- ptsip/__init__.py +5 -0
- ptsip/__main__.py +4 -0
- ptsip/adoption.py +225 -0
- ptsip/agent_contracts/__init__.py +12 -0
- ptsip/agent_contracts/bindings/current.yaml +38 -0
- ptsip/agent_contracts/index.yaml +53 -0
- ptsip/agent_contracts/operations/adopt.yaml +49 -0
- ptsip/agent_contracts/operations/conform.yaml +42 -0
- ptsip/agent_contracts/operations/migrate-profile.yaml +45 -0
- ptsip/agent_contracts/operations/reconcile-authority.yaml +40 -0
- ptsip/agent_contracts/operations/validate.yaml +36 -0
- ptsip/agent_contracts/runtime.py +102 -0
- ptsip/agent_contracts/schemas/binding.schema.json +151 -0
- ptsip/agent_contracts/schemas/index.schema.json +51 -0
- ptsip/agent_contracts/schemas/operation.schema.json +122 -0
- ptsip/agent_contracts/schemas/spec.schema.json +96 -0
- ptsip/agent_contracts/schemas/vocabulary.schema.json +50 -0
- ptsip/agent_contracts/spec/adoption.yaml +23 -0
- ptsip/agent_contracts/spec/authority.yaml +32 -0
- ptsip/agent_contracts/spec/classification.yaml +31 -0
- ptsip/agent_contracts/spec/conformance.yaml +27 -0
- ptsip/agent_contracts/spec/core.yaml +21 -0
- ptsip/agent_contracts/spec/governance.yaml +17 -0
- ptsip/agent_contracts/spec/profile-transition.yaml +27 -0
- ptsip/agent_contracts/spec/responsibility-map.yaml +26 -0
- ptsip/agent_contracts/validator.py +195 -0
- ptsip/agent_contracts/vocabulary/authority.yaml +8 -0
- ptsip/agent_contracts/vocabulary/diagnostics.yaml +7 -0
- ptsip/agent_contracts/vocabulary/lifecycle.yaml +9 -0
- ptsip/agent_contracts/vocabulary/outcomes.yaml +8 -0
- ptsip/app/__init__.py +5 -0
- ptsip/app/client.py +53 -0
- ptsip/app/github_authority.py +659 -0
- ptsip/app/github_client.py +200 -0
- ptsip/app/github_reconciliation.py +405 -0
- ptsip/app/local_client.py +129 -0
- ptsip/app/server.py +130 -0
- ptsip/app/service.py +345 -0
- ptsip/app/store.py +283 -0
- ptsip/artifact_evidence.py +150 -0
- ptsip/build_resolution.py +315 -0
- ptsip/clarification/__init__.py +6 -0
- ptsip/clarification/generator.py +345 -0
- ptsip/clarification/generator_core.py +87 -0
- ptsip/clarification/i18n.py +110 -0
- ptsip/clarification/model.py +32 -0
- ptsip/clarification/render.py +79 -0
- ptsip/clarification/resolution/__init__.py +34 -0
- ptsip/clarification/resolution/model.py +90 -0
- ptsip/clarification/resolution/parser.py +97 -0
- ptsip/clarification/resolution/profile_projection.py +467 -0
- ptsip/clarification/resolution/resolver.py +72 -0
- ptsip/clarification/transports/__init__.py +1 -0
- ptsip/clarification/transports/github_issue.py +162 -0
- ptsip/cli.py +1181 -0
- ptsip/conformance.py +627 -0
- ptsip/conformance_audit.py +143 -0
- ptsip/conformance_engine.py +409 -0
- ptsip/constants.py +9 -0
- ptsip/context_plane.py +687 -0
- ptsip/dependency_analysis.py +232 -0
- ptsip/dependency_cache.py +110 -0
- ptsip/dependency_reconciliation.py +248 -0
- ptsip/dependency_review.py +174 -0
- ptsip/dependency_validation.py +106 -0
- ptsip/doctor.py +33 -0
- ptsip/engine_installation.py +191 -0
- ptsip/engines/context/Cargo.lock +792 -0
- ptsip/engines/context/Cargo.toml +16 -0
- ptsip/engines/context/contract.json +218 -0
- ptsip/engines/context/contracts/1.0.0.json +86 -0
- ptsip/engines/context/execution-bindings.json +19 -0
- ptsip/engines/context/manifest.json +22 -0
- ptsip/engines/context/runtime-contracts.json +34 -0
- ptsip/engines/context/src/loading.rs +15 -0
- ptsip/engines/context/src/main.rs +126 -0
- ptsip/engines/context/src/source.rs +185 -0
- ptsip/engines/context/transport.json +113 -0
- ptsip/engines/context/version.yaml +3 -0
- ptsip/engines/contracts/capability-owner-map.json +94 -0
- ptsip/engines/contracts/context-projection-handoff.json +12 -0
- ptsip/engines/contracts/dependency-graph.json +47 -0
- ptsip/engines/contracts/installation-plan.json +126 -0
- ptsip/engines/contracts/native-runtime.json +21 -0
- ptsip/engines/contracts/schemas/attempt-result.schema.json +87 -0
- ptsip/engines/contracts/schemas/capability-contract.schema.json +100 -0
- ptsip/engines/contracts/schemas/consumer-handoff.schema.json +135 -0
- ptsip/engines/contracts/schemas/contract-relation.schema.json +123 -0
- ptsip/engines/contracts/schemas/core-manifest.schema.json +148 -0
- ptsip/engines/contracts/schemas/dependency-graph.schema.json +130 -0
- ptsip/engines/contracts/schemas/derived-state.schema.json +64 -0
- ptsip/engines/contracts/schemas/effect-evidence.schema.json +58 -0
- ptsip/engines/contracts/schemas/execution-binding.schema.json +73 -0
- ptsip/engines/contracts/schemas/federated-source.schema.json +97 -0
- ptsip/engines/contracts/schemas/impact-result.schema.json +60 -0
- ptsip/engines/contracts/schemas/native-invocation-registry.schema.json +206 -0
- ptsip/engines/contracts/schemas/registry-snapshot.schema.json +163 -0
- ptsip/engines/contracts/schemas/registry-verification-input.schema.json +32 -0
- ptsip/engines/contracts/schemas/runtime-authority-consumption.schema.json +120 -0
- ptsip/engines/contracts/schemas/stop-ack.schema.json +28 -0
- ptsip/engines/contracts/schemas/stop-request.schema.json +25 -0
- ptsip/engines/contracts/schemas/stop-result.schema.json +61 -0
- ptsip/engines/contracts/schemas/storage-mediation.schema.json +73 -0
- ptsip/engines/contracts/schemas/transport-binding.schema.json +49 -0
- ptsip/engines/contracts/stdio-transport.json +113 -0
- ptsip/engines/contracts/vpms-caller-transition-plan.json +224 -0
- ptsip/engines/contracts/vpms-handoff.json +84 -0
- ptsip/engines/contracts/vpms-scope-mapping.json +116 -0
- ptsip/engines/contracts/work-item-bindings.json +292 -0
- ptsip/engines/discovery/Cargo.lock +792 -0
- ptsip/engines/discovery/Cargo.toml +16 -0
- ptsip/engines/discovery/contract.json +611 -0
- ptsip/engines/discovery/contracts/1.0.0.json +172 -0
- ptsip/engines/discovery/contracts/2.0.0.json +481 -0
- ptsip/engines/discovery/execution-bindings.json +19 -0
- ptsip/engines/discovery/manifest.json +22 -0
- ptsip/engines/discovery/runtime-contracts.json +232 -0
- ptsip/engines/discovery/src/invocation.rs +17 -0
- ptsip/engines/discovery/src/main.rs +129 -0
- ptsip/engines/discovery/src/registry.rs +358 -0
- ptsip/engines/discovery/src/source.rs +305 -0
- ptsip/engines/discovery/transport.json +113 -0
- ptsip/engines/discovery/version.yaml +3 -0
- ptsip/engines/execution/Cargo.lock +792 -0
- ptsip/engines/execution/Cargo.toml +16 -0
- ptsip/engines/execution/contract.json +607 -0
- ptsip/engines/execution/contracts/1.0.0.json +356 -0
- ptsip/engines/execution/contracts/2.0.0.json +361 -0
- ptsip/engines/execution/execution-bindings.json +19 -0
- ptsip/engines/execution/manifest.json +22 -0
- ptsip/engines/execution/runtime-contracts.json +428 -0
- ptsip/engines/execution/src/authority.rs +99 -0
- ptsip/engines/execution/src/effect.rs +66 -0
- ptsip/engines/execution/src/invocation.rs +163 -0
- ptsip/engines/execution/src/main.rs +185 -0
- ptsip/engines/execution/src/source.rs +305 -0
- ptsip/engines/execution/transport.json +113 -0
- ptsip/engines/execution/version.yaml +3 -0
- ptsip/engines/index.json +178 -0
- ptsip/engines/planning/Cargo.lock +792 -0
- ptsip/engines/planning/Cargo.toml +16 -0
- ptsip/engines/planning/contract.json +535 -0
- ptsip/engines/planning/contracts/1.0.0.json +95 -0
- ptsip/engines/planning/contracts/2.0.0.json +346 -0
- ptsip/engines/planning/execution-bindings.json +19 -0
- ptsip/engines/planning/manifest.json +22 -0
- ptsip/engines/planning/runtime-contracts.json +282 -0
- ptsip/engines/planning/src/impact.rs +217 -0
- ptsip/engines/planning/src/installation.rs +195 -0
- ptsip/engines/planning/src/main.rs +179 -0
- ptsip/engines/planning/src/preparation.rs +58 -0
- ptsip/engines/planning/src/source.rs +302 -0
- ptsip/engines/planning/transport.json +113 -0
- ptsip/engines/planning/version.yaml +3 -0
- ptsip/engines/projection/Cargo.lock +792 -0
- ptsip/engines/projection/Cargo.toml +16 -0
- ptsip/engines/projection/contract.json +226 -0
- ptsip/engines/projection/contracts/1.0.0.json +92 -0
- ptsip/engines/projection/execution-bindings.json +19 -0
- ptsip/engines/projection/manifest.json +22 -0
- ptsip/engines/projection/runtime-contracts.json +62 -0
- ptsip/engines/projection/src/main.rs +149 -0
- ptsip/engines/projection/src/rendering.rs +70 -0
- ptsip/engines/projection/src/source.rs +185 -0
- ptsip/engines/projection/transport.json +113 -0
- ptsip/engines/projection/version.yaml +3 -0
- ptsip/engines/registries/derived-snapshot.json +135 -0
- ptsip/engines/registries/official-execution.json +34 -0
- ptsip/engines/registries/official-static.json +35 -0
- ptsip/engines/storage/Cargo.lock +792 -0
- ptsip/engines/storage/Cargo.toml +16 -0
- ptsip/engines/storage/contract.json +382 -0
- ptsip/engines/storage/contracts/1.0.0.json +138 -0
- ptsip/engines/storage/contracts/2.0.0.json +116 -0
- ptsip/engines/storage/execution-bindings.json +19 -0
- ptsip/engines/storage/manifest.json +22 -0
- ptsip/engines/storage/provider-registry.json +8 -0
- ptsip/engines/storage/runtime-contracts.json +282 -0
- ptsip/engines/storage/src/main.rs +123 -0
- ptsip/engines/storage/src/native.rs +233 -0
- ptsip/engines/storage/src/provider.rs +145 -0
- ptsip/engines/storage/src/source.rs +198 -0
- ptsip/engines/storage/transport.json +113 -0
- ptsip/engines/storage/version.yaml +3 -0
- ptsip/engines/validation/Cargo.lock +792 -0
- ptsip/engines/validation/Cargo.toml +16 -0
- ptsip/engines/validation/contract.json +1241 -0
- ptsip/engines/validation/contracts/1.0.0.json +356 -0
- ptsip/engines/validation/contracts/2.0.0.json +683 -0
- ptsip/engines/validation/execution-bindings.json +19 -0
- ptsip/engines/validation/manifest.json +22 -0
- ptsip/engines/validation/runtime-contracts.json +216 -0
- ptsip/engines/validation/src/cases.rs +102 -0
- ptsip/engines/validation/src/composition.rs +104 -0
- ptsip/engines/validation/src/handoff.rs +215 -0
- ptsip/engines/validation/src/main.rs +201 -0
- ptsip/engines/validation/src/source.rs +185 -0
- ptsip/engines/validation/transport.json +113 -0
- ptsip/engines/validation/version.yaml +3 -0
- ptsip/evidence/__init__.py +33 -0
- ptsip/evidence/adapters.py +486 -0
- ptsip/evidence/contract.py +230 -0
- ptsip/evidence/normalization.py +173 -0
- ptsip/governance/__init__.py +45 -0
- ptsip/governance/authority.py +714 -0
- ptsip/governance/authorization.py +55 -0
- ptsip/governance/model.py +232 -0
- ptsip/governance/subject_matching.py +78 -0
- ptsip/governance/support_assets.py +91 -0
- ptsip/inspection/__init__.py +1 -0
- ptsip/inspection/candidate_evidence.py +537 -0
- ptsip/inspection/components.py +74 -0
- ptsip/inspection/dependencies.py +502 -0
- ptsip/inspection/dependencies_030.py +69 -0
- ptsip/inspection/dotnet.py +188 -0
- ptsip/inspection/go.py +157 -0
- ptsip/inspection/inventory.py +161 -0
- ptsip/inspection/javascript.py +376 -0
- ptsip/inspection/lexing.py +121 -0
- ptsip/inspection/python_resolution.py +164 -0
- ptsip/inspection/source_adapters.py +60 -0
- ptsip/lifecycle_evidence.py +310 -0
- ptsip/migration/__init__.py +156 -0
- ptsip/migration/analysis/__init__.py +20 -0
- ptsip/migration/analysis/analyzer.py +160 -0
- ptsip/migration/analysis/direct/__init__.py +5 -0
- ptsip/migration/analysis/direct/convergence.py +133 -0
- ptsip/migration/analysis/direct/result.py +91 -0
- ptsip/migration/analysis/direct/source_projection.py +42 -0
- ptsip/migration/analysis/direct/target_projection.py +71 -0
- ptsip/migration/analysis/findings/__init__.py +0 -0
- ptsip/migration/analysis/findings/architecture.py +29 -0
- ptsip/migration/analysis/findings/lifecycle.py +28 -0
- ptsip/migration/analysis/findings/work_requirements.py +103 -0
- ptsip/migration/analysis/issue.py +12 -0
- ptsip/migration/analysis/result.py +69 -0
- ptsip/migration/analysis/source/__init__.py +0 -0
- ptsip/migration/analysis/source/binding_validation.py +43 -0
- ptsip/migration/analysis/source/evidence_correlation.py +40 -0
- ptsip/migration/analysis/source/projection.py +252 -0
- ptsip/migration/analysis/source/repository_resolution.py +96 -0
- ptsip/migration/analysis/target/__init__.py +0 -0
- ptsip/migration/analysis/target/compatibility.py +142 -0
- ptsip/migration/analysis/target/relationship_findings.py +20 -0
- ptsip/migration/analysis/target/semantics.py +159 -0
- ptsip/migration/execution/__init__.py +5 -0
- ptsip/migration/execution/authorization/__init__.py +4 -0
- ptsip/migration/execution/authorization/binding.py +160 -0
- ptsip/migration/execution/authorization/preconditions.py +71 -0
- ptsip/migration/execution/authorization/proof.py +80 -0
- ptsip/migration/execution/direct/__init__.py +9 -0
- ptsip/migration/execution/direct/identity_plan.py +133 -0
- ptsip/migration/execution/direct/identity_rewrite.py +322 -0
- ptsip/migration/execution/direct/promotion.py +180 -0
- ptsip/migration/execution/direct/verification.py +118 -0
- ptsip/migration/execution/error.py +2 -0
- ptsip/migration/execution/guard/__init__.py +3 -0
- ptsip/migration/execution/guard/mutation.py +104 -0
- ptsip/migration/execution/guard/repository_snapshot.py +47 -0
- ptsip/migration/execution/ledger/__init__.py +3 -0
- ptsip/migration/execution/ledger/record.py +149 -0
- ptsip/migration/execution/ledger/store.py +113 -0
- ptsip/migration/execution/mutation/__init__.py +5 -0
- ptsip/migration/execution/mutation/asynchronous.py +41 -0
- ptsip/migration/execution/mutation/delta.py +243 -0
- ptsip/migration/execution/mutation/finalization.py +90 -0
- ptsip/migration/execution/mutation/source.py +57 -0
- ptsip/migration/execution/promotion/__init__.py +4 -0
- ptsip/migration/execution/promotion/mutation.py +55 -0
- ptsip/migration/execution/promotion/preparation.py +79 -0
- ptsip/migration/execution/promotion/verification.py +87 -0
- ptsip/migration/execution/recovery.py +93 -0
- ptsip/migration/execution/state/__init__.py +3 -0
- ptsip/migration/execution/state/phase.py +17 -0
- ptsip/migration/execution/state/promotion.py +25 -0
- ptsip/migration/execution/state/recovery.py +31 -0
- ptsip/migration/execution/state/source_steps.py +78 -0
- ptsip/migration/planning/__init__.py +12 -0
- ptsip/migration/planning/convergence/__init__.py +0 -0
- ptsip/migration/planning/convergence/builder.py +324 -0
- ptsip/migration/planning/convergence/final_state.py +132 -0
- ptsip/migration/planning/convergence/reconciliation.py +175 -0
- ptsip/migration/planning/direct/__init__.py +3 -0
- ptsip/migration/planning/direct/builder.py +346 -0
- ptsip/migration/planning/direct/reference.py +26 -0
- ptsip/migration/planning/proposal_derivation.py +137 -0
- ptsip/migration/planning/result.py +106 -0
- ptsip/migration/proposal/__init__.py +9 -0
- ptsip/migration/proposal/bundle.py +207 -0
- ptsip/migration/proposal/semantic_identity.py +40 -0
- ptsip/migration/proposal/source_set.py +50 -0
- ptsip/migration/proposal/target_delta.py +88 -0
- ptsip/model.py +165 -0
- ptsip/package-composition.json +266 -0
- ptsip/package-distribution.json +16 -0
- ptsip/pilot/__init__.py +1 -0
- ptsip/pilot/runner.py +170 -0
- ptsip/profiles/__init__.py +1 -0
- ptsip/profiles/catalog.py +157 -0
- ptsip/profiles/compatibility.py +184 -0
- ptsip/profiles/contracts.py +100 -0
- ptsip/profiles/example.ptsip.yaml +149 -0
- ptsip/profiles/hybrid-python-package.ptsip.yaml +40 -0
- ptsip/profiles/identity.py +314 -0
- ptsip/profiles/index.yaml +22 -0
- ptsip/profiles/metadata.py +61 -0
- ptsip/profiles/template-python-package.ptsip.yaml +18 -0
- ptsip/proposed_component.py +128 -0
- ptsip/remediation/__init__.py +77 -0
- ptsip/remediation/domain/__init__.py +39 -0
- ptsip/remediation/domain/model.py +417 -0
- ptsip/remediation/escalation/__init__.py +37 -0
- ptsip/remediation/escalation/contract.py +388 -0
- ptsip/remediation/escalation/engine.py +212 -0
- ptsip/remediation/rules/__init__.py +23 -0
- ptsip/remediation/rules/contract.py +276 -0
- ptsip/repository/__init__.py +1 -0
- ptsip/repository/discover.py +68 -0
- ptsip/repository/namespace.py +86 -0
- ptsip/repository/profile_convergence.py +409 -0
- ptsip/repository/profile_path.py +97 -0
- ptsip/repository/profile_transition.py +377 -0
- ptsip/repository/remote.py +54 -0
- ptsip/repository/schemas/engine-state.schema.json +1 -0
- ptsip/repository/schemas/repository-index.schema.json +104 -0
- ptsip/repository/snapshot.py +173 -0
- ptsip/review_evidence.py +406 -0
- ptsip/source_compat/__init__.py +56 -0
- ptsip/source_compat/integrity.py +131 -0
- ptsip/source_compat/model.py +260 -0
- ptsip/source_compat/reader.py +336 -0
- ptsip/spec_identity.py +24 -0
- ptsip/specdata/project-profile-contracts.yaml +36 -0
- ptsip/specdata/ptsip-agent-classification.schema.json +57 -0
- ptsip/specdata/ptsip-artifact-evidence.schema.json +68 -0
- ptsip/specdata/ptsip-diagnostic.schema.json +58 -0
- ptsip/specdata/ptsip-normalized-evidence.schema.json +126 -0
- ptsip/specdata/ptsip-profile-pp-1.01.schema.json +309 -0
- ptsip/specdata/ptsip-profile-pp-1.02.schema.json +604 -0
- ptsip/specdata/ptsip-profile.schema.json +296 -0
- ptsip/specdata/ptsip-registry.yaml +333 -0
- ptsip/specdata/ptsip-source-profile-0.3.4.schema.json +55 -0
- ptsip/specdata/ptsip-source-profile-0.3.6.schema.json +35 -0
- ptsip/specification_binding.py +246 -0
- ptsip/storage/__init__.py +1 -0
- ptsip/storage/local_state.py +40 -0
- ptsip/support/policy/ARCH/SFP-ARCH-0001.yaml +131 -0
- ptsip/support/policy/ARCH/SFP-ARCH-0002.yaml +46 -0
- ptsip/support/policy/ARCH/SFP-ARCH-0003.yaml +39 -0
- ptsip/support/policy/ARCH/SFP-ARCH-0004.yaml +1215 -0
- ptsip/support/policy/ARCH/SFP-ARCH-0005.yaml +76 -0
- ptsip/support/policy/ASSURE/SFP-ASSURE-0001.yaml +45 -0
- ptsip/support/policy/ASSURE/SFP-ASSURE-0002.yaml +45 -0
- ptsip/support/policy/ASSURE/SFP-ASSURE-0003.yaml +46 -0
- ptsip/support/policy/ASSURE/SFP-ASSURE-0004.yaml +148 -0
- ptsip/support/policy/ASSURE/SFP-ASSURE-0005.yaml +115 -0
- ptsip/support/policy/CHANGE/SFP-CHANGE-0001.yaml +256 -0
- ptsip/support/policy/CNTR/SFP-CNTR-0001.yaml +242 -0
- ptsip/support/policy/CNTR/SFP-CNTR-0002.yaml +44 -0
- ptsip/support/policy/CNTR/SFP-CNTR-0003.yaml +54 -0
- ptsip/support/policy/CNTR/SFP-CNTR-0004.yaml +47 -0
- ptsip/support/policy/CNTR/SFP-CNTR-0005.yaml +1772 -0
- ptsip/support/policy/CNTR/SFP-CNTR-0006.yaml +131 -0
- ptsip/support/policy/CNTR/SFP-CNTR-0007.yaml +146 -0
- ptsip/support/policy/CNTR/SFP-CNTR-0008.yaml +57 -0
- ptsip/support/policy/CTRL/SFP-CTRL-0001.yaml +95 -0
- ptsip/support/policy/CTRL/SFP-CTRL-0002.yaml +415 -0
- ptsip/support/policy/CTRL/SFP-CTRL-0003.yaml +715 -0
- ptsip/support/policy/GOV/SFP-GOV-0001.yaml +55 -0
- ptsip/support/policy/GOV/SFP-GOV-0002.yaml +93 -0
- ptsip/support/policy/INFO/SFP-INFO-0001.yaml +271 -0
- ptsip/support/policy/INFO/SFP-INFO-0002.yaml +42 -0
- ptsip/support/policy/INFO/SFP-INFO-0003.yaml +41 -0
- ptsip/support/policy/INFO/SFP-INFO-0004.yaml +133 -0
- ptsip/support/policy/INFO/SFP-INFO-0005.yaml +135 -0
- ptsip/support/policy/INFO/SFP-INFO-0006.yaml +67 -0
- ptsip/support/policy/INFO/SFP-INFO-0007.yaml +256 -0
- ptsip/support/policy/INFO/SFP-INFO-0008.yaml +99 -0
- ptsip/support/policy/INFO/SFP-INFO-0009.yaml +56 -0
- ptsip/support/policy/INTENT/SFP-INTENT-0001.yaml +39 -0
- ptsip/support/policy/NORM/SFP-NORM-0001.yaml +45 -0
- ptsip/support/policy/NORM/SFP-NORM-0002.yaml +38 -0
- ptsip/support/policy/OPS/SFP-OPS-0001.yaml +40 -0
- ptsip/support/policy/OPS/SFP-OPS-0002.yaml +270 -0
- ptsip/support/policy/REAL/SFP-REAL-0001.yaml +47 -0
- ptsip/support/policy/RECORD/SFP-RECORD-0001.yaml +39 -0
- ptsip/support/policy/RECORD/SFP-RECORD-0002.yaml +40 -0
- ptsip/support/policy/RECORD/SFP-RECORD-0003.yaml +403 -0
- ptsip/support/policy/RECORD/SFP-RECORD-0004.yaml +186 -0
- ptsip/support/policy/RISK/SFP-RISK-0001.yaml +34 -0
- ptsip/support/policy/SUPPLY/SFP-SUPPLY-0001.yaml +43 -0
- ptsip/support/policy/index.yaml +183 -0
- ptsip/support/policy/legacy/SFP-0001.yaml +28 -0
- ptsip/support/policy/legacy/SFP-0002.yaml +28 -0
- ptsip/support/policy/legacy/SFP-0003.yaml +27 -0
- ptsip/support/policy/legacy/SFP-0004.yaml +53 -0
- ptsip/support/policy/legacy/SFP-0005.yaml +32 -0
- ptsip/support/policy/legacy/SFP-0006.yaml +43 -0
- ptsip/support/policy/legacy/SFP-0007.yaml +52 -0
- ptsip/support/policy/legacy/SFP-0008.yaml +66 -0
- ptsip/support/policy/legacy/SFP-0009.yaml +54 -0
- ptsip/support/policy/legacy/SFP-0010.yaml +40 -0
- ptsip/support/policy/legacy/SFP-0011.yaml +42 -0
- ptsip/support/policy/legacy/SFP-0012.yaml +38 -0
- ptsip/support/policy/legacy/SFP-0013.yaml +38 -0
- ptsip/support/policy/legacy/SFP-0014.yaml +46 -0
- ptsip/support/policy/legacy/SFP-0015.yaml +52 -0
- ptsip/support/policy/legacy/SFP-0016.yaml +52 -0
- ptsip/support/policy/legacy/SFP-0017.yaml +23 -0
- ptsip/support/policy/legacy/SFP-0018.yaml +41 -0
- ptsip/support/policy/legacy/SFP-0019.yaml +40 -0
- ptsip/support/policy/legacy/SFP-0020.yaml +34 -0
- ptsip/support/policy/legacy/SFP-0021.yaml +44 -0
- ptsip/support/policy/legacy/SFP-0022.yaml +53 -0
- ptsip/support/policy/legacy/SFP-0023.yaml +20 -0
- ptsip/support/policy/legacy/SFP-0024.yaml +118 -0
- ptsip/support/registries/ptsip-support-authority-role-registry.yaml +319 -0
- ptsip/support/registries/ptsip-support-authority-schema-registry.yaml +239 -0
- ptsip/support/registries/ptsip-support-authority-subject-registry.yaml +68 -0
- ptsip/support/registries/ptsip-support-authorization-registry.yaml +14 -0
- ptsip/support/registries/root-family-migration.json +3097 -0
- ptsip/support/registries/root-family-projection-module-admission.json +23 -0
- ptsip/support/registries/root-family-projection.module.json +201 -0
- ptsip/support/schemas/ptsip-support-authority-eligibility-result.schema.json +114 -0
- ptsip/support/schemas/ptsip-support-authority-role.schema.json +126 -0
- ptsip/support/schemas/ptsip-support-authority-semantics.schema.json +378 -0
- ptsip/support/schemas/ptsip-support-feature-policy-index.schema.json +57 -0
- ptsip/support/schemas/ptsip-support-feature-policy.schema.json +186 -0
- ptsip/support/schemas/ptsip-support-governance-registry.schema.json +28 -0
- ptsip/support/schemas/ptsip-support-project-authority-record.schema.json +136 -0
- ptsip/support/schemas/ptsip-support-root-family-policy.schema.json +206 -0
- ptsip/support/schemas/ptsip-support-subject-binding.schema.json +60 -0
- ptsip/support/schemas/root-family-migration.schema.json +240 -0
- ptsip/support/schemas/root-family-projection-module.schema.json +276 -0
- ptsip/topology.py +747 -0
- ptsip/validation/__init__.py +1 -0
- ptsip/validation/components.py +357 -0
- ptsip/validation/handoff.py +75 -0
- ptsip/validation/profile.py +514 -0
- ptsip/validation/rules.py +186 -0
- ptsip/validation/specification.py +60 -0
- ptsip/validation/templates.py +767 -0
- ptsip/validation_capture.py +168 -0
- ptsip-0.3.8b3.data/scripts/ptsip-engine-context.exe +0 -0
- ptsip-0.3.8b3.data/scripts/ptsip-engine-discovery.exe +0 -0
- ptsip-0.3.8b3.data/scripts/ptsip-engine-execution.exe +0 -0
- ptsip-0.3.8b3.data/scripts/ptsip-engine-planning.exe +0 -0
- ptsip-0.3.8b3.data/scripts/ptsip-engine-projection.exe +0 -0
- ptsip-0.3.8b3.data/scripts/ptsip-engine-storage.exe +0 -0
- ptsip-0.3.8b3.data/scripts/ptsip-engine-validation.exe +0 -0
- ptsip-0.3.8b3.dist-info/METADATA +361 -0
- ptsip-0.3.8b3.dist-info/RECORD +600 -0
- ptsip-0.3.8b3.dist-info/WHEEL +4 -0
- ptsip-0.3.8b3.dist-info/entry_points.txt +3 -0
- ptsip-0.3.8b3.dist-info/licenses/License-Authority/COMMERCIAL-USE.md +301 -0
- ptsip-0.3.8b3.dist-info/licenses/License-Authority/LICENSE-GUIDE.md +159 -0
- ptsip-0.3.8b3.dist-info/licenses/License-Authority/LICENSE-HISTORY.md +15 -0
- ptsip-0.3.8b3.dist-info/licenses/License-Authority/LICENSE.md +414 -0
- ptsip-0.3.8b3.dist-info/licenses/License-Authority/NOTICE.md +22 -0
- ptsip-0.3.8b3.dist-info/licenses/License-Authority/license-authority.yaml +133 -0
- ptsip-0.3.8b3.dist-info/ptsip-engines.json +78 -0
- vpms/__init__.py +70 -0
- vpms/contract_runtime.py +124 -0
- vpms/contracts/execution-composition.json +1 -0
- vpms/contracts/identity-registry.json +69 -0
- vpms/contracts/index.json +1 -0
- vpms/contracts/invariants.json +27 -0
- vpms/contracts/protocol.json +1 -0
- vpms/contracts/schemas/catalog.schema.json +80 -0
- vpms/contracts/schemas/product-contract.schema.json +572 -0
- vpms/contracts/schemas/selection-request.schema.json +47 -0
- vpms/contracts/schemas/selection-result.schema.json +79 -0
- vpms/contracts/schemas/selection-rule.schema.json +31 -0
- vpms/contracts/selection.json +1 -0
- vpms/domain/__init__.py +1 -0
- vpms/domain/model.py +88 -0
- vpms/domain/registry.py +350 -0
- vpms/domain/snapshot.py +118 -0
- vpms/execution/__init__.py +1 -0
- vpms/execution/adapters/__init__.py +1 -0
- vpms/execution/adapters/command.py +67 -0
- vpms/execution/composition.py +58 -0
- vpms/execution/runner.py +69 -0
- vpms/integration/__init__.py +1 -0
- vpms/integration/ptsip_bridge.py +156 -0
- vpms/selection/__init__.py +4 -0
- vpms/selection/resolver.py +130 -0
|
@@ -0,0 +1,987 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": "ptsip-machine-contract-candidate-vectors/v1",
|
|
3
|
+
"status": "CANDIDATE",
|
|
4
|
+
"normative_authority": false,
|
|
5
|
+
"purpose": "MIGRATION_PARITY",
|
|
6
|
+
"operations": {
|
|
7
|
+
"PTSIP-OP-ADOPT-001": [
|
|
8
|
+
{
|
|
9
|
+
"ref": "/payloads/operations/PTSIP-OP-ADOPT-001/input_schema_ref",
|
|
10
|
+
"expected": "PTSIP-IO-ADOPT-REQUEST-001"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"ref": "/payloads/operations/PTSIP-OP-ADOPT-001/output_schema_ref",
|
|
14
|
+
"expected": "PTSIP-IO-ADOPT-RESULT-001"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"ref": "/payloads/operations/PTSIP-OP-ADOPT-001/preconditions",
|
|
18
|
+
"expected": []
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"ref": "/payloads/operations/PTSIP-OP-ADOPT-001/entry_step",
|
|
22
|
+
"expected": "SNAPSHOT"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"ref": "/payloads/operations/PTSIP-OP-ADOPT-001/steps",
|
|
26
|
+
"expected": [
|
|
27
|
+
{
|
|
28
|
+
"step_id": "SNAPSHOT",
|
|
29
|
+
"type": "ACTION",
|
|
30
|
+
"action_ref": "PTSIP-ACT-CAPTURE-REPOSITORY-SNAPSHOT-001",
|
|
31
|
+
"input_bindings": {
|
|
32
|
+
"/context": "$input#/context"
|
|
33
|
+
},
|
|
34
|
+
"on_success": {
|
|
35
|
+
"step_ref": "ANALYZE"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"step_id": "ANALYZE",
|
|
40
|
+
"type": "ACTION",
|
|
41
|
+
"action_ref": "PTSIP-ACT-RESOLVE-ADOPTION-FACTS-001",
|
|
42
|
+
"input_bindings": {
|
|
43
|
+
"/context": "$step:SNAPSHOT#/context",
|
|
44
|
+
"/snapshot_identified": "$step:SNAPSHOT#/snapshot_identified"
|
|
45
|
+
},
|
|
46
|
+
"on_success": {
|
|
47
|
+
"step_ref": "FACTS"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"step_id": "FACTS",
|
|
52
|
+
"type": "CONDITION",
|
|
53
|
+
"condition_ref": "PTSIP-COND-ADOPT-FACTS-RESOLVED-001",
|
|
54
|
+
"input_bindings": {
|
|
55
|
+
"/context": "$step:ANALYZE#/context",
|
|
56
|
+
"/facts_resolved": "$step:ANALYZE#/facts_resolved"
|
|
57
|
+
},
|
|
58
|
+
"branches": {
|
|
59
|
+
"TRUE": {
|
|
60
|
+
"step_ref": "PREPARE"
|
|
61
|
+
},
|
|
62
|
+
"FALSE": {
|
|
63
|
+
"outcome": "CLARIFICATION_REQUIRED"
|
|
64
|
+
},
|
|
65
|
+
"UNKNOWN": {
|
|
66
|
+
"outcome": "CLARIFICATION_REQUIRED"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"step_id": "PREPARE",
|
|
72
|
+
"type": "ACTION",
|
|
73
|
+
"action_ref": "PTSIP-ACT-BUILD-ADOPTION-PLAN-001",
|
|
74
|
+
"input_bindings": {
|
|
75
|
+
"/context": "$step:ANALYZE#/context",
|
|
76
|
+
"/snapshot_identified": "$step:ANALYZE#/snapshot_identified",
|
|
77
|
+
"/facts_resolved": "$step:ANALYZE#/facts_resolved"
|
|
78
|
+
},
|
|
79
|
+
"on_success": {
|
|
80
|
+
"step_ref": "APPLY-REQUESTED"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"step_id": "APPLY-REQUESTED",
|
|
85
|
+
"type": "CONDITION",
|
|
86
|
+
"condition_ref": "PTSIP-COND-ADOPT-APPLY-REQUESTED-001",
|
|
87
|
+
"input_bindings": {
|
|
88
|
+
"/context": "$step:PREPARE#/context"
|
|
89
|
+
},
|
|
90
|
+
"branches": {
|
|
91
|
+
"TRUE": {
|
|
92
|
+
"step_ref": "APPLY"
|
|
93
|
+
},
|
|
94
|
+
"FALSE": {
|
|
95
|
+
"outcome": "READY"
|
|
96
|
+
},
|
|
97
|
+
"UNKNOWN": {
|
|
98
|
+
"outcome": "READY"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"step_id": "APPLY",
|
|
104
|
+
"type": "ACTION",
|
|
105
|
+
"action_ref": "PTSIP-ACT-APPLY-ADOPTION-001",
|
|
106
|
+
"input_bindings": {
|
|
107
|
+
"/context": "$step:PREPARE#/context",
|
|
108
|
+
"/facts_resolved": "$step:PREPARE#/facts_resolved",
|
|
109
|
+
"/repository_fresh": "$step:PREPARE#/repository_fresh",
|
|
110
|
+
"/profile_fresh": "$step:PREPARE#/profile_fresh",
|
|
111
|
+
"/authority_fresh": "$step:PREPARE#/authority_fresh",
|
|
112
|
+
"/plan_ready": "$step:PREPARE#/plan_ready"
|
|
113
|
+
},
|
|
114
|
+
"mutation_gate_ref": "PTSIP-GATE-ADOPTION-WRITE-001",
|
|
115
|
+
"mutation_gate_input_bindings": {
|
|
116
|
+
"/context": "$step:PREPARE#/context",
|
|
117
|
+
"/repository_fresh": "$step:PREPARE#/repository_fresh",
|
|
118
|
+
"/profile_fresh": "$step:PREPARE#/profile_fresh",
|
|
119
|
+
"/authority_fresh": "$step:PREPARE#/authority_fresh"
|
|
120
|
+
},
|
|
121
|
+
"on_success": {
|
|
122
|
+
"outcome": "APPLIED"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"ref": "/payloads/operations/PTSIP-OP-ADOPT-001/outcomes",
|
|
129
|
+
"expected": [
|
|
130
|
+
"READY",
|
|
131
|
+
"APPLIED",
|
|
132
|
+
"CLARIFICATION_REQUIRED",
|
|
133
|
+
"PROFILE_INVALID",
|
|
134
|
+
"AUTHORITY_PROFILE_CONFLICT",
|
|
135
|
+
"STALE_STATE",
|
|
136
|
+
"WRITE_NOT_AUTHORIZED",
|
|
137
|
+
"SNAPSHOT_UNAVAILABLE",
|
|
138
|
+
"COORDINATION_UNAVAILABLE"
|
|
139
|
+
]
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"ref": "/payloads/actions/PTSIP-ACT-CAPTURE-REPOSITORY-SNAPSHOT-001/effect",
|
|
143
|
+
"expected": "READ_ONLY"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"ref": "/payloads/actions/PTSIP-ACT-CAPTURE-REPOSITORY-SNAPSHOT-001/preconditions",
|
|
147
|
+
"expected": []
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"ref": "/payloads/actions/PTSIP-ACT-CAPTURE-REPOSITORY-SNAPSHOT-001/postconditions",
|
|
151
|
+
"expected": [
|
|
152
|
+
{
|
|
153
|
+
"condition_ref": "PTSIP-COND-ADOPT-SNAPSHOT-IDENTIFIED-001",
|
|
154
|
+
"on_false": "SNAPSHOT_UNAVAILABLE",
|
|
155
|
+
"on_unknown": "SNAPSHOT_UNAVAILABLE"
|
|
156
|
+
}
|
|
157
|
+
]
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"ref": "/payloads/actions/PTSIP-ACT-CAPTURE-REPOSITORY-SNAPSHOT-001/failure_outcomes",
|
|
161
|
+
"expected": [
|
|
162
|
+
"SNAPSHOT_UNAVAILABLE"
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"ref": "/payloads/actions/PTSIP-ACT-RESOLVE-ADOPTION-FACTS-001/effect",
|
|
167
|
+
"expected": "READ_ONLY"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"ref": "/payloads/actions/PTSIP-ACT-RESOLVE-ADOPTION-FACTS-001/preconditions",
|
|
171
|
+
"expected": []
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"ref": "/payloads/actions/PTSIP-ACT-RESOLVE-ADOPTION-FACTS-001/postconditions",
|
|
175
|
+
"expected": []
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"ref": "/payloads/actions/PTSIP-ACT-RESOLVE-ADOPTION-FACTS-001/failure_outcomes",
|
|
179
|
+
"expected": [
|
|
180
|
+
"CLARIFICATION_REQUIRED",
|
|
181
|
+
"PROFILE_INVALID"
|
|
182
|
+
]
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"ref": "/payloads/actions/PTSIP-ACT-BUILD-ADOPTION-PLAN-001/effect",
|
|
186
|
+
"expected": "READ_ONLY"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"ref": "/payloads/actions/PTSIP-ACT-BUILD-ADOPTION-PLAN-001/preconditions",
|
|
190
|
+
"expected": []
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"ref": "/payloads/actions/PTSIP-ACT-BUILD-ADOPTION-PLAN-001/postconditions",
|
|
194
|
+
"expected": []
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"ref": "/payloads/actions/PTSIP-ACT-BUILD-ADOPTION-PLAN-001/failure_outcomes",
|
|
198
|
+
"expected": [
|
|
199
|
+
"PROFILE_INVALID"
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"ref": "/payloads/actions/PTSIP-ACT-APPLY-ADOPTION-001/effect",
|
|
204
|
+
"expected": "MUTATE"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"ref": "/payloads/actions/PTSIP-ACT-APPLY-ADOPTION-001/preconditions",
|
|
208
|
+
"expected": []
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"ref": "/payloads/actions/PTSIP-ACT-APPLY-ADOPTION-001/postconditions",
|
|
212
|
+
"expected": []
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"ref": "/payloads/actions/PTSIP-ACT-APPLY-ADOPTION-001/failure_outcomes",
|
|
216
|
+
"expected": [
|
|
217
|
+
"STALE_STATE",
|
|
218
|
+
"WRITE_NOT_AUTHORIZED",
|
|
219
|
+
"PROFILE_INVALID"
|
|
220
|
+
]
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"ref": "/payloads/gates/PTSIP-GATE-ADOPTION-WRITE-001",
|
|
224
|
+
"expected": {
|
|
225
|
+
"format": "ptsip-agent-mutation-gate/v2",
|
|
226
|
+
"gate_id": "PTSIP-GATE-ADOPTION-WRITE-001",
|
|
227
|
+
"status": "CURRENT",
|
|
228
|
+
"input_schema_ref": "PTSIP-IO-ADOPT-STATE-001",
|
|
229
|
+
"strategy": "ALL_REQUIRED",
|
|
230
|
+
"requirements": [
|
|
231
|
+
{
|
|
232
|
+
"condition_ref": "PTSIP-COND-ADOPT-WRITE-AUTHORIZED-001",
|
|
233
|
+
"on_false": "WRITE_NOT_AUTHORIZED",
|
|
234
|
+
"on_unknown": "WRITE_NOT_AUTHORIZED"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"condition_ref": "PTSIP-COND-ADOPT-REPOSITORY-FRESH-001",
|
|
238
|
+
"on_false": "STALE_STATE",
|
|
239
|
+
"on_unknown": "STALE_STATE"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"condition_ref": "PTSIP-COND-ADOPT-PROFILE-FRESH-001",
|
|
243
|
+
"on_false": "STALE_STATE",
|
|
244
|
+
"on_unknown": "STALE_STATE"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"condition_ref": "PTSIP-COND-ADOPT-AUTHORITY-FRESH-001",
|
|
248
|
+
"on_false": "STALE_STATE",
|
|
249
|
+
"on_unknown": "COORDINATION_UNAVAILABLE"
|
|
250
|
+
}
|
|
251
|
+
]
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
],
|
|
255
|
+
"PTSIP-OP-VALIDATE-001": [
|
|
256
|
+
{
|
|
257
|
+
"ref": "/payloads/operations/PTSIP-OP-VALIDATE-001/input_schema_ref",
|
|
258
|
+
"expected": "PTSIP-IO-VALIDATE-REQUEST-001"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"ref": "/payloads/operations/PTSIP-OP-VALIDATE-001/output_schema_ref",
|
|
262
|
+
"expected": "PTSIP-IO-VALIDATE-RESULT-001"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"ref": "/payloads/operations/PTSIP-OP-VALIDATE-001/preconditions",
|
|
266
|
+
"expected": [
|
|
267
|
+
{
|
|
268
|
+
"condition_ref": "PTSIP-COND-VALIDATE-PROFILE-SELECTED-001",
|
|
269
|
+
"on_false": "PROFILE_INVALID",
|
|
270
|
+
"on_unknown": "PROFILE_INVALID"
|
|
271
|
+
}
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"ref": "/payloads/operations/PTSIP-OP-VALIDATE-001/entry_step",
|
|
276
|
+
"expected": "RESOLVE"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"ref": "/payloads/operations/PTSIP-OP-VALIDATE-001/steps",
|
|
280
|
+
"expected": [
|
|
281
|
+
{
|
|
282
|
+
"step_id": "RESOLVE",
|
|
283
|
+
"type": "ACTION",
|
|
284
|
+
"action_ref": "PTSIP-ACT-RESOLVE-PROFILE-SCHEMA-001",
|
|
285
|
+
"input_bindings": {
|
|
286
|
+
"/context": "$input#/context",
|
|
287
|
+
"/profile_selected": "$input#/profile_selected"
|
|
288
|
+
},
|
|
289
|
+
"on_success": {
|
|
290
|
+
"step_ref": "STRUCTURE"
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"step_id": "STRUCTURE",
|
|
295
|
+
"type": "ACTION",
|
|
296
|
+
"action_ref": "PTSIP-ACT-VALIDATE-PROFILE-STRUCTURE-001",
|
|
297
|
+
"input_bindings": {
|
|
298
|
+
"/context": "$step:RESOLVE#/context",
|
|
299
|
+
"/contract_resolved": "$step:RESOLVE#/contract_resolved"
|
|
300
|
+
},
|
|
301
|
+
"on_success": {
|
|
302
|
+
"step_ref": "SEMANTICS"
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"step_id": "SEMANTICS",
|
|
307
|
+
"type": "ACTION",
|
|
308
|
+
"action_ref": "PTSIP-ACT-VALIDATE-RESPONSIBILITY-MAP-SEMANTICS-001",
|
|
309
|
+
"input_bindings": {
|
|
310
|
+
"/context": "$step:STRUCTURE#/context",
|
|
311
|
+
"/contract_resolved": "$step:STRUCTURE#/contract_resolved",
|
|
312
|
+
"/structure_valid": "$step:STRUCTURE#/structure_valid"
|
|
313
|
+
},
|
|
314
|
+
"on_success": {
|
|
315
|
+
"outcome": "VALID"
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
]
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"ref": "/payloads/operations/PTSIP-OP-VALIDATE-001/outcomes",
|
|
322
|
+
"expected": [
|
|
323
|
+
"VALID",
|
|
324
|
+
"PROFILE_INVALID",
|
|
325
|
+
"UNSUPPORTED_PROFILE_CONTRACT",
|
|
326
|
+
"SCHEMA_RESOLUTION_FAILED"
|
|
327
|
+
]
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"ref": "/payloads/actions/PTSIP-ACT-RESOLVE-PROFILE-SCHEMA-001/effect",
|
|
331
|
+
"expected": "READ_ONLY"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"ref": "/payloads/actions/PTSIP-ACT-RESOLVE-PROFILE-SCHEMA-001/preconditions",
|
|
335
|
+
"expected": []
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"ref": "/payloads/actions/PTSIP-ACT-RESOLVE-PROFILE-SCHEMA-001/postconditions",
|
|
339
|
+
"expected": [
|
|
340
|
+
{
|
|
341
|
+
"condition_ref": "PTSIP-COND-VALIDATE-CONTRACT-RESOLVED-001",
|
|
342
|
+
"on_false": "UNSUPPORTED_PROFILE_CONTRACT",
|
|
343
|
+
"on_unknown": "SCHEMA_RESOLUTION_FAILED"
|
|
344
|
+
}
|
|
345
|
+
]
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"ref": "/payloads/actions/PTSIP-ACT-RESOLVE-PROFILE-SCHEMA-001/failure_outcomes",
|
|
349
|
+
"expected": [
|
|
350
|
+
"UNSUPPORTED_PROFILE_CONTRACT",
|
|
351
|
+
"SCHEMA_RESOLUTION_FAILED"
|
|
352
|
+
]
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"ref": "/payloads/actions/PTSIP-ACT-VALIDATE-PROFILE-STRUCTURE-001/effect",
|
|
356
|
+
"expected": "READ_ONLY"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"ref": "/payloads/actions/PTSIP-ACT-VALIDATE-PROFILE-STRUCTURE-001/preconditions",
|
|
360
|
+
"expected": []
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"ref": "/payloads/actions/PTSIP-ACT-VALIDATE-PROFILE-STRUCTURE-001/postconditions",
|
|
364
|
+
"expected": []
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"ref": "/payloads/actions/PTSIP-ACT-VALIDATE-PROFILE-STRUCTURE-001/failure_outcomes",
|
|
368
|
+
"expected": [
|
|
369
|
+
"PROFILE_INVALID"
|
|
370
|
+
]
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"ref": "/payloads/actions/PTSIP-ACT-VALIDATE-RESPONSIBILITY-MAP-SEMANTICS-001/effect",
|
|
374
|
+
"expected": "READ_ONLY"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"ref": "/payloads/actions/PTSIP-ACT-VALIDATE-RESPONSIBILITY-MAP-SEMANTICS-001/preconditions",
|
|
378
|
+
"expected": []
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"ref": "/payloads/actions/PTSIP-ACT-VALIDATE-RESPONSIBILITY-MAP-SEMANTICS-001/postconditions",
|
|
382
|
+
"expected": []
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"ref": "/payloads/actions/PTSIP-ACT-VALIDATE-RESPONSIBILITY-MAP-SEMANTICS-001/failure_outcomes",
|
|
386
|
+
"expected": [
|
|
387
|
+
"PROFILE_INVALID"
|
|
388
|
+
]
|
|
389
|
+
}
|
|
390
|
+
],
|
|
391
|
+
"PTSIP-OP-CONFORM-001": [
|
|
392
|
+
{
|
|
393
|
+
"ref": "/payloads/operations/PTSIP-OP-CONFORM-001/input_schema_ref",
|
|
394
|
+
"expected": "PTSIP-IO-CONFORM-REQUEST-001"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"ref": "/payloads/operations/PTSIP-OP-CONFORM-001/output_schema_ref",
|
|
398
|
+
"expected": "PTSIP-IO-CONFORM-RESULT-001"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"ref": "/payloads/operations/PTSIP-OP-CONFORM-001/preconditions",
|
|
402
|
+
"expected": [
|
|
403
|
+
{
|
|
404
|
+
"condition_ref": "PTSIP-COND-CONFORM-PROFILE-READY-001",
|
|
405
|
+
"on_false": "INCOMPLETE",
|
|
406
|
+
"on_unknown": "INCOMPLETE"
|
|
407
|
+
}
|
|
408
|
+
]
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"ref": "/payloads/operations/PTSIP-OP-CONFORM-001/entry_step",
|
|
412
|
+
"expected": "COLLECT"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"ref": "/payloads/operations/PTSIP-OP-CONFORM-001/steps",
|
|
416
|
+
"expected": [
|
|
417
|
+
{
|
|
418
|
+
"step_id": "COLLECT",
|
|
419
|
+
"type": "ACTION",
|
|
420
|
+
"action_ref": "PTSIP-ACT-COLLECT-CONFORMANCE-EVIDENCE-001",
|
|
421
|
+
"input_bindings": {
|
|
422
|
+
"/context": "$input#/context",
|
|
423
|
+
"/profile_ready": "$input#/profile_ready"
|
|
424
|
+
},
|
|
425
|
+
"on_success": {
|
|
426
|
+
"step_ref": "EVALUATE"
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"step_id": "EVALUATE",
|
|
431
|
+
"type": "ACTION",
|
|
432
|
+
"action_ref": "PTSIP-ACT-EVALUATE-CONFORMANCE-RULES-001",
|
|
433
|
+
"input_bindings": {
|
|
434
|
+
"/context": "$step:COLLECT#/context",
|
|
435
|
+
"/snapshot_identified": "$step:COLLECT#/snapshot_identified",
|
|
436
|
+
"/evidence_collected": "$step:COLLECT#/evidence_collected"
|
|
437
|
+
},
|
|
438
|
+
"on_success": {
|
|
439
|
+
"step_ref": "EMIT"
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"step_id": "EMIT",
|
|
444
|
+
"type": "ACTION",
|
|
445
|
+
"action_ref": "PTSIP-ACT-EMIT-CONFORMANCE-RESULT-001",
|
|
446
|
+
"input_bindings": {
|
|
447
|
+
"/context": "$step:EVALUATE#/context",
|
|
448
|
+
"/snapshot_identified": "$step:EVALUATE#/snapshot_identified",
|
|
449
|
+
"/evidence_collected": "$step:EVALUATE#/evidence_collected",
|
|
450
|
+
"/evaluation_complete": "$step:EVALUATE#/evaluation_complete",
|
|
451
|
+
"/outcome": "$step:EVALUATE#/outcome"
|
|
452
|
+
},
|
|
453
|
+
"on_success": {
|
|
454
|
+
"outcome_from": "$step:EMIT#/outcome"
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
]
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"ref": "/payloads/operations/PTSIP-OP-CONFORM-001/outcomes",
|
|
461
|
+
"expected": [
|
|
462
|
+
"CONFORMANT",
|
|
463
|
+
"NON_CONFORMANT",
|
|
464
|
+
"INCOMPLETE",
|
|
465
|
+
"NOT_EVALUATED"
|
|
466
|
+
]
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"ref": "/payloads/actions/PTSIP-ACT-COLLECT-CONFORMANCE-EVIDENCE-001/effect",
|
|
470
|
+
"expected": "READ_ONLY"
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"ref": "/payloads/actions/PTSIP-ACT-COLLECT-CONFORMANCE-EVIDENCE-001/preconditions",
|
|
474
|
+
"expected": []
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"ref": "/payloads/actions/PTSIP-ACT-COLLECT-CONFORMANCE-EVIDENCE-001/postconditions",
|
|
478
|
+
"expected": [
|
|
479
|
+
{
|
|
480
|
+
"condition_ref": "PTSIP-COND-CONFORM-SNAPSHOT-IDENTIFIED-001",
|
|
481
|
+
"on_false": "INCOMPLETE",
|
|
482
|
+
"on_unknown": "INCOMPLETE"
|
|
483
|
+
}
|
|
484
|
+
]
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"ref": "/payloads/actions/PTSIP-ACT-COLLECT-CONFORMANCE-EVIDENCE-001/failure_outcomes",
|
|
488
|
+
"expected": [
|
|
489
|
+
"INCOMPLETE"
|
|
490
|
+
]
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"ref": "/payloads/actions/PTSIP-ACT-EVALUATE-CONFORMANCE-RULES-001/effect",
|
|
494
|
+
"expected": "READ_ONLY"
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"ref": "/payloads/actions/PTSIP-ACT-EVALUATE-CONFORMANCE-RULES-001/preconditions",
|
|
498
|
+
"expected": []
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"ref": "/payloads/actions/PTSIP-ACT-EVALUATE-CONFORMANCE-RULES-001/postconditions",
|
|
502
|
+
"expected": []
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"ref": "/payloads/actions/PTSIP-ACT-EVALUATE-CONFORMANCE-RULES-001/failure_outcomes",
|
|
506
|
+
"expected": [
|
|
507
|
+
"NOT_EVALUATED"
|
|
508
|
+
]
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"ref": "/payloads/actions/PTSIP-ACT-EMIT-CONFORMANCE-RESULT-001/effect",
|
|
512
|
+
"expected": "READ_ONLY"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"ref": "/payloads/actions/PTSIP-ACT-EMIT-CONFORMANCE-RESULT-001/preconditions",
|
|
516
|
+
"expected": []
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"ref": "/payloads/actions/PTSIP-ACT-EMIT-CONFORMANCE-RESULT-001/postconditions",
|
|
520
|
+
"expected": []
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"ref": "/payloads/actions/PTSIP-ACT-EMIT-CONFORMANCE-RESULT-001/failure_outcomes",
|
|
524
|
+
"expected": [
|
|
525
|
+
"NOT_EVALUATED"
|
|
526
|
+
]
|
|
527
|
+
}
|
|
528
|
+
],
|
|
529
|
+
"PTSIP-OP-RECONCILE-AUTHORITY-001": [
|
|
530
|
+
{
|
|
531
|
+
"ref": "/payloads/operations/PTSIP-OP-RECONCILE-AUTHORITY-001/input_schema_ref",
|
|
532
|
+
"expected": "PTSIP-IO-AUTHORITY-REQUEST-001"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"ref": "/payloads/operations/PTSIP-OP-RECONCILE-AUTHORITY-001/output_schema_ref",
|
|
536
|
+
"expected": "PTSIP-IO-AUTHORITY-RESULT-001"
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"ref": "/payloads/operations/PTSIP-OP-RECONCILE-AUTHORITY-001/preconditions",
|
|
540
|
+
"expected": []
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"ref": "/payloads/operations/PTSIP-OP-RECONCILE-AUTHORITY-001/entry_step",
|
|
544
|
+
"expected": "READ"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"ref": "/payloads/operations/PTSIP-OP-RECONCILE-AUTHORITY-001/steps",
|
|
548
|
+
"expected": [
|
|
549
|
+
{
|
|
550
|
+
"step_id": "READ",
|
|
551
|
+
"type": "ACTION",
|
|
552
|
+
"action_ref": "PTSIP-ACT-READ-RELEVANT-AUTHORITY-001",
|
|
553
|
+
"input_bindings": {
|
|
554
|
+
"/context": "$input#/context"
|
|
555
|
+
},
|
|
556
|
+
"on_success": {
|
|
557
|
+
"step_ref": "COMPARE"
|
|
558
|
+
}
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"step_id": "COMPARE",
|
|
562
|
+
"type": "ACTION",
|
|
563
|
+
"action_ref": "PTSIP-ACT-COMPARE-PROFILE-AUTHORITY-001",
|
|
564
|
+
"input_bindings": {
|
|
565
|
+
"/context": "$step:READ#/context",
|
|
566
|
+
"/coordination_available": "$step:READ#/coordination_available"
|
|
567
|
+
},
|
|
568
|
+
"on_success": {
|
|
569
|
+
"step_ref": "DECIDE"
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"step_id": "DECIDE",
|
|
574
|
+
"type": "ACTION",
|
|
575
|
+
"action_ref": "PTSIP-ACT-RESOLVE-RECONCILIATION-STATE-001",
|
|
576
|
+
"input_bindings": {
|
|
577
|
+
"/context": "$step:COMPARE#/context",
|
|
578
|
+
"/coordination_available": "$step:COMPARE#/coordination_available",
|
|
579
|
+
"/semantic_conflict_absent": "$step:COMPARE#/semantic_conflict_absent",
|
|
580
|
+
"/authority_fresh": "$step:COMPARE#/authority_fresh",
|
|
581
|
+
"/profile_fresh": "$step:COMPARE#/profile_fresh"
|
|
582
|
+
},
|
|
583
|
+
"on_success": {
|
|
584
|
+
"step_ref": "PROJECT-REQUIRED"
|
|
585
|
+
}
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"step_id": "PROJECT-REQUIRED",
|
|
589
|
+
"type": "CONDITION",
|
|
590
|
+
"condition_ref": "PTSIP-COND-AUTH-PROJECTION-REQUIRED-001",
|
|
591
|
+
"input_bindings": {
|
|
592
|
+
"/context": "$step:DECIDE#/context",
|
|
593
|
+
"/projection_required": "$step:DECIDE#/projection_required",
|
|
594
|
+
"/reconciliation_outcome": "$step:DECIDE#/reconciliation_outcome"
|
|
595
|
+
},
|
|
596
|
+
"branches": {
|
|
597
|
+
"TRUE": {
|
|
598
|
+
"step_ref": "PROJECT"
|
|
599
|
+
},
|
|
600
|
+
"FALSE": {
|
|
601
|
+
"outcome_from": "$step:DECIDE#/reconciliation_outcome"
|
|
602
|
+
},
|
|
603
|
+
"UNKNOWN": {
|
|
604
|
+
"outcome": "COORDINATION_UNAVAILABLE"
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"step_id": "PROJECT",
|
|
610
|
+
"type": "ACTION",
|
|
611
|
+
"action_ref": "PTSIP-ACT-PROJECT-AUTHORITY-WINNER-001",
|
|
612
|
+
"input_bindings": {
|
|
613
|
+
"/context": "$step:DECIDE#/context",
|
|
614
|
+
"/coordination_available": "$step:DECIDE#/coordination_available",
|
|
615
|
+
"/semantic_conflict_absent": "$step:DECIDE#/semantic_conflict_absent",
|
|
616
|
+
"/authority_fresh": "$step:DECIDE#/authority_fresh",
|
|
617
|
+
"/profile_fresh": "$step:DECIDE#/profile_fresh",
|
|
618
|
+
"/projection_required": "$step:DECIDE#/projection_required",
|
|
619
|
+
"/reconciliation_outcome": "$step:DECIDE#/reconciliation_outcome"
|
|
620
|
+
},
|
|
621
|
+
"mutation_gate_ref": "PTSIP-GATE-AUTHORITY-PROJECTION-WRITE-001",
|
|
622
|
+
"mutation_gate_input_bindings": {
|
|
623
|
+
"/context": "$step:DECIDE#/context",
|
|
624
|
+
"/semantic_conflict_absent": "$step:DECIDE#/semantic_conflict_absent",
|
|
625
|
+
"/authority_fresh": "$step:DECIDE#/authority_fresh",
|
|
626
|
+
"/profile_fresh": "$step:DECIDE#/profile_fresh"
|
|
627
|
+
},
|
|
628
|
+
"on_success": {
|
|
629
|
+
"outcome": "REMOTE_RESOLVED"
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
]
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"ref": "/payloads/operations/PTSIP-OP-RECONCILE-AUTHORITY-001/outcomes",
|
|
636
|
+
"expected": [
|
|
637
|
+
"NO_REMOTE_DECISION",
|
|
638
|
+
"CONSISTENT",
|
|
639
|
+
"REMOTE_RESOLVED",
|
|
640
|
+
"AUTHORITY_PROFILE_CONFLICT",
|
|
641
|
+
"COORDINATION_UNAVAILABLE",
|
|
642
|
+
"STALE_STATE",
|
|
643
|
+
"WRITE_NOT_AUTHORIZED"
|
|
644
|
+
]
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"ref": "/payloads/actions/PTSIP-ACT-READ-RELEVANT-AUTHORITY-001/effect",
|
|
648
|
+
"expected": "READ_ONLY"
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"ref": "/payloads/actions/PTSIP-ACT-READ-RELEVANT-AUTHORITY-001/preconditions",
|
|
652
|
+
"expected": []
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"ref": "/payloads/actions/PTSIP-ACT-READ-RELEVANT-AUTHORITY-001/postconditions",
|
|
656
|
+
"expected": [
|
|
657
|
+
{
|
|
658
|
+
"condition_ref": "PTSIP-COND-AUTH-COORDINATION-AVAILABLE-001",
|
|
659
|
+
"on_false": "COORDINATION_UNAVAILABLE",
|
|
660
|
+
"on_unknown": "COORDINATION_UNAVAILABLE"
|
|
661
|
+
}
|
|
662
|
+
]
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"ref": "/payloads/actions/PTSIP-ACT-READ-RELEVANT-AUTHORITY-001/failure_outcomes",
|
|
666
|
+
"expected": [
|
|
667
|
+
"COORDINATION_UNAVAILABLE"
|
|
668
|
+
]
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"ref": "/payloads/actions/PTSIP-ACT-COMPARE-PROFILE-AUTHORITY-001/effect",
|
|
672
|
+
"expected": "READ_ONLY"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"ref": "/payloads/actions/PTSIP-ACT-COMPARE-PROFILE-AUTHORITY-001/preconditions",
|
|
676
|
+
"expected": []
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"ref": "/payloads/actions/PTSIP-ACT-COMPARE-PROFILE-AUTHORITY-001/postconditions",
|
|
680
|
+
"expected": []
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"ref": "/payloads/actions/PTSIP-ACT-COMPARE-PROFILE-AUTHORITY-001/failure_outcomes",
|
|
684
|
+
"expected": [
|
|
685
|
+
"AUTHORITY_PROFILE_CONFLICT"
|
|
686
|
+
]
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"ref": "/payloads/actions/PTSIP-ACT-RESOLVE-RECONCILIATION-STATE-001/effect",
|
|
690
|
+
"expected": "READ_ONLY"
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"ref": "/payloads/actions/PTSIP-ACT-RESOLVE-RECONCILIATION-STATE-001/preconditions",
|
|
694
|
+
"expected": []
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"ref": "/payloads/actions/PTSIP-ACT-RESOLVE-RECONCILIATION-STATE-001/postconditions",
|
|
698
|
+
"expected": []
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"ref": "/payloads/actions/PTSIP-ACT-RESOLVE-RECONCILIATION-STATE-001/failure_outcomes",
|
|
702
|
+
"expected": [
|
|
703
|
+
"COORDINATION_UNAVAILABLE"
|
|
704
|
+
]
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"ref": "/payloads/actions/PTSIP-ACT-PROJECT-AUTHORITY-WINNER-001/effect",
|
|
708
|
+
"expected": "MUTATE"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"ref": "/payloads/actions/PTSIP-ACT-PROJECT-AUTHORITY-WINNER-001/preconditions",
|
|
712
|
+
"expected": []
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"ref": "/payloads/actions/PTSIP-ACT-PROJECT-AUTHORITY-WINNER-001/postconditions",
|
|
716
|
+
"expected": []
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"ref": "/payloads/actions/PTSIP-ACT-PROJECT-AUTHORITY-WINNER-001/failure_outcomes",
|
|
720
|
+
"expected": [
|
|
721
|
+
"AUTHORITY_PROFILE_CONFLICT",
|
|
722
|
+
"COORDINATION_UNAVAILABLE",
|
|
723
|
+
"STALE_STATE",
|
|
724
|
+
"WRITE_NOT_AUTHORIZED"
|
|
725
|
+
]
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"ref": "/payloads/gates/PTSIP-GATE-AUTHORITY-PROJECTION-WRITE-001",
|
|
729
|
+
"expected": {
|
|
730
|
+
"format": "ptsip-agent-mutation-gate/v2",
|
|
731
|
+
"gate_id": "PTSIP-GATE-AUTHORITY-PROJECTION-WRITE-001",
|
|
732
|
+
"status": "CURRENT",
|
|
733
|
+
"input_schema_ref": "PTSIP-IO-AUTHORITY-STATE-001",
|
|
734
|
+
"strategy": "ALL_REQUIRED",
|
|
735
|
+
"requirements": [
|
|
736
|
+
{
|
|
737
|
+
"condition_ref": "PTSIP-COND-AUTH-WRITE-AUTHORIZED-001",
|
|
738
|
+
"on_false": "WRITE_NOT_AUTHORIZED",
|
|
739
|
+
"on_unknown": "WRITE_NOT_AUTHORIZED"
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"condition_ref": "PTSIP-COND-AUTH-AUTHORITY-FRESH-001",
|
|
743
|
+
"on_false": "STALE_STATE",
|
|
744
|
+
"on_unknown": "COORDINATION_UNAVAILABLE"
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"condition_ref": "PTSIP-COND-AUTH-PROFILE-FRESH-001",
|
|
748
|
+
"on_false": "STALE_STATE",
|
|
749
|
+
"on_unknown": "STALE_STATE"
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"condition_ref": "PTSIP-COND-AUTH-SEMANTIC-CONFLICT-ABSENT-001",
|
|
753
|
+
"on_false": "AUTHORITY_PROFILE_CONFLICT",
|
|
754
|
+
"on_unknown": "AUTHORITY_PROFILE_CONFLICT"
|
|
755
|
+
}
|
|
756
|
+
]
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
],
|
|
760
|
+
"PTSIP-OP-MIGRATE-PROFILE-001": [
|
|
761
|
+
{
|
|
762
|
+
"ref": "/payloads/operations/PTSIP-OP-MIGRATE-PROFILE-001/input_schema_ref",
|
|
763
|
+
"expected": "PTSIP-IO-MIGRATE-REQUEST-001"
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"ref": "/payloads/operations/PTSIP-OP-MIGRATE-PROFILE-001/output_schema_ref",
|
|
767
|
+
"expected": "PTSIP-IO-MIGRATE-RESULT-001"
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
"ref": "/payloads/operations/PTSIP-OP-MIGRATE-PROFILE-001/preconditions",
|
|
771
|
+
"expected": [
|
|
772
|
+
{
|
|
773
|
+
"condition_ref": "PTSIP-COND-MIG-SOURCE-PROFILE-IDENTIFIED-001",
|
|
774
|
+
"on_false": "UNSUPPORTED_SOURCE",
|
|
775
|
+
"on_unknown": "UNSUPPORTED_SOURCE"
|
|
776
|
+
}
|
|
777
|
+
]
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"ref": "/payloads/operations/PTSIP-OP-MIGRATE-PROFILE-001/entry_step",
|
|
781
|
+
"expected": "ANALYZE"
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"ref": "/payloads/operations/PTSIP-OP-MIGRATE-PROFILE-001/steps",
|
|
785
|
+
"expected": [
|
|
786
|
+
{
|
|
787
|
+
"step_id": "ANALYZE",
|
|
788
|
+
"type": "ACTION",
|
|
789
|
+
"action_ref": "PTSIP-ACT-ANALYZE-SOURCE-PROFILE-001",
|
|
790
|
+
"input_bindings": {
|
|
791
|
+
"/context": "$input#/context",
|
|
792
|
+
"/source_profile_identified": "$input#/source_profile_identified"
|
|
793
|
+
},
|
|
794
|
+
"on_success": {
|
|
795
|
+
"step_ref": "MAP"
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
"step_id": "MAP",
|
|
800
|
+
"type": "ACTION",
|
|
801
|
+
"action_ref": "PTSIP-ACT-MAP-PROFILE-TARGET-001",
|
|
802
|
+
"input_bindings": {
|
|
803
|
+
"/context": "$step:ANALYZE#/context",
|
|
804
|
+
"/target_contract_resolved": "$step:ANALYZE#/target_contract_resolved",
|
|
805
|
+
"/source_fresh": "$step:ANALYZE#/source_fresh",
|
|
806
|
+
"/target_fresh": "$step:ANALYZE#/target_fresh"
|
|
807
|
+
},
|
|
808
|
+
"on_success": {
|
|
809
|
+
"step_ref": "PREPARE"
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
"step_id": "PREPARE",
|
|
814
|
+
"type": "ACTION",
|
|
815
|
+
"action_ref": "PTSIP-ACT-BUILD-TRANSITION-PLAN-001",
|
|
816
|
+
"input_bindings": {
|
|
817
|
+
"/context": "$step:MAP#/context",
|
|
818
|
+
"/target_contract_resolved": "$step:MAP#/target_contract_resolved",
|
|
819
|
+
"/source_fresh": "$step:MAP#/source_fresh",
|
|
820
|
+
"/target_fresh": "$step:MAP#/target_fresh"
|
|
821
|
+
},
|
|
822
|
+
"on_success": {
|
|
823
|
+
"step_ref": "APPLY-REQUESTED"
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"step_id": "APPLY-REQUESTED",
|
|
828
|
+
"type": "CONDITION",
|
|
829
|
+
"condition_ref": "PTSIP-COND-MIG-APPLY-REQUESTED-001",
|
|
830
|
+
"input_bindings": {
|
|
831
|
+
"/context": "$step:PREPARE#/context"
|
|
832
|
+
},
|
|
833
|
+
"branches": {
|
|
834
|
+
"TRUE": {
|
|
835
|
+
"step_ref": "APPLY"
|
|
836
|
+
},
|
|
837
|
+
"FALSE": {
|
|
838
|
+
"outcome": "READY"
|
|
839
|
+
},
|
|
840
|
+
"UNKNOWN": {
|
|
841
|
+
"outcome": "READY"
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"step_id": "APPLY",
|
|
847
|
+
"type": "ACTION",
|
|
848
|
+
"action_ref": "PTSIP-ACT-APPLY-PROFILE-TRANSITION-001",
|
|
849
|
+
"input_bindings": {
|
|
850
|
+
"/context": "$step:PREPARE#/context",
|
|
851
|
+
"/target_contract_resolved": "$step:PREPARE#/target_contract_resolved",
|
|
852
|
+
"/source_fresh": "$step:PREPARE#/source_fresh",
|
|
853
|
+
"/target_fresh": "$step:PREPARE#/target_fresh",
|
|
854
|
+
"/plan_ready": "$step:PREPARE#/plan_ready"
|
|
855
|
+
},
|
|
856
|
+
"mutation_gate_ref": "PTSIP-GATE-PROFILE-TRANSITION-WRITE-001",
|
|
857
|
+
"mutation_gate_input_bindings": {
|
|
858
|
+
"/context": "$step:PREPARE#/context",
|
|
859
|
+
"/source_fresh": "$step:PREPARE#/source_fresh",
|
|
860
|
+
"/target_fresh": "$step:PREPARE#/target_fresh"
|
|
861
|
+
},
|
|
862
|
+
"on_success": {
|
|
863
|
+
"outcome": "APPLIED"
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
]
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"ref": "/payloads/operations/PTSIP-OP-MIGRATE-PROFILE-001/outcomes",
|
|
870
|
+
"expected": [
|
|
871
|
+
"READY",
|
|
872
|
+
"APPLIED",
|
|
873
|
+
"OWNER_DECISION_REQUIRED",
|
|
874
|
+
"UNSUPPORTED_SOURCE",
|
|
875
|
+
"STALE_STATE",
|
|
876
|
+
"WRITE_NOT_AUTHORIZED"
|
|
877
|
+
]
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"ref": "/payloads/actions/PTSIP-ACT-ANALYZE-SOURCE-PROFILE-001/effect",
|
|
881
|
+
"expected": "READ_ONLY"
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
"ref": "/payloads/actions/PTSIP-ACT-ANALYZE-SOURCE-PROFILE-001/preconditions",
|
|
885
|
+
"expected": []
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"ref": "/payloads/actions/PTSIP-ACT-ANALYZE-SOURCE-PROFILE-001/postconditions",
|
|
889
|
+
"expected": [
|
|
890
|
+
{
|
|
891
|
+
"condition_ref": "PTSIP-COND-MIG-TARGET-CONTRACT-RESOLVED-001",
|
|
892
|
+
"on_false": "UNSUPPORTED_SOURCE",
|
|
893
|
+
"on_unknown": "UNSUPPORTED_SOURCE"
|
|
894
|
+
}
|
|
895
|
+
]
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"ref": "/payloads/actions/PTSIP-ACT-ANALYZE-SOURCE-PROFILE-001/failure_outcomes",
|
|
899
|
+
"expected": [
|
|
900
|
+
"UNSUPPORTED_SOURCE"
|
|
901
|
+
]
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
"ref": "/payloads/actions/PTSIP-ACT-MAP-PROFILE-TARGET-001/effect",
|
|
905
|
+
"expected": "READ_ONLY"
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"ref": "/payloads/actions/PTSIP-ACT-MAP-PROFILE-TARGET-001/preconditions",
|
|
909
|
+
"expected": []
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"ref": "/payloads/actions/PTSIP-ACT-MAP-PROFILE-TARGET-001/postconditions",
|
|
913
|
+
"expected": []
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
"ref": "/payloads/actions/PTSIP-ACT-MAP-PROFILE-TARGET-001/failure_outcomes",
|
|
917
|
+
"expected": [
|
|
918
|
+
"OWNER_DECISION_REQUIRED"
|
|
919
|
+
]
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
"ref": "/payloads/actions/PTSIP-ACT-BUILD-TRANSITION-PLAN-001/effect",
|
|
923
|
+
"expected": "READ_ONLY"
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"ref": "/payloads/actions/PTSIP-ACT-BUILD-TRANSITION-PLAN-001/preconditions",
|
|
927
|
+
"expected": []
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
"ref": "/payloads/actions/PTSIP-ACT-BUILD-TRANSITION-PLAN-001/postconditions",
|
|
931
|
+
"expected": []
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"ref": "/payloads/actions/PTSIP-ACT-BUILD-TRANSITION-PLAN-001/failure_outcomes",
|
|
935
|
+
"expected": [
|
|
936
|
+
"OWNER_DECISION_REQUIRED"
|
|
937
|
+
]
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"ref": "/payloads/actions/PTSIP-ACT-APPLY-PROFILE-TRANSITION-001/effect",
|
|
941
|
+
"expected": "MUTATE"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"ref": "/payloads/actions/PTSIP-ACT-APPLY-PROFILE-TRANSITION-001/preconditions",
|
|
945
|
+
"expected": []
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"ref": "/payloads/actions/PTSIP-ACT-APPLY-PROFILE-TRANSITION-001/postconditions",
|
|
949
|
+
"expected": []
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"ref": "/payloads/actions/PTSIP-ACT-APPLY-PROFILE-TRANSITION-001/failure_outcomes",
|
|
953
|
+
"expected": [
|
|
954
|
+
"STALE_STATE",
|
|
955
|
+
"WRITE_NOT_AUTHORIZED"
|
|
956
|
+
]
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
"ref": "/payloads/gates/PTSIP-GATE-PROFILE-TRANSITION-WRITE-001",
|
|
960
|
+
"expected": {
|
|
961
|
+
"format": "ptsip-agent-mutation-gate/v2",
|
|
962
|
+
"gate_id": "PTSIP-GATE-PROFILE-TRANSITION-WRITE-001",
|
|
963
|
+
"status": "CURRENT",
|
|
964
|
+
"input_schema_ref": "PTSIP-IO-MIGRATE-STATE-001",
|
|
965
|
+
"strategy": "ALL_REQUIRED",
|
|
966
|
+
"requirements": [
|
|
967
|
+
{
|
|
968
|
+
"condition_ref": "PTSIP-COND-MIG-WRITE-AUTHORIZED-001",
|
|
969
|
+
"on_false": "WRITE_NOT_AUTHORIZED",
|
|
970
|
+
"on_unknown": "WRITE_NOT_AUTHORIZED"
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"condition_ref": "PTSIP-COND-MIG-SOURCE-FRESH-001",
|
|
974
|
+
"on_false": "STALE_STATE",
|
|
975
|
+
"on_unknown": "STALE_STATE"
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
"condition_ref": "PTSIP-COND-MIG-TARGET-FRESH-001",
|
|
979
|
+
"on_false": "STALE_STATE",
|
|
980
|
+
"on_unknown": "STALE_STATE"
|
|
981
|
+
}
|
|
982
|
+
]
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
]
|
|
986
|
+
}
|
|
987
|
+
}
|