Skip to content

test(D12): independently hash real MiKTeX negative TeX inputs from uploaded artifact - #65

Merged
i-shutov merged 6 commits into
mainfrom
qa/d12-miktex-negative-source-evidence-20261031
Oct 31, 2026
Merged

i-shutov merged 6 commits into
mainfrom
qa/d12-miktex-negative-source-evidence-20261031

Conversation

@i-shutov

@i-shutov i-shutov commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

D12 — real MiKTeX negative-input source provenance (exact SHA PASS)

PR #40 and preceding D fixes are already merged, so this is an additional D-only improvement to the SAME real MiKTeX Windows + dependent Linux CI, not an autonomous fixture. On the earlier accepted B20 run 41234368515, both negatives genuinely failed under MiKTeX, but their two TeX inputs were omitted from the 45-file uploaded evidence archive; the second-host auditor could only trust self-reported source hashes.

Fix: The existing Python producer archives missing-library/missing-library.tex and lua-only/graphdrawing-lua.tex byte-for-byte, records source_artifact and checks its SHA against the original source. The existing Linux post-upload auditor independently reads/re-hashes those exact bytes and requires the correct \\usetikzlibrary/\\usegdlibrary inputs, matching source SHA, true MiKTeX 25.12 negative logs, error diagnostics and zero PDFs. Real-artifact tamper tests reject deletion/modification of either input.

Exact source HEAD: 79aa9891ca19aad1ef50ecf72ace8cddeeeecad9, base main 9b4cd26b5b73f8011b975f9922cb208e36e12564; GitHub PR synthetic checkout c4d5b1945f5f34b59795ea60067829330003acf2.

All four exact-head workflows SUCCESS:

Downloaded and independently audited the original artifacts:

Independent local Poppler reopened all six real PDFs: 1 page, Cyrillic and mathematical Greek extraction, embedded DejaVuSerif/LatinModernMath, matching source/PDF/TeX-log SHA and actual MiKTeX compiler banner. Uploaded negative TeX input hashes independently recomputed:

  • missing-library: dbc18fd34687623f192ddaadd8127c6fbd4731e8383f39b0fbf951dddc852e43
  • Lua-only: 183810c6032452d7918919f5eaf37a7843ffd2ddbfec15c8f1853d3b2782733d

Both negatives produce the expected errors, no PDFs; package inventory 9130/9130 byte-identical, official installer hash pin, private effective roots, AutoInstall=0, --disable-installer confirmed. New post-upload tamper suite 11/11 PASS, including negative-source deletion/corruption. N1 app Session→Rust CLI/direct XeLaTeX remains real programmatically-generated source; NOT mouse authoring.

Only 4 D-owned scripts/tools files and new D-specific plans/ and insights/ changed; A/B/C/E/F production files untouched. No modified test thresholds. Physical Win10 x64, Mac ARM M1/M4, egui OS pointer/F1/help/screenshots and GUI theme/PDF invariance: NOT_RUN. This evidence belongs only to the stated SHA; post-merge main must be checked separately.

@i-shutov
i-shutov marked this pull request as ready for review October 31, 2026 19:42
@i-shutov
i-shutov merged commit add1df2 into main Oct 31, 2026
13 checks passed
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.

1 participant