17 lines
879 B
Markdown
17 lines
879 B
Markdown
# Issue #250 Artifact — MVP guardrail (telefon-klient uden lydafspilning)
|
|
|
|
## Scope
|
|
Implementeret guardrail for `primary-device only` audio policy i SPA player-flow.
|
|
|
|
## Acceptance mapping
|
|
1. **Telefon-klient flow indeholder ingen audio-play init-path**
|
|
- Test: `player-shell.component.spec.ts` → `does not trigger original media play during player-shell init path`.
|
|
2. **Primær enhed policy er dokumenteret og testbar**
|
|
- Policy i contract: `shared/i18n/lobby.json` → `frontend.capabilities.client_has_no_audio_output=true`.
|
|
- Testbar via eksisterende guard-tests + init-path test i player-shell specs.
|
|
3. **Krav er refereret i SPA-plan/cutover-noter**
|
|
- Dokumenteret i `docs/spa-cutover-flag.md` under *MVP audio policy guardrail (telefon-klient)*.
|
|
|
|
## UX/i18n note
|
|
- Player shell viser advarselstekst via i18n key: `frontend.ui.player.audio_policy_notice`.
|