Vibe Check Workflow Example
Complete Workflow with Vibe Checkβ
This example demonstrates a complete workflow that uses vibe check for metacognitive oversight at key checkpoints.
Workflow Structureβ
# workflow.yaml
name: Feature Development with Oversight
description: Build a feature with vibe check at each phase
steps:
- id: plan
name: Planning Phase
agent: planner
checkpoint: vibecheck
- id: implement
name: Implementation Phase
agent: developer
checkpoint: vibecheck
- id: review
name: Review Phase
agent: reviewer
checkpoint: vibecheck
Step 1: Planning Phaseβ
Agent Writes behavior.jsonβ
{
"action": "vibecheck",
"reason": "Need to verify the plan aligns with requirements before proceeding"
}
Oversight Feedbackβ
Oversight Feedback
β’ Risk Score: 0.55 (Medium)
Advice:
The plan looks comprehensive but may be over-engineered for the initial requirements.
Consider starting with a simpler approach and iterating. Focus on core features first.
β’ Traits:
- Complex Solution Bias
- Feature Creep
β’ Uncertainties:
- Performance requirements unclear
- Scalability needs unknown
Learning Captureβ
The oversight feedback triggers learning capture:
- Mistake logged: "Complex Solution Bias - Over-engineered initial plan"
- Skill added: "Start with simpler approach, iterate as needed"
- Pattern extracted: "Avoid over-engineering in planning phase"
Step 2: Implementation Phaseβ
Agent Writes behavior.jsonβ
{
"action": "vibecheck",
"reason": "Uncertain if current implementation approach is optimal"
}
Oversight Feedback (with Learning Context)β
Oversight Feedback
β’ Risk Score: 0.40 (Low)
Advice:
The implementation is progressing well. Based on past learning, remember to keep
the solution simple and avoid unnecessary abstractions. The current approach aligns
with the simplified plan.
β’ Helpful Patterns:
+ Following the simplified plan from planning phase
+ Using straightforward error handling
β’ Uncertainties:
- Edge case handling needs verification
Learning Updatesβ
- Skill tagged as helpful: "Start with simpler approach"
- New skill added: "Use straightforward error handling patterns"
- Learning context updated with successful patterns
Step 3: Review Phaseβ
Agent Writes behavior.jsonβ
{
"action": "vibecheck",
"reason": "Final review before completion"
}
Oversight Feedbackβ
Oversight Feedback
β’ Risk Score: 0.30 (Low)
Advice:
The review shows good progress. The simplified approach worked well. Ensure all
edge cases from the implementation phase are covered. Consider adding integration
tests for the error handling patterns.
β’ Helpful Patterns:
+ Simplified approach maintained throughout
+ Consistent error handling
β’ Uncertainties:
- Integration test coverage needs verification
Complete Learning Loopβ
After the workflow completes:
Learning Store Contentsβ
$ rad learning list
Learning Entries
β’ [Mistake] Complex Solution Bias
Over-engineered initial plan
β Solution: Start with simpler approach, iterate as needed
Timestamp: 2025-12-07 10:00:00
β’ [Success] General
Simplified approach worked well
Timestamp: 2025-12-07 10:30:00
Skillbook Contentsβ
$ rad learning show-skillbook
Skillbook
task_guidance
β’ [skill-00001]
Start with simpler approach, iterate as needed
Stats: Helpful: 2 | Harmful: 0 | Neutral: 0
code_patterns
β’ [skill-00002]
Use straightforward error handling patterns
Stats: Helpful: 1 | Harmful: 0 | Neutral: 0
Benefits Demonstratedβ
- Early Detection: Planning phase oversight caught over-engineering before implementation
- Context Awareness: Implementation phase oversight used learning from planning phase
- Pattern Learning: Successful patterns were extracted and added to skillbook
- Continuous Improvement: Each phase built on learnings from previous phases
Next Workflowβ
In the next similar workflow, the learning system will:
- Inject the "Start with simpler approach" skill into oversight context
- Reference the "Complex Solution Bias" mistake to avoid repetition
- Apply learned patterns automatically
This creates a continuous learning loop that improves over time.