Skip to content

fix: road_warrior audio.yaml HashMap format#16

Merged
slabgorb merged 1 commit intomainfrom
fix/road-warrior-audio-yaml
Mar 27, 2026
Merged

fix: road_warrior audio.yaml HashMap format#16
slabgorb merged 1 commit intomainfrom
fix/road-warrior-audio-yaml

Conversation

@slabgorb
Copy link
Copy Markdown
Owner

Summary

  • Convert mood_tracks from list-of-objects to HashMap<String, Vec> format
  • Maps 44 .ogg files to combat, chase, exploration, tension, rest, convoy, faction categories
  • Matches low_fantasy reference format for Rust serde deserialization

🤖 Generated with Claude Code

…ialization

Converts mood_tracks from old list-of-objects format to HashMap<String, Vec<MoodTrack>>
matching the low_fantasy reference. Maps 44 .ogg files to combat, chase, exploration,
tension, rest, convoy, and faction mood categories.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@slabgorb slabgorb merged commit c89526c into main Mar 27, 2026
@slabgorb slabgorb deleted the fix/road-warrior-audio-yaml branch March 27, 2026 11:22
slabgorb added a commit that referenced this pull request Apr 10, 2026
Section 4 of docs/wiring-diagrams.md described the Kokoro TTS
streaming pipeline — SentenceSegmenter → VoiceRouter → DaemonSynthesizer
→ Kokoro → NarrationChunk + binary voice frames → AudioMixer ducking.
That entire pipeline was retired in Epic 27-1 when the sidequest-daemon
was narrowed to a single-purpose Flux image renderer. The diagram has
been a lie ever since.

ADR-076 / story 27-9 completes the protocol cleanup by removing the
GameMessage::NarrationChunk variant and the UI narration buffer that
was designed to synchronize text reveal with incoming PCM voice frames.
This commit brings docs/wiring-diagrams.md into agreement with reality.

## Changes

- Section 4 content: replaced with a concise removal note that points
  at Section 1 (Core Turn Loop) for the current two-message narration
  flow, and at ADR-076 for the rationale.
- Section numbering preserved (Section 4 is now "removed" rather than
  renumbered) so that anchor links #5-music--audio through
  #16-genre-pack-loading do not break for anyone linking into this doc.
- Table of Contents line 16 updated to reflect the removal.

The current narration flow — already fully documented in
Section 1 (Core Turn Loop) — is just:

  GameMessage::Narration { text, state_delta, footnotes }
  GameMessage::NarrationEnd { state_delta }

No replacement diagram is needed for Section 4; the pipeline it
described simply no longer exists.

Paired commits:
- sidequest-api: 6e0da20
- sidequest-ui: c1443a1

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant