docs/launcher: Update rebuilds the runtime only on Windows; what the bar shows instead of an update (DOCS-LAUNCHER-UPDATE-PLATFORMS) #3079

Merged
Leo02261 merged 2 commits from upstream-pr/3079 into main 2026-12-02 21:07:50 +00:00
Leo02261 commented 2026-12-02 09:59:23 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Leo02261 on 2026-12-02T09:59:23Z.


Claimed in the coordination issue as: DOCS-LAUNCHER-UPDATE-PLATFORMS (https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7341778066)

What and why

The Updates bullet in docs/launcher.md said Update "then rebuilds the runtime when d3d12/ changed". run_update in tools/leonida_launcher.py only does that on Windows; elsewhere it prints Updated. d3d12/ changed: rebuild the runtime (docs/linux.md). and returns. The page now says so and links the Linux runtime section.

It also now says what the update check reports instead of an update: a zip copy, a missing git and a failed check (git's reason) go to the Play page's status bar (update_note, the update_var label in the bar); a branch with no upstream shows nothing (update_note returns "").

Not in this PR (code, not docs): the Update confirmation dialog says it "rebuilds the runtime if it changed" on every platform, which is not true on Linux.

Tested

  • Read every claim against update_status, update_note, run_update and the Play page widgets in tools/leonida_launcher.py.
  • python -I scripts/check_no_game_data.py docs/launcher.md: passes.
  • Docs only; nothing to run on a GPU.

GPUs tested: n/a (documentation only)

AI-assisted: yes. Written with Claude Opus 5.5; independently reviewed by a separate read-only Claude Opus 5.5 reviewer agent, whose findings (the no-upstream case, the wider "check fails" wording, the Linux section link) are applied.

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

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5604115085 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3079). Originally posted by [Leo02261](https://github.com/Leo02261) on 2026-12-02T09:59:23Z. --- Claimed in the coordination issue as: DOCS-LAUNCHER-UPDATE-PLATFORMS (https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7341778066) ### What and why The Updates bullet in `docs/launcher.md` said Update "then rebuilds the runtime when `d3d12/` changed". `run_update` in `tools/leonida_launcher.py` only does that on Windows; elsewhere it prints `Updated. d3d12/ changed: rebuild the runtime (docs/linux.md).` and returns. The page now says so and links the Linux runtime section. It also now says what the update check reports instead of an update: a zip copy, a missing git and a failed check (git's reason) go to the Play page's status bar (`update_note`, the `update_var` label in the bar); a branch with no upstream shows nothing (`update_note` returns `""`). Not in this PR (code, not docs): the Update confirmation dialog says it "rebuilds the runtime if it changed" on every platform, which is not true on Linux. ### Tested - Read every claim against `update_status`, `update_note`, `run_update` and the Play page widgets in `tools/leonida_launcher.py`. - `python -I scripts/check_no_game_data.py docs/launcher.md`: passes. - Docs only; nothing to run on a GPU. GPUs tested: n/a (documentation only) AI-assisted: yes. Written with Claude Opus 5.5; independently reviewed by a separate read-only Claude Opus 5.5 reviewer agent, whose findings (the no-upstream case, the wider "check fails" wording, the Linux section link) are applied. ### 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. - [x] 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)
MoonEyes commented 2026-12-02 18:01:37 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T18:01:37Z.


RUN (independent run on Windows, head 6596c8fcb3d9c114e680a4cce3d027b34b8b0d71, merged into main 45dc41f95c1cd0dcc29c2c50582e0e9af8a77259 with git merge --no-ff)

Docs-only PR: docs/launcher.md, Updates bullet (+6/-2).

Green

  • Merge was clean (merge commit 39a6eb248bee57e24870a9720903033e62b63a26).
  • python -I scripts/check_no_game_data.py docs/launcher.md: pass.
  • OK: tests/test_docs_links.py, test_docs_repo_paths.py, test_docs_encoding.py, test_docs_list_items.py, test_docs_repeated_lines.py, test_leonida_launcher.py.
  • The new link linux.md#the-runtime-under-wine-or-proton resolves: docs/linux.md has ## The runtime, under Wine or Proton.

Red

No new test, so I mutated the new text (restored after each):

  1. Anchor changed to #nonexistent-anchor: test_docs_links.py FAILS (caught).
  2. Link target changed to nolinux.md: test_docs_links.py FAILS (caught).
  3. Changed a path mention (d3d12/ to d3d12x/) and a link text: test_docs_repo_paths.py still OK (survives). The prose claims are not machine-checked.

Review

Claims checked against tools/leonida_launcher.py on main:

  • run_update: on non-Windows it prints "Updated. d3d12/ changed: rebuild the runtime (docs/linux.md)." and returns 0; Windows rebuilds. Matches "on Windows rebuilds; on Linux it only says that d3d12/ changed".
  • update_note: zip, nogit, error (with git's detail) give a message; noupstream returns "". Matches. update_var (line 809) is the status-bar label. Matches.
  • Claim: the PR cites DOCS-LAUNCHER-UPDATE-PLATFORMS, which is claimed in issue 2570 ("claiming: ..." and "done: ... -> #3079"). Good.
  • No comments or reviews on the PR, so there are no open reviewer questions.
  • Minor: the "(the bar gives git's reason)" wording is accurate only for the failed-check case; the sentence reads fine.
  • The PR names the Opus 5.5 models and says AI-assisted, as CONTRIBUTING requires.

Not covered

  • No GPU or in-game run (docs only).
  • Prose accuracy has no automated check (mutation 3 survives).
  • The confirmation dialog wording on Linux is out of scope, as the PR says.

Verdict

PASS

AI-assisted (Claude Code), models: Claude Opus 5.5 (checker), separate Claude Opus 5.5 judge.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7353872622 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3079#issuecomment-7353872622). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-02T18:01:37Z. --- RUN (independent run on Windows, head `6596c8fcb3d9c114e680a4cce3d027b34b8b0d71`, merged into `main` `45dc41f95c1cd0dcc29c2c50582e0e9af8a77259` with `git merge --no-ff`) Docs-only PR: `docs/launcher.md`, Updates bullet (+6/-2). ### Green - Merge was clean (merge commit `39a6eb248bee57e24870a9720903033e62b63a26`). - `python -I scripts/check_no_game_data.py docs/launcher.md`: pass. - OK: `tests/test_docs_links.py`, `test_docs_repo_paths.py`, `test_docs_encoding.py`, `test_docs_list_items.py`, `test_docs_repeated_lines.py`, `test_leonida_launcher.py`. - The new link `linux.md#the-runtime-under-wine-or-proton` resolves: `docs/linux.md` has `## The runtime, under Wine or Proton`. ### Red No new test, so I mutated the new text (restored after each): 1. Anchor changed to `#nonexistent-anchor`: `test_docs_links.py` FAILS (caught). 2. Link target changed to `nolinux.md`: `test_docs_links.py` FAILS (caught). 3. Changed a path mention (`d3d12/` to `d3d12x/`) and a link text: `test_docs_repo_paths.py` still OK (survives). The prose claims are not machine-checked. ### Review Claims checked against `tools/leonida_launcher.py` on `main`: - `run_update`: on non-Windows it prints "Updated. d3d12/ changed: rebuild the runtime (docs/linux.md)." and returns 0; Windows rebuilds. Matches "on Windows rebuilds; on Linux it only says that d3d12/ changed". - `update_note`: zip, nogit, error (with git's `detail`) give a message; `noupstream` returns `""`. Matches. `update_var` (line 809) is the status-bar label. Matches. - Claim: the PR cites DOCS-LAUNCHER-UPDATE-PLATFORMS, which is claimed in issue 2570 ("claiming: ..." and "done: ... -> #3079"). Good. - No comments or reviews on the PR, so there are no open reviewer questions. - Minor: the "(the bar gives git's reason)" wording is accurate only for the failed-check case; the sentence reads fine. - The PR names the Opus 5.5 models and says AI-assisted, as CONTRIBUTING requires. ### Not covered - No GPU or in-game run (docs only). - Prose accuracy has no automated check (mutation 3 survives). - The confirmation dialog wording on Linux is out of scope, as the PR says. ### Verdict PASS AI-assisted (Claude Code), models: Claude Opus 5.5 (checker), separate Claude Opus 5.5 judge.
MoonEyes commented 2026-12-02 18:18:35 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T18:18:35Z.


Verification of #3079 (third party, Linux, no GPU, no game files)

  • Head verified: 6596c8fcb3d9c114e680a4cce3d027b34b8b0d71 (1 file, docs/launcher.md, +6/-2).
  • Merge base a917c54d6; merged with git merge --no-ff onto main 45dc41f95, no conflict (184 commits behind).

What was run (Python 3.13, python -I)

Command Result
python -I scripts/check_no_game_data.py docs/launcher.md exit 0
git diff --check origin/main...pr/3079 clean
the 13 tests/test_docs_*.py + tests/test_design_contract_rows.py on the merge all pass, same as main (incl. test_docs_links.py for the new linux.md#the-runtime-under-wine-or-proton anchor)

Docs-only, so no red/green applies. I checked each sentence against tools/leonida_launcher.py on main:

  • Rebuild only on Windows: run_update (leonida_launcher.py:332-336) prints
    Updated. d3d12/ changed: rebuild the runtime (docs/linux.md). and returns when windows is false. The text matches.
  • Status-bar notes: update_note (:290-302) returns text for zip, nogit and error (with git's detail),
    and "" for noupstream. The bar label at :644-648 shows it. "on a branch that follows no upstream, nothing is
    shown" is right.
  • The linux.md anchor exists (docs/linux.md:75, "The runtime, under Wine or Proton").

Nit (not blocking)

  • docs/launcher.md:41: the code branch is "not Windows" (windows: bool = WINDOWS), so macOS also gets the
    message without a rebuild. "elsewhere" would match the code better than "on Linux". This only matters if the launcher runs on macOS.

AI disclosure (models and reviewer) and the claim are in the body.

Verdict: ready.

AI-assisted verification: Claude Opus (Claude Code), separate agent per batch.


Generated by Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7354341124 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3079#issuecomment-7354341124). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-02T18:18:35Z. --- **Verification of #3079 (third party, Linux, no GPU, no game files)** - Head verified: `6596c8fcb3d9c114e680a4cce3d027b34b8b0d71` (1 file, `docs/launcher.md`, +6/-2). - Merge base `a917c54d6`; merged with `git merge --no-ff` onto `main` `45dc41f95`, no conflict (184 commits behind). **What was run (Python 3.13, `python -I`)** | Command | Result | |---|---| | `python -I scripts/check_no_game_data.py docs/launcher.md` | exit 0 | | `git diff --check origin/main...pr/3079` | clean | | the 13 `tests/test_docs_*.py` + `tests/test_design_contract_rows.py` on the merge | all pass, same as `main` (incl. `test_docs_links.py` for the new `linux.md#the-runtime-under-wine-or-proton` anchor) | Docs-only, so no red/green applies. I checked each sentence against `tools/leonida_launcher.py` on `main`: - Rebuild only on Windows: `run_update` (`leonida_launcher.py:332-336`) prints `Updated. d3d12/ changed: rebuild the runtime (docs/linux.md).` and returns when `windows` is false. The text matches. - Status-bar notes: `update_note` (`:290-302`) returns text for `zip`, `nogit` and `error` (with git's `detail`), and `""` for `noupstream`. The bar label at `:644-648` shows it. "on a branch that follows no upstream, nothing is shown" is right. - The `linux.md` anchor exists (`docs/linux.md:75`, "The runtime, under Wine or Proton"). **Nit (not blocking)** - `docs/launcher.md:41`: the code branch is "not Windows" (`windows: bool = WINDOWS`), so macOS also gets the message without a rebuild. "elsewhere" would match the code better than "on Linux". This only matters if the launcher runs on macOS. AI disclosure (models and reviewer) and the claim are in the body. **Verdict: ready.** AI-assisted verification: Claude Opus (Claude Code), separate agent per batch. --- _Generated by [Claude Code](https://claude.ai/code)_
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
ProjectLeonida/mandy!3079
No description provided.