fix(LTX25-DEVICE-SEAM-SIBLING): the third question, and a leakage bucket that is a property rather than a spelling (#659, #660) - #671
Conversation
…evice seam, and the gate that cannot see it (#659, #660) FOLLOWING_AGENTS_PROTOCOL `11cc1d589` routed LTX-2.5's device question through the platform seam. It fixed the lane it aimed at and left two things standing, both found by a peer session's reviewer while reviewing that repair for landing. #659 -- the seam was adopted, its companion guard was not. `ltx2_video.cpp:549` asks `CurrentPlatform().device_type()` and `TryGetBackend(...)`, but never `supports_model_architecture`, which is the third question the cited precedent `model_loader.cpp:97` asks and the reason a PARTIAL backend can decline by name. `metal.cpp:70` and `tenstorrent.cpp:52` are the two overriders. On those builds a `device = 1` load was refused BY NAME and is now accepted into a kernel bind. CUDA is unaffected -- which is exactly why it is invisible on the gate box. #660 -- the gate that certified that repair is a token grep. `check-device-leakage.py:78` is `\bkCUDA\b`; `minimax_h3_video.cpp:221-226` writes `static_cast<vt::DeviceType>(device)` and scores ZERO. The sharpest form: `test_minimax_h3_video_fold.cpp:162` asserts `... == vt::DeviceType::kCUDA`, so the gate counts the TEST's honest spelling and misses the SOURCE's laundered one. "kcuda 2 -> 0" is a true statement about the token and a weaker statement about the property than it reads. The spec's load-bearing constraint is on the new bucket: it must be derived from the property, not from the one spelling in the tree, and it must go RED for at least three spellings that are not that one. A bucket that only catches the known site is a regression test wearing a gate's clothes, and the row says so rather than claiming coverage. Explicitly out of scope: the leakage baseline. A peer measured today that `--write-baseline` refuses to RAISE the baseline, but hand-editing the JSON to a higher number makes the checker PASS -- so the file's only real defence is a visible, reviewed diff, and this row touches it only for its own new entries. Gate: `agent-preflight.sh --staged` is green except `test_cpu_x86_llamacpp_floor`, which failed under six concurrent build agents (`busy=163% load=60.36`, the NO_QUIET_WINDOW retry path) and is a recorded load artifact; this change is a spec plus two roadmap rows and cannot reach a CPU x86 llama.cpp floor. Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:claude-opus-5[1m] [claude-code]
The row branched from 11cc1d5 and main has moved 40 commits since. Merging before the gate so the ctest denominator this row reports is main's current one (443 registered), not the count at the branch point — a registration count that cannot be attributed is indistinguishable from a test this row dropped. Ordinary merge, no conflicts outside `.agents/roadmap_v1.md` and `tests/CMakeLists.txt`, both of which are keyed/append surfaces resolved by key. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: Claude:claude-opus-5 [ClaudeCode]
…ket that is a property rather than a spelling (#659, #660) Implements the committed spec .agents/specs/ltx25-device-seam-sibling.md. #659. 11cc1d5 routed LTX-2.5's device question through the platform seam and asked two of the three questions its own cited precedent asks. SelectQueueForModel (model_loader.cpp:97) also asks plat.supports_model_architecture(architecture), which exists so a PARTIAL backend can decline BY NAME. metal.cpp:70 and tenstorrent.cpp:52 are the only overriders and both declare exactly {OPTForCausalLM, Qwen3ForCausalLM}. On those builds a device = 1 diffusion load WAS refused by name and had become a queue bind that dies later inside a kernel. CUDA is unaffected - supports_model_architecture defaults to true - which is exactly why it is invisible on the box that runs the gates. The clause is added at the same site in ltx2_video.cpp, and minimax_h3_video.cpp now asks all three. #660. The kcuda bucket is the token grep \bkCUDA\b. minimax_h3_video.cpp:225 (pre-change) wrote static_cast<vt::DeviceType>(device) against kCUDA = 1 and scored ZERO, while test_minimax_h3_video_fold.cpp:162 spelled the token honestly and WAS counted: the gate read the confession and missed the act. It is also an enum-ordering hazard - reorder include/vt/device.h and every H3 device-1 load silently re-points. THE LOAD-BEARING CLAIM, which is why this row is worth landing. A bucket that grepped static_cast<vt::DeviceType> would close the one site we found and be the same defect one spelling later. dev_cast is anchored on the TARGET TYPE, matched over the whole comment-stripped text, and is RED for SIX spellings that are not in the tree, each asserted individually and each proved by removing the alternative that catches it: M20 C-style (vt::DeviceType)d | alt2 removed -> RED M21 functional vt::DeviceType(d) | alt3 removed -> RED M22 intermediate int + unqualified static_cast<> | alt1 removed -> RED M23 brace vt::DeviceType{d} | alt3 removed -> RED M24 cast split across two lines by clang-format | alt1/join -> RED M29 C-style past the parameter-declaration guards | alt2 removed -> RED Four independent mutations of the pattern, each restored and verified by sha256: alt1 -> 12 RED, alt2 -> 4 RED, alt3 -> 2 RED, join -> 15 RED. Removing any one alternative REDs its own mutants and no others among M20-M24/M29, so no branch is carrying another's weight. NEGATIVES, because a bucket that cannot be lived with gets deleted: M25 (static_cast<int>/<size_t> of a DeviceType is the SAFE direction and is how the seam indexes its own registry), M26 (prose and string literals), M27 (the platform registry walk is allowlisted at EXACTLY one - a second cast in platform.cpp still fails), M28 (DSR-ALLOW exempts and is printed loudly), M29 (a parameter declaration is not a cast). M29 is a real false positive the bucket produced on this tree, kept as a mutant: kv_connector.h:225's supports_worker_transfer_on(vt::DeviceType /*device*/) const strips to (vt::DeviceType ) followed by const, which is textually a C-style cast. Two discriminators fixed it and M29 pins both, together with the proof that they did not cost the real detection. RESIDUAL BLIND SPOTS ARE IN THE CHECKER'S OWN DOCSTRING, per the spec's instruction that a checker's message is the authority on what it enforces: casts through a type alias or a template parameter, bit_cast/memcpy/union punning, conversions inside the unscanned src/vt/ device leg, and the fact that nothing type-checks the operand. Those are gaps in a TEXT checker, stated rather than traded away. BASELINE: ONE ADDED LINE, NO CHANGED VALUE. "dev_cast": 0. total stays 32 and every other key is byte-identical. The key is required because load_baseline() reads every entry in BUCKETS; the value is 0 because the H3 site is REPAIRED rather than absorbed and the registry walk is allowlisted with a stated reason. A peer measured that --write-baseline refuses to raise the baseline but that hand-editing the JSON higher makes the checker PASS, so a two-line visible diff is the only real defence and it is called out here for the reviewer to check by md5 against the base for every key this row does not claim. metal.cpp / tenstorrent.cpp RUN NO DIFFUSION MODEL, checked before assuming per spec section 5, with OPTForCausalLM as a positive control in the same command: the control hit 3 times, ltx|minimax|h3|diffus|video hit 0 across platforms/{metal,tenstorrent}.cpp and src/vt/{metal,tenstorrent}/. The guard refuses nothing that works today, so the NEEDS_DECISION stop condition is not triggered. WHERE THE BRIEF AND THE SPEC DISAGREED, resolved in the spec's favour and recorded in the spec. The brief said test_minimax_h3_video_fold.cpp:161-164 must stay green UNCHANGED. Spec section 4.2 enumerates the contract as 0 -> kCPU, -1 and 2 throw, and SEPARATELY requires that on a CPU-only build 1 is REFUSED. Line 162 asserted MiniMaxH3VideoDeviceType(1) == kCUDA - precisely the cast's answer - and cannot survive the change. It is now build-conditional and asserts BOTH arms rather than skipping either. 161/163/164 are untouched. That file's CUDA-load case also registered a BACKEND and no PLATFORM; it could, because the cast never asked whether the build had an accelerator. It supplies both halves now. THE ONE JUDGEMENT CALL: supports_model_architecture is asked with the FAMILY string (ltx-2.5, minimax-h3), not an HF architectures[0] class name. The diffusion lanes are reached through LoadVideoEngine/VideoModelParams::family and never read an architectures entry, so the family slug is the only stable identifier they have, and it is the string the user actually typed. It does mean the seam's key space now mixes HF class names with family slugs; they cannot collide. Flagged rather than buried. GATE. CPU build, no CUDA. CMAKE_EXIT=0 BUILD_EXIT=0, zero compiler errors, zero warnings, zero "No space left"/"BFD assertion" in the build log. ctest -N = 445 = main-at-merge 444 + this row's one new executable; origin/main has since added three more (indextts2 #738/#739/#741), which is the whole of the drift from the 443 measured earlier. Full ctest -j4: 444/445 passed, 2 skipped, 1 FAILED - test_op_parity, which is #737 (a null where a string is required in the MiniMax-Music3 golden manifest added to main today) and reproduces on clean main; this row touches no parity golden. Note it printed "70 passed | 0 failed" while the case THREW: the exit code (CTEST_EXIT=8) is the authority, not the summary. Focused, before -> after: test_ltx2_video 30 cases / 502 assertions UNCHANGED; test_minimax_h3_video_fold 6 / 137 UNCHANGED (the one case I touched executes 4 assertions on either arm, exactly as before - the FAIL is on the untaken path); test_diffusion_device_seam 4 / 23, new. SOURCE MUTATIONS, each reverted independently, rebuilt, and restored by sha256: * revert the h3 seam to the cast -> test_diffusion_device_seam 2/4 cases FAIL (kXPU assertion and the DECLINES refusal), test_minimax_h3_video_fold FATAL at :214 "device 1 must be refused when no accelerator backend is registered", and check-device-leakage RED at dev_cast 1 > baseline 0. Three independent instruments, one defect. * drop the ltx2 capability clause -> test_diffusion_device_seam 1/4 cases FAIL, 5 assertions, on platform/architecture/DECLINES. Restored and re-green at 4/23 and 6/137. preflight --staged: 2 gates fail, audit-live-rows and test_audit_live_rows, both the stale ACTIVE MODEL-MUSIC-minimax-music3 row from a3aa02e. PROVEN not mine: the same single assertion fails in a clean origin/main worktree, and this diff touches no music3 path. Already filed as #731 and #733. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: Claude:claude-opus-5 [ClaudeCode]
…, and the test that ruled it out could not see it (#659, #660) Review repair for PR #671 at 094ac9e. Four findings; the core work the review reproduced (branch orthogonality, the by-hash baseline, both source mutations) is untouched. F1 (High). THE BUCKET MISSED THE PUREST FORM OF THE DEFECT. (vt::DeviceType)d -> dev_cast 1, RED (what M29 asserted) (vt::DeviceType)1 -> dev_cast 0, GREEN <-- MISSED (vt::DeviceType)-1 -> dev_cast 0, GREEN <-- MISSED The C-style alternative's trailing lookahead admitted only [A-Za-z_(], and `1` is a digit. Naming a device by its literal enum value is exactly what this bucket exists to police, so the one form it could not see was the one form it was for. What makes it High rather than a nit: the spec and the PR body both assert the M29 discriminators cost nothing, and they cost this - while M29's own "did not cost the real thing" assertion used an IDENTIFIER operand, so the test could not detect the gap it was written to rule out. A guard that certifies itself is the exact disease this row exists to fix, reproduced inside the row's own instrument. M29 now pins the literal FIRST, then the signed literal, then the identifier, all in the same file as the false-positive fixture. Re-derived rather than taken from the review: over src/vllm + include/vllm, 720 files, positive control \bDeviceType\b = 162 matches in the same command, admitting `0-9+-` adds ZERO hits and loses none. The only raw match under either pattern is platform.cpp:85's allowlisted registry-walk inverse. F3 (Medium). THE DOCSTRING UNDER-REPORTED, AND THREE CAST KEYWORDS WERE DEAD. Four more plain spellings read GREEN in SCANNED files, each compile-checked as legal C++ before being called a blind spot, and each now closed: static_cast<::vt::DeviceType>(raw) global-scope qualification static_cast<enum vt::DeviceType>(raw) elaborated-type-specifier vt::DeviceType dt{raw}; list-init in a DECLARATION (M23 caught only the unnamed temporary) *reinterpret_cast<vt::DeviceType*>(&raw) pointer punning The pointer target is what makes the keyword list honest. reinterpret_cast, const_cast and dynamic_cast TO a scoped enum are ill-formed - compile-checked, all three rejected, with static_cast as a live control that compiles - so before this change those three keywords could only ever have matched code that does not build. They created an appearance of coverage the pattern did not have. Matching a pointer target makes them live instead of dropping them. MEASURED, NOT ASSUMED. My first cut of the declaration form accepted `(` as well as `{` and introduced THREE false positives on the real tree - every function DEFINITION returning DeviceType, including MiniMaxH3VideoDeviceType and ResolveExplicitDeviceType. The declarator form takes `{` only, and that costs nothing real: `vt::DeviceType dt(raw)` is ill-formed, there being no implicit int -> scoped-enum conversion. M34 pins that negative. Final pattern: zero new hits, zero lost hits. Residual blind spots STILL NAMED in the docstring, per the row's own standard: type aliases, MACROS and template parameters resolving to DeviceType; bit_cast/memcpy/union punning (the pointer-cast spelling is now caught, these three are not, because no spelling of the target type appears at the site); the unscanned src/vt/ leg; and that nothing type-checks the operand - which is also why a pointer target counts, since const_cast<DeviceType*>(p) removes const rather than converting, and buys its exemption the same way. F2 (Medium). THE ROW ADDED A TEST THAT FAILS ON THE BUILD CLASS #659 SERVES. test_minimax_h3_video_fold.cpp's `have_accelerator` asked two of the three questions (device_type() != kCPU && TryGetBackend() != nullptr). On Metal or Tenstorrent both are true, so the test took the `== accelerator` arm while the source CORRECTLY refused, and the refusal surfaced as an uncaught exception. Proven by mutation, not deduced - a DecliningPlatform registered in the XPU slot, production code untouched: before :247 ERROR: CHECK( MiniMaxH3VideoDeviceType(1) == accelerator ) THREW "... DECLINES the architecture 'minimax-h3' ..." 6 cases | 5 passed | 1 failed | 137 assertions | FOLD_EXIT=1 after 6 cases | 6 passed | 0 failed | 137 assertions | FOLD_EXIT=0 So the row shipped a false RED on precisely the partial-backend build it was written to protect, invisible on the CPU and CUDA boxes that run the gates - which is this row's own thesis about #659, turned against its own test. The predicate is now three-way and asserts WHICH refusal, because a right refusal for a wrong reason is a wrong diagnosis that reads as a right one. The review also ruled on the earlier brief-vs-spec disagreement, and the spec won: keeping fold:162's `== kCUDA` would have required the source to still return kCUDA on a CPU-only build - the defect itself. The build-conditional form stays; F2 was a bug in the predicate, not in that decision. F4 (Low). AN ASSERTION THAT ONLY CHECKED ABSENCES. The "COMPLETE backend is not refused" case checked that DECLINES and supports_model_architecture were absent and never positively asserted the load reached the missing checkpoint, so it would pass on any OTHER wrong failure. Mutation (an unrelated Fail() planted after the capability clause): the two absence checks BOTH passed and only the new assertion caught it - 4 cases | 3 passed | 1 failed, 24 | 23 passed | 1 failed, the failure at :178 on the /nonexistent/ path. Restored by sha256. F6. THE DECLINE CONSEQUENCE INVERTS THE CITED PRECEDENT, recorded in the spec, no code change. model_loader.cpp:97's capability question lives on the kAuto path, whose answer to a decline is to fall through to :103 and serve on CPU; metal.cpp:65-69 states that policy in as many words. Both diffusion lanes THROW. That is correct - device = 1 is an explicit accelerator request, and :71-72 already says an explicit accelerator must fail loudly rather than silently serve on CPU - but the PR described the change as mirroring the precedent, and it mirrors the QUESTION while inverting the CONSEQUENCE. Both halves are the seam's own, from two different paths of it. Also recorded: vulkan.cpp does NOT override supports_model_architecture, so a partial Vulkan build still binds and dies. Residual, not this row's to fix. GATE. CPU build, no CUDA. BUILD_EXIT=0 throughout, zero "No space left"/"BFD assertion" in any build log. tests/scripts/test_device_leakage.py 37 -> 42 tests, OK, exit 0. RED-first against the HEAD checker: 5 failures (M29 strengthened, M30-M33). M34 is green both before and after by construction - it guards a false positive the change could have introduced, not one it fixes. check-device-leakage on the real tree: dev_cast=0, total 32 == baseline 32. scripts/device-leakage-baseline.json is UNTOUCHED by this commit. test_minimax_h3_video_fold 6 / 137 -> 6 / 137, UNCHANGED. test_diffusion_device_seam 4 / 23 -> 4 / 24, +1 = the F4 assertion, exactly. Both source mutations restored and verified by sha256, not by git status. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: Claude:claude-opus-5 [ClaudeCode]
The branch was 16 commits behind origin/main (7b8919d) and the PR read CONFLICTING. Sole conflict: .agents/roadmap_v1.md. RESOLVED BY KEY, NOT BY THREE-WAY. roadmap_v1.md is a keyed record, so AGENTS.md forbids accepting an automatic merge of it: main's version was taken WHOLESALE and this row's two scoped edits - the #659 and #660 issue rows - reapplied onto it by key. Verified afterwards that the file differs from origin/main on exactly two lines, both owned keys, with the line COUNT unchanged so no row was added or dropped. Main had inserted a row above them (branch line 197 -> main line 198), which is precisely the drift that makes an automatic three-way unsafe here. docs/USAGE.md and tests/CMakeLists.txt auto-merged; both checked to carry BOTH sides - this row's test_diffusion_device_seam registration and main's four new indextts2 registrations are all present, and no conflict marker survives in any of the three files. Re-gated after the merge rather than trusting the pre-merge result: a clean merge is not a merge that builds. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: Claude:claude-opus-5 [ClaudeCode]
…the pattern named one sigil (#659, #660) FOLLOWING_AGENTS_PROTOCOL Review finding F5, and the third time this row's own thesis has come back for its instrument. `dev_cast`'s docstring says the bucket is "anchored on the TARGET TYPE, not on the operand and not on one cast keyword", and lists `std::bit_cast` as unreachable "because no spelling of the target type appears at the conversion site". Both claims were false for spellings that DO write the target type at the conversion site and scored ZERO. A checker's own message is the authority on what it enforces (AGENTS.md), so an over-claiming message is a defect in the gate, not in the prose. Nine spellings, every one compile-verified legal (g++ -std=c++20 -Wall -Wextra, exit 0 — read, not assumed), each 0 before and 1 after: reinterpret_cast<vt::DeviceType&>(raw) reference target; the standard DEFINES it as M33's pointer pun static_cast<vt::DeviceType const>(d) east const static_cast<vt::DeviceType const&>(t) east const + reference, the form that compiles with NO warning and so survives a -Werror build (vt::DeviceType const)d east const, C-style (vt::DeviceType)*cursor the WIRE-DECODE spelling the docstring itself names as the expected DSR-ALLOW case (vt::DeviceType)~mask / )!flag the same trailing-class hole reinterpret_cast<vt::DeviceType**>(p) `\*?` is ONE star std::bit_cast<vt::DeviceType>(raw) spells the target in full Three edits: the named-cast target takes cv on either side of the name and a RUN of `*`/`&`; the C-style trailing class admits `*~!`; `bit_cast` joins the cast keywords. `&` is deliberately NOT admitted after a C-style `)` — `) &` and `) &&` are ref-qualifiers on a member declarator, which is the false positive the trailing guard exists to reject, so the C-STYLE pointer pun `*(vt::DeviceType*)&x` stays blind and is now NAMED as blind with the reason that is true of it. The blind-spot list no longer shares one reason across entries it is false for. Measured, not asserted. Over 740 files in `src/vllm` + `include/vllm`, with `\bDeviceType\b` = 162 matches as a POSITIVE CONTROL in the same command: 0 new, 0 lost. Shipped hits 1, widened hits 1 — the same allowlisted `platform.cpp:85` registry-walk inverse. dev_cast stays 0, total stays 32, the baseline is untouched. M35-M40 pin it, one mutant per newly-closed spelling, each sub-spelling asserted INDIVIDUALLY (the M29 shape) because a mutant that only exercises the case the pattern was tuned for is a guard that certifies itself. RED-before is real: with the pattern reverted to its pre-repair value in-process, M35-M39 all go RED while M20, M33 and M40 stay GREEN, so a blanket failure cannot pass for five findings. M40 is the negative — pointer- and reference-returning declarations, ref- and rvalue-ref-qualified members with a SPACE before the paren, volatile members, `std::vector<vt::DeviceType*>` — all still 0. Issues: #659, #660. Campaign: #644. Spec: .agents/specs/ltx25-device-seam-sibling.md Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:claude-opus-5[1m] [Claude Code]
FOLLOWING_AGENTS_PROTOCOL 29 commits behind, and `git merge-tree` conflicted, so this is a real re-merge rather than a fast-forward. One conflict, in `tests/CMakeLists.txt`: main added `test_ltx2_image_cond` (row LTX25-IMAGE-COND, `c629b5d0f`) at the same insertion point this row added `test_diffusion_device_seam`. Both sides are pure additions; resolved by keeping BOTH, main's block byte-for-byte first and this row's entry after it, so the resolved file differs from `33f570ea9` by exactly the seven lines this row owns (verified with `git diff 33f570e -- tests/CMakeLists.txt`). The keyed records were NOT taken on the auto-merge's word. `.agents/roadmap_v1.md` was compared key-by-key against main: 264 keys on both sides, 0 added, 0 removed, exactly `#659` and `#660` changed, and 0 differing non-table lines. `docs/USAGE.md` differs by exactly this row's one paragraph in the LTX-2.5 device section. `docs/FEATURES.md`, `docs/STATUS.md` and `docs/BENCHMARKS.md` are untouched, so #769's duplicated `Safetensors direct load` key is neither fixed nor multiplied here. `src/vllm/multimodal/ltx2_video.cpp` auto-merged with the #659 guard intact, and the merged tree still has exactly ONE raw `dev_cast` hit -- the allowlisted `platform.cpp` registry-walk inverse -- so the baseline needs no touching. Merge-tree CLEAN is not merge-tree BUILDS, so the gate is re-run on the merged tree rather than inferred from it. Issues: #659, #660. Campaign: #644. Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:claude-opus-5[1m] [Claude Code]
…he merge, and record F5 (#659, #660) FOLLOWING_AGENTS_PROTOCOL `9f2b9bb9a` moved `tenstorrent.cpp`'s `supports_model_architecture` from `:52` to `:55`. This branch cited `:52` in four places, all of which became wrong the moment the re-merge landed: src/vllm/multimodal/ltx2_video.cpp tests/vllm/multimodal/test_diffusion_device_seam.cpp .agents/specs/ltx25-device-seam-sibling.md (x2) Re-derived on the MERGED tree, not copied from the review: `tenstorrent.cpp:55`, and `metal.cpp:70`, `interface.h:263`, `model_loader.cpp:97` all still hold. Every `path:NN` anchor in this row's files was then resolved mechanically rather than spot-checked — 103 distinct anchors — and the only ones that do not land on live code are upstream Python paths (not in this tree) and the two `examples/*/main.cpp` citations in `minimax_h3_video.cpp:3-4`, which carry their own `@ fc636c7` and are therefore provenance rather than drift. `#794` records the rest of this lane's mis-cited anchors and is not widened here. The one anchor this row OWNS that was drifting the same way is `minimax_h3_video.cpp:221-226` in §0 and in the `#660` roadmap key: it describes the defect this row REMOVES, so an unanchored line number there points at a blank line the moment the row lands. Anchored on the spec's base SHA `11cc1d589`, where `git show` resolves it to exactly the `static_cast<vt::DeviceType>(device)` the issue is about. The spec gains a `## Findings from review round 2` section carrying F5's nine spellings, their compile proofs, the 0-new/0-lost measurement with its positive control, and — stated as a finding rather than buried — the ONE spelling that stays blind and the reason that is true of it. `## Now` is refreshed; the row stays `READY`, so no lifecycle surface is owed. The `#660` roadmap key is corrected from "TEN spellings" to nineteen, since a record that under-states its own gate is the same class of defect this row keeps finding. Verified keyed: 264 keys on `33f570ea9` and 264 here, 0 added, 0 removed, exactly `#659` and `#660` changed, 0 differing non-table lines. Issues: #659, #660. Campaign: #644. Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:claude-opus-5[1m] [Claude Code]
F5 repaired, re-merged onto
|
| spelling | why it slipped | before | after |
|---|---|---|---|
reinterpret_cast<vt::DeviceType&>(raw) |
reference target; the standard defines it as M33's pointer pun | 0 | 1 |
static_cast<vt::DeviceType const>(d) |
east const | 0 | 1 |
static_cast<vt::DeviceType const&>(t) |
east const + reference — compiles with no warning, so it survives -Werror where the prvalue form trips -Wignored-qualifiers |
0 | 1 |
(vt::DeviceType const)d |
east const, C-style | 0 | 1 |
(vt::DeviceType)*cursor |
trailing class admitted a sign, not a dereference — and this is the wire-decode spelling the docstring itself names as the expected DSR-ALLOW case |
0 | 1 |
(vt::DeviceType)~mask |
same hole | 0 | 1 |
(vt::DeviceType)!flag |
same hole | 0 | 1 |
reinterpret_cast<vt::DeviceType**>(p) |
\*? is one star |
0 | 1 |
std::bit_cast<vt::DeviceType>(raw) |
the docstring's own reason ("no spelling of the target type appears at the conversion site") is false for it | 0 | 1 |
Every one is compile-verified legal — g++ -std=c++20 -Wall -Wextra -fsyntax-only, exit 0, individually — because a "miss" that does not compile is not a miss.
Three edits: the named-cast target takes cv-qualifiers on either side of the name and a run of */&; the C-style trailing class admits *~!; bit_cast joins the cast keywords.
What stays blind, and why the docstring now says so per-entry
& is deliberately not admitted after a C-style ): ) & and ) && are ref-qualifiers on a member declarator, which is exactly the false positive the trailing guard exists to reject, and it cannot tell void note (vt::DeviceType*) & from a pun. So the C-style pointer pun *(vt::DeviceType*)&x remains blind and is now named as blind with the reason true of it. The old blind-spot list gave one shared reason to three entries and that reason was false for one of them; each entry now carries its own.
Measured, with the positive control in the same command
Over 760 files in src/vllm + include/vllm on the merged tree, \bDeviceType\b = 162 matches as the positive control:
files examined : 760
POSITIVE CONTROL \bDeviceType\b: 162 matches over the same file set
dev_cast raw hits SHIPPED : 1
dev_cast raw hits REPAIRED : 1
NEW (repaired - shipped) : 0
LOST (shipped - repaired) : 0
= src/vllm/platforms/platform.cpp:85: static_cast<DeviceType>
dev_cast stays 0, total stays 32, device-leakage-baseline.json untouched this round.
M35-M40, each sub-spelling asserted individually
RED-before is real rather than narrated: with the pattern reverted in-process to its pre-repair value, M35-M39 all go RED while M20, M33 and M40 stay GREEN — so a blanket failure cannot pass for five findings.
M35 reverted-pattern verdict = RED expected RED -> ok
M36 reverted-pattern verdict = RED expected RED -> ok
M37 reverted-pattern verdict = RED expected RED -> ok
M38 reverted-pattern verdict = RED expected RED -> ok
M39 reverted-pattern verdict = RED expected RED -> ok
M20 reverted-pattern verdict = GREEN expected GREEN -> ok
M33 reverted-pattern verdict = GREEN expected GREEN -> ok
M40 reverted-pattern verdict = GREEN expected GREEN -> ok
M40 is the negative the widening could have cost: pointer- and reference-returning declarations, ref- and rvalue-ref-qualified members with a space before the paren, volatile members, std::vector<vt::DeviceType*> — all still 0.
Re-merge
29 behind, merge-tree conflicted. One conflict, tests/CMakeLists.txt: main added test_ltx2_image_cond at the same insertion point this row added test_diffusion_device_seam. Both pure additions, both kept, main's block byte-for-byte first. git diff 33f570ea9 -- tests/CMakeLists.txt is exactly this row's seven lines.
Keyed records were not taken on the auto-merge's word. .agents/roadmap_v1.md: 264 keys on both sides, 0 added, 0 removed, exactly #659 and #660 changed, 0 differing non-table lines. docs/USAGE.md differs by exactly this row's one paragraph. FEATURES.md / STATUS.md / BENCHMARKS.md untouched, so #769's duplicated Safetensors direct load key is neither fixed nor multiplied.
Anchors
9f2b9bb9a moved tenstorrent.cpp's supports_model_architecture :52 → :55. All four citations corrected, re-derived on the merged tree. metal.cpp:70, interface.h:263, model_loader.cpp:97 re-derived and still hold. All 103 distinct path:NN anchors in this row's files resolved mechanically; the only non-resolving ones are upstream Python paths and the two examples/*/main.cpp citations that carry @ fc636c76 and are provenance rather than drift. #794 is not widened here. minimax_h3_video.cpp:221-226 — the line this row removes — is now anchored on the spec's base SHA 11cc1d589, where git show resolves it to the exact static_cast.
Review round 3 of #671 found this row's own thesis in the checker's message for a fourth time. This time it sat inside a blind-spot entry. `check-device-leakage.py:78-83` covered "a C-style cast to a pointer or reference" under one reason: "both are `)` followed by `&`". That reason is true of `*(vt::DeviceType*)&x`. It is false of `(vt::DeviceType&)raw`, whose next character is an identifier. The reviewer built the feared false positive instead of accepting the argument, and the entry split cleanly. Widening only inside the parens catches the reference form and `(vt::DeviceType*)vp` at zero new hits. The negatives `void note (vt::DeviceType*) &;` and `... &&;` stay at zero, because `&` remains out of the trailing class. So the trailing exclusion earns its place, the C-style pointer pun stays blind for a reason of its own, and the one entry becomes two. Eight spellings close here, counted rather than rounded. A compiler proved each one legal (g++ 13.3, `-std=c++20 -Wall -Wextra -fsyntax-only`, exit 0), and each measured 0 before and 1 after on its own. The C-style targets `(vt::DeviceType&)raw` and `(vt::DeviceType*)vp` needed the run inside the parens. The declaration form carried no cv-group at all, so `vt::DeviceType const d{raw}`, `vt::DeviceType volatile d{raw}` and `struct Cfg { vt::DeviceType const kD{1}; }` all scored 0. That is a fourth place a cv-qualifier sits, while M36 asserted "all three places". That is M29's self-certifying enumeration, one round later. `std::bit_cast<vt::DeviceType, std::uint8_t>(raw)` slipped because `bit_cast` is a function template with two parameters, and terminating the target at `>` assumed the one-argument shape of the four real casts. `reinterpret_cast<vt::DeviceType* const&>(p)` slipped because the `[*&]` run stopped at the first cv-qualifier. `__builtin_bit_cast(vt::DeviceType, raw)` slipped because it is not a template-id at all. One pre-existing false positive closes rather than grows. `sizeof (vt::DeviceType) + 1` already scored 1. `sizeof` is not glued to its paren, so the identifier discriminator passes, and `+` sits in the trailing class. Admitting `*` inside the parens would extend that miss to the pointer spelling. A `sizeof` or an `alignof` converts nothing, so the pattern excludes both. M45 pins it and goes RED against the shipped pattern. The rest of this change stops widening and makes the claim honest. Four rounds each found a spelling the previous round's message already claimed, and every one closed at zero hits, so none was a coverage trade. There was simply another spelling each time. The docstring now claims only measured behavior. It enumerates the forms it matches. It gives every blind spot a reason true of that entry alone. The list holds the C-style pointer pun, a character-literal operand, which the comment stripper blanks to whitespace before the pattern runs, and `memcpy` or a union, whose reason becomes "no cast expression to anchor on" rather than the `bit_cast` reason they wrongly carried. It then states the residual as a property. A text checker enforces a set of spellings, so a green `dev_cast` reports that none of the listed spellings is present, and never that no integer becomes a DeviceType here. The structural answer is an AST-level check, filed as #828 with all four rounds as its evidence, and deliberately not built here. M41-M46 add one mutant per newly closed spelling, each asserted on its own. M46 is a new shape. It pins that the declared blind spots stay blind, with `(vt::DeviceType)buf[0]` as a positive control in the same test. A later widening that closes one of them turns M46 RED, which forces the message to change in the same commit. RED-before is measured, not narrated. With `RE_DEVTYPE_CAST` reverted in process to `79ebbce42`, exactly six mutants go RED (M36, M41-M45), and M20, M33, M40 and M46 stay GREEN, so one blanket failure cannot pass for six findings. The applied pattern reds none of them. The suite grows 48 -> 54. The tree measurement is re-derived, not quoted. The scanned set is 760 files across `src/vllm` and `include/vllm`, not the 740 that the roadmap row and this spec both claimed. The same pass measured `\bDeviceType\b` = 162 and `\bkCUDA\b` = 18 as positive controls, and `bit_cast` = 0 against `static_cast` = 9950. The result is 0 new and 0 lost. `dev_cast` stays at its single allowlisted `platform.cpp:85` registry-walk inverse, the total stays 32 against a baseline of 32, and this commit does not touch `scripts/device-leakage-baseline.json`. This commit's body follows `.agents/style/commits.md`, which lands in the merge below it. The prose inside `check-device-leakage.py` and the spec keeps the em dashes and semicolons of the surrounding text, which `.agents/style/prose.md` now discourages. Rewriting that file's voice is not this row's scope, and a dash-free island inside a docstring written in the older voice would read worse than either choice alone. The deviation is stated here so a reviewer can rule on it rather than discover it. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:claude-opus-5 [claude-code]
The branch sat 17 commits behind `origin/main`, and the last full gate ran from the previous merge base. This merge re-bases the row's evidence on the tree it will land in. None of main's 17 commits touches this row's files. `tests/CMakeLists.txt` gains 4 registrations on main and 1 on this branch, so the merged count is 456 and neither side moved the other's entry. `.agents/roadmap_v1.md` is a keyed record: main still carries the pre-branch text for the #659 and #660 keys, this branch carries the current text, and every other key comes from main unchanged. `.agents/style/commits.md` and `.agents/style/prose.md` arrive in this merge. The commit below it follows the commit guide. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:claude-opus-5 [claude-code]
… SHA (#660) The round-3 repair corrected "740 files" to 760. Re-running the same measurement on the merged tree returned 765, because main added five source files under `src/vllm` and `include/vllm` in the 17 commits this branch just merged. That is the interesting part, so this commit records it rather than silently overwriting one number with another. A file count of one tree, stored inside another file, is a measurement that every unrelated pull request invalidates. AGENTS.md names that shape under "never store a measurement of one file inside another file". The 740 was not wrong when someone wrote it. It rotted. Both records now carry the SHA the number was measured at. A reader who finds a mismatch then knows to re-derive the count instead of doubting the rest of the section. The durable statement is the pair of positive controls, which the merge left unchanged: `\bDeviceType\b` = 162 and `\bkCUDA\b` = 18 in the same pass, `dev_cast` still at its single allowlisted `platform.cpp:85` registry-walk inverse, and 0 new and 0 lost against the shipped pattern. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:claude-opus-5 [claude-code]
Implements the committed spec
.agents/specs/ltx25-device-seam-sibling.md.Issues: #659, #660. Campaign: #644.
The two defects
#659 — the seam was adopted, its companion guard was not.
11cc1d589routedLTX-2.5's device question through the platform seam and asked two of the three
questions its own cited precedent asks.
src/vllm/entrypoints/model_loader.cpp:97also asks
plat.supports_model_architecture(architecture), which exists so aPARTIAL backend can decline by name.
src/vllm/platforms/metal.cpp:70andsrc/vllm/platforms/tenstorrent.cpp:52are the only two overriders and bothdeclare
{"OPTForCausalLM", "Qwen3ForCausalLM"}. On those builds adevice = 1LTX-2.5 load was refused by name and had become a queue bind that dies later
inside a kernel. CUDA is unaffected, which is why it is invisible on the gate box.
#660 — the gate that certified it is a token grep.
scripts/check-device-leakage.py'skcudabucket is\bkCUDA\b.src/vllm/multimodal/minimax_h3_video.cpp:225(pre-change) wrotestatic_cast<vt::DeviceType>(device)againstkCUDA = 1and scored zero,while
tests/vllm/models/test_minimax_h3_video_fold.cpp:162spelled the tokenhonestly and was counted. The gate read the confession and missed the act.
The load-bearing claim:
dev_castis a property, not a spellingA bucket that grepped
static_cast<vt::DeviceType>would close the one site wefound and be the same defect one spelling later. The bucket is anchored on the
target type, matched over the whole comment-stripped text, and is asserted
RED for ten spellings that are not in the tree, each individually:
(vt::DeviceType)dvt::DeviceType(d)int+ unqualifiedstatic_cast<DeviceType>(raw)vt::DeviceType{d}(unnamed temporary))1, a signed literal)-1and an identifier operandstatic_cast<::vt::DeviceType>(raw)static_cast<enum vt::DeviceType>(raw)vt::DeviceType dt{raw}*reinterpret_cast<vt::DeviceType*>(&raw)Each goes RED with
DSR REGRESSION in bucket 'dev_cast': 1 > baseline 0— exceptM29, which appends its three operand kinds to the same false-positive fixture and
so reds at
1 >, then2 >, then3 > baseline 0, proving the discriminatorscost none of them.
M22 is the one that separates "anchored on the target type" from "anchored on
the operand": the thing cast is neither a literal nor the parameter, and the
qualifier is dropped.
Negatives, so the bucket stays usable: M25 (
static_cast<int>(t)andstatic_cast<size_t>(t)— the safe direction, and how the seam indexes its ownregistry — do not count), M26 (prose and string literals do not count), M27 (the
platform registry walk is allowlisted at exactly one; a second cast in that
file still fails), M28 (
DSR-ALLOWexempts adev_castand is printed loudly),M29 (a parameter declaration is not a cast).
Negative M34 (review): a function definition whose return type is
DeviceTypeis not a conversion. Not hypothetical — the first cut of M32'sdeclaration form accepted
(as well as{and produced three false positiveson the real tree, including
MiniMaxH3VideoDeviceTypeandResolveExplicitDeviceType. The declarator form takes{only, which costsnothing real because
vt::DeviceType dt(raw)is ill-formed.Residual blind spots, recorded in the checker's own docstring because a
checker's message is the authority on what it enforces: casts through a type
alias, a macro, or a template parameter;
bit_cast/memcpy/union punning(the pointer-cast spelling is now caught — these three are not, because no
spelling of the target type appears at the site); conversions inside the
unscanned
src/vt/device leg; and the fact that nothing type-checks theoperand, so the bucket flags every cast to
DeviceTypeand relies onDSR-ALLOWfor a legitimate wire-format decode — which is also why a pointertarget counts, since
const_cast<DeviceType*>(p)removes const rather thanconverting, and buys its exemption the same way.
metal.cpp/tenstorrent.cpprun no diffusion modelChecked before assuming, per spec §5. Searched their own vocabulary over
src/vllm/platforms/{metal,tenstorrent}.cppandsrc/vt/{metal,tenstorrent}/with
OPTForCausalLMas a positive control in the same command: the controlhit 3 times,
ltx|minimax|h3|diffus|videohit 0. The guard refuses nothing thatworks today, so §6's
NEEDS_DECISIONstop condition is not triggered.Baseline: every line touched, with its reason
scripts/device-leakage-baseline.json— one added line, no changed value:totalstays 32 and every other bucket is byte-identical. The key isrequired because
load_baseline()reads every entry inBUCKETS; the value is0because the H3 site is repaired rather than absorbed, and the platformregistry walk is allowlisted with a stated reason rather than counted. No number
in this file goes up. (A peer measured that
--write-baselinerefuses to raisethe baseline but that hand-editing the JSON higher makes the checker PASS — so
this diff being two lines and visible is the only real defence, and it is stated
here for the reviewer to check by md5 against the base for every other key.)
The one judgement call
supports_model_architectureis asked with the family string (ltx-2.5,minimax-h3), not an HFarchitectures[0]class name. The diffusion lanes arereached through
LoadVideoEngine/VideoModelParams::familyand never read anarchitecturesentry, so the family slug is the only stable identifier theyhave — and it is the string the user actually typed, which is what the refusal
names. It does mean the seam's key space now mixes HF class names with family
slugs. They cannot collide. Flagged rather than buried.
A disagreement between the dispatch brief and the spec, resolved in the spec's favour
The brief said
test_minimax_h3_video_fold.cpp:161-164must stay greenunchanged. The spec's §4.2 enumerates the contract as
0 → kCPU,-1and2throw, and separately requires that on a CPU-only build1is refused.Line 162 asserted
MiniMaxH3VideoDeviceType(1) == kCUDA— precisely the cast'sanswer — and cannot survive the change. It is now build-conditional and asserts
both arms rather than skipping either:
== acceleratorwhere one isregistered, refused-by-name where none is. 161/163/164 are untouched.
The review upheld this and corrected the other half of it — see the review
section below: the build-conditional form was right, but the predicate choosing
between its arms asked two of the three questions and so red on a correct
refusal.
Relatedly, that file's CUDA-load case registered a backend and no
platform — it could, because the cast never asked whether the build had an
accelerator. It supplies both halves now. That is the defect being visible, not
a harness concession: a build with a CUDA backend registered and no CUDA platform
is not a build that runs on CUDA.
Out of scope, held to
supports_model_architecturedefaults totrue,so CUDA and CPU selection is byte-unchanged; the existing suite passing
unchanged on this box is the gate for that.
src/vllm/multimodal/video_engine.cppuntouched (video_engine.cpp reaches Windows with unguarded POSIX stat — reddens windows-msvc-* on EVERY open PR #664 / PR fix(#664): the video registry's existence probes stop reaching Windows with POSIX stat #677 own it).Review repair (findings from the review of
094ac9e4)The review returned FAIL with sound core work: it reproduced every green and
every claimed mutation, verified branch orthogonality, confirmed the baseline
diff by hash, and independently planted three fresh spellings that each went RED.
Four findings, all repaired here.
F1 (High) — the bucket missed the purest form of the defect, and the test that
was supposed to rule that out could not see it.
The C-style alternative's trailing lookahead admitted only
[A-Za-z_(], and1is a digit. A C-style cast of an integer literal — the device named by its
raw enum value — is exactly what this bucket exists to police, so the one form it
could not see was the one form it was for.
What makes it High rather than a nit: this PR asserted that the M29
discriminators cost nothing, and they cost this — while M29's own "did not cost
the real thing" assertion used an identifier operand, so the test could not
detect the gap it was written to rule out. A guard that certifies itself is the
exact disease this row exists to fix, reproduced inside the row's own instrument.
M29 now pins the literal first, then the signed literal, then the identifier,
all in the same file as the false-positive fixture.
Re-derived rather than taken on report: over
src/vllm+include/vllm, 720files, with
\bDeviceType\b= 162 matches as a positive control in the samecommand, admitting
0-9+-adds zero hits and loses none. The only raw matchunder either pattern is
platform.cpp:85's allowlisted registry-walk inverse.F3 (Medium) — the docstring under-reported, and three cast keywords were dead.
Four more plain spellings read GREEN in scanned files. Each was compile-checked
as legal C++ before being called a blind spot, and each is now closed (see the
M30–M33 rows above). The pointer target is what makes the keyword list honest:
reinterpret_cast,const_castanddynamic_castto a scoped enum areill-formed — compile-checked, all three rejected, with
static_castas a livecontrol that compiles — so before this change those three keywords could only
ever have matched code that does not build. They created an appearance of
coverage the pattern did not have. Matching a pointer target makes them live
rather than dropping them.
F2 (Medium) — the row added a test that FAILS on the build class #659 exists to
serve.
test_minimax_h3_video_fold.cpp'shave_acceleratorasked two of thethree questions (
device_type() != kCPU && TryGetBackend() != nullptr). On Metalor Tenstorrent both are true, so the test took the
== acceleratorarm while thesource correctly refused, and the refusal surfaced as an uncaught exception.
Proven by mutation, not deduced — a
DecliningPlatformregistered in the XPUslot, production code untouched:
:247 ERROR: CHECK( MiniMaxH3VideoDeviceType(1) == accelerator ) THREW … "DECLINES the architecture 'minimax-h3'"— 6 cases, 5 passed / 1 failed, 137 assertions,FOLD_EXIT=1FOLD_EXIT=0So the row shipped a false RED on precisely the partial-backend build it was
written to protect — invisible on the CPU and CUDA boxes that run the gates,
which is this row's own thesis about #659 turned against its own test. The
predicate is now three-way and asserts which refusal, because a right refusal
for a wrong reason is a wrong diagnosis that reads as a right one.
F4 (Low) — an assertion that only checked absences. The "COMPLETE backend is
not refused" case checked that
DECLINESandsupports_model_architecturewereabsent and never positively asserted that the load reached the missing
checkpoint, so it would pass on any other wrong failure. Mutation (an unrelated
Fail()planted after the capability clause): the two absence checks bothpassed and only the new assertion caught it — 4 cases, 3 passed / 1 failed;
24 assertions, 23 passed / 1 failed; the failure at
:178on the/nonexistent/path.
ltx2_video.cpprestored and verified by sha256.F6 — the decline consequence inverts the cited precedent (recorded in the
spec, no code change).
model_loader.cpp:97's capability question lives on thekAutopath, whose answer to a decline is to fall through to:103and serveon CPU;
metal.cpp:65-69states that policy in as many words. Both diffusionlanes instead throw. That is correct —
device = 1is an explicitaccelerator request, and
model_loader.cpp:71-72already says an explicitaccelerator must fail loudly rather than silently serve on CPU — but this PR
described the change as mirroring the precedent, and it mirrors the question
while inverting the consequence. Both halves are the seam's own, taken from two
different paths of it. Also recorded:
vulkan.cppdoes not overridesupports_model_architecture, so a partial Vulkan build still binds and dies.Residual, not this row's to fix.
New-branch orthogonality
Each of the five new capabilities REDs its own mutant and no other; the
unmutated suite REDs none. Checker restored and sha256-verified after every one.
M29::in the qualifier (F3-a)M30enumin the qualifier (F3-b)M31M32M33M34is proven the same way in reverse: re-admitting(to the declarator formmakes it RED at 4 != 0.
Landing: re-merged onto
origin/mainThe PR was
CONFLICTINGand 16 commits behindorigin/main(7b8919da).Sole conflict:
.agents/roadmap_v1.md. It is a keyed record, so main'sversion was taken wholesale and this row's two scoped edits — the
#659and#660rows — reapplied by key. Verified afterwards that the file differs fromorigin/mainon exactly two lines, both owned keys, with the line countunchanged. Main had inserted a row above them (branch line 197 → main line 198),
which is precisely the drift that makes an automatic three-way unsafe here.
docs/USAGE.mdandtests/CMakeLists.txtauto-merged and were checked to carryboth sides.
Gate (re-run after the merge — a clean merge is not a merge that builds)
CPU build, no CUDA.
CFG_EXIT=0,BUILD_EXIT=0, zeroNo space left/BFD assertionin any build log.ctest -N= 456 (was 445 on the stale base — the drift is main's, 16 commits of it).Full
ctest -j4: 454/456 passed, 2 skipped, 2 failed,CTEST_EXIT=8. Neitherfailure is mine, and neither is asserted — both are demonstrated:
test_serve_low_tools— not on the known-red list, so it was checked ratherthan assumed. Passes serially:
1/1 Passed, 53.22 sec, exit 0. Actest -j4starvation artifact. This diff touches zero serve/tool paths.
test_op_parity— main red: test_op_parity throws on the MiniMax-Music3 golden manifest — null where a string is required #737, reproduces serially with[json.exception.type_error.302] type must be string, but is nullattests/parity/test_op_parity.cpp:1989. It printsassertions: 70 | 70 passed | 0 failedwhile the case threw, so the exit code is the authority, not thesummary. This diff touches no parity golden.
Focused, before → after:
test_ltx2_videofc903b8dd(#674) added oneTEST_CASE, and that commit's own message records31 cases / 513 assertions. The test file is byte-identical toorigin/mainon this branchtest_minimax_h3_video_foldtest_diffusion_device_seamtests/scripts/test_device_leakage.pyRED-first for the repair: against the checker at
094ac9e4, the new suite fails5 times (M29 strengthened, M30–M33).
M34is green both before and after byconstruction — it guards a false positive the change could have introduced, not
one it fixes.
check-device-leakageon the real tree:dev_cast=0, total 32 == baseline32.
scripts/device-leakage-baseline.jsonis untouched by the repaircommit.
Not mine, proven rather than asserted
audit-live-rows/test_audit_live_rows— the stale ACTIVEMODEL-MUSIC-minimax-music3row. This diff touches zero music3 paths(positive control: the six files it does touch are listed in the commit).
Filed: main red: audit-live-rows reports the Music3 ACTIVE row abandoned, so preflight is red on a clean main #731, audit-live-rows is RED on main: MODEL-MUSIC-minimax-music3 is an abandoned ACTIVE row #733.
test_op_parity— main red: test_op_parity throws on the MiniMax-Music3 golden manifest — null where a string is required #737, anullin the Music3 golden; prints70 passed | 0 failedwhile the case throws, so the exit code is the authority.Build directory deleted after the run.