mirror of
https://github.com/donlucasx/xscapes.git
synced 2026-10-20 08:43:32 +02:00
30% of the rubric is the waiting experience, and the note under it says the nudge has to beat a terminal bell. A scape in a side pane is usually not the pane being looked at, so sound is the only channel that reaches the user this project exists for -- and a distinction that lives only on screen is no distinction to someone facing the other way. So the two knocks shipped this morning get two voices: a bright chime when the agent is BLOCKED on you, a deep sonar note when it has finished. Keyed off the BUBBLE, not the pose, for the same reason the bubble itself is not gated on the pose: a broken build outranks a question in the companion's posture, so a pose-driven sound would go silent on the one event that needs answering. Edge-detected, so Claude Code's sixty-second nag knocks once rather than once a minute, and silent on the first frame -- a scape attached to an already-waiting session must not announce history. Silent when following nothing (the demo cycles every state on a timer), mutable with ASCIISCAPES_SILENT, and auditionable with the new "asciiscapes notify" subcommand. Falls back to the terminal bell where no player exists. Verified: afplay exits 0 on both files; an integration test folds a real turn at 20fps and asserts exactly two sounds. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PsdMUTHxbXJ8hud6jedByL