From ff5d0643fa6cfad8857d0df97d6c434e1694c632 Mon Sep 17 00:00:00 2001 From: tegwick Date: Sun, 1 Nov 2026 11:45:36 +0100 Subject: [PATCH] FLEX-WP-0040-T07: sitting pin test follows the v14 release candidate values 58a12d2 moved values/informed-decision-sitting.yaml to the v14 candidate image and policy path; TestSittingImagePinMatchesRecordedBuild still asserted the 2026-10-04 bdac62bc cutover pin. It now asserts the recorded candidate. Co-Authored-By: Claude Opus 5.5 Assistant: claude-code Assistant-Model: opus Assistant-Process: 5502@bnt-lap001 Assistant-Session: 68b3b02f-5d0f-4e71-8421-796f62e50196 --- internal/policy/informed_decision_attribute_test.go | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/internal/policy/informed_decision_attribute_test.go b/internal/policy/informed_decision_attribute_test.go index 9346f6c..321e35b 100644 --- a/internal/policy/informed_decision_attribute_test.go +++ b/internal/policy/informed_decision_attribute_test.go @@ -102,12 +102,14 @@ func TestSittingImagePinMatchesRecordedBuild(t *testing.T) { } text := string(raw) // values/informed-decision-sitting.yaml records the founder-approved - // INFD-WP-0007 / FLEX-WP-0033 cutover image of 2026-10-04 (64a22ab), which - // serves the lifecycle-review package. The v11 pin (1aae59f) is superseded. - if !strings.Contains(text, "sha256:bdac62bc3f089cba0df7c35eeb8d0d9b3af2d4bae5e4ea4767516c1ed20b1e99") { - t.Fatal("sitting image digest differs from the recorded cutover build") + // FLEX-WP-0040-T07 compact-sitting v14 release candidate (CI image of + // 2de0f86, docs/compact-sitting-v14-release-runbook.md). The FLEX-WP-0034 + // v13 image (6c6dc263) is the rollback, kept in + // values/informed-decision-lifecycle-review.candidate.yaml. + if !strings.Contains(text, "sha256:154726d25ba2ce88ef41551dcb3bb395557095eff19e767a29d0331fafec4776") { + t.Fatal("sitting image digest differs from the recorded release candidate build") } - if !strings.Contains(text, "/opt/flex-auth/examples/informed-decision-lifecycle-review/policy.md") { + if !strings.Contains(text, "/opt/flex-auth/examples/informed-decision-present-existing-review/policy.md") { t.Fatal("sitting policy path changed") } }