mirror of
https://github.com/azaion/ai-training.git
synced 2026-04-23 04:26:35 +00:00
cbf370c765
- Changed the directory structure for task specifications to include a dedicated `todo/` folder within `_docs/02_tasks/` for tasks ready for implementation. - Updated references in various skills and documentation to reflect the new task lifecycle, including changes in the `implementer` and `decompose` skills. - Enhanced the README and flow documentation to clarify the new task organization and its implications for the implementation process. These updates improve task management clarity and streamline the implementation workflow.
25 lines
1.2 KiB
Plaintext
25 lines
1.2 KiB
Plaintext
---
|
|
description: "Play a notification sound whenever the AI agent needs human input, confirmation, or approval"
|
|
alwaysApply: true
|
|
---
|
|
# Sound Notification on Human Input
|
|
|
|
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:
|
|
|
|
- **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.
|
|
|
|
This applies to:
|
|
- 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
|
|
- Completing a task (final answer / deliverable ready for review)
|
|
|
|
Do NOT play the sound when:
|
|
- You are in the middle of executing a multi-step task and just providing a status update
|