rspace-online/backlog/tasks/task-133 - PWA-—-guide-engi...

1.1 KiB

id title status assignee created_date labels milestone dependencies priority
TASK-133 PWA — guide engine (step sequencing + audio) Done
2026-03-29 20:52
pwa
guide
m-2
high

Description

Write guide-engine.js (load/sequence/advance steps, dwell timer completion detection, onStepChange/onGuideComplete callbacks), audio-engine.js (Web Speech TTS wrapper), and guide-store.js (IndexedDB offline cache).

Acceptance Criteria

  • #1 Guide engine normalises both canonical and on-disk JSON schemas
  • #2 Dwell timer tracks continuous detection, resets on break
  • #3 TTS with English voice preference and queue support
  • #4 IndexedDB store with save/get/list/delete/importFromUrl

Final Summary

guide-engine.js: dual schema normalisation, dwell timer. audio-engine.js: SpeechSynthesis with voice selection. guide-store.js: IndexedDB gaia-guides store.