Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

Commit a691e46

Browse files
committed
VATFIX: add VERSION_LOCK.json + immutability check
1 parent 29c550d commit a691e46

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/core-ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ jobs:
1616
- run: bash scripts/validate_core.sh
1717
- run: test -f SEMANTICS_LOCK.json
1818
- run: test -f FAILURE_CODES_LOCK.json
19+
- run: test -f VERSION_LOCK.json
20+
- name: Verify version immutability
21+
run: |
22+
set -euo pipefail
23+
VERSION=$(cat VERSION)
24+
LOCK_VERSION=$(cat VERSION_LOCK.json | python3 -c "import json,sys; print(json.load(sys.stdin)['version'])")
25+
test "$VERSION" = "$LOCK_VERSION" || { echo "FAIL: Version mismatch"; exit 1; }
26+
echo "PASS: Version locked"
1927
identity:
2028
uses: vatfix/REGISTRY/.github/workflows/identity-check.yml@main
2129
with:

VERSION_LOCK.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"version": "1.0.0",
3+
"locked": true,
4+
"immutable": true,
5+
"note": "Version 1.0.0 is final. Changes require new major version."
6+
}

0 commit comments

Comments
 (0)