From 445c0fe0fa0a3da20a4ed40e28e9fd7a1eec0a4b Mon Sep 17 00:00:00 2001 From: Dmitrii Vasilev Date: Mon, 19 Oct 2026 18:31:25 +0700 Subject: [PATCH] ci(dupe-ratchet): record the seven widget-logic helper copies as deliberate (Closes #11013) Master was red on duplicate-bodies since b92f6f161 (#10965): digits_val, ws_at, ws_back, ws_before, ws_fwd, ws_len_at and ws_len_before each exist twice across the widget logic ports (lut_explain/lut_treemap, fasm_skyline/stat_card/lut_depth). The earlier hex_digit copy named in the first brief was already removed by #10296. Each widget logic spec compiles to its own wasm module with module-level state, so a cross-module use is a design change that belongs to the widget epic (#10937), not to a red-master fix. The copies are recorded with python3 tools/dupe_scan.py --bless, run on the Railway lab: exactly seven lines added, dupe_scan exits 0 after, and a new duplicate still fails. Co-Authored-By: Claude Sonnet 5.5 --- tools/duplicate_bodies_baseline.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/duplicate_bodies_baseline.txt b/tools/duplicate_bodies_baseline.txt index a1733f0629..ecca4d5c2c 100644 --- a/tools/duplicate_bodies_baseline.txt +++ b/tools/duplicate_bodies_baseline.txt @@ -95,6 +95,7 @@ cordic_z_next 2 counter_24bit 2 debug_state_bits 2 deque_clear 2 +digits_val 2 dot4 2 effect_wanted 2 encode 2 @@ -180,4 +181,10 @@ wave_segments 2 weight_sign 2 wide_tail 2 writes_the_repo 2 +ws_at 2 +ws_back 2 +ws_before 2 +ws_fwd 2 +ws_len_at 2 +ws_len_before 2 xor2 2