Stop reading coordination claim IDs at spaced dashes #3369

Open
merzleckeier wants to merge 1 commit from upstream-pr/3369 into main
merzleckeier commented 2026-12-03 17:22:18 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-12-03T17:22:18Z.


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.
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5631479400 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3369). Originally posted by [merzleckeier](https://github.com/merzleckeier) on 2026-12-03T17:22:18Z. --- 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 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Kal0s-design on 2026-12-03T17:40:23Z.


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).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7386881237 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3369#issuecomment-7386881237). Originally posted by [Kal0s-design](https://github.com/Kal0s-design) on 2026-12-03T17:40:23Z. --- 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).
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/3369:upstream-pr/3369'
git switch 'upstream-pr/3369'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/3369'
git switch 'upstream-pr/3369'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/3369'
git switch 'upstream-pr/3369'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/3369'
git switch 'main'
git merge --squash 'upstream-pr/3369'
git switch 'main'
git merge --ff-only 'upstream-pr/3369'
git switch 'main'
git merge 'upstream-pr/3369'
git push origin 'main'
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!3369
No description provided.