feat: gate upgrades with compatibility matrix

This commit is contained in:
thanhnv
2026-07-18 00:17:45 +07:00
parent d129ba60ef
commit 407d373b4e
6 changed files with 107 additions and 0 deletions
@@ -0,0 +1,18 @@
{
"schema_version": "1.0",
"product": "CASAN",
"rules": [
{
"from": "1.0.x",
"to": "1.0.x",
"policy_schema": "1",
"evidence_pack_schema": "1.0-mvp",
"rollback": "supported",
"notes": "Patch-level upgrades only. Back up runtime state and verify the candidate artifact before rollout."
}
],
"unsupported": [
"Cross-major upgrades require a reviewed migration entry before deployment.",
"Downgrades that change policy or Evidence Pack schema are denied until an explicit rollback entry is added."
]
}