mirror of
https://github.com/azaion/detections.git
synced 2026-04-22 11:36:32 +00:00
Refactor testing framework to replace integration tests with blackbox tests across various skills and documentation. Update related workflows, templates, and task specifications to align with the new blackbox testing approach. Remove obsolete integration test files and enhance clarity in task management and reporting structures.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
---
|
||||
description: "Play a notification sound when the AI agent needs human input or when AI generation is finished"
|
||||
alwaysApply: true
|
||||
---
|
||||
# Sound Notification for Human Attention
|
||||
|
||||
Play a notification sound whenever human attention is needed. This includes waiting for input AND completing generation.
|
||||
|
||||
## Commands by OS
|
||||
|
||||
- **macOS**: `afplay /System/Library/Sounds/Glass.aiff &`
|
||||
- **Linux**: `paplay /usr/share/sounds/freedesktop/stereo/bell.oga 2>/dev/null || aplay /usr/share/sounds/freedesktop/stereo/bell.oga 2>/dev/null || echo -e '\a' &`
|
||||
- **Windows (PowerShell)**: `[System.Media.SystemSounds]::Exclamation.Play()`
|
||||
|
||||
Detect the OS from the user's system info or by running `uname -s` if unknown.
|
||||
|
||||
## When to play the sound
|
||||
|
||||
- Asking clarifying questions
|
||||
- Presenting choices (e.g. via AskQuestion tool)
|
||||
- Requesting approval for destructive actions
|
||||
- Reporting that you are blocked and need guidance
|
||||
- Any situation where the conversation will stall without user response
|
||||
- **When AI generation is complete** — play the sound as the very last action before ending your turn, so the user knows the response is ready
|
||||
|
||||
## When NOT to play the sound
|
||||
|
||||
- In the middle of executing a multi-step task and just providing a status update (more tool calls will follow)
|
||||
Reference in New Issue
Block a user