OLD-5794: boot.md first-boot runbook fixes; boot_trace marks relocated modules in its text report #379

Manually merged
github merged 1 commit from gh-pr/379/head into gh-pr/379/base 2026-11-26 08:56:40 +00:00
Owner

@⁠lines9686-rgb on GitHub · 2026-11-24 04:11 UTC · original
lines9686-rgb:docs-boot-runbook → main · +21 −9 · 3 files · 1 commits · merged 2026-11-24 17:38 UTC

Claimed in the coordination issue as: OLD-5794 (carried over from the original repository, same author)

What and why

docs/boot.md, rechecked against this main: where gta6rt.exe lands for each generator; what [d3d12-trace] holds without LEONIDA_D3D12=vulkan (only the proxy's device, queue, fence and allocator calls) and the [rt] d3d12: Vulkan device: line to confirm the Vulkan device; --overlay's default; partial is listed by boot_trace.py but not written by the runtime yet; the §8.2 table note. tools/boot_trace.py marks relocated modules in its text report (the JSON already had it).

Tested

tests/test_boot_trace.py, test_docs_links, test_docs_cli_flags, test_docs_env_vars, test_docs_list_items, test_docs_encoding: OK.

GPUs tested: n/a

AI-assisted: yes (Claude Code)

Checklist

  • Based on current main and merges cleanly.
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (scripts/check_no_game_data.py over every changed file: clean).
  • A new translator rule is in the contract table of docs/design.md: n/a

🤖 Generated with Claude Code

**@⁠lines9686-rgb** on GitHub · 2026-11-24 04:11 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/379) `lines9686-rgb:docs-boot-runbook` → `main` · +21 −9 · 3 files · 1 commits · merged 2026-11-24 17:38 UTC Claimed in the coordination issue as: `OLD-5794` (carried over from the original repository, same author) ### What and why docs/boot.md, rechecked against this `main`: where `gta6rt.exe` lands for each generator; what `[d3d12-trace]` holds without `LEONIDA_D3D12=vulkan` (only the proxy's device, queue, fence and allocator calls) and the `[rt] d3d12: Vulkan device:` line to confirm the Vulkan device; `--overlay`'s default; `partial` is listed by `boot_trace.py` but not written by the runtime yet; the §8.2 table note. `tools/boot_trace.py` marks relocated modules in its text report (the JSON already had it). ### Tested `tests/test_boot_trace.py`, `test_docs_links`, `test_docs_cli_flags`, `test_docs_env_vars`, `test_docs_list_items`, `test_docs_encoding`: OK. GPUs tested: n/a AI-assisted: yes (Claude Code) ### Checklist - [x] Based on current `main` and merges cleanly. - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (`scripts/check_no_game_data.py` over every changed file: clean). - [x] A new translator rule is in the contract table of `docs/design.md`: n/a 🤖 Generated with [Claude Code](https://claude.com/claude-code)
- Where gta6rt.exe is: runtime\build with build_runtime.ps1 (Ninja), runtime\build\RelWithDebInfo with the
  direct CMake (Visual Studio generator) path.
- Without LEONIDA_D3D12=vulkan the trace is not empty: the Xbox-ABI proxy still records device creation, queue,
  fence and allocator calls. Say so, and to check the log for "[rt] d3d12: Vulkan device:".
- The runtime writes no "partial" outcome yet (ExecuteCommandLists records ok or failed); only the tool knows it.
- --overlay: the default is already <game-dir>\overlay; the package is never written.
- d3d12_vulkan.md 8.2 no longer repeats questions 16, 19 and 20.
- Triage step 1 asks whether the executable is at its preferred base, but the text report printed module names
  only; it now marks a relocated module.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 08:56:39 +00:00
github manually merged commit 9a12e5ae6f into gh-pr/379/base 2026-11-26 08:56:40 +00:00
Author
Owner

@⁠Oliwettoo on GitHub · 2026-11-24 10:34 UTC · original

Spot-checked the doc claims against the code: --overlay defaults to <game-dir>/overlay (runtime/src/main.cpp header), the Vulkan device prints [rt] d3d12: Vulkan device: … (d3d12_vulkan_device.cpp), and nothing in runtime/ writes a partial outcome, so the triage-step rewording is right. The (relocated) marker only changes the text report, and tests/test_boot_trace.py passes with the PR on current main. Ship. AI-assisted review.

**@⁠Oliwettoo** on GitHub · 2026-11-24 10:34 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/379#issuecomment-7128953901) Spot-checked the doc claims against the code: `--overlay` defaults to `<game-dir>/overlay` (`runtime/src/main.cpp` header), the Vulkan device prints `[rt] d3d12: Vulkan device: …` (`d3d12_vulkan_device.cpp`), and nothing in `runtime/` writes a `partial` outcome, so the triage-step rewording is right. The `(relocated)` marker only changes the text report, and `tests/test_boot_trace.py` passes with the PR on current `main`. Ship. AI-assisted review.
Author
Owner

@⁠QemmHD on GitHub · 2026-11-24 17:38 UTC · original

Merging.

Why merged: OLD-5794: fixes the first-boot runbook in boot.md, and boot_trace now marks relocated modules in its text report. Oliwettoo checked the doc claims against the code ("Ship").

Why it's good: test_boot_trace plus the docs tests: 79 passed.

Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main 82a2aabcc. With it in, the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests) gives 566 passed / 5 skipped / 0 failed, and check_no_game_data on the changed files is clean. git merge-tree against current main 32950551e: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls or build/CI changes.

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠QemmHD** on GitHub · 2026-11-24 17:38 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/379#issuecomment-7139490508) Merging. **Why merged:** OLD-5794: fixes the first-boot runbook in boot.md, and boot_trace now marks relocated modules in its text report. Oliwettoo checked the doc claims against the code ("Ship"). **Why it's good:** test_boot_trace plus the docs tests: 79 passed. Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main 82a2aabcc. With it in, the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests) gives 566 passed / 5 skipped / 0 failed, and check_no_game_data on the changed files is clean. git merge-tree against current main 32950551e: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls or build/CI changes. AI-assisted (Claude Code, Claude Opus 5.5).
This discussion has been locked. Commenting is limited to contributors.
No description provided.