docs: how to use the public PC GDK to write shims (DOCS-GDK-PUBLIC-REFERENCE) #2630

Manually merged
github merged 1 commit from github-bot/gh-2630 into gh-pr/2630/base 2026-11-29 20:19:27 +00:00 AGit
Owner

@⁠MoonEyes on GitHub · 2026-11-29 19:37 UTC · original
MoonEyes:docs/gdk-public-reference → main · +57 −0 · 2 files · 1 commits · merged 2026-11-29 20:17 UTC

Claimed in the coordination issue as: DOCS-GDK-PUBLIC-REFERENCE (#2570)

What and why

A one-page guide for contributors and the community on using Microsoft's public PC GDK reference and headers to write the shims for the console APIs the game imports: what the public GDK covers (XGameRuntime, XTaskQueue, XUser, XStore, XGameSave, GameInput), what it does not (the d3d12_xs console surface, NDA material), a 4-step method pointing at the existing shims and tests, and the lines not to cross (no copied GDK files, nothing from the console GDK or a leak, the repository's hard rules).

It only gathers what the repository already does and says (runtime_imports.md, d3d12_xs_surface.md, xbox_d3d12_xs.md, d3d12_vulkan.md) into one place, and adds one row to docs/README.md. No code change.

Tested

  • Every python -I tests/test_docs_*.py passes (links, repository paths, index).
  • python -I scripts/check_no_game_data.py docs/gdk_public_reference.md: clean.
  • Every file path cited in the page exists on main.

GPUs tested: n/a

AI-assisted: yes (Claude Code)

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a)

🤖 Generated with Claude Code

