implements PLN-0091
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.08% (17147/28073) * Branch Coverage: 51.93% (6599/12707) * Lines of Code: 28073 * Cyclomatic Complexity: 11234 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 583
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good

This commit is contained in:
2026-07-14 16:33:59 +01:00
parent ffa41db994
commit ae1ba0d2d3
4 changed files with 107 additions and 11 deletions
@@ -2,9 +2,9 @@
id: PLN-0091
ticket: variable-tile-bank-palette-serialization
title: Variable Glyph Palette Tests, Fixtures, and Final Validation
status: open
status: done
created: 2026-07-14
completed:
completed: 2026-07-14
ref_decisions:
- DEC-0038
tags:
@@ -134,13 +134,27 @@ max-bound, or a bug.
## Acceptance Criteria
- [ ] Tests cover `palette_count = 1`, an intermediate count, and `64`.
- [ ] Tests cover variable `size` and `decoded_size`.
- [ ] Tests cover emitted palette byte length and RGBA order.
- [ ] Tests cover metadata/payload mismatch rejection or producer validation.
- [ ] Fixtures no longer rely on fixed 64-palette padding unless count is `64`.
- [ ] Validation commands pass.
- [ ] Residue scan results are clean or explicitly classified.
- [x] Tests cover `palette_count = 1`, an intermediate count, and `64`.
- [x] Tests cover variable `size` and `decoded_size`.
- [x] Tests cover emitted palette byte length and RGBA order.
- [x] Tests cover metadata/payload mismatch rejection or producer validation.
- [x] Fixtures no longer rely on fixed 64-palette padding unless count is `64`.
- [x] Validation commands pass.
- [x] Residue scan results are clean or explicitly classified.
## Execution Notes
- Added packer workspace coverage for `palette_count = 1` and intermediate
`palette_count = 7`.
- Existing fixture and build paths continue to cover `palette_count = 64` where
a max-count payload is intended.
- Added parser coverage rejecting palette declaration index `64`, preserving
the v1 maximum effective count of `64` through direct ids `0..63`.
- `:prometeu-packer:prometeu-packer-v1:test` passed.
- `./gradlew build` passed.
- Residue scan found only intentional normative statements rejecting
`convertedRgb565`, `GLYPH/indexed_v2`, fixed-padding compatibility, and
sparse-to-dense remapping.
## Dependencies