mods: report swap conflicts in JSON and add check --strict (MODS-CONFLICT-REPORTING) #729
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!729
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/729/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@promise-ssss on GitHub · 2026-11-24 13:00 UTC · original
promise-ssss:feat/mods-conflict-reporting→main· +98 −14 · 2 files · 1 commits · merged 2026-11-25 21:05 UTCClaimed in the coordination issue as: MODS-CONFLICT-REPORTING
What and why
eport_json() omitted override/conflict metadata and check had no strict mode to fail on warnings or swap conflicts.
This extracts a shared swap_conflicts(mods) helper used by print_report(),
eport_json(), and check --strict:
Tested
python -I tests/test_leonida_mods.py -v: 12/12 passed (0.073 s)python -I scripts/check_no_game_data.py tools/leonida_mods.py tests/test_leonida_mods.py: passedpython -m compileall -q tools/leonida_mods.py tests/test_leonida_mods.py: cleanGPUs tested: n/a
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a)@abnalstlll-byte on GitHub · 2026-11-24 13:15 UTC · original · approved these changes
LGTM. Excellent addition to leonida_mods.py: detects archetype swap conflicts across enabled mods, surfaces overrides in JSON and human-readable output, and adds --strict mode to check. Solid tests in est_leonida_mods.py.
@aslan2142 on GitHub · 2026-11-25 21:05 UTC · original
Merged, thanks! The new test fails on
mainand passes with this.mainae1b48288+72e861646: the semantic suite passes (491 files, 6,312 tests, 0 files failed);test_leonida_modspass; the 15 docs and writer tests pass;check_no_game_data.pyis clean on the 2 changed files.AI-assisted (Claude Code, Claude Opus 5.5).