Phase Management - johnpeterman72/CursorRIPER.sigma GitHub Wiki

πŸ“Š Project Phase Management

CursorRIPER♦Σ organizes project lifecycle into four distinct phases (Ξ ), each with specific characteristics and transitions.

🎯 Phase Overview

Phase Symbol Name Description Trigger
Phase 1 Π₁ 🌱 UNINITIATED Framework ready, not started Installation
Phase 2 Ξ β‚‚ 🚧 INITIALIZING Setting up project /start
Phase 3 Π₃ πŸ—οΈ DEVELOPMENT Active development Setup complete
Phase 4 Ξ β‚„ πŸ”§ MAINTENANCE Long-term support User decision

🌱 Phase 1: Uninitiated (Π₁)

Characteristics

Π₁ = 🌱UNINITIATED ⟢ framework_installed ∧ Β¬project_started

State

  • βœ… Framework files present
  • βœ… Rules enabled in Cursor
  • ❌ No memory bank created
  • ❌ No project configuration
  • ❌ No mode active

What Happens

  • Framework waits for initialization
  • No memory files exist
  • No active context
  • AI recognizes framework but has no project data

Example State

.cursor/
└── rules/
    └── RIPERsigma1.0.5.mdc  βœ“ Present

/memory-bank/                  βœ— Not created

Next Step

Type /start to begin initialization

🚧 Phase 2: Initializing (Ξ β‚‚)

Characteristics

Ξ β‚‚ = 🚧INITIALIZING ⟢ START_active ∧ setup_ongoing

State

  • βœ… Memory bank created
  • ⏳ Gathering requirements
  • ⏳ Setting up structure
  • πŸ”„ START process active

START Process (S₁-S₆)

S₁: gather(requirements) ⟢ create(σ₁)
Sβ‚‚: select(technologies) ⟢ update(σ₃)
S₃: define(architecture) ⟢ create(Οƒβ‚‚)
Sβ‚„: scaffold(project) ⟢ create(directories)
Sβ‚…: setup(environment) ⟢ update(σ₃)
S₆: initialize(memory) ⟢ create(σ₁-σ₆)

Initialization Workflow

Step 1: Requirements Gathering

"What kind of project are we building?"
"What are the main requirements?"
"Who are the stakeholders?"

β†’ Updates projectbrief.md

Step 2: Technology Selection

"What programming language?"
"Which frameworks?"
"Database preferences?"

β†’ Updates techContext.md

Step 3: Architecture Definition

"Monolith or microservices?"
"API structure?"
"Component organization?"

β†’ Updates systemPatterns.md

Step 4: Project Scaffolding

Creating directory structure...
Setting up initial files...
Configuring environment...

β†’ Creates project structure

Step 5: Environment Setup

"Development environment requirements?"
"Deployment targets?"
"CI/CD preferences?"

β†’ Completes techContext.md

Step 6: Memory Initialization

βœ“ All memory files created
βœ“ Templates populated
βœ“ Cross-references established

β†’ Memory system ready

Duration

  • Typical: 15-30 minutes
  • Depends on project complexity
  • Can be paused and resumed

Completion Trigger

βœ…completion(START_phase) ⟢ transition(Ξ β‚‚ β†’ Π₃)

πŸ—οΈ Phase 3: Development (Π₃)

Characteristics

Π₃ = πŸ—οΈDEVELOPMENT ⟢ main_development ∧ RIPER_active

State

  • βœ… All systems operational
  • βœ… RIPER modes available
  • βœ… Memory actively updated
  • βœ… Full framework features

Active Systems

Mode Engine

All five modes fully functional:

πŸ” Research ↔️ πŸ’‘ Innovate ↔️ πŸ“ Plan ↔️ βš™οΈ Execute ↔️ πŸ”Ž Review

Memory System

Continuous updates:

σ₁: Requirements refined
Οƒβ‚‚: Patterns documented
σ₃: Stack evolving
Οƒβ‚„: Context tracking
Οƒβ‚…: Progress monitoring
σ₆: Protection growing

Protection System

Active enforcement:

Ψ₁-Ψ₆: Protection levels enforced
Γ₁-Ξ“β‚ˆ: Context references tracked
β„™: Permissions checked

Typical Activities

Week 1-2: Foundation

  • Core architecture implementation
  • Database schema design
  • Basic API structure

Week 3-4: Features

  • Authentication system
  • Core business logic
  • API endpoints

Week 5-6: Integration

  • Frontend connection
  • Third-party services
  • Testing suite

Week 7-8: Polish

  • Performance optimization
  • Security hardening
  • Documentation

Progress Tracking

## πŸ“ˆ Development Metrics
- Features Complete: 24/30 (80%)
- Test Coverage: 78%
- Performance: βœ… Meeting targets
- Security: ⚠️ Audit pending

Phase Indicators

  • High mode switching frequency
  • Rapid memory updates
  • Active protection additions
  • Growing context references

πŸ”§ Phase 4: Maintenance (Ξ β‚„)

Characteristics

Ξ β‚„ = πŸ”§MAINTENANCE ⟢ long_term_support ∧ RIPER_active

State

  • βœ… Development complete
  • βœ… Production deployed
  • πŸ”„ Bug fixes only
  • πŸ”„ Minor enhancements

Transition Trigger

Π₃ ↔️ Ξ β‚„: πŸ”„user_request

Can switch between Development and Maintenance as needed.

