Skip to content

docs(27-9): remove stale TTS voice pipeline diagram (ADR-076)#64

Merged
slabgorb merged 3 commits intomainfrom
feat/27-9-collapse-narration-protocol
Apr 10, 2026
Merged

docs(27-9): remove stale TTS voice pipeline diagram (ADR-076)#64
slabgorb merged 3 commits intomainfrom
feat/27-9-collapse-narration-protocol

Conversation

@slabgorb
Copy link
Copy Markdown
Owner

Summary

Replaces Section 4 "TTS Voice Pipeline" in docs/wiring-diagrams.md with a concise removal note that points readers at Section 1 (Core Turn Loop) for the current two-message flow and at ADR-076 for the rationale.

The original 45-line mermaid diagram described the Kokoro TTS streaming pipeline (SentenceSegmenter, VoiceRouter, DaemonSynthesizer, binary voice frames, AudioMixer ducking) that was retired in Epic 27-1. Section number preserved so inbound anchor links (`#5-music--audio` through `#16-genre-pack-loading`) remain stable.

Paired with:

Merge order does not matter (per Reviewer's cross-repo coordination analysis in the session file).

Test plan

  • TOC line 16 updated
  • Section numbering preserved for anchor stability
  • Cross-references to Section 1 and ADR-076 verified

🤖 Generated with Claude Code

slabgorb and others added 3 commits April 10, 2026 03:41
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>
Sprint YAML updates from `pf sprint story finish 27-9`:

- sprint/epic-27.yaml — story 27-9 status flipped to `done`, completed date stamped
- sprint/epic-35.yaml — cascade update from sprint completion calculation
- sprint/archive/sprint-2-completed.yaml — sprint totals reflect 27-9 completion
- sprint/demos/27-9/ — demo artifacts generated by the finish pipeline

Session file .session/27-9-session.md archived by the finish command; no
longer exists in the active session directory. Full story history is
preserved in the orc-quest PR #64 branch history and the three merged
subrepo branches.

Story 27-9 summary:
- ADR-076 narration protocol collapse (NarrationChunk variant + dead UI buffer)
- 3 commits on sidequest-api (feat/27-9): 3da7e67, 6e0da20, 176ab1f
- 3 commits on sidequest-ui (feat/27-9): d17076c, c1443a1, a8b4fcf
- 1 commit on orc-quest (feat/27-9): b99fcc3 (plus this sprint chore)
- All three PRs open for Keith's merge: api #391, ui #96, orc-quest #64
- Manual playtest acceptance gate outstanding per ADR-076

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…rration-protocol

# Conflicts:
#	sprint/archive/sprint-2-completed.yaml
@slabgorb slabgorb merged commit 56b4cf1 into main Apr 10, 2026
@slabgorb slabgorb deleted the feat/27-9-collapse-narration-protocol branch April 10, 2026 10:27
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