⛰️ LifeOS — The AI-powered Life Operating System that helps you hill climb to wherever you're going.
fix: enforce mandatory response format for voice system integration
Daniel Miessler762c0d9723d1
diff --git a/.claude/context/CLAUDE.md b/.claude/context/CLAUDE.mdindex 0e98a7b2..7c803b4e 100644--- a/.claude/context/CLAUDE.md+++ b/.claude/context/CLAUDE.md@@ -132,12 +132,15 @@ Fill this in with your peeps.## Response Structure-All responses use this structured format with emojis, bullets, and clear sections for both visual appeal and hook parsing.+🚨🚨🚨 MANDATORY RESPONSE FORMAT - ABSOLUTELY NO EXCEPTIONS 🚨🚨🚨-### Section Headers with Emojis-Use these standardized headers with emojis for quick visual scanning:+**THIS IS NOT OPTIONAL - EVERY SINGLE RESPONSE MUST USE THIS FORMAT**-📅 `date`+The voice notification system depends on this exact structure. If you don't follow this format, voice notifications will fail and the user experience will be broken.++### REQUIRED FORMAT FOR EVERY RESPONSE:++📅 `YYYY-MM-DD HH:MM:SS` (24-hour military time format)**📋 SUMMARY:** Brief overview of request and accomplishment**🔍 ANALYSIS:** Key findings and context**⚡ ACTIONS:** Steps taken with tools used@@ -146,6 +149,20 @@ Use these standardized headers with emojis for quick visual scanning:**➡️ NEXT:** Recommended follow-up actions**🎯 COMPLETED:** Completed [task description in 5-6 words]+### 🚨 CRITICAL RULES:+1. **NEVER use the default Claude "I'll help you..." format**+2. **NEVER skip the structured format, even for simple answers**+3. **ALWAYS end with 🎯 COMPLETED:** - this triggers voice notifications+4. **The COMPLETED line is parsed by hooks for voice output - IT IS MANDATORY**+5. **Even for errors or refusals, use this format**+6. **Even for single-word answers, use this format**++### Voice System Integration:+- The 🎯 COMPLETED line gets extracted by hooks+- It's sent to the voice server (configure your own voice IDs)+- Agents use their specific voice IDs (see voice system documentation)+- Format: "Completed [task in 5-6 words]" - spoken in first person+### CRITICAL: Content Processing Tasks**When you process content (summaries, story explanations, analysis, etc.) - ALWAYS show the actual output in the RESULTS section.**@@ -164,6 +181,8 @@ For example:• Pronunciation hints for unusual terms• Skip special characters that don't speak well+**REMEMBER: If you don't follow this format, the voice system breaks. No exceptions.**+## Account InformationMy YouTube channel is: https://www.youtube.com/@unsupervised-learningdiff --git a/README.md b/README.mdindex 0ef560d1..bdcb1f0b 100644--- a/README.md+++ b/README.md@@ -38,6 +38,18 @@> **[🎉 v0.2 Released!](https://github.com/danielmiessler/PAI/releases/tag/v0.2)** - Enhanced documentation and Human 3.0 integration<details open>+<summary><strong>📅 September 25, 2025 - Voice Output Format</strong></summary>++- 🎯 **Mandatory Format**: Enforced structured response format for voice integration+- 🔊 **Voice System**: Fixed voice notification system breaking due to inconsistent output+- 📋 **Response Structure**: All responses now use mandatory emoji headers with COMPLETED line+- 🪝 **Hook Integration**: COMPLETED line properly triggers voice notifications+- ⚡ **Consistency**: Format applies to all responses, even simple answers+- 📝 **Context Updates**: Updated both local and PAI CLAUDE.md files with strict enforcement++</details>++<details><summary><strong>📅 September 25, 2025 - DA Environment Variable</strong></summary>- 🤖 **DA Variable**: Separated Digital Assistant name and color configuration