Archived
Three sites -- the kvstream clamp (L-02), the batch overlap guard and the bidi-plane belt -- each open-coded the same four lines: a function- local static atomic<bool>, a bool expected, and a compare_exchange to decide which of the many steps gets to print. The pattern is the point, not the flag name (said, said2), so it moved to rad_internal.h as log_once(flag): true on the first call, false after. No behaviour change -- same first-of-many warnings, same compare-exchange thread-safety, exactly one winner per flag -- only the idiom is now named instead of re-typed where a fourth once-warning is ever needed.