From 8143387b4f3ded9f13ac533930d86cb879ab5165 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 31 Aug 2026 02:08:08 +0000 Subject: [PATCH] fmt: reformat the #1095 probe assertion (workspace fmt was red on main) PR #1095 merged with one rustfmt diff in crates/cognitive-shader-driver/tests/p64_target_identity_probe.rs:73 -- a windows(2).all(...) chain rustfmt wants split across lines. Formatting only; the assertion, its inputs and its meaning are unchanged, and the probe still passes. Scope, measured rather than assumed. Workspace-scoped `cargo fmt --check` was red on exactly ONE file, which is this one. `cargo fmt --all --check` reports 215 diffs, but 214 of those predate #1094/#1095 (verified by re-running the check at 703ac525, the merge-base before both) and all sit in crates/jc, crates/sigker and crates/thinking-engine -- all three workspace-EXCLUDED in Cargo.toml, so CI's fmt gate never reaches them. Those 214 are left untouched: they are a pre-existing condition in excluded crates, not this PR's business, and sweeping them would put ~200 unrelated files in a formatting commit. Verification: cargo fmt --check clean (workspace scope); the probe test passes. --- .../cognitive-shader-driver/tests/p64_target_identity_probe.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/cognitive-shader-driver/tests/p64_target_identity_probe.rs b/crates/cognitive-shader-driver/tests/p64_target_identity_probe.rs index 13cdcda8a..118647b85 100644 --- a/crates/cognitive-shader-driver/tests/p64_target_identity_probe.rs +++ b/crates/cognitive-shader-driver/tests/p64_target_identity_probe.rs @@ -73,7 +73,8 @@ fn distinct_p64_targets_collapse_to_one_emitted_ce64_identity() { "probe is vacuous: P64 did not produce multiple target archetypes: {targets:?}" ); assert!( - raw.windows(2).all(|pair| pair[0].distance == pair[1].distance), + raw.windows(2) + .all(|pair| pair[0].distance == pair[1].distance), "probe requires equal metric distance so only identity can distinguish targets: {raw:?}" );