-
-
Notifications
You must be signed in to change notification settings - Fork 34
Mode Reference
Saros Industries edited this page Jun 28, 2025
·
1 revision
Comprehensive reference for all five RIPER modes, including permissions, operations, behaviors, and best practices.
| Mode | Symbol | Purpose | Key Restriction | Best For |
|---|---|---|---|---|
| RESEARCH | Ξ©β π | Understand | Cannot write | Investigation |
| INNOVATE | Ξ©β π‘ | Explore | Cannot implement | Design |
| PLAN | Ξ©β π | Specify | Cannot execute | Architecture |
| EXECUTE | Ξ©β βοΈ | Implement | Cannot search | Coding |
| REVIEW | Ξ©β π | Validate | Cannot modify | Quality |
Ξ©β = πR βΆ β(Ξ©β) βΆ +π[0:3] -π[4:15] βΆ [MODE: RESEARCH]+findings
Information gathering and understanding phase.
β(Ξ©β) = {R: β, C: β, U: β, D: β}
- β Read: All files, documentation, code
- β Create: No file creation
- β Update: No modifications
- β Delete: No deletions
π(Ξ©β) = {
πβᡦββα΅£α΅₯β: β, // Read, analyze, identify
πα΅₯α΅’α΅£βα΅€ββ: ~, // Limited conceptual work
πα΅£βββ: β // No physical changes
}-
read_files- Read any project file -
ask_questions- Clarify requirements -
observe_code- Analyze implementations -
document_findings- Record discoveries
-
Requirements Analysis
"What are the current authentication requirements?" "How is user data currently stored?" -
Code Investigation
"Analyze the current error handling approach" "What design patterns are used?" -
Documentation Review
"Check API documentation" "Review system architecture"
- Οβ (projectbrief.md): Requirements discovered
- Οβ (techContext.md): Technical findings
- Οβ (activeContext.md): Research focus
MΞ[Ξ©β] = [Ξβ, Ξβ, Ξβ] // Docs, Folders, Git- Cast wide net initially
- Document all findings
- Ask clarifying questions
- Don't suggest solutions yet
- Focus on "what is" not "what could be"
/research
!ad src/ # Add source directory
!adoc "System Docs" # Add documentation
!ag main # Check git history
- To INNOVATE: Understanding complete
- To PLAN: Solution obvious, skip innovation
- To EXECUTE: Emergency fix only
Ξ©β = π‘I βΆ β(Ξ©β) βΆ +π[4:6] -π[8:15] βΆ [MODE: INNOVATE]+possibilities
Creative exploration and solution design phase.
β(Ξ©β) = {R: β, C: ~, U: β, D: β}
- β Read: Reference materials
- π‘ Create: Conceptual only
- β Update: No modifications
- β Delete: No deletions
π(Ξ©β) = {
πβᡦββα΅£α΅₯β: β, // Read and analyze
πα΅₯α΅’α΅£βα΅€ββ: β, // Full conceptual work
πα΅£βββ: β // No implementations
}-
suggest_ideas- Propose approaches -
explore_options- Consider alternatives -
evaluate_approaches- Compare solutions
-
Solution Exploration
"What are modern alternatives to session auth?" "How could we improve the current architecture?" -
Pattern Discussion
"Consider using Repository pattern for data access" "Evaluate microservices vs monolithic approach" -
Trade-off Analysis
"Compare SQL vs NoSQL for this use case" "Evaluate performance vs maintainability"
- Οβ (systemPatterns.md): Design ideas
- Οβ (activeContext.md): Exploration notes
MΞ[Ξ©β] = [Ξβ, Ξβ, Ξβ] // Code, Docs, Notepads- Think outside the box
- Consider multiple approaches
- Don't commit to solutions
- Document all ideas
- Evaluate trade-offs
/innovate
!ac currentImplementation() # Reference existing
!adoc "Best Practices" # Industry standards
!an "Design Ideas" # Brainstorming notes
- To PLAN: Approach selected
- To RESEARCH: Need more info
- To EXECUTE: Never directly
Ξ©β = πP βΆ β(Ξ©β) βΆ +π[7:9] -π[10:15] βΆ [MODE: PLAN]+checklistβββ
Detailed specification and planning phase.
β(Ξ©β) = {R: β, C: β, U: ~, D: β}
- β Read: All resources
- β Create: Plans and specs
- π‘ Update: Plan documents only
- β Delete: No deletions
π(Ξ©β) = {
πβᡦββα΅£α΅₯β: β, // Read and analyze
πα΅₯α΅’α΅£βα΅€ββ: β, // Design and specify
πα΅£βββ: ~ // Limited to plans
}-
create_plan- Design implementation -
detail_specifications- Define requirements -
sequence_steps- Order tasks
-
Specification Creation
"Create detailed API specifications" "Define database schema" -
Task Sequencing
1. Install dependencies 2. Create base structure 3. Implement core logic 4. Add error handling 5. Write tests -
Protection Planning
"Identify sections needing Ξ¨β protection" "Plan Ξ¨β for business logic"
- Οβ (activeContext.md): Plan details
- Οβ (progress.md): Milestones set
MΞ[Ξ©β] = [Ξβ, Ξβ, Ξβ
] // Files, Folders, Rules- Be extremely detailed
- Number every step
- Consider edge cases
- Plan protection strategy
- Define success criteria
/plan
!af target-file.js # Files to modify
!ar "Coding Standards" # Apply standards
"Create implementation plan"
- To EXECUTE: Plan complete
- To RESEARCH: Need clarification
- To INNOVATE: Rethink approach
Ξ©β = βοΈE βΆ β(Ξ©β) βΆ +π[10:12] -[improve,create,deviate] βΆ [MODE: EXECUTE]+progress
Implementation and coding phase.
β(Ξ©β) = {R: β, C: β, U: β, D: ~}
- β Read: Everything
- β Create: New files/code
- β Update: Existing code
- π‘ Delete: With caution
π(Ξ©β) = {
πβᡦββα΅£α΅₯β: β, // Read as needed
πα΅₯α΅’α΅£βα΅€ββ: ~, // Limited thinking
πα΅£βββ: β // Full implementation
}-
implement_code- Write code -
follow_plan- Execute specifications -
test_implementation- Verify code
π« No Web Search in EXECUTE Mode! This maintains focus on implementation.
-
Code Implementation
// Implement according to plan function authenticateUser(credentials) { // Code exactly as specified }
-
Protection Application
// !cp PROTECTED - Security keys const SECRET = process.env.SECRET; // !cp END-P
-
Testing
describe('Authentication', () => { test('validates credentials', () => { // Test implementation }); });
- Οβ (progress.md): Implementation progress
- Οβ (protection.md): Protected code
MΞ[Ξ©β] = [Ξβ, Ξβ, Ξβ] // Code, Files, Pinned- Follow plan exactly
- No improvisation
- Add protection immediately
- Test as you go
- Stay focused (no search!)
/execute
!af src/new-feature.js # Track new files
!ac implementedFunction() # Track new code
!cp # Protect critical parts
- To REVIEW: Implementation complete
- To PLAN: Need to adjust approach
- To RESEARCH: Never (stay focused)
Ξ©β
= πRV βΆ β(Ξ©β
) βΆ +π[13:15] -[modify,improve] βΆ [MODE: REVIEW]+{β
|β οΈ}
Validation and quality assurance phase.
β(Ξ©β
) = {R: β, C: β, U: β, D: β}
- β Read: Everything
- β Create: No creation
- β Update: No modifications
- β Delete: No deletions
π(Ξ©β
) = {
πβᡦββα΅£α΅₯β: β, // Full analysis
πα΅₯α΅’α΅£βα΅€ββ: ~, // Limited evaluation
πα΅£βββ: β // No changes
}-
validate_output- Check correctness -
verify_against_plan- Compare to spec -
report_deviations- Document issues
-
Code Review
"Review authentication implementation" "Check code quality and standards" -
Requirement Verification
β Requirement [βοΈΟβ:Rβ] implemented β οΈ Requirement [βοΈΟβ:Rβ] partially done β Requirement [βοΈΟβ:Rβ] missing -
Protection Audit
"Verify all critical code protected" "Check protection coverage"
- Οβ (progress.md): Review results
- Οβ (activeContext.md): Issues found
MΞ[Ξ©β
] = [Ξβ, Ξβ, Ξβ] // Code, Files, Git- Be thorough
- Check every requirement
- Verify protection
- Document all findings
- Don't fix issues (wrong mode!)
/review
!af implemented-files.js # Review targets
!ag main...feature # Compare changes
"Review against requirements"
- To EXECUTE: Fix issues found
- To PLAN: Major changes needed
- To RESEARCH: Investigate problems
All modes can transition to any other mode:
Ξ©β β Ξ©β β Ξ©β β Ξ©β β Ξ©β
RESEARCH β INNOVATE β PLAN β EXECUTE β REVIEW
Ξ©β Ξ©β Ξ©β Ξ©β Ξ©β
- Backup current state
- Verify completion
- Switch mode
- Update permissions
- Load context
- Log transition
| From\To | Research | Innovate | Plan | Execute | Review |
|---|---|---|---|---|---|
| Research | - | Common | Common | Rare | Rare |
| Innovate | Common | - | Common | Never | Rare |
| Plan | Common | Common | - | Common | Rare |
| Execute | Never | Never | Common | - | Common |
| Review | Common | Rare | Common | Common | - |
- ποΈ Framework Overview
- π RIPER Modes
- πΎ Memory System
- π£ Symbolic Notation
- π Phase Management
- π‘οΈ Code Protection
- π Context References
- π Permission System
- π Cross-References
- πΎ Backup System
- π Mode Transitions
- πΎ Memory Management
- π‘οΈ Protection Workflow
- π Context Management
- π₯ Team Collaboration
- π£ Symbol Reference
- β¨οΈ Command Reference
- π Mode Reference
- π Permission Matrix
- π API Reference
- π Overview
- π GitHub Integration
- π Web Search
- π Browser Automation
- π³ Docker Integration
-
Installation Issues
- Node.js Version Compatibility
- Package Installation Failures
- Framework Dependencies Missing
- Database Connection Issues
- Port Conflicts
- Environment Setup Issues
- Build and Development Issues
- Framework CLI Issues
-
Configuration & Runtime Issues
- Framework Configuration Problems
- Runtime Performance Issues
- Module Loading and Plugin Issues
- Database and Storage Issues
- Memory Leaks and High Memory Usage
- High CPU Usage
-
BMAD Module Issues
- BMAD Module Initialization Problems
- Business Model Canvas Issues
- Stakeholder Management Issues
- Analytics and Reporting Issues
- Performance Optimization
-
Database & API Issues
- Database Connection Problems
- Database Migration Issues
- API Performance and Reliability Issues
- Data Consistency Issues
- Transaction Problems
-
Performance & Memory Issues
- Memory Management
- CPU Optimization
- Database Query Performance
- Caching Issues
- Resource Monitoring
-
Security & Authentication Issues
- Authentication Failures
- Authorization Problems
- JWT Token Issues
- Session Management
- CORS and Security Headers
- SSL/TLS Configuration
-
Deployment & Production Issues
- Production Deployment Failures
- Environment Configuration
- Load Balancing Issues
- Monitoring and Logging
- Backup and Recovery
When reporting issues, please include:
- Framework version (
npm list @cursoriper/core) - Node.js version (
node --version) - Operating system and version
- Error messages and stack traces
- Steps to reproduce the issue
- Configuration files (sanitized)
- Recent changes or deployments
- Technical Support: support@cursoriper.com
- Documentation: https://docs.cursoriper.com
- Community Forum: https://community.cursoriper.com