From 80f18a9f2b095a0765c253e61352b217f90e526c Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 1 Oct 2026 09:37:59 +0000 Subject: [PATCH] Tag migrations with build-provenance + WAR hash, not a bare git version WEB-INF/VERSION only ever held a git short-hash, which claimed more than it could prove: two builds of the same commit can still differ (local library jars, anything outside git), so a git version alone doesn't guarantee what's actually in the WAR on the server. Replaced with WEB-INF/TAG (-[-dirty] - build time, not commit time, so a rebuilt/redeployed same commit still gets a unique value, and "-dirty" flags an uncommitted working tree at build time) plus a sha256 of the sportrum.war actually sitting on the server, computed here rather than trusted from the build since a file can't hash itself and this also catches corruption/tampering in transit. resolve-migration-tag now reads both and the migration tag becomes -[-