From 052b8f15f9da747370f55b407c1a82281c958101 Mon Sep 17 00:00:00 2001 From: Jason Woltje Date: Thu, 30 Jul 2026 06:44:16 -0500 Subject: [PATCH] =?UTF-8?q?wake:=20bump=20manifest=20version=200.6.12=20->?= =?UTF-8?q?=200.6.13=20(#943=20review=20=C2=A72)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #942 and #943 both changed detector.sh after the 0.6.12 stamp, leaving three materially different detectors under one version string. version= is the component's sole self-identity claim (no per-file hashes), so a reseed reading 0.6.12 -> 0.6.12 looks 'already current' while the file changed underneath. Deploy itself is safe (wake-install decides by cmp -s byte content) — this restores the identity claim, per mos-dt's review suggestion adopted by MOS as a merge condition. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01NsKce8iZuSuRnu3gVMCBKB --- packages/mosaic/framework/tools/wake/manifest.txt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/packages/mosaic/framework/tools/wake/manifest.txt b/packages/mosaic/framework/tools/wake/manifest.txt index 217b9100..ee75d735 100644 --- a/packages/mosaic/framework/tools/wake/manifest.txt +++ b/packages/mosaic/framework/tools/wake/manifest.txt @@ -306,8 +306,20 @@ # absence of these fields. # Changed: detector.sh, digest.sh (+ test-wake-detector.sh # D10/D11/D12/D13, test-wake-digest-quarantine.sh Q10). +# 0.6.13 #942/#943 SLACK-knob validation hardening, split from 0.6.12 because +# version= is the component's SOLE self-identity claim (no per-file +# hashes here) and two detector-changing merges after the 0.6.12 +# stamp had left three materially different detectors under one +# version string (#943 review §2). #942: the knob is resolved once, +# shape-validated, LOUD fallback 300, and forced base-10 (10#) so +# zero-padded values mean what the operator wrote instead of octal. +# #943: validation is a whole-string case pattern, not grep, so an +# embedded newline ($'300\n8' — accepted per-line by grep's ^...$ +# anchors, fatal in $((...))) rejects. Full rationale in the knob +# paragraph of the 0.6.12 entry above. +# Changed: detector.sh (+ test-wake-detector.sh D13). component=wake -version=0.6.12 +version=0.6.13 # Watch-list schema this component consumes, and the INCLUSIVE range of # schema_version values it supports. A wake-watch-list.json whose schema_version