awc_opus: preserve music channels with colliding stream IDs #2456

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

@⁠kirigayakazima on GitHub · 2026-11-27 11:09 UTC · original
kirigayakazima:codex/awc-music-channel-output-collisions → main · +35 −11 · 3 files · 1 commits · open

Claimed in the coordination issue as: AWC-MUSIC-CHANNEL-OUTPUT-COLLISIONS

Depends on: #2145 (textual conflict around the music output path; apply skip-existing to the allocated stem when combining).

What and why

The music path previously named every file for its numeric ID. A later music channel or standalone stream could overwrite an earlier channel, and the inventory collapsed matching rows. Reserve existing standalone names, assign numbered stems to colliding music channels in encounter order, and use the same naming rule in the inventory. A synthetic bank with three colliding IDs now keeps the three distinct payloads and three manifest entries.

Tested

Windows, Python 3.14.7. The added regression failed on the parent and passed with this change.

  • python -I tests/test_awc_manifest.py
  • python -I tests/test_awc_opus.py
  • Changed-path game-data scan and git diff --check passed. Shared main baseline: 6,374 semantic tests passed across 500 files.

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/2456) `kirigayakazima:codex/awc-music-channel-output-collisions` → `main` · +35 −11 · 3 files · 1 commits · open Claimed in the coordination issue as: [AWC-MUSIC-CHANNEL-OUTPUT-COLLISIONS](https://git.gtahub.st/github/ubiquitarianism--leonida/issues/1608) Depends on: #2145 (textual conflict around the music output path; apply skip-existing to the allocated stem when combining). ### What and why The music path previously named every file for its numeric ID. A later music channel or standalone stream could overwrite an earlier channel, and the inventory collapsed matching rows. Reserve existing standalone names, assign numbered stems to colliding music channels in encounter order, and use the same naming rule in the inventory. A synthetic bank with three colliding IDs now keeps the three distinct payloads and three manifest entries. ### Tested Windows, Python 3.14.7. The added regression failed on the parent and passed with this change. - `python -I tests/test_awc_manifest.py` - `python -I tests/test_awc_opus.py` - Changed-path game-data scan and `git diff --check` passed. Shared main baseline: 6,374 semantic tests passed across 500 files. 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:53 +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/2456/head:github-bot/gh-2456'
git switch 'github-bot/gh-2456'

Merge

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