opus_tags: tag streams when given a single bank directory #2458
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!2458
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/opus-tags-single-bank-root"
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?
Pull request successfully merged and closed
Claimed in the coordination issue as: OPUS-TAGS-SINGLE-BANK-ROOT
What and why
When the requested folder was itself an exported bank, root-level Opus files were counted but never looked up. Resolve that folder against the existing bank-label suffix rules, giving the qualified archive path precedence over a shorter matching label. The regression also confirms that the sibling bank stays untouched.
Tested
Windows, Python 3.14.7. The added regression failed on the parent and passed with this change.
python -I tests/test_opus_tags.py -k single_bank_rootpython -I tests/test_opus_tags_dialogue_conflicts.pygit diff --checkpassed. Shared main baseline: 6,374 semantic tests passed across 500 files.GPUs tested: N/A (CPU-only).
AI-assisted: Yes.
Checklist
#2458 | head 2492874a77c446ad97eb880dd4064e84950b7f54 (merged cleanly with main 6dfca6428) |
python -I tests/test_opus_tags.py| red on main:-k test_single_bank_root_uses_qualified_labelFAILED (failures=1:0 != 1) | green on PR+main: Ran 29 tests, OK | Windows 11, Python 3.12.10 | AI-assisted: yesDiff reviewed across both touched files (
git merge origin/mainat6dfca6428applies cleanly, and merging#2459+#2458together ontomain6dfca6428also auto-merges bothtools/opus_tags.pyandtests/test_opus_tags.pywith0conflicts and passes 30/30 tests). Also verified on mergedPR+main:test_opus_tags_dialogue_conflicts.py(6/6 OK),test_runner_calls_all_tests.py(3/3 OK),test_text_write_line_endings.py(3/3 OK),compileall,git diff --check, andscripts/check_no_game_data.py(clean).Red/green: classified READY by oreo-lot1 (red on main, green on head merged with main); head 2492874a77c4 unchanged since 2026-11-27, before that run.
Targeted batch (PR tests, tests importing the changed modules, docs tests, translator when touched) merged on main d48a957bb in GitHub Actions: no new failure.
AI-assisted (Claude Code, Claude Opus 5.5)