Version the common and derived rail contract

This commit is contained in:
codex 2026-07-26 13:34:56 +02:00
parent fee395f0c4
commit 3ece1b55fb
8 changed files with 407 additions and 2 deletions

View file

@ -0,0 +1,30 @@
{
"contract_version": "1.0.0",
"workload_id": "example-platform-service",
"ownership_repo": "railiance-platform",
"criticality": "medium",
"data_classification": "internal",
"dependencies": ["kubernetes-api"],
"identity": {
"principal": "example-platform-service",
"secret_references": []
},
"health": {
"readiness": "HTTP readiness probe succeeds",
"smoke": "Authenticated package smoke succeeds"
},
"recovery": {
"rollback": "Restore the previous verified Kubernetes release"
},
"rail_bindings": [
{
"rail_id": "rail-kubernetes",
"rail_contract": "1.0",
"readiness_state": "declared",
"required_substrate_capabilities": ["kubernetes-api"],
"deployment_artifacts": ["railiance/app.toml"],
"rollout": {"mode": "stage2-isolated-canary"},
"rollback": {"mode": "previous-release"}
}
]
}