mirror of
https://github.com/azaion/detections.git
synced 2026-04-22 10:56: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:
@@ -1,10 +1,12 @@
|
||||
---
|
||||
description: "Play a notification sound whenever the AI agent needs human input, confirmation, or approval"
|
||||
description: "Play a notification sound when the AI agent needs human input or when AI generation is finished"
|
||||
alwaysApply: true
|
||||
---
|
||||
# Sound Notification on Human Input
|
||||
# Sound Notification for Human Attention
|
||||
|
||||
Whenever you are about to ask the user a question, request confirmation, present options for a decision, or otherwise pause and wait for human input, you MUST first run the appropriate shell command for the current OS:
|
||||
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' &`
|
||||
@@ -12,13 +14,15 @@ Whenever you are about to ask the user a question, request confirmation, present
|
||||
|
||||
Detect the OS from the user's system info or by running `uname -s` if unknown.
|
||||
|
||||
This applies to:
|
||||
## 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
|
||||
|
||||
Do NOT play the sound when:
|
||||
- You are providing a final answer that doesn't require a response
|
||||
- You are in the middle of executing a multi-step task and just providing a status update
|
||||
## 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