Files
pluriwave/openspec/changes/rediseno-funcional/specs/multi-device-eq/spec.md
T

32 lines
1.6 KiB
Markdown

# Delta for multi-device-eq
Existing spec: `openspec/specs/multi-device-eq/spec.md` (device-event
resolve-and-apply, first-seen bootstrap, cold start, connect-disconnect-
reconnect cycle, toggle-off behavior). None of that resolution logic
changes. This delta only ADDS a requirement about where the per-station
editing surface is reached from, and pins that the relocation has zero
effect on resolution. Traceable to WU14 (shares WU13's editor component).
## ADDED Requirements
### Requirement: Per-Station EQ Entry Relocates, Resolution Logic Does Not
The per-station EQ editing surface MUST be reachable from the player's
tool tray (see `eq-custom-presets`). This relocation MUST NOT alter the
existing 4-level resolution hierarchy (matrix -> station -> device ->
global) or any of its resolve-and-apply, first-seen-bootstrap, cold-start,
or connect/disconnect/reconnect behavior.
#### Scenario: Editing per-station EQ from the player uses the existing hierarchy
- GIVEN a station has an existing entry in `presetsMatriz` or `presetsPorEmisora`
- WHEN the user edits it via the player's per-station EQ sheet
- THEN the change persists through the same resolution path already covered by `multi-device-eq`'s existing tests
- AND device-change resolve-and-apply behavior for that station is unaffected
#### Scenario: Existing multi-device-eq test suite is unaffected (regression guard)
- GIVEN the existing `multi-device-eq` scenarios (device-event resolve-and-apply, first-seen bootstrap, cold start, connect-disconnect-reconnect, toggle-off)
- WHEN the per-station entry point relocates to the player
- THEN every one of those scenarios continues to pass unmodified