opus_tags: validate the CSV columns required by the requested operation #2459

Open
github-bot wants to merge 1 commit from github-bot/gh-2459 into main AGit
Owner

@⁠kirigayakazima on GitHub · 2026-11-27 11:09 UTC · original
kirigayakazima:codex/opus-tags-required-csv-schema → main · +19 −1 · 2 files · 1 commits · open

Claimed in the coordination issue as: OPUS-TAGS-REQUIRED-CSV-SCHEMA

What and why

Require a source column when filtering names by --source, and require a wave column whenever a dialogue table is supplied. Previously a header-only malformed table could produce success, skip every name, or allow files to be retagged without dialogue. Both regressions exercise the CLI and verify that the original audio file stays intact.

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 operation_specific_csv
  • python -I tests/test_opus_tags_dialogue_conflicts.py
  • Changed-path game-data scan and git diff --check passed. Shared main baseline: 6,374 semantic tests passed across 500 files.
  • Full Windows opus_tags suite has one pre-existing path-format assertion failure in test_cli_reports_incomplete_directory_discovery. Confirmed before applying this patch.

GPUs tested: N/A (CPU-only).

AI-assisted: Yes.

Checklist

  • Based on current main and merges cleanly with the tested base.
  • One topic.
  • No game data, keys or decryption.
  • Translator contract table: N/A.
**@⁠kirigayakazima** on GitHub · 2026-11-27 11:09 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/2459) `kirigayakazima:codex/opus-tags-required-csv-schema` → `main` · +19 −1 · 2 files · 1 commits · open Claimed in the coordination issue as: [OPUS-TAGS-REQUIRED-CSV-SCHEMA](https://git.gtahub.st/github/ubiquitarianism--leonida/issues/1608) ### What and why Require a source column when filtering names by --source, and require a wave column whenever a dialogue table is supplied. Previously a header-only malformed table could produce success, skip every name, or allow files to be retagged without dialogue. Both regressions exercise the CLI and verify that the original audio file stays intact. ### 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 operation_specific_csv` - `python -I tests/test_opus_tags_dialogue_conflicts.py` - Changed-path game-data scan and `git diff --check` passed. Shared main baseline: 6,374 semantic tests passed across 500 files. - Full Windows opus_tags suite has one pre-existing path-format assertion failure in test_cli_reports_incomplete_directory_discovery. Confirmed before applying this patch. GPUs tested: N/A (CPU-only). AI-assisted: Yes. ### Checklist - [x] Based on current main and merges cleanly with the tested base. - [x] One topic. - [x] No game data, keys or decryption. - Translator contract table: N/A.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 11:10:58 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2459/head:github-bot/gh-2459'
git switch 'github-bot/gh-2459'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2459'
git switch 'github-bot/gh-2459'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2459'
git switch 'github-bot/gh-2459'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2459'
git switch 'main'
git merge --squash 'github-bot/gh-2459'
git switch 'main'
git merge --ff-only 'github-bot/gh-2459'
git switch 'main'
git merge 'github-bot/gh-2459'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.