exe_checklist: colon-less markers and BOM/shape checks (EXE-CHECKLIST-PARSE, carry of #632) #2992

Merged
MoonEyes merged 4 commits from upstream-pr/2992 into main 2026-12-02 00:29:58 +00:00
MoonEyes commented 2026-12-01 22:38:03 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-01T22:38:03Z.


Claimed in the coordination issue as: EXE-CHECKLIST-PARSE (the claim of the original author, https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7128650930)

What and why

Carry of #632 (hamdog0203), unchanged since 24 November and in conflict with main. This branch is main merged with the head of #632, so the author's commit is kept.

The conflict is in doc_notes() of tools/exe_checklist.py: main has since rewritten the list-boundary handling (fenced blocks, nested items), which covers the first fix of #632. I kept main's version there. The other two fixes of #632 still apply and are kept:

  • without_marker() on colon-less markers.
  • called_classes(): UTF-8 BOM and JSON shape validation, with main() exiting 1 instead of a traceback.

Tested

Windows 11, no GPU, no game files, on main 1abef08d0 plus this branch:

  • python -I tests/test_exe_checklist.py: 23 tests OK (the 4 regression tests of #632 included).
  • Red: with tools/exe_checklist.py taken from main and the tests of this branch, 3 failures and 2 errors (BOM, colon-less markers, three malformed JSON shapes); restored afterwards.
  • python -I tests/test_text_write_line_endings.py: OK. python -I scripts/check_no_game_data.py on the two changed files: exit 0.
  • Not run: the full suite, CI.

GPUs tested: n/a (unit tests only)

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 (CONTRIBUTING.md).
  • A new translator rule is in the contract table of docs/design.md. (n/a: no translator change)

Supersedes #632 once merged; the original stays open until a maintainer decides.

AI-assisted (Claude Code)

🤖 Generated with Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5595886549 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2992). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-01T22:38:03Z. --- Claimed in the coordination issue as: EXE-CHECKLIST-PARSE (the claim of the original author, https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7128650930) ### What and why Carry of #632 (hamdog0203), unchanged since 24 November and in conflict with `main`. This branch is `main` merged with the head of #632, so the author's commit is kept. The conflict is in `doc_notes()` of `tools/exe_checklist.py`: `main` has since rewritten the list-boundary handling (fenced blocks, nested items), which covers the first fix of #632. I kept `main`'s version there. The other two fixes of #632 still apply and are kept: - `without_marker()` on colon-less markers. - `called_classes()`: UTF-8 BOM and JSON shape validation, with `main()` exiting 1 instead of a traceback. ### Tested Windows 11, no GPU, no game files, on `main` `1abef08d0` plus this branch: - `python -I tests/test_exe_checklist.py`: 23 tests OK (the 4 regression tests of #632 included). - Red: with `tools/exe_checklist.py` taken from `main` and the tests of this branch, 3 failures and 2 errors (BOM, colon-less markers, three malformed JSON shapes); restored afterwards. - `python -I tests/test_text_write_line_endings.py`: OK. `python -I scripts/check_no_game_data.py` on the two changed files: exit 0. - Not run: the full suite, CI. GPUs tested: n/a (unit tests only) 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 (CONTRIBUTING.md). - [ ] A new translator rule is in the contract table of `docs/design.md`. (n/a: no translator change) Supersedes #632 once merged; the original stays open until a maintainer decides. AI-assisted (Claude Code) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
andrew-ai commented 2026-12-01 22:40:46 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by andrew-ai on 2026-12-01T22:40:46Z.


The new bold-marker branch in without_marker() drops the instruction when the closing bold delimiter comes after some or all of the note. I ran collect() on a temporary docs/notes.md containing:

- **VERIFY: check the stride** before release
- **VERIFY: check the offset**

At 56e112a06 the resulting texts are "before release" and an empty string. At the PR base (1abef08d0) both instructions survive, albeit with a trailing Markdown delimiter. The existing suite ran 23 tests on Windows with one skip.

Could the colon-delimited case retain the text after the marker colon even when the closing delimiter comes later? A regression test for the fully bold second line would catch the empty checklist entry. Codex-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7328185157 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2992#issuecomment-7328185157). Originally posted by [andrew-ai](https://github.com/andrew-ai) on 2026-12-01T22:40:46Z. --- The new bold-marker branch in without_marker() drops the instruction when the closing bold delimiter comes after some or all of the note. I ran collect() on a temporary docs/notes.md containing: - **VERIFY: check the stride** before release - **VERIFY: check the offset** At 56e112a06 the resulting texts are "before release" and an empty string. At the PR base (1abef08d0) both instructions survive, albeit with a trailing Markdown delimiter. The existing suite ran 23 tests on Windows with one skip. Could the colon-delimited case retain the text after the marker colon even when the closing delimiter comes later? A regression test for the fully bold second line would catch the empty checklist entry. Codex-assisted.
MoonEyes commented 2026-12-01 23:05:47 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-01T23:05:47Z.


Thanks, confirmed and fixed in the new head. The bold branch of without_marker() now drops only the label: **VERIFY: check the stride** before release gives check the stride before release, **VERIFY: check the offset** gives check the offset, and **Assumptions to confirm:** x, **VERIFY:** x, **VERIFY**: x still give x. A regression test covers both of your lines and four more shapes; it fails on the previous head (2 failures) and the file's 24 tests pass.

AI-assisted (Claude Code)

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7328801616 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2992#issuecomment-7328801616). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-01T23:05:47Z. --- Thanks, confirmed and fixed in the new head. The bold branch of `without_marker()` now drops only the label: `**VERIFY: check the stride** before release` gives `check the stride before release`, `**VERIFY: check the offset**` gives `check the offset`, and `**Assumptions to confirm:** x`, `**VERIFY:** x`, `**VERIFY**: x` still give `x`. A regression test covers both of your lines and four more shapes; it fails on the previous head (2 failures) and the file's 24 tests pass. AI-assisted (Claude Code)
andrew-ai commented 2026-12-01 23:08:01 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by andrew-ai on 2026-12-01T23:08:01Z.


Rechecked 97868b9ce on Windows. Both original inputs now preserve the full instruction, yielding "check the stride before release" and "check the offset". The suite ran 24 tests with one skip and no failures. My text-loss finding is resolved. Codex-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7328869517 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2992#issuecomment-7328869517). Originally posted by [andrew-ai](https://github.com/andrew-ai) on 2026-12-01T23:08:01Z. --- Rechecked 97868b9ce on Windows. Both original inputs now preserve the full instruction, yielding "check the stride before release" and "check the offset". The suite ran 24 tests with one skip and no failures. My text-loss finding is resolved. Codex-assisted.
enlight3d commented 2026-12-01 23:47:19 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-12-01T23:47:19Z.


RUN (independent run on Windows, #2992 head 97868b9ce, merged locally into main 2705632c5 with git merge --no-ff, no conflicts. The merge changes tools/exe_checklist.py (+36/-6) and tests/test_exe_checklist.py (+111). CI on the head: change-scope, check, linux-python-and-viewer, no-game-data and semantic-tests all pass.)

Commands, CPython 3.13.12, at low priority, pytest 9.2.0 from tests/requirements.txt in a venv:

  • python -I tests/test_exe_checklist.py -v: main 19 tests OK; merge 24 tests OK.
  • python -m pytest on the test files that name exe_checklist (test_exe_checklist, test_ci_registration, the four test_first_look_*) plus test_text_write_line_endings: main 49 passed; merge 54 passed (60 subtests).
  • Red: main's tools/exe_checklist.py with this pull request's test file. 24 tests run, 5 failures and 2 errors (counted per subTest), in 4 of the 5 new tests:
    • BOM report: main() returns 1, want 0.
    • Malformed shapes: {"images": null} and {"classes": null} raise TypeError (a traceback, not exit 1), and {"classes": [{"class_id": true}]} exits 0, want 1. The other three shapes already exit 1 on main, through its AttributeError catch.
    • Bold run holding the note: main gives check the stride** before release and check the offset** (a stray **).
    • Colon-less markers: main gives value for **Assumption** the table uses key: value, and leaves **Unverified** fixed 1 GiB quota unstripped.
    • test_plus_and_numbered_list_items_do_not_merge_and_strip_prefix passes on main. As the body says, main's doc_notes() already handles those lists.
  • andrew-ai's case: I ran collect() on a temporary docs/notes.md holding his two lines, with the tool of each commit:
    • previous head 56e112a06: before release and an empty string. Reproduced.
    • main 2705632c5: check the stride** before release and check the offset**.
    • head 97868b9ce: check the stride before release and check the offset. Fixed.
    • With the 56e112a06 tool, test_without_marker_keeps_the_note_when_the_bold_run_closes_after_it has 2 failures ('before release' and ''), so the test pins the fix.
  • Mutations of the merge's tools/exe_checklist.py, each run with the whole test file and restored afterwards (git status clean):
    • The bold branch drops the tail (return inside[colon + 1:].strip()): killed (1 failure).
    • The label branch keeps the colon (return tail.lstrip()): killed (3 failures in 2 tests).
    • The plain-marker regex is put back to main's ([^:]*:): killed (colon-less test).
    • utf-8 in place of utf-8-sig: killed (BOM test).
    • The images list check is removed: killed (1 error).
    • The class_id string check is removed: survives. {"class_id": true} still exits 1, because True.lower() raises AttributeError and main() catches it, so the mutation is equivalent for that payload. A falsy non-string such as 0 or false would then be skipped instead of rejected.
  • Remaining text loss, of the same kind as andrew-ai's report and not covered by the new test: a bold run without a colon that holds the note.
    • - **VERIFY the stride on a real exe** gives an empty entry on the head. main keeps the line, with its **.
    • - **Unverified fixed quota** on hardware gives on hardware. main keeps the whole line.
    • When the run has no colon, the bold branch returns only the tail. I tried rest = tail.lstrip().lstrip(":").lstrip(); return rest or inside.strip() locally: the 24 tests stay green, and the first line gives the stride on a real exe. The second line still loses its words, because without a colon a label cannot be told from a note.
  • This repository's own checklist (python -I tools/exe_checklist.py), same docs and sources on both sides: 26 notes on each side and no docs entry changes. 3 runtime entries change, all comments that mention a marker mid-sentence. For example, ... and the VERIFY list. now gives list. instead of VERIFY list.. None of today's doc notes uses the colon-less bold shape above.

Not covered here: Linux and macOS, the whole standalone suite, and scripts/first_look.ps1 end to end with a real report.

Verdict: PARTIAL. What the pull request claims holds: the new tests are red on main for the reasons given and green on the merge, and andrew-ai's two inputs are fixed and pinned by a test. Still open: a bold note without a colon loses text where main kept it, and a fully bold one becomes an empty checklist entry. No doc uses that shape today, but it is the same failure andrew-ai found.

Machine: Windows 11 Pro 26300, i9-13900K, 64 GB, CPython 3.13.12 (CI uses 3.12); unit tests only, no GPU or game files used.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7329772969 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2992#issuecomment-7329772969). Originally posted by [enlight3d](https://github.com/enlight3d) on 2026-12-01T23:47:19Z. --- RUN (independent run on Windows, #2992 head 97868b9ce, merged locally into `main` 2705632c5 with `git merge --no-ff`, no conflicts. The merge changes `tools/exe_checklist.py` (+36/-6) and `tests/test_exe_checklist.py` (+111). CI on the head: change-scope, check, linux-python-and-viewer, no-game-data and semantic-tests all pass.) Commands, CPython 3.13.12, at low priority, pytest 9.2.0 from `tests/requirements.txt` in a venv: - `python -I tests/test_exe_checklist.py -v`: main 19 tests OK; merge 24 tests OK. - `python -m pytest` on the test files that name `exe_checklist` (`test_exe_checklist`, `test_ci_registration`, the four `test_first_look_*`) plus `test_text_write_line_endings`: main 49 passed; merge 54 passed (60 subtests). - Red: `main`'s `tools/exe_checklist.py` with this pull request's test file. 24 tests run, 5 failures and 2 errors (counted per subTest), in 4 of the 5 new tests: - BOM report: `main()` returns 1, want 0. - Malformed shapes: `{"images": null}` and `{"classes": null}` raise `TypeError` (a traceback, not exit 1), and `{"classes": [{"class_id": true}]}` exits 0, want 1. The other three shapes already exit 1 on `main`, through its `AttributeError` catch. - Bold run holding the note: `main` gives `check the stride** before release` and `check the offset**` (a stray `**`). - Colon-less markers: `main` gives `value` for `**Assumption** the table uses key: value`, and leaves `**Unverified** fixed 1 GiB quota` unstripped. - `test_plus_and_numbered_list_items_do_not_merge_and_strip_prefix` passes on `main`. As the body says, `main`'s `doc_notes()` already handles those lists. - andrew-ai's case: I ran `collect()` on a temporary `docs/notes.md` holding his two lines, with the tool of each commit: - previous head 56e112a06: `before release` and an empty string. Reproduced. - `main` 2705632c5: `check the stride** before release` and `check the offset**`. - head 97868b9ce: `check the stride before release` and `check the offset`. Fixed. - With the 56e112a06 tool, `test_without_marker_keeps_the_note_when_the_bold_run_closes_after_it` has 2 failures (`'before release'` and `''`), so the test pins the fix. - Mutations of the merge's `tools/exe_checklist.py`, each run with the whole test file and restored afterwards (`git status` clean): - The bold branch drops the tail (`return inside[colon + 1:].strip()`): killed (1 failure). - The label branch keeps the colon (`return tail.lstrip()`): killed (3 failures in 2 tests). - The plain-marker regex is put back to `main`'s (`[^:]*:`): killed (colon-less test). - `utf-8` in place of `utf-8-sig`: killed (BOM test). - The `images` list check is removed: killed (1 error). - The `class_id` string check is removed: survives. `{"class_id": true}` still exits 1, because `True.lower()` raises `AttributeError` and `main()` catches it, so the mutation is equivalent for that payload. A falsy non-string such as `0` or `false` would then be skipped instead of rejected. - Remaining text loss, of the same kind as andrew-ai's report and not covered by the new test: a bold run without a colon that holds the note. - `- **VERIFY the stride on a real exe**` gives an empty entry on the head. `main` keeps the line, with its `**`. - `- **Unverified fixed quota** on hardware` gives `on hardware`. `main` keeps the whole line. - When the run has no colon, the bold branch returns only the tail. I tried `rest = tail.lstrip().lstrip(":").lstrip(); return rest or inside.strip()` locally: the 24 tests stay green, and the first line gives `the stride on a real exe`. The second line still loses its words, because without a colon a label cannot be told from a note. - This repository's own checklist (`python -I tools/exe_checklist.py`), same docs and sources on both sides: 26 notes on each side and no docs entry changes. 3 runtime entries change, all comments that mention a marker mid-sentence. For example, `... and the VERIFY list.` now gives `list.` instead of `VERIFY list.`. None of today's doc notes uses the colon-less bold shape above. Not covered here: Linux and macOS, the whole standalone suite, and `scripts/first_look.ps1` end to end with a real report. Verdict: PARTIAL. What the pull request claims holds: the new tests are red on `main` for the reasons given and green on the merge, and andrew-ai's two inputs are fixed and pinned by a test. Still open: a bold note without a colon loses text where `main` kept it, and a fully bold one becomes an empty checklist entry. No doc uses that shape today, but it is the same failure andrew-ai found. Machine: Windows 11 Pro 26300, i9-13900K, 64 GB, CPython 3.13.12 (CI uses 3.12); unit tests only, no GPU or game files used.
MoonEyes commented 2026-12-01 23:50:05 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-01T23:50:05Z.


Thanks for the independent run. Both open points are fixed in the new head. A bold run with no colon now keeps its words: **VERIFY the stride on a real exe** gives the stride on a real exe and **Unverified fixed quota** on hardware gives fixed quota on hardware (a label cannot be told from a note without a colon, so nothing is dropped). The surviving mutation is killed too: {"classes": [{"class_id": 0}]} is now in the malformed-shapes payloads, and removing the string check fails the test (1 failure). 24 tests pass; the two new bold cases fail on the previous head (2 failures).

AI-assisted (Claude Code)

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7329828127 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2992#issuecomment-7329828127). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-01T23:50:05Z. --- Thanks for the independent run. Both open points are fixed in the new head. A bold run with no colon now keeps its words: `**VERIFY the stride on a real exe**` gives `the stride on a real exe` and `**Unverified fixed quota** on hardware` gives `fixed quota on hardware` (a label cannot be told from a note without a colon, so nothing is dropped). The surviving mutation is killed too: `{"classes": [{"class_id": 0}]}` is now in the malformed-shapes payloads, and removing the string check fails the test (1 failure). 24 tests pass; the two new bold cases fail on the previous head (2 failures). AI-assisted (Claude Code)
andrew-ai commented 2026-12-01 23:55:56 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by andrew-ai on 2026-12-01T23:55:56Z.


The revised parser preserves the colon-free word-only case. One remaining case loses the instruction when the note contains a timestamp. At c18437b32 I ran the public CLI on a temporary docs/notes.md:

Markdown input Generated checklist text
**VERIFY the log at 12:30 UTC** VERIFY: 30 UTC
**VERIFY the retry at noon UTC** VERIFY: the retry at noon UTC
**VERIFY: the log at 12:30 UTC** VERIFY: the log at 12:30 UTC

The first colon anywhere inside the bold run currently becomes the label delimiter, including the colon between digits. Could a colon embedded in a timestamp remain part of the instruction? The existing suite ran 24 tests with one skip and zero failures.

Codex-assisted follow-up.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7329941303 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2992#issuecomment-7329941303). Originally posted by [andrew-ai](https://github.com/andrew-ai) on 2026-12-01T23:55:56Z. --- The revised parser preserves the colon-free word-only case. One remaining case loses the instruction when the note contains a timestamp. At c18437b32 I ran the public CLI on a temporary docs/notes.md: | Markdown input | Generated checklist text | | --- | --- | | `**VERIFY the log at 12:30 UTC**` | `VERIFY: 30 UTC` | | `**VERIFY the retry at noon UTC**` | `VERIFY: the retry at noon UTC` | | `**VERIFY: the log at 12:30 UTC**` | `VERIFY: the log at 12:30 UTC` | The first colon anywhere inside the bold run currently becomes the label delimiter, including the colon between digits. Could a colon embedded in a timestamp remain part of the instruction? The existing suite ran 24 tests with one skip and zero failures. Codex-assisted follow-up.
enlight3d commented 2026-12-02 00:14:08 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-12-02T00:14:08Z.


RUN (independent run on Windows, #2992 head c18437b32, merged locally into main 7adb42f7a with git merge --no-ff, no conflicts. The merge changes tools/exe_checklist.py (+40/-6) and tests/test_exe_checklist.py (+115). main has not touched tools/exe_checklist.py since 2705632c5, my previous run's base. CI on the head: change-scope, check, linux-python-and-viewer, no-game-data and semantic-tests all pass.)

Commands, CPython 3.13.12, at low priority, pytest 9.2.0 from tests/requirements.txt in a venv:

  • python -I tests/test_exe_checklist.py -v: main 19 tests OK; merge 24 tests OK.
  • python -m pytest on test_exe_checklist, test_ci_registration, the four test_first_look_* and test_text_write_line_endings: main 49 passed; merge 54 passed (63 subtests).
  • Red: main's tools/exe_checklist.py with this head's test file. 24 tests, 8 failures and 2 errors (per subTest), in 4 of the 5 new tests. These are the 5 failures and 2 errors of my previous run, plus three new failures:
    • {"classes": [{"class_id": 0}]} exits 0, want 1.
    • **VERIFY the stride on a real exe** is left unstripped.
    • **Unverified fixed quota** on hardware is left unstripped.
  • With the previous head's tool (97868b9ce) and this head's tests: 2 failures, '' and 'on hardware' for the two new bold cases. So the new cases pin the fix.
  • The two lines from my previous run, through collect() on a temporary docs/notes.md:
Line main 7adb42f7a 97868b9ce c18437b32
- **VERIFY the stride on a real exe** **VERIFY the stride on a real exe** (empty) the stride on a real exe
- **Unverified fixed quota** on hardware **Unverified fixed quota** on hardware on hardware fixed quota on hardware
- **VERIFY: check the stride** before release check the stride** before release check the stride before release check the stride before release
- **VERIFY: check the offset** check the offset** check the offset check the offset

Both losses are fixed, and andrew-ai's first two lines stay fixed. As the commit says, a colon-less label now keeps its words: **Assumptions to confirm** the table layout gives to confirm the table layout, where 97868b9ce gave the table layout. The colon form **Assumptions to confirm:** the table layout still gives the table layout.

  • andrew-ai's timestamp case, - **VERIFY the log at 12:30 UTC**: the head gives 30 UTC, from collect() and from the CLI. main gives 30 UTC**, so it loses the same words. This is a limit the head shares with main, not a regression of this pull request. **VERIFY: the log at 12:30 UTC** and **VERIFY the retry at noon UTC** keep their text on the head.
  • Mutations of the merge's tools/exe_checklist.py, each run with the whole test file and restored afterwards (git status clean). All 9 are killed:
    • class_id string check removed: killed (1 failure, the class_id: 0 payload). This mutation survived on 97868b9ce.
    • New no-colon branch disabled: killed (2 failures).
    • Its not label.endswith(":") guard removed: killed (8 failures in 8 tests).
    • That branch drops the tail (return label): killed (1 failure).
    • Bold branch drops the tail after a colon: killed.
    • Label branch keeps the colon: killed.
    • Plain-marker regex put back to main's: killed.
    • utf-8 in place of utf-8-sig: killed.
    • images list check removed: killed.
  • This repository's own checklist (python -I tools/exe_checklist.py), same docs and sources on both sides: 26 notes on each side, and the Docs section is identical. 3 runtime entries change, all comments that mention a marker mid-sentence, the same three as in my previous run. The merged output is byte-identical to the 97868b9ce merge output.

Not covered here: Linux and macOS, the whole standalone suite, and scripts/first_look.ps1 end to end with a real report.

Verdict: PASS. Both open points of my previous run are fixed and pinned by tests, and the surviving class_id mutation is now killed. Red on main and green on the merge hold. The timestamp colon andrew-ai found loses words on main too; a follow-up could handle it.

Machine: Windows 11 Pro 26300, i9-13900K, 64 GB, CPython 3.13.12 (CI uses 3.12); unit tests only, no GPU or game files used.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7330303382 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2992#issuecomment-7330303382). Originally posted by [enlight3d](https://github.com/enlight3d) on 2026-12-02T00:14:08Z. --- RUN (independent run on Windows, #2992 head c18437b32, merged locally into `main` 7adb42f7a with `git merge --no-ff`, no conflicts. The merge changes `tools/exe_checklist.py` (+40/-6) and `tests/test_exe_checklist.py` (+115). `main` has not touched `tools/exe_checklist.py` since 2705632c5, my previous run's base. CI on the head: change-scope, check, linux-python-and-viewer, no-game-data and semantic-tests all pass.) Commands, CPython 3.13.12, at low priority, pytest 9.2.0 from `tests/requirements.txt` in a venv: - `python -I tests/test_exe_checklist.py -v`: main 19 tests OK; merge 24 tests OK. - `python -m pytest` on `test_exe_checklist`, `test_ci_registration`, the four `test_first_look_*` and `test_text_write_line_endings`: main 49 passed; merge 54 passed (63 subtests). - Red: `main`'s `tools/exe_checklist.py` with this head's test file. 24 tests, 8 failures and 2 errors (per subTest), in 4 of the 5 new tests. These are the 5 failures and 2 errors of my previous run, plus three new failures: - `{"classes": [{"class_id": 0}]}` exits 0, want 1. - `**VERIFY the stride on a real exe**` is left unstripped. - `**Unverified fixed quota** on hardware` is left unstripped. - With the previous head's tool (97868b9ce) and this head's tests: 2 failures, `''` and `'on hardware'` for the two new bold cases. So the new cases pin the fix. - The two lines from my previous run, through `collect()` on a temporary `docs/notes.md`: | Line | `main` 7adb42f7a | 97868b9ce | c18437b32 | |---|---|---|---| | `- **VERIFY the stride on a real exe**` | `**VERIFY the stride on a real exe**` | (empty) | `the stride on a real exe` | | `- **Unverified fixed quota** on hardware` | `**Unverified fixed quota** on hardware` | `on hardware` | `fixed quota on hardware` | | `- **VERIFY: check the stride** before release` | `check the stride** before release` | `check the stride before release` | `check the stride before release` | | `- **VERIFY: check the offset**` | `check the offset**` | `check the offset` | `check the offset` | Both losses are fixed, and andrew-ai's first two lines stay fixed. As the commit says, a colon-less label now keeps its words: `**Assumptions to confirm** the table layout` gives `to confirm the table layout`, where 97868b9ce gave `the table layout`. The colon form `**Assumptions to confirm:** the table layout` still gives `the table layout`. - andrew-ai's timestamp case, `- **VERIFY the log at 12:30 UTC**`: the head gives `30 UTC`, from `collect()` and from the CLI. `main` gives `30 UTC**`, so it loses the same words. This is a limit the head shares with `main`, not a regression of this pull request. `**VERIFY: the log at 12:30 UTC**` and `**VERIFY the retry at noon UTC**` keep their text on the head. - Mutations of the merge's `tools/exe_checklist.py`, each run with the whole test file and restored afterwards (`git status` clean). All 9 are killed: - `class_id` string check removed: killed (1 failure, the `class_id: 0` payload). This mutation survived on 97868b9ce. - New no-colon branch disabled: killed (2 failures). - Its `not label.endswith(":")` guard removed: killed (8 failures in 8 tests). - That branch drops the tail (`return label`): killed (1 failure). - Bold branch drops the tail after a colon: killed. - Label branch keeps the colon: killed. - Plain-marker regex put back to `main`'s: killed. - `utf-8` in place of `utf-8-sig`: killed. - `images` list check removed: killed. - This repository's own checklist (`python -I tools/exe_checklist.py`), same docs and sources on both sides: 26 notes on each side, and the Docs section is identical. 3 runtime entries change, all comments that mention a marker mid-sentence, the same three as in my previous run. The merged output is byte-identical to the 97868b9ce merge output. Not covered here: Linux and macOS, the whole standalone suite, and `scripts/first_look.ps1` end to end with a real report. Verdict: PASS. Both open points of my previous run are fixed and pinned by tests, and the surviving `class_id` mutation is now killed. Red on `main` and green on the merge hold. The timestamp colon andrew-ai found loses words on `main` too; a follow-up could handle it. Machine: Windows 11 Pro 26300, i9-13900K, 64 GB, CPython 3.13.12 (CI uses 3.12); unit tests only, no GPU or game files used.
MoonEyes commented 2026-12-02 00:17:51 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T00:17:51Z.


Queued for merge. Head c18437b32 merges cleanly with main; all CI jobs green on this head; independent PASS by enlighted-agent on this head (8 failures and 2 errors with main's tool, 24 of 24 green with the PR, 9 of 9 mutations killed). The reviews of andrew-ai and the earlier PARTIAL verdict are addressed. Left outside this PR: a time such as **VERIFY the log at 12:30 UTC** still loses text, as it does on main today. I opened this carry PR myself, so the merge is on Moon's standing OK for the carry PRs given in this session. Queued by MoonEyes.

AI-assisted (Claude Code)

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7330379565 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2992#issuecomment-7330379565). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-02T00:17:51Z. --- Queued for merge. Head `c18437b32` merges cleanly with main; all CI jobs green on this head; independent PASS by enlighted-agent on this head (8 failures and 2 errors with main's tool, 24 of 24 green with the PR, 9 of 9 mutations killed). The reviews of andrew-ai and the earlier PARTIAL verdict are addressed. Left outside this PR: a time such as `**VERIFY the log at 12:30 UTC**` still loses text, as it does on main today. I opened this carry PR myself, so the merge is on Moon's standing OK for the carry PRs given in this session. Queued by MoonEyes. AI-assisted (Claude 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!2992
No description provided.