Stop reading coordination claim IDs at spaced dashes #3369

Merged
leonida/mandy
merzleckeier merged 2 commits from github-pr/3369 into main 2026-12-03 22:46:19 +00:00

Pull request successfully merged and closed

merzleckeier commented 2026-12-03 17:22:18 +00:00

Claimed as CI-COORDINATION-CLAIM-DASH in #3312.

What changed

People use spaced en and em dashes to separate the ID list from the explanation in coordination comments. The parser currently reads ID-shaped terms in that explanation as claims. For example, an older verification comment caused GPT-6 to appear as a work item in the table. The same parser can also close an unrelated claim if its ID is mentioned in the explanation of a done: or released: line.

Treat a spaced en or em dash as the start of the explanation. ASCII hyphens within the work-item IDs and the existing arrow and parenthesis separators continue to work.

Verification

  • Two regressions failed on 09273248 and passed with the change. All 32 coordination-parser tests and 18 CI-registration tests passed.
  • Replayed 1,864 claim or close comments from #2570 and #3312 in GitHub comment-ID order. Five false entries, including GPT-6, dropped out of the open table, and no new entries appeared.
  • git diff --check and the no-game-data check passed. GPUs tested: none.

AI-assisted with OpenAI Codex. Independently reviewed read-only by GPT-6.2 Sol.

Checklist

  • Based on the current main.
  • One topic.
  • No game data.
Claimed as `CI-COORDINATION-CLAIM-DASH` in [#3312](https://github.com/ProjectLeonida/mandy/issues/3312#issuecomment-7386300465). ### What changed People use spaced en and em dashes to separate the ID list from the explanation in coordination comments. The parser currently reads ID-shaped terms in that explanation as claims. For example, an [older verification comment](https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7365291504) caused `GPT-6` to appear as a work item in the table. The same parser can also close an unrelated claim if its ID is mentioned in the explanation of a `done:` or `released:` line. Treat a spaced en or em dash as the start of the explanation. ASCII hyphens within the work-item IDs and the existing arrow and parenthesis separators continue to work. ### Verification - Two regressions failed on `09273248` and passed with the change. All 32 coordination-parser tests and 18 CI-registration tests passed. - Replayed 1,864 claim or close comments from #2570 and #3312 in GitHub comment-ID order. Five false entries, including `GPT-6`, dropped out of the open table, and no new entries appeared. - `git diff --check` and the no-game-data check passed. GPUs tested: none. AI-assisted with OpenAI Codex. Independently reviewed read-only by GPT-6.2 Sol. ### Checklist - [x] Based on the current `main`. - [x] One topic. - [x] No game data.
Kal0s-design commented 2026-12-03 17:40:23 +00:00

Ran natively on Windows 11 (Python 3.11, locale code page cp1252), head 32b2531fc merged into main (09273248c, clean merge).

No findings.

run result
python -I tests/test_coordination_claims.py, merge 32 tests, OK
same with tools/coordination_claims.py from main 2 failures: test_text_after_a_spaced_en_or_em_dash_is_not_an_id_list, test_closing_comments_keep_ids_in_dash_separated_prose_open

Since the split now depends on the en and em dash characters, I checked the Windows side of that (read): every input and output file is opened with encoding="utf-8", so the dashes survive on a machine whose default code page is cp1252, and the tests above ran under that default.

Not checked: the replay of the #2570/#3312 comments, the CI workflow that runs the tool.

GPUs tested: n/a (Python tests only).
AI-assisted: yes (Claude Code).

Ran natively on Windows 11 (Python 3.11, locale code page cp1252), head `32b2531fc` merged into `main` (`09273248c`, clean merge). No findings. | run | result | |---|---| | `python -I tests/test_coordination_claims.py`, merge | 32 tests, OK | | same with `tools/coordination_claims.py` from `main` | 2 failures: `test_text_after_a_spaced_en_or_em_dash_is_not_an_id_list`, `test_closing_comments_keep_ids_in_dash_separated_prose_open` | Since the split now depends on the en and em dash characters, I checked the Windows side of that (read): every input and output file is opened with `encoding="utf-8"`, so the dashes survive on a machine whose default code page is cp1252, and the tests above ran under that default. Not checked: the replay of the #2570/#3312 comments, the CI workflow that runs the tool. GPUs tested: n/a (Python tests only). AI-assisted: yes (Claude Code).
Member

Merge check while Forgejo Actions is off: the PR's own tests pass locally on its merge with main 529ba2a219 (head judged: 83ac501b6f), the old code fails the new test (so the test covers the change), check_no_game_data.py clean, and a separate read-only judge (Claude Opus 5.5) accepted it. The server's update merge was checked to give the exact tree that was tested.

Merge check while Forgejo Actions is off: the PR's own tests pass locally on its merge with main `529ba2a219` (head judged: `83ac501b6f`), the old code fails the new test (so the test covers the change), `check_no_game_data.py` clean, and a separate read-only judge (Claude Opus 5.5) accepted it. The server's update merge was checked to give the exact tree that was tested.
Sign in to join this conversation.
No description provided.