Framework Overview - johnpeterman72/CursorRIPER.sigma GitHub Wiki

πŸ—οΈ CursorRIPER♦Σ Framework Overview

Welcome to the comprehensive overview of the CursorRIPER♦Σ framework - a revolutionary approach to AI-assisted software development.

🎯 What is CursorRIPER♦Σ?

CursorRIPER♦Σ (Sigma) is a symbolic notation framework that enhances AI-assisted development through:

  • Structured workflows via RIPER modes
  • Token efficiency through symbolic notation
  • Code protection with intelligent annotations
  • Context management for focused assistance
  • Permission enforcement for safer operations
  • Automatic memory for persistent project knowledge

🧩 Core Philosophy

1. Symbolic Efficiency

Traditional frameworks use verbose instructions. CursorRIPER♦Σ uses symbols:

Traditional approach:

"You are currently in research mode. In this mode, you can read files, 
analyze code, and ask questions, but you cannot write code or modify files."

CursorRIPER♦Σ approach:

Ω₁ = πŸ”R ⟢ β„™(Ω₁) ⟢ +𝕋[0:3] -𝕋[4:15]

This achieves 93% token reduction while maintaining full functionality.

2. Modal Development

Five distinct modes guide the development process:

  • πŸ” Research - Information gathering
  • πŸ’‘ Innovate - Solution exploration
  • πŸ“ Plan - Specification creation
  • βš™οΈ Execute - Implementation
  • πŸ”Ž Review - Validation

3. Protection-First

Critical code is protected from AI modification through annotation:

// !cp PROTECTED - Core authentication
function authenticate() { /* ... */ }
// !cp END-P

πŸ›οΈ Framework Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚          CursorRIPER♦Σ Framework        β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  πŸ”„ RIPER Mode Engine (Ξ©)              β”‚
β”‚  β”œβ”€β”€ Research (Ω₁)                      β”‚
β”‚  β”œβ”€β”€ Innovate (Ξ©β‚‚)                      β”‚
β”‚  β”œβ”€β”€ Plan (Ω₃)                          β”‚
β”‚  β”œβ”€β”€ Execute (Ξ©β‚„)                       β”‚
β”‚  └── Review (Ξ©β‚…)                        β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  πŸ’Ύ Memory System (Ξ£)                   β”‚
β”‚  β”œβ”€β”€ Project Brief (σ₁)                 β”‚
β”‚  β”œβ”€β”€ System Patterns (Οƒβ‚‚)               β”‚
β”‚  β”œβ”€β”€ Tech Context (σ₃)                  β”‚
β”‚  β”œβ”€β”€ Active Context (Οƒβ‚„)                β”‚
β”‚  β”œβ”€β”€ Progress (Οƒβ‚…)                      β”‚
β”‚  └── Protection Registry (σ₆)           β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  πŸ›‘οΈ Protection System (Ξ¨)              β”‚
β”‚  β”œβ”€β”€ Code Protection Levels             β”‚
β”‚  β”œβ”€β”€ Context References (Ξ“)             β”‚
β”‚  └── Permission Matrix (β„™)              β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  πŸ”Œ Optional Extensions                 β”‚
β”‚  β”œβ”€β”€ MCP Services (Θ,Ξ›,Ξ₯,Ξ)           β”‚
β”‚  └── BMAD Enterprise (Ξ’,Ξ‘,Κ,Ξ•)         β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ”‘ Key Components

1. Mode Engine (Ξ©)

Controls workflow phases and enforces mode-specific behaviors:

  • Each mode has specific permissions
  • Transitions are tracked and validated
  • Context updates automatically

2. Memory System (Ξ£)

Six persistent files maintain project knowledge:

  • σ₁ - Requirements and scope
  • Οƒβ‚‚ - Architecture decisions
  • σ₃ - Technology stack
  • Οƒβ‚„ - Current context
  • Οƒβ‚… - Progress tracking
  • σ₆ - Protected regions

3. Protection System (Ξ¨)

Multi-level code protection:

  • Ψ₁ PROTECTED - Never modify
  • Ξ¨β‚‚ GUARDED - Ask permission
  • Ψ₃ INFO - Context notes
  • Ξ¨β‚„ DEBUG - Temporary code
  • Ξ¨β‚… TEST - Test code
  • Ψ₆ CRITICAL - Business logic