Maintenance Activities

Bug Fixes

/research β†’ Investigate issue
/plan β†’ Design fix
/execute β†’ Implement fix
/review β†’ Verify resolution

Performance Tuning

/research β†’ Analyze metrics
/innovate β†’ Optimization ideas
/plan β†’ Improvement strategy
/execute β†’ Apply optimizations

Security Updates

/research β†’ Security audit
/plan β†’ Patch strategy
/execute β†’ Apply updates
/review β†’ Verify security

Memory Focus

  • Οƒβ‚… (progress.md): Issue tracking
  • σ₆ (protection.md): Critical code
  • Οƒβ‚„ (activeContext.md): Current fixes

Typical Workflow

  1. Issue Reported β†’ Research mode
  2. Fix Planned β†’ Plan mode
  3. Fix Implemented β†’ Execute mode
  4. Fix Verified β†’ Review mode
  5. Documentation Updated β†’ Back to standby

πŸ”„ Phase Transitions

Transition Map

Π₁ β†’ Ξ β‚‚: /start command
Ξ β‚‚ β†’ Π₃: Automatic on completion
Π₃ ↔️ Ξ β‚„: User decision

Π₁ β†’ Ξ β‚‚ (Start Project)

transition(Π₁ β†’ Ξ β‚‚) = {
  verify(framework_ready),
  create_memory_bank(),
  enter(RESEARCH_mode),
  begin(START_process)
}

Ξ β‚‚ β†’ Π₃ (Begin Development)

transition(Ξ β‚‚ β†’ Π₃) = {
  verify(all_steps_complete),
  validate(memory_files),
  enable(full_features),
  log("Development phase active")
}

Π₃ ↔️ Ξ β‚„ (Development ↔️ Maintenance)

transition(Π₃ ↔️ Ξ β‚„) = {
  user_command("/maintenance" | "/development"),
  update_phase_marker(),
  adjust_workflow_focus(),
  maintain_all_features()
}

πŸ“Š Phase Indicators

How to Identify Current Phase

Π₁ Indicators

  • No /memory-bank/ folder
  • Framework responds to /start
  • No mode indicated

Ξ β‚‚ Indicators

  • START process active
  • Memory files being created
  • Gathering requirements

Π₃ Indicators

  • Full mode switching
  • Active feature development
  • Rapid progress updates

Ξ β‚„ Indicators

  • Mostly Research/Execute modes
  • Focus on fixes
  • Stable memory files

Phase Status Check

"What phase are we in?"
"Show current phase status"
"Check phase indicators"

🎯 Phase-Specific Strategies

Π₁: Preparation

  • Review framework docs
  • Prepare requirements
  • Set up development environment

Ξ β‚‚: Thoughtful Setup

  • Don't rush initialization
  • Provide detailed requirements
  • Consider future needs

Π₃: Structured Development

  • Follow RIPER workflow
  • Maintain protection discipline
  • Regular progress updates

Ξ β‚„: Efficient Maintenance

  • Quick issue resolution
  • Minimal disruption
  • Preserve stability

πŸ’‘ Best Practices

1. Complete Each Phase

Don't skip initialization steps - they establish critical foundation.

2. Use Phase-Appropriate Modes

  • Ξ β‚‚: Mostly Research/Plan
  • Π₃: All modes actively
  • Ξ β‚„: Research/Execute focus

3. Monitor Phase Health

## Phase Health Check
- Memory files current? βœ…
- Protection adequate? βœ…
- Context relevant? ⚠️
- Progress tracked? βœ…

4. Phase Documentation

Keep phase transitions documented:

## Phase History
- 2024-01-01: Project started (Π₁ β†’ Ξ β‚‚)
- 2024-01-02: Development began (Ξ β‚‚ β†’ Π₃)
- 2024-03-15: Moved to maintenance (Π₃ β†’ Ξ β‚„)
- 2024-03-20: Hotfix development (Ξ β‚„ β†’ Π₃)

🚨 Common Phase Issues

Stuck in Initialization

Problem: START process incomplete Solution: Review missing steps, complete requirements

Premature Maintenance

Problem: Moved to Ξ β‚„ too early Solution: Switch back with /development

Phase Confusion

Problem: Unsure of current phase Solution: Check memory files and mode availability

Lost Phase Context

Problem: After long break Solution: Review progress.md and activeContext.md

πŸ“ˆ Phase Metrics

Typical Duration

  • Π₁: Minutes to days (until /start)
  • Ξ β‚‚: 15-60 minutes
  • Π₃: Weeks to months
  • Ξ β‚„: Ongoing

Phase Efficiency

Track phase performance:

## Phase Metrics
- Initialization Time: 25 minutes
- Development Velocity: 5 features/week
- Maintenance Response: <2 hours
- Phase Transitions: 3 total

πŸ”— Phase Integration

With Modes

Each phase favors certain modes:

  • Ξ β‚‚: Research, Plan
  • Π₃: All modes equally
  • Ξ β‚„: Research, Execute, Review

With Memory

Phase determines memory focus:

  • Ξ β‚‚: Creating foundation
  • Π₃: Active updates
  • Ξ β‚„: Selective updates

With Protection

Protection strategy by phase:

  • Ξ β‚‚: Identify critical areas
  • Π₃: Apply protection actively
  • Ξ β‚„: Maintain protection integrity

πŸ“š Related Topics


← Symbolic Notation | Home | Features β†’