docs: restore exe_fail_fast.md for current main and extend import_fail_fast tests (DOC-EXE-FAIL-FAST) #848
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!848
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/848/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Taffyyy-ops on GitHub · 2026-11-24 14:31 UTC · original
Taffyyy-ops:docs/restore-exe-fail-fast→main· +119 −0 · 3 files · 1 commits · merged 2026-11-24 20:31 UTCClaimed in the coordination issue as: DOC-EXE-FAIL-FAST (#14)
What and why
Restores
docs/exe_fail_fast.md(originally authored by TreXito in ancestor commitsc6f15b162..07e818b40before merge6dece9231dropped it; left unclaimed afterRT-RESTORE-6DECE-XSwas released and#709took onlypc_checker.py) and brings it up to date for currentmain(d0da7dad):maind0da7dad: all 6 formerly-unbound fatal-checked imports (xmem.dll!XMemMapPhysicalPages,xmem.dll!XMemAllocatePhysicalPages,xmem.dll!XMemMapPhysicalPagesScatter,xmem.dll!XMemIsToolsMemAvailable,AcpHal.dll!ApuCreateHeap, andGameInput.dll!#1) now bind to shims inruntime/shims/{xmem,acphal,gameinput}.cpp(0 fatal-checked imports remain unbound).WS2_32.dll!#115(WSAStartup) note to matchruntime/shims/ws2_offline.cpp(host-owned with partial loopback overrides).#Ncitations perAGENTS.md, linking[docs/retail_boot_chain.md](retail_boot_chain.md)for real-run boot stops instead.exe_fail_fast.mdindocs/README.md.tests/test_import_fail_fast.pywith 2 synthetic tests (10tests total) covering the documented--dll xmem.dll --all --jsonCLI invocation (including empty filter behavior) and additional x86-64 result-copy/mask/width encodings (0x89reg-to-reg copy,0xF7test eax, imm32,0x6616-bittest ax, ax, and0x3Dcmp eax, imm32).Tested
python -m compileall -q tools/import_fail_fast.py tests/test_import_fail_fast.py(pass)python -I tests/test_import_fail_fast.py -v(10/10 OK)python -I tests/test_text_write_line_endings.py(3/3 OK)tests/test_docs_*.pysuites (cli_flags4/4,design_rows5/5,encoding1/1,env_vars4/4,links16/16,list_items3/3,pr_template2/2,python_deps3/3,repeated_lines2/2,repo_paths3/3,table_ids2/2,table_rows2/2 — all OK)python -I tests/test_i18n_index.py(9/9 OK)python -I scripts/check_no_game_data.py docs/exe_fail_fast.md docs/README.md tests/test_import_fail_fast.py(pass)git diff --check(clean)GPUs tested: n/a (documentation and stdlib Python unit tests only; Windows 11, Python 3.12+)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a)@abnalstlll-byte on GitHub · 2026-11-24 14:39 UTC · original · approved these changes
Audited and verified. Documentation in docs/exe_fail_fast.md is fully synchronized with current main (all 13 non-host imports verified bound to shims, zero unbound), and new unit tests in ests/test_import_fail_fast.py thoroughly validate CLI JSON filtering and instruction decode variants (0x89 register copy, 0xF7 imm32 mask, 0x66 16-bit test, 0x3D cmp). Clean-room compliant with no game data. Approved.
@abnalstlll-byte on GitHub · 2026-11-24 14:39 UTC · original · approved these changes
Clean-Room Audit & Documentation Review — PR #848 (
DOC-EXE-FAIL-FAST)Great documentation restoration and test extension.
Technical Verification
docs/exe_fail_fast.md):import_fail_fast.py, correctly mapped to the currentmain(d0da7dad) bindings.XMemVirtualAlloc,GameInput.dll!#1,ApuCreateHeap) vs host CRT abort paths.docs/README.md.test_cli_dll_all_json_matches_documented_invocationandtest_additional_result_copy_width_and_mask_encodingsintests/test_import_fail_fast.py.Verdict: APPROVED
@Taffyyy-ops on GitHub · 2026-11-24 20:08 UTC · original
Rebased onto main
6293c1c4fin commitea0b6bbe40. On Windows, the full python -I tests/test_tool_startup.py passed (2/2), as did python -I tests/test_import_fail_fast.py (10/10), python -I scripts/check_no_game_data.py, and git diff --check. The previous native_pso_hashes.py --help failure is fixed on main; CI has been retriggered.@aslan2142 on GitHub · 2026-11-24 20:31 UTC · original
Merged. Nothing blocks this: the claim is valid and first, every changed statement in
exe_fail_fast.mdmatches currentmain, and the doc has no game data.mainandmain+ this PR:test_import_fail_fast(10/10 with the PR), all 12test_docs_*,test_i18n_index, the line-endings and no-game-data tests,test_tool_startupandcheck_no_game_data.pypass.ea0b6bbe4left the doc and the test byte-identical to the reviewedf0c8d7474.stdlib-tests-linuxwasnative_pso_hashes, which this PR doesn't touch andmainhas fixed since.AI-assisted (Claude Code, Claude Fable 5.2 and Claude Opus 5.5).