**@⁠MoonEyes** on GitHub · 2026-11-29 19:37 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/2630) `MoonEyes:docs/gdk-public-reference` → `main` · +57 −0 · 2 files · 1 commits · merged 2026-11-29 20:17 UTC Claimed in the coordination issue as: `DOCS-GDK-PUBLIC-REFERENCE` (#2570) ### What and why A one-page guide for contributors and the community on using Microsoft's **public** PC GDK reference and headers to write the shims for the console APIs the game imports: what the public GDK covers (XGameRuntime, XTaskQueue, XUser, XStore, XGameSave, GameInput), what it does not (the `d3d12_xs` console surface, NDA material), a 4-step method pointing at the existing shims and tests, and the lines not to cross (no copied GDK files, nothing from the console GDK or a leak, the repository's hard rules). It only gathers what the repository already does and says (`runtime_imports.md`, `d3d12_xs_surface.md`, `xbox_d3d12_xs.md`, `d3d12_vulkan.md`) into one place, and adds one row to `docs/README.md`. No code change. ### Tested - Every `python -I tests/test_docs_*.py` passes (links, repository paths, index). - `python -I scripts/check_no_game_data.py docs/gdk_public_reference.md`: clean. - Every file path cited in the page exists on `main`. GPUs tested: n/a AI-assisted: yes (Claude Code) ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (n/a) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
One page for contributors: what the public GDK reference and headers cover for the imported console APIs, what they do not (d3d12_xs, NDA), the 4-step method on the existing shims and tests, and the lines not to cross. Indexed in docs/README.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 19:38:35 +00:00
Author
Owner

@⁠merzleckeier on GitHub · 2026-11-29 19:57 UTC · original

Independent docs check of aa35c7eb on 0e8737f2. All 57 checks across 13 docs test files passed on its merge and when combined with #2631. The combined index covers all 101 top-level guides. The guide’s relative links, named files and source/test globs all resolve.

  • In step 1, devdocs.xbox.com/reference/graphics/d3d12 redirects to the Xbox documentation homepage. The same path on docs.xbox.com opens the D3D12 reference at its first enum. The existing system link opens the streaming-resolution example, so the System API index would be a more direct entry point for the families listed here. It would also help to link the public PC GDK download directly. Current D3D12 reference · System API index · Public GDK releases
  • Move the coordination check and claim before writing the shim in step 3. That puts the guide in the same order as the project’s "Claim before you start" instructions. AGENTS.md

I tried both wording changes locally. The link, repo-path and list tests passed all 26 cases. AI-assisted with OpenAI Codex.

**@⁠merzleckeier** on GitHub · 2026-11-29 19:57 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/2630#issuecomment-7261687261) Independent docs check of `aa35c7eb` on `0e8737f2`. All **57 checks across 13 docs test files** passed on its merge and when combined with #2631. The combined index covers all **101** top-level guides. The guide’s relative links, named files and source/test globs all resolve. - In step 1, `devdocs.xbox.com/reference/graphics/d3d12` redirects to the Xbox documentation homepage. The same path on `docs.xbox.com` opens the D3D12 reference at its first enum. The existing system link opens the streaming-resolution example, so the System API index would be a more direct entry point for the families listed here. It would also help to link the public PC GDK download directly. [Current D3D12 reference](https://docs.xbox.com/reference/graphics/d3d12) · [System API index](https://learn.microsoft.com/en-us/gaming/gdk/docs/reference/system/gc-reference-system-toc) · [Public GDK releases](https://github.com/microsoft/GDK/releases) - Move the coordination check and claim before writing the shim in step 3. That puts the guide in the same order as the project’s "Claim before you start" instructions. [AGENTS.md](https://github.com/ProjectLeonida/mandy/blob/0e8737f2a5d89122e43d3f8e06670059c840b097/AGENTS.md#claim-before-you-start) I tried both wording changes locally. The link, repo-path and list tests passed all 26 cases. AI-assisted with OpenAI Codex.
Author
Owner

@⁠OreoFR on GitHub · 2026-11-29 20:06 UTC · original

Verified by OreoFR on macOS 27.2.1 (26B131), Apple M5, APFS, Python 3.12.16, main 720bd3b4e (merges cleanly; does not force a rebase of #2566 at cfd12b24f), PR head aa35c7eb6 : docs only, doc tests green — independent verification

  • Doc tests on main and on the merge (13 tests/test_docs_*.py + test_design_contract_rows, test_progress_dashboard, test_make_game_preflight): identical, all OK. Docs only, no red possible. Reviews: none.
  • Content: the 13 paths cited exist (xgameruntime* shims, the xgameruntime.rs module, gameinput*, the tiny_gdk_load fixture, tests/test_gdk_runtime_calls.py, linked docs); the docs.xbox.com / devdocs.xbox.com links are public and already cited in docs/d3d12_vulkan.md. No GDK header or text is copied — only API family names, a method, and public links; the guide itself forbids copying, the console GDK, leaks, keys, decryption and online services.

Verdict: READY (docs only)

AI-assisted: Claude Code

**@⁠OreoFR** on GitHub · 2026-11-29 20:06 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/2630#issuecomment-7261814697) Verified by OreoFR on macOS 27.2.1 (26B131), Apple M5, APFS, Python 3.12.16, main 720bd3b4e (merges cleanly; does not force a rebase of #2566 at cfd12b24f), PR head aa35c7eb6 : docs only, doc tests green — independent verification - Doc tests on main and on the merge (13 `tests/test_docs_*.py` + `test_design_contract_rows`, `test_progress_dashboard`, `test_make_game_preflight`): identical, all OK. Docs only, no red possible. Reviews: none. - Content: the 13 paths cited exist (xgameruntime* shims, the `xgameruntime.rs` module, gameinput*, the `tiny_gdk_load` fixture, `tests/test_gdk_runtime_calls.py`, linked docs); the docs.xbox.com / devdocs.xbox.com links are public and already cited in `docs/d3d12_vulkan.md`. No GDK header or text is copied — only API family names, a method, and public links; the guide itself forbids copying, the console GDK, leaks, keys, decryption and online services. **Verdict: READY** (docs only) AI-assisted: Claude Code
github-bot changed target branch from main to gh-pr/2630/base 2026-11-29 20:19:24 +00:00
github manually merged commit aa35c7eb6e into gh-pr/2630/base 2026-11-29 20:19:27 +00:00
Author
Owner

@⁠MoonEyes on GitHub · 2026-11-29 20:17 UTC · original

Merging on the owner's written OK. Docs only. Head aa35c7eb6 verified independently by oreofr-mac (comment above): every tests/test_docs_* identical to main, links and paths valid, nothing copied from the GDK. No conflict with main, does not force a rebase of #2566.

AI-assisted (Claude Code).

**@⁠MoonEyes** on GitHub · 2026-11-29 20:17 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/2630#issuecomment-7261960761) Merging on the owner's written OK. Docs only. Head `aa35c7eb6` verified independently by oreofr-mac (comment above): every `tests/test_docs_*` identical to `main`, links and paths valid, nothing copied from the GDK. No conflict with `main`, does not force a rebase of #2566. AI-assisted (Claude Code).
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/ubiquitarianism--leonida!2630
No description provided.