From 0f788e337978f059329f21abb9b152c640ef3b36 Mon Sep 17 00:00:00 2001 From: Dmitrii Vasilev Date: Sun, 18 Oct 2026 15:16:34 +0700 Subject: [PATCH] dupe-ledger: bless the claw helper copies from #10283/#10286/#10287/#10288 (Closes #10311) duplicate-bodies has been red on master since the claw specs landed without moving the ledger. Each new group and why it stays for now: - buf_has, digit_byte, put_count, put_str (gates.t27 + sarif.t27, #10288): deliberate. sarif.t27 says so in its header: the writers are private in gates.t27 and sarif.t27 must lower alone under gen-c. - bytes_eq 2 -> 3 (`same` in sarif_pins.t27, #10288): the test-only pins companion compares strings by .len, which gen-c cannot lower. - str_eq (gates.t27 + suggest.t27, #10286) and has_prefix (service.t27 #10283, starts_with in preview.t27 #10287): same lower-alone constraint; sharing them into one claw helper module is a follow-up, not this commit. The ledger is `python3 tools/dupe_scan.py --bless` output on master 238b6a990, run on the Railway lab; the gate exits 0 after it. Not hand-edited. Co-Authored-By: Claude Opus 5.5 --- tools/duplicate_bodies_baseline.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/duplicate_bodies_baseline.txt b/tools/duplicate_bodies_baseline.txt index 151dae65ca..13a97657b5 100644 --- a/tools/duplicate_bodies_baseline.txt +++ b/tools/duplicate_bodies_baseline.txt @@ -35,6 +35,7 @@ match_at 4 neuron4 4 append 3 assign 3 +bytes_eq 3 category 3,2 check_balanced_braces 3 copy_bytes_at 3 @@ -78,10 +79,10 @@ bit_at 2 bits 2 booth_mul_i16 2 booth_mul_u32_inner 2 +buf_has 2 build_report_frame 2 bytes32_eq 2 bytes64_eq 2 -bytes_eq 2 carries_src2 2 charged 2 concat 2,2 @@ -93,6 +94,7 @@ cordic_z_next 2 counter_24bit 2 debug_state_bits 2 deque_clear 2 +digit_byte 2 dot4 2 effect_wanted 2 encode 2 @@ -103,6 +105,7 @@ generate_next_token_from_logits 2 get 2 hard_sigmoid 2 has_at 2 +has_prefix 2 has_star_inner 2 hex_digit 2 hw_place_before 2 @@ -131,8 +134,10 @@ ordinary_if 2 pipeline_f32 2 price_tokens 2 put 2 +put_count 2 put_lit 2 put_range 2 +put_str 2 remove 2 runRailwayLogsCommand 2 run_die_level_with 2 @@ -147,6 +152,7 @@ slices_equal 2 starts_with 2 startup_config 2 step_ef 2 +str_eq 2 text_equal 2 trit_add 2 trit_compare 2