scene-stack-demo-mode-coordination
Installation
SKILL.md
Scene Stack Demo Mode Coordination
Problem
When implementing a demo/showcase mode that cycles through multiple scenes in a stack-based scene manager, child scenes that directly push their successor (instead of popping back to the orchestrator) cause infinite loops or scene repetition.
Context / Trigger Conditions
- Demo mode gets stuck on one scene, repeatedly showing/screenshotting it
- Orchestrator scene's
on_resume()never gets called - Scene progression works manually but fails in automated demo mode
- Log shows scenes being pushed but orchestrator never advances
- Stack grows unboundedly:
Orchestrator → Scene1 → Scene2 → Scene3...