Skip to content

Shaders: identify direct translation artifacts in dump manifests - #2553

Draft
mokkamokacaffe wants to merge 4 commits into
xcl-dev:mainfrom
mokkamokacaffe:diagnostics/dxil-dump-identity
Draft

mokkamokacaffe wants to merge 4 commits into
xcl-dev:mainfrom
mokkamokacaffe:diagnostics/dxil-dump-identity

Conversation

@mokkamokacaffe

@mokkamokacaffe mokkamokacaffe commented Nov 25, 2026 •

Copy link
Copy Markdown

Part of #2541.

What is in it

  • xcl shaders --direct --dump <dir> writes a versioned .manifest.json beside each program's guest.bin and direct.dxil or direct.err.txt. The files share a prefix so a report can be matched to its artifacts.
  • The manifest records the source record hash, FSSM index, program offset, guest-code hash, shader stage, wave settings, memory-window count, validation request, translation wall time, and either the emitted DXIL hash or translator error.
  • Before replacing artifacts, XCL invalidates any manifest for the previous generation. Required artifacts are then written before the new manifest. If invalidation or an artifact write fails, XCL reports the exact path and no manifest remains that can authenticate stale or incomplete files.
  • scripts/verify_shader_dump.py verifies saved bundles without the source shader pack or a GPU: it recomputes the guest/DXIL FNV-1a hashes or compares rejected-translation diagnostic bytes exactly.
  • scripts/test_verify_shader_dump.py covers successful and rejected translations, large binary inputs, mismatches, absent files/fields, invalid schemas, malformed JSON, and multi-manifest failure handling.

translation_wall_us measures elapsed time around the translation worker call, including the wait for its result. Driver PSO creation is outside that interval.

Tested

  • Current clean head b0d2fb814b92148710d0f91e590d6c1f9fe26cd2:
    • python3 -B -m unittest discover -s scripts -p 'test_*.py': 30 passed, 0 failed.
    • cargo check -p xcl --tests --target x86_64-pc-windows-msvc: passed in a Linux cross-check environment using a local lib.exe-compatible archive wrapper. This was compile-only; Windows test binaries were not executed.
    • git diff --check: passed.
  • The new two-generation regression first writes a valid bundle, makes the replacement error-artifact path unwritable, and checks that the failed rerun has already removed the previous manifest.
  • Previous head 76e7793, independently checked on Windows 11 / RTX 3060 Ti after merging then-current main: cargo test -p xcl --lib reported all tests that ran passed, 0 failed and 27 ignored. This predates the stale-manifest fix and is supporting evidence, not exact-head validation.
  • The offline checker was independently exercised on Windows 11 with Python 3.14.3 using 12 two-manifest CLI cases, including a 131,073-byte guest file. Both valid outcome types passed; ten mismatch, missing-file/field, schema, and malformed-JSON cases returned failure while still processing the following valid manifest and leaving all inputs unchanged.

Regression run

Pending paired xcl-smoke blocks from current main and this PR's clean head b0d2fb814b92148710d0f91e590d6c1f9fe26cd2, with the same title and duration.

Not tested

  • The new stale-manifest regression executed natively on Windows; it is included in the Windows-target test build but was not run in this environment.
  • End-to-end dump generation from an actual shader pack on current head, including one successful and one rejected translation.
  • AMD, NVIDIA, or Intel shader execution on current head.
  • Retail-title smoke.

AI use

  • OpenAI Codex (GPT-6.2 Astra Ultra) implemented the manifest generation, review-requested artifact-write handling, stale-generation invalidation and regressions; ran the Windows-target compile and script tests; reviewed the external reports; and drafted this description.
  • RavenCurseBurg contributed the offline checker and its tests in commit 38cdb20f, assisted by OpenAI Codex (GPT-6); the commit was cherry-picked with its original authorship preserved.

@RavenCurseBurg

RavenCurseBurg commented Nov 25, 2026 •

Copy link
Copy Markdown

Verified 76e7793dbb5ec337a0b30aa832d25f2fa2d1e5ee after the cherry-pick. The offline checker and its tests match the original files from 38cdb20f byte-for-byte. python -B -m unittest discover -s scripts -p "test_*.py" passed 30/30. All 12 two-manifest CLI cases passed again: a valid second manifest was processed after an invalid first one, and none of the saved file snapshots changed. This verifies the adopted offline checker. I did not execute XCL’s Rust dump writer or load a retail pack. Windows 11, Core i7-13700, Python 3.14.3. OpenAI Codex (GPT-6) ran the checks.

Earlier verification

I prepared an offline artifact checker and tests on effef6719d431ac360ce9d6f46c55e87b1bd486a for the success/error checks listed in this PR. Run python -B scripts/verify_shader_dump.py FILE.manifest.json on a saved dump. It reads the sibling guest file and the result selected by the manifest, recomputes the FNV-1a hashes, and compares a rejected translation's UTF-8 error bytes exactly. It also accepts multiple manifests and returns a failure status if any comparison fails.

I ran 12 two-manifest CLI cases using synthetic files, including a 131,073-byte binary guest with independently computed hash 9fd6a807c893b7df. Both outcome types passed. The ten mismatch, missing-file/field, schema and malformed-JSON cases returned 1, still processed the following valid manifest and left all files byte-identical. A rejection with an old DXIL file present selected the error file. python -B -m unittest discover -s scripts -p "test_*.py" passed all 30 tests, including five for the checker.

Windows 11 26100.9711, i7-13700, Python 3.14.3. I tested the offline checker only. End-to-end generation with XCL and a shader pack remains unverified here. OpenAI Codex (GPT-6) prepared the checker and ran the tests.

Rechecked the offline verifier on b0d2fb814b92148710d0f91e590d6c1f9fe26cd2 following the writer change. With unchanged guest/DXIL files and a directory blocking the error-file path, a retained old manifest still verified. After I removed that manifest to represent an interrupted replacement, the CLI returned 1 and still verified a second intact bundle. Publishing a new error manifest selected its exact error text even with the old DXIL present. The verifier left all three fixture states unchanged.

I ran python -B scripts/verify_shader_dump.py sample.manifest.json other.manifest.json on those synthetic states, reran the 12 earlier CLI cases, and ran python -B -m unittest discover -s scripts -p "test_*.py" (30 passed). Windows 11 build 26100, Core i7-13700, Python 3.14.3. OpenAI Codex (GPT-6) ran these checks. I constructed the file states directly. The native Rust writer regression and paired retail smoke were outside this run.

@DavidM1911

Copy link
Copy Markdown
Contributor

Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, 26 ignored.

Thanks!

— Devin

Comment thread crates/xcl/src/shaders.rs Resolved
mokkamokacaffe and others added 2 commits November 26, 2026 00:59
Check the guest hash and the result selected by the manifest. Compare exact diagnostic bytes for rejected translations so saved artifacts can be verified without the source pack or a GPU.

Assisted-by: OpenAI Codex (GPT-6)
@DavidM1911

Copy link
Copy Markdown
Contributor

Re-verification on RTX 3060 Ti (Windows 11), new head merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved.

Thanks!

— Devin

@SlopTart

Copy link
Copy Markdown

Tested: current PR head merged onto current origin/main (clean), Linux (Arch, kernel 7.2.15), Mesa 26.2.5 RADV, Radeon RX 7900 XT (NAVI31), cargo target x86_64-pc-windows-gnu run under wine-11.0 (Proton), rustc 1.94.0, vkd3d-proton 3.1 with the XCL patch, official MS DXC (binaries 2026-09-29).

gpu_ suite (cold cache): 165 passed / 3 failed, no crashes. The three are the known baseline on this lane (seed-1003 fuzz, mad/mac contraction, promoted-UAV-clear driver gap, PR #2490); none caused by this PR.
Targeted run of direct_dump_does_not_publish_a_manifest_for_a_missing_artifact: passed.

Not tested: retail titles (no title data on this lane, counts only).

AI use: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting.

@luckyteagirl luckyteagirl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reusing a --dump directory can leave a manifest that still verifies after a rerun fails. The prefix is stable for the same record and program. If the first run writes DXIL and a later run produces a translation error, a failed write to .direct.err.txt returns before the old manifest is replaced. The unchanged guest and old DXIL still match that manifest.

I reproduced the file sequence on Windows by placing a directory at the error artifact path. The sibling write raised PermissionError and the exact-head verifier exited 0 with “guest and translated DXIL match.”

Could the writer invalidate the existing manifest before it starts replacing artifacts, or use separate names for each generation? A regression can seed a valid bundle, force an artifact write failure on the rerun, and check that the old manifest cannot be mistaken for its result.

Remove an existing manifest before replacing any of its sibling artifacts. A failed rerun can then leave incomplete files, but cannot make the verifier accept the previous generation as the new result.

Add a two-generation regression that forces the replacement error artifact to be unwritable and checks that the old manifest is gone.

Assisted-by: OpenAI Codex (GPT-6.2 Astra Ultra)
@mokkamokacaffe

Copy link
Copy Markdown
Author

Fixed in b0d2fb8.

write_direct_dump now removes the existing manifest before replacing any sibling artifact. Failure to invalidate the manifest aborts before changing the bundle; failure of any later artifact write leaves no manifest that can authenticate the previous generation.

The new direct_dump_invalidates_an_old_manifest_before_replacing_artifacts regression reproduces the reported sequence: it writes a valid bundle, makes the next .direct.err.txt path unwritable, runs a failing replacement, and asserts that the old manifest is gone.

Checked

  • python3 -B -m unittest discover -s scripts -p 'test_*.py': 30 passed, 0 failed.
  • cargo check -p xcl --tests --target x86_64-pc-windows-msvc: passed as a compile-only Linux cross-check with a local archive wrapper.
  • git diff --check: passed.

Not tested

  • Native Windows execution of the new Rust regression.
  • Exact-head workspace GPU suite or paired retail smoke.

AI use

  • OpenAI Codex (GPT-6.2 Astra Ultra) reproduced the state transition from the review, implemented the invalidation and regression, ran the listed checks, and drafted this reply.

@mokkamokacaffe

Copy link
Copy Markdown
Author

XCL PR #2553 Windows test report

The PR workspace build, Rust tests, Python tests, whitespace check, and shader dump verification passed. Both retail smoke attempts stopped before launch because the unpacked title was missing the executable declared in MicrosoftGame.config. PR #2553

Machine and revisions

  • Physical Windows 11 Pro 24H2 PC, build 26100.9711, Intel Core i9-14900KF (24 cores, 32 logical processors), 64 GiB RAM installed.
  • NVIDIA GeForce RTX 4080 SUPER, 16 GiB VRAM, NVIDIA driver 617.14 (Windows driver 32.0.16.1714).
  • Rust 1.100.0 (0ef1bc386 2026-11-09), target x86_64-pc-windows-msvc, Cargo 1.100.0, MSVC linker 14.44.35230.0, Windows SDK libraries 10.0.26100.9457, Python 3.12.14.
  • Microsoft DXC release v1.9.2609. The dxc.exe, dxcompiler.dll, and dxil.dll file versions were all 1.9.2609.5. Tests and smoke attempts used the same XCL_DXC_DIR setting.
  • Main 8b957bec6f82495aec940944c6bf47faa02db590
  • PR head b0d2fb814b92148710d0f91e590d6c1f9fe26cd2
  • GitHub recheck on 2026-11-26 at 21:52 CET returned the same main tip and PR head. The PR head also matched the last known SHA. Both detached worktrees were clean at creation and at the end of testing.

Tested

Revision Command / profile Result
PR cargo build --workspace / dev Passed
PR cargo test --workspace --no-fail-fast -- --test-threads=4 / test 1,425 reported passed, 0 failed, 46 ignored. All 37 harness runs completed.
PR cargo test -p xcl --lib shaders::tests::direct_dump_invalidates_an_old_manifest_before_replacing_artifacts -- --exact / test Exactly 1 passed, 0 failed, 1,325 filtered out. This rerun is already represented in the workspace total.
PR python -B -m unittest discover -s scripts -p "test_*.py" -v 30 passed, 0 failed, 0 skipped
Main Same Python discovery command 25 passed, 0 failed, 0 skipped
PR git diff --check Passed, empty output
Main and PR cargo build --release -p xcl / release Both passed. Each worktree built its own optimized executable with full debug symbols.

Explicit Rust skips

The workspace emitted 29 SKIPPED events. A test that skips a subcase or returns early can contribute to the harness's reported pass total. The 46 ignored tests are a separate harness count.

Reported reason Count
cannot disable the driver cache (Windows Developer Mode is required): The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D) 1
const_mask, wave64: no wave64 1
f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's)) 1
f16 arithmetic, wave64: no wave64 1
f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's)) 1
f16 packed, wave64: no wave64 1
f32 arithmetic, wave64: no wave64 1
f32 compares, wave64: no wave64 1
f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's)) 1
f32 conversions, wave64: no wave64 1
f32 rounding, wave64: no wave64 1
f32 three-source, wave64: no wave64 1
f32 transcendentals, wave64: no wave64 1
f64, wave64: no wave64 1
integer arithmetic, wave64: no wave64 1
integer carries, wave64: no wave64 1
mask_ff0_flbit, wave64: no wave64 1
no D3D12 debug layer (The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D)) 1
no d3d12SDKLayers.dll 2
no heap windows 1
no wave64 8

Optional retail fixtures for the workspace suite were unset. It logged eight early returns for XCL_SAMPLE_RPF and one each for XCL_SAMPLE_AWC and XCL_SAMPLE_TTPF. It also logged one additional heap-window check skipped and two subcases skipped because the PC pipeline was a mesh shader.

Failures and main comparisons

  • The first Rust attempts stopped during compilation because the portable MSVC setup lacked the SDK include path. Both revisions showed the same libudis86-sys missing-header error. After setting the include path, the builds succeeded and the PR workspace and focused Rust runs had zero test failures.
  • The first Python run produced 16 permission-error entries with the shell's default temporary directory. Main reproduced all six error entries from the three shared test methods under the same settings. The remaining ten entries came from five PR-only verifier tests. With separate writable temporary directories in the scratch workspace, both suites passed as shown above.

Regression run

PowerShell confirmed the local title directory exists. Each worktree's full git status --porcelain was empty immediately before its own scripts/smoke.ps1 ran against its own release binary, main first. Both attempts requested 60 seconds against the same title, with networking disabled, no scripted input, and separate fresh XCL data, save, DXIL cache, temporary, and output directories. No system-wide cache reset was performed.

  • Main produced no xcl-smoke block. The script stopped because the launcher printed no log path. A separate invocation of the same release binary returned exit code 2 and confirmed the configured executable was missing.
  • PR produced no xcl-smoke block. The script stopped for the same reason. Its release binary also returned exit code 2 and confirmed the configured executable was missing.

Neither attempt reached retail gameplay. A paired 60-second performance and stability comparison is pending a complete local title. The title file list, sizes, and last-write times matched before and after testing.

Direct shader dump

The PR release binary ran xcl shaders <pack> --direct --sample 8 --seed 1 --threads 1 --dump <private-dir> against a local RPF9 shader pack and exited 0. Eight sampled records yielded five translated programs and three programs above the CLI's 16,384-byte limit. All five generated manifests passed individual verify_shader_dump.py invocations with exit code 0 and the result guest and translated DXIL match. This selection yielded zero rejected translations, so retail rejected-bundle verification remains untested. The Python suite exercised the rejected-bundle verifier with fixtures.

AI use

OpenAI Codex (GPT-6) ran the local checks and drafted this report. Raw logs and shader artifacts stayed local.

@mokkamokacaffe

Copy link
Copy Markdown
Author

I forgot to put the .exe at the right place - rerunning the smoke tests.

@mokkamokacaffe

Copy link
Copy Markdown
Author

XCL PR #2553 Windows test report

The PR workspace build, Rust tests, Python tests, whitespace check, and shader dump verification passed. The PR completed two 60-second retail runs with 753 and 733 frames respectively, each with zero crashes or device removals. Main timed out during cold shader preparation on both attempts, so a retail frame or memory comparison against main is unavailable. PR #2553

Machine and revisions

  • Physical Windows 11 Pro 24H2 PC, build 26100.9711, Intel Core i9-14900KF (24 cores, 32 logical processors), 64 GiB RAM installed.
  • NVIDIA GeForce RTX 4080 SUPER, 16 GiB VRAM, NVIDIA driver 617.14 (Windows driver 32.0.16.1714).
  • Rust 1.100.0 (0ef1bc386 2026-11-09), target x86_64-pc-windows-msvc, Cargo 1.100.0, MSVC linker 14.44.35230.0, Windows SDK libraries 10.0.26100.9457, Python 3.12.14.
  • Microsoft DXC release v1.9.2609. The dxc.exe, dxcompiler.dll, and dxil.dll file versions were all 1.9.2609.5. Tests and smoke attempts used the same XCL_DXC_DIR setting.
  • Main 8b957bec6f82495aec940944c6bf47faa02db590
  • PR head b0d2fb814b92148710d0f91e590d6c1f9fe26cd2
  • GitHub recheck on 2026-11-27 at 00:20 CET returned the same upstream main and PR head as the original suite and the start of the smoke reruns. Both detached worktrees finished clean.

Tested

Revision Command / profile Result
PR cargo build --workspace / dev Passed
PR cargo test --workspace --no-fail-fast -- --test-threads=4 / test 1,425 reported passed, 0 failed, 46 ignored. All 37 harness runs completed.
PR cargo test -p xcl --lib shaders::tests::direct_dump_invalidates_an_old_manifest_before_replacing_artifacts -- --exact / test Exactly 1 passed, 0 failed, 1,325 filtered out. This rerun is already represented in the workspace total.
PR python -B -m unittest discover -s scripts -p "test_*.py" -v 30 passed, 0 failed, 0 skipped
Main Same Python discovery command 25 passed, 0 failed, 0 skipped
PR git diff --check Passed, empty output
Main and PR cargo build --release -p xcl / release Both passed. Each worktree built its own optimized executable with full debug symbols.

Explicit Rust skips

The workspace emitted 29 SKIPPED events. A test that skips a subcase or returns early can contribute to the harness's reported pass total. The 46 ignored tests are a separate harness count.

Reported reason Count
cannot disable the driver cache (Windows Developer Mode is required): The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D) 1
const_mask, wave64: no wave64 1
f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's)) 1
f16 arithmetic, wave64: no wave64 1
f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's)) 1
f16 packed, wave64: no wave64 1
f32 arithmetic, wave64: no wave64 1
f32 compares, wave64: no wave64 1
f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's)) 1
f32 conversions, wave64: no wave64 1
f32 rounding, wave64: no wave64 1
f32 three-source, wave64: no wave64 1
f32 transcendentals, wave64: no wave64 1
f64, wave64: no wave64 1
integer arithmetic, wave64: no wave64 1
integer carries, wave64: no wave64 1
mask_ff0_flbit, wave64: no wave64 1
no D3D12 debug layer (The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D)) 1
no d3d12SDKLayers.dll 2
no heap windows 1
no wave64 8

Optional retail fixtures for the workspace suite were unset. It logged eight early returns for XCL_SAMPLE_RPF and one each for XCL_SAMPLE_AWC and XCL_SAMPLE_TTPF. It also logged one additional heap-window check skipped and two subcases skipped because the PC pipeline was a mesh shader.

Failures and main comparisons

  • The first Rust attempts stopped during compilation because the portable MSVC setup lacked the SDK include path. Both revisions showed the same libudis86-sys missing-header error. After setting the include path, the builds succeeded and the PR workspace and focused Rust runs had zero test failures.
  • The first Python run produced 16 permission-error entries with the shell's default temporary directory. Main reproduced all six error entries from the three shared test methods under the same settings. The remaining ten entries came from five PR-only verifier tests. With separate writable temporary directories in the scratch workspace, both suites passed as shown above.

D3D12 debug-layer follow-up

Both revisions used the matching x64 core and debug DLLs from Microsoft.Direct3D.D3D12 1.620.2, file version 1.620.2.0.20261106.5. The exact uploads_start_from_each_subresources_state rerun selected one test per revision. Each harness recorded a pass with one explicit SKIPPED event for the same reason: no D3D12 debug layer (The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D)). These follow-ups are excluded from the workspace totals above.

The two stock end-to-end tests check for the Windows-installed debug DLL before starting. That DLL was absent. Separate diagnostic launches using the same synthetic title exercised DRED off and on for each revision. All four loaded Agility SDK v620, exited 0, and completed the fixture. Debug-layer activation returned 0x887A002D on both revisions, leaving debug validation untested. Microsoft requires the Windows Graphics Tools optional feature in addition to the redistributable SDK. Microsoft D3D12 redistributable specification

Regression run

PowerShell confirmed that the configured title executable was present. Main ran first, followed by the PR. Each worktree passed a full git status --porcelain check immediately before running its own release binary and smoke script. Both runs requested 60 seconds on the same title with networking disabled, no scripted input, the same DXC and Agility SDK settings, and the retail debug layer off. Each started with its own empty XCL data, save, DXIL cache, temporary, and output directories. System-wide driver caches were left in place.

For the second pair, main used its supported 7,200-second startup allowance. The PR script has a fixed 120-second startup allowance. Both retained the 60-second guest-run setting. The title file list, file sizes, and last-write times matched before and after the reruns.

Main

The script stopped the launcher after 7,260 seconds of wall time. Main was still preparing shaders, with 23,520 files in its private cache. The launcher printed no log path, and the stock script produced no xcl-smoke block. The 60-second guest run never started.

PR

xcl-smoke v1
commit: b0d2fb814b92148710d0f91e590d6c1f9fe26cd2
gpu: NVIDIA GeForce RTX 4080 SUPER
title: retail-local
seconds: 60
exit: 0x0
frames shown: 733 (PresentX 733)
presents per 2 s (last 3): 22 22 20
device removals: 0
crashes: 0
peak commit: 15054 MB

First attempt with default timeouts

Main timed out during cold shader preparation and produced no block. The PR completed its first 60-second run with 753 frames, zero crashes, zero device removals, and 14,948 MB peak commit.

PR, first attempt

xcl-smoke v1
commit: b0d2fb814b92148710d0f91e590d6c1f9fe26cd2
gpu: NVIDIA GeForce RTX 4080 SUPER
title: retail-local
seconds: 60
exit: 0x0
frames shown: 753 (PresentX 753)
presents per 2 s (last 3): 24 24 24
device removals: 0
crashes: 0
peak commit: 14948 MB

Direct shader dump

The PR release binary ran xcl shaders <pack> --direct --sample 8 --seed 1 --threads 1 --dump <private-dir> against a local RPF9 shader pack and exited 0. Eight sampled records yielded five translated programs and three programs above the CLI's 16,384-byte limit. All five generated manifests passed individual verify_shader_dump.py invocations with exit code 0 and the result guest and translated DXIL match. This selection yielded zero rejected translations, so retail rejected-bundle verification remains untested. The Python suite exercised the rejected-bundle verifier with fixtures.

AI use

OpenAI Codex (GPT-6) ran the original checks. Codex (GPT-6.2 Astra) ran the retail and debug-layer follow-ups and updated this report. Raw logs and shader artifacts stayed local.

@JJAutoCompare

Copy link
Copy Markdown

Tested: Exact clean head b0d2fb814b92148710d0f91e590d6c1f9fe26cd2, Windows 11 26200.9974, Ryzen 7 3800X, Rust 1.100.0 MSVC and Python 3.14.3. cargo test -p xcl --lib shaders::tests::direct_dump_ -- --nocapture: 2 passed. python -B -m unittest discover -s scripts -p 'test_*.py': 30 passed. A standalone synthetic harness compiled the checked-in writer and called the verifier CLI (cargo test --offline --manifest-path <harness>/Cargo.toml -- --nocapture). At head, both Windows file-lock tests passed. With the parent writer (76e7793dbb5ec337a0b30aa832d25f2fa2d1e5ee), both failed as expected. Zero skips.

When Windows denied deleting the old manifest, head left the old bundle untouched and the verifier still accepted it. When Windows denied the DXIL write after successful invalidation, no manifest was published and the verifier exited 1. Both retries produced valid bundles once the file handles were released.

Not tested: GPU execution, full Rust workspace, retail packs, or retail smoke.

AI use: T3 Code / Codex (gpt-6.2-sol) wrote the probe, ran and independently reran the checks, and drafted the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants