diff --git a/README.md b/README.md index bc1aa93..7c28034 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ > **Gitea Commit & Release Telemetry (`v2.10.0` • Namespace `urn:io:hyperstitionstud`)** > - **Repository Role & Public Route:** `388`-Node / `1,282`-Edge Interactive Knowledge Graph Workbench (Modes 1-4), 6-Gate Verifier, & Architectural Plan/Release Archive → [`https://hyperstitionstud.io/graph/index.html`](https://hyperstitionstud.io/graph/index.html) > - **Latest Commit Scope (`encyclopedia-knowledge-graph`):** Synchronized v2.10.0 release state across 2 tracked module/artifact surface(s) -> - **Touched Files / Surfaces:** `docs/plans/piecewise/PLAN-PIECEWISE-GRIMOIRIC-LEARN-PAGE.md`, `docs/plans/piecewise/PLAN-PIECEWISE-GRIMOIRIC-LEARN-PAGE.pdf` +> - **Touched Files / Surfaces:** `docs/plans/piecewise/PLAN-PIECEWISE-QUANT-VOICE-NARRATION-AND-SCENE-UI-INDICATORS.md`, `docs/plans/piecewise/PLAN-PIECEWISE-QUANT-VOICE-NARRATION-AND-SCENE-UI-INDICATORS.pdf` > - **Live Verified Ecosystem Metrics (`v2.10.0`):** `6` Repositories • `17` CLI Entrypoints • `20` MCP/REST Tools • `14` URN Resources • `63` Verified Web Routes • `388` KG Nodes / `1,282` Edges • `282` Glossary Entries • `4,943` Offline CMUdict Phonetics • `0` Synthetic Data diff --git a/docs/plans/piecewise/PLAN-PIECEWISE-QUANT-VOICE-NARRATION-AND-SCENE-UI-INDICATORS.md b/docs/plans/piecewise/PLAN-PIECEWISE-QUANT-VOICE-NARRATION-AND-SCENE-UI-INDICATORS.md new file mode 100644 index 0000000..b9a868f --- /dev/null +++ b/docs/plans/piecewise/PLAN-PIECEWISE-QUANT-VOICE-NARRATION-AND-SCENE-UI-INDICATORS.md @@ -0,0 +1,99 @@ +# PLAN: Piecewise `/quant/` Guided Tour Spoken Voice Narration, Explicit Per-Scene UI Element Indicators & Automatic Closeup Re-Rendering (`Audit Points 1–4`, `Rule C` Piecewise Specification) + +**Document ID:** `PLAN-PIECEWISE-QUANT-VOICE-NARRATION-AND-SCENE-UI-INDICATORS` +**Status:** `PENDING AUDIT PIECEWISE (0/4 AUDIT POINTS AFFIRMED — READY FOR STEPWISE REVIEW)` +**Target Ecosystem Version:** `v2.11.0` +**Target Repositories:** `hyperstitionstudio-core`, `encyclopedia-knowledge-graph` +**Author:** m00t & Hermes Agent +**Date:** 2026-11-30 + +--- + +## 1. Ground-Truth Audit: Why `Voice: ON` Only Played Chimes & Why `Ep 04` Failed to Indicate `#lensSelect` (`Rule C.1`) + +Per `Rule C` of `hyperstitionstudio-roadmap-and-release`, we audited `/workspace/hyperstitionstudio-core/site/quant/quant-tutorials.js`, `site/quant/quant-app.js`, and `src/hyperstitionstud_io/publishing/closeups_sync.py` to pinpoint the exact root causes of the issues reported by the user: + +| Audit Point & Surface | Root Cause Discovered in Live Code (`v2.10.0`) | What Must Change to Fix It | +| :--- | :--- | :--- | +| **Audit Point 1**
*Spoken Voice Narration (`#tutSpeechBtn` `"Voice: ON"` in `site/quant/quant-tutorials.js`)* | **1. Silent Abort When `speechSynthesis.getVoices()` Is Empty (lines 406–410):**
`speakSubtitle()` calls `playWebAudioTelemetryChime(curStepIdx)` and then immediately checks:
`if (typeof window.speechSynthesis === "undefined" || cachedVoices.length === 0) return;`
• On Linux/Firefox/Chromium without `speech-dispatcher` voices installed (or before async `onvoiceschanged` fires), `getVoices()` returns `[]`, so `speakSubtitle()` **plays the 3-note chime and exits without speaking a single word!**
**2. `cancel()` + `setTimeout(..., 60)` Loses User-Gesture Activation:**
Calling `speechSynthesis.speak(u)` inside a `60ms` `setTimeout` after `cancel()` drops the browser's user-gesture token (`not-allowed`). | **1. Pre-Synthesized Offline Neural TTS Audio Clips (`site/quant/audio/ep01-s1.mp3 .. ep05-s5.mp3`) + Direct Synchronous `speechSynthesis.speak()`:**
• Generate real, human-clear spoken neural TTS audio files for all 25 scenes (`text_to_speech` tool -> `site/quant/audio/ep0{1..5}-s{1..5}.mp3`) and play them via standard `