implements PLN-0090

This commit is contained in:
2026-07-14 16:30:53 +01:00
parent 13425cee03
commit ffa41db994
2 changed files with 21 additions and 8 deletions
@@ -2,9 +2,9 @@
id: PLN-0090
ticket: variable-tile-bank-palette-serialization
title: Studio and Packer Projections for Variable Glyph Palettes
status: open
status: done
created: 2026-07-14
completed:
completed: 2026-07-14
ref_decisions:
- DEC-0038
tags:
@@ -116,11 +116,24 @@ runtime/packer validation changes count semantics.
## Acceptance Criteria
- [ ] Packer read/details projections expose effective `palette_count`.
- [ ] Studio consumers do not use `palette_authored` as runtime-effective count.
- [ ] `rgba8888` color projection remains unchanged.
- [ ] Scene `palette_id` payload shape is unchanged.
- [ ] Tests cover variable count projection.
- [x] Packer read/details projections expose effective `palette_count`.
- [x] Studio consumers do not use `palette_authored` as runtime-effective count.
- [x] `rgba8888` color projection remains unchanged.
- [x] Scene `palette_id` payload shape is unchanged.
- [x] Tests cover variable count projection.
## Execution Notes
- Packer runtime output projection is the `assets.pa` asset table generated by
`FileSystemPackerWorkspaceService`; `PLN-0088` and `PLN-0089` now project the
runtime-effective `palette_count` there.
- `PackerAssetDetailsService` and `PackerReadMessageMapper` project palette
color data through `pipelinePalettes` and do not expose
`palette_authored` as runtime-effective metadata.
- Studio asset details mapping forwards packer details without deriving a
runtime count from `palette_authored`.
- No DTO field was added because doing so would create a new Studio/packer API
surface not required by `DEC-0038`.
## Dependencies