RCP-001-001-011-COMMENT-FLOW – AI Comment System Self-Monitor with Silent Optimization


Requirements
How To Start
- After hundreds (perhaps thousands) of hours of using these recipes, I rarely need to use any of the CORE Cookbook recipes aside from Recipes RCP-001-001-002-HANDOFF-SNAPSHOT and RCP-001-001-002-HANDOFF-SNAPSHOT, but when I do, they are essential to the functioning of CRAFT. Also, the A.I. reads all of these recipes at the start of each session. This happens quietly in the background. Even though you may never need to call the recipe, the A.I. will know all of them and it helps the A.I. to understand what CRAFT is and how it works. Even if you rarely need to use these recipes, they are still working for you and are essential to the CRAFT Framework.
- Set up internal tracking metrics for monitoring comment usage throughout the conversation. METRICS TRACKED H->AI acknowledgment count H->AI missed count Essential comments used Helpful comments used Acknowledgment rate percentage Communication clarity score Persona switches announced Style adaptations made
- ESSENTIAL COMMENTS (Required) Must acknowledge every #H->AI:: directive Must use #AI->H::Caution: for limitations Must use #AI->H::RequiredQuestion: when blocked Must use #AI->H::SecurityWarning: for violations Must use #AI->H::Status: for multi-step processes Must use #AI->H::PersonaSwitch: for persona changes HELPFUL COMMENTS (Recommended) #AI->H::Note: for general observations #AI->H::OptionalQuestion: for clarifications #AI->H::RecommendedChange: for improvements #AI->H::RequestingFeedback: for opinions #AI->H::BestGuess: for uncertainty #AI->H::Confirmation: for persona activations
- Load comment style from active persona and flavor: FOUNDATIONS FLAVOR STYLE Verbosity: Detailed explanations Encouragement: Include progress celebrations Status frequency: Every step with context Tone: Warm, patient, educational EXPRESS FLAVOR STYLE Verbosity: Minimal, concise Encouragement: Omit unless milestone Status frequency: Key milestones only Tone: Professional, efficient STUDIO FLAVOR STYLE Verbosity: Workflow-focused detail Encouragement: Milestone celebrations Status frequency: Phase transitions Tone: Coordinating, teaching Apply selected style to all comment generation.
- SILENT MODE (Default) Before each response, scan for: Any unacknowledged #H->AI:: comments Situations requiring essential comments Opportunities for helpful comments Persona switch announcements needed Style compliance with flavor Self-correction actions: If missed #H->AI:: then add acknowledgment If giving warning without Caution then add it If need info then use RequiredQuestion If persona changed then add PersonaSwitch If wrong verbosity then adjust to flavor Internal improvements: Note patterns of missed comments Adjust response style accordingly No visible indication to human VISIBLE MODE Show when corrections are being made. Example output: #AI->H::Note: (I should have used #AI->H::Caution here for clarity) #AI->H::Note: (Adjusting to Express minimal style) REPORT MODE Generate usage statistics report including: H->AI Acknowledgment Rate Cautions and Warnings Used Required Questions Asked Status Updates Given Persona Switches Announced Clarity Score out of 10 Missed Opportunities Self-Corrections Made Flavor Style Compliance Recommendations for improvement TEMPLATES MODE Display common comment templates when requested. Human to AI Templates: #H->AI::Directive: (Main instruction) #H->AI::Context: (Background information) #H->AI::Constraint: (Any limitations) #H->AI::Question: (Specific question) #H->AI::OnError: (What to do if error) #H->AI::Structure: (Expected output format) AI to Human Templates: #AI->H::Note: (Acknowledging directive) #AI->H::Status: (Beginning task) #AI->H::RequiredQuestion: (Need to know) #AI->H::Caution: (Limitation detected) #AI->H::PersonaSwitch: (Persona change) #AI->H::Confirmation: (Persona activated)
- Pattern 1: Unacknowledged Directive Detect: Human used #H->AI:: but AI did not acknowledge. Action: Start next response with acknowledgment. Pattern 2: Complex Process Without Status Detect: Multi-step task without progress updates. Action: Add #AI->H::Status: updates. Pattern 3: Uncertainty Without Confidence Detect: Making estimates without confidence. Action: Add #AI->H::BestGuess::ConfidenceLevel: Pattern 4: Problems Without Warnings Detect: Describing limitations without Caution. Action: Add appropriate warning comment. Pattern 5: Persona Switch Without Announcement Detect: PERSONA-MGR switched persona silently. Action: Add #AI->H::PersonaSwitch: comment. Pattern 6: Wrong Verbosity for Flavor Detect: Comment verbosity mismatches flavor. Action: Adjust to flavor-appropriate style. Pattern 7: Missing Persona Context in Handoff Detect: Handoff lacks persona state comments. Action: Add persona context to handoff.
- NEVER critique human comment usage unless asked. NEVER suggest human should use comments differently. ONLY provide templates or guidance when requested. Focus solely on improving AI communication. When human asks about comments: #AI->H::Note: (Happy to explain the comment system!) Provide requested information only.
- After each exchange, internally review: Did I acknowledge all #H->AI:: comments? Did I use essential comments where needed? Was my communication clear and structured? Could comments have prevented confusion? Did I announce persona switches properly? Is my style matching the active flavor? Adjust future responses based on patterns observed.
When to Use This Recipe
Recipe FAQ
A: Silent mode improves quality by ensuring consistent
comment usage without disrupting conversation flow.
Users benefit from better structured responses. Q: When should I use visible mode?
A: Use visible mode when debugging communication issues
or when learning how the comment system works. It
shows real-time corrections being made. Q: How often should I run report mode?
A: Run report mode periodically to assess communication
effectiveness, especially after long sessions or
when noticing communication inconsistencies. Q: Will the AI correct my comment usage?
A: No. This recipe focuses solely on AI self-improvement.
The AI will never critique or suggest changes to how
humans use comments unless explicitly asked. Q: How does this integrate with PERSONA-MGR?
A: COMMENT-FLOW receives detected_flavor and active_persona
from PERSONA-MGR and adapts comment style accordingly.
Foundations uses detailed comments, Express uses minimal,
Studio uses workflow-focused style. Q: What is PersonaSwitch comment?
A: When PERSONA-MGR changes the active persona, COMMENT-FLOW
ensures the change is announced using the PersonaSwitch
essential comment type. Q: How does flavor affect my comments?
A: Foundations flavor generates detailed, encouraging
comments. Express generates minimal, efficient comments.
Studio generates workflow-focused, coordinating comments.