4. Context System (Ξ“)

Eight types of context references:

  • Γ₁ Files
  • Ξ“β‚‚ Folders
  • Γ₃ Code elements
  • Ξ“β‚„ Documentation
  • Ξ“β‚… Project rules
  • Γ₆ Git history
  • Γ₇ Notepads
  • Ξ“β‚ˆ Pinned files

5. Permission System (β„™)

CRUD permissions per mode:

  • Create - New files/code
  • Read - Access information
  • Update - Modify existing
  • Delete - Remove content

🎯 Design Goals

1. Token Efficiency

  • Symbolic notation reduces prompt size
  • More context fits in token limits
  • Faster AI processing

2. Workflow Structure

  • Clear phases prevent confusion
  • Mode restrictions improve focus
  • Systematic approach reduces errors

3. Code Safety

  • Protection prevents unwanted changes
  • Permissions limit dangerous operations
  • Backups ensure recovery

4. Knowledge Persistence

  • Memory files track all decisions
  • Context preserved across sessions
  • Progress never lost

5. Extensibility

  • Optional MCP services
  • Enterprise BMAD features
  • Modular architecture

πŸ”„ How It Works

1. Initialization

/start

Creates memory structure and enters RESEARCH mode.

2. Mode-Driven Workflow

/research β†’ /innovate β†’ /plan β†’ /execute β†’ /review

Each mode enables specific operations.

3. Automatic Tracking

  • Memory files update continuously
  • Context adjusts per mode
  • Protection enforced automatically

4. Symbol Translation

AI interprets symbols:

Ω₁ = πŸ”R ⟢ β„™(Ω₁) ⟢ +𝕋[0:3] -𝕋[4:15]

Means: "Research mode with read-only permissions, enabling research functions."

πŸ’‘ Key Innovations

1. Compressed Notation

  • Greek letters for systems
  • Subscripts for indexing
  • Emoji for visual recognition
  • Mathematical operators for relationships

2. Modal Permissions

  • Mode determines allowed operations
  • Violations caught automatically
  • Safe fallbacks implemented

3. Living Documentation

  • Memory files are always current
  • Cross-references maintain relationships
  • Progress tracked automatically

4. Intelligent Context

  • Mode-appropriate context loading
  • Relevance-based filtering
  • Automatic cleanup

πŸš€ Benefits

For Developers:

  • βœ… Structured workflow prevents mistakes
  • βœ… Protection keeps critical code safe
  • βœ… Context management improves focus
  • βœ… Memory system tracks everything

For AI:

  • βœ… Clear operational boundaries
  • βœ… Reduced token usage
  • βœ… Consistent behavior patterns
  • βœ… Better understanding of intent

For Teams:

  • βœ… Standardized development process
  • βœ… Shared memory across sessions
  • βœ… Clear protection boundaries
  • βœ… Traceable decision history

πŸ”Œ Optional Extensions

MCP Services:

  • GitHub (Θ) - Repository integration
  • Web Search (Ξ›) - Research capabilities
  • Browser (Ξ₯) - Automation testing
  • Docker (Ξ) - Container management

BMAD Enterprise:

  • Roles (Ξ’) - Team member roles
  • PRD (Ξ‘) - Requirements management
  • Gates (Κ) - Quality checkpoints
  • Enterprise (Ξ•) - Advanced features

πŸ“Š Framework Comparison

Feature Traditional CursorRIPER♦Σ
Token Usage High (~15K) Low (<1K)
Workflow Structure Loose Strict RIPER
Code Protection Manual Automatic
Context Management Ad-hoc Systematic
Memory Session-only Persistent
Permissions Undefined Mode-specific

πŸŽ“ Learning Path

  1. Start Here β†’ RIPER Modes
  2. Then β†’ Memory System
  3. Next β†’ Symbolic Notation
  4. Finally β†’ Phase Management

πŸš€ Getting Started

Ready to transform your development workflow?

  1. Install the framework
  2. Try the quick start
  3. Build your first project

πŸ“š Further Reading


← Getting Started | Home | RIPER Modes β†’