Cursor rule
.cursor/rules/ripersigma101codeprotect.mdcuse these rules for every chat
Cursor rules
Quality
48/100
Scores the file, not the repository.Length
649 words
11 headings · 0 code blocksRepository
206
— · pushed 397 days agoLast changed
3 days ago
First indexed 3 days ago.1234567# CursorRIPER♦Σ 1.0.1 -(code protect)89## 📚 Path & Index Definitions10📂 = "/memory-bank/"11📦 = "/memory-bank/backups/"1213𝕋 = [read_files, ask_questions, observe_code, document_findings,14 suggest_ideas, explore_options, evaluate_approaches,15 create_plan, detail_specifications, sequence_steps,16 implement_code, follow_plan, test_implementation,17 validate_output, verify_against_plan, report_deviations]1819𝕄 = [📂projectbrief.md, 📂systemPatterns.md,20 📂techContext.md, 📂activeContext.md,21 📂progress.md, 📂protection.md]2223## Ω RIPER Modes2425Ω₁ = 🔍R ⟶ +𝕋[0:3] -𝕋[4:15] ⟶ [MODE: RESEARCH]+findings26 ↪ 🔄(/research, /r) ⟶ update(𝕄[2,3])2728Ω₂ = 💡I ⟶ +𝕋[4:6] -𝕋[8:15] ⟶ [MODE: INNOVATE]+possibilities29 ↪ 🔄(/innovate, /i) ⟶ update(𝕄[3])3031Ω₃ = 📝P ⟶ +𝕋[7:9] -𝕋[10:15] ⟶ [MODE: PLAN]+checklist₁₋ₙ32 ↪ 🔄(/plan, /p) ⟶ update(𝕄[3,4])3334Ω₄ = ⚙️E ⟶ +𝕋[10:12] -[improve,create,deviate] ⟶ [MODE: EXECUTE]+progress35 ↪ 🔄(/execute, /e) ⟶ update(𝕄[3,4])3637Ω₅ = 🔎RV ⟶ +𝕋[13:15] -[modify,improve] ⟶ [MODE: REVIEW]+{✅|⚠️}38 ↪ 🔄(/review, /rev) ⟶ update(𝕄[3,4])3940## 🛡️ Code Protection System4142Ψ = [PROTECTED, GUARDED, INFO, DEBUG, TEST, CRITICAL]4344Ψ_behavior_summary = {45 Ω₁: identify ∧ document(Ψ),46 Ω₂: respect_boundaries(Ψ) ∧ propose_alternatives,47 Ω₃: plan_around(Ψ) ∧ request_permission(Ψ.GUARDED),48 Ω₄: enforce_protection(Ψ) ∧ follow_guidelines,49 Ω₅: verify_integrity(Ψ) ∧ report_violations50}5152## Π Project Phases5354Π₁ = 🌱UNINITIATED ⟶ framework_installed ∧ ¬project_started55Π₂ = 🚧INITIALIZING ⟶ START_active ∧ setup_ongoing56Π₃ = 🏗️DEVELOPMENT ⟶ main_development ∧ RIPER_active57Π₄ = 🔧MAINTENANCE ⟶ long_term_support ∧ RIPER_active5859Π_transitions = {60 Π₁→Π₂: 🔄"/start",61 Π₂→Π₃: ✅completion(START_phase),62 Π₃↔Π₄: 🔄user_request63}6465## 🏁 START Phase (Π₂)6667S₁₋₆ = [requirements, technology, architecture, scaffolding, environment, memory]6869START_process = {70 S₀: create_directory(📂),71 S₁: gather(requirements) ⟶ create(𝕄[0]),72 S₂: select(technologies) ⟶ update(𝕄[2]),73 S₃: define(architecture) ⟶ create(𝕄[1]),74 S₄: scaffold(project) ⟶ create(directories),75 S₅: setup(environment) ⟶ update(𝕄[2]),76 S₆: initialize(memory) ⟶ create(𝕄[0:5])77}7879## 📑 Memory Templates8081Σ_templates = {82 σ₁: """# σ₁: Project Brief\n*v1.0 | Created: {DATE} | Updated: {DATE}*\n*Π: {PHASE} | Ω: {MODE}*\n\n## 🏆 Overview\n[Project description]\n\n## 📋 Requirements\n- [R₁] [Requirement 1]\n...""",8384 σ₂: """# σ₂: System Patterns\n*v1.0 | Created: {DATE} | Updated: {DATE}*\n*Π: {PHASE} | Ω: {MODE}*\n\n## 🏛️ Architecture Overview\n[Architecture description]\n...""",8586 σ₃: """# σ₃: Technical Context\n*v1.0 | Created: {DATE} | Updated: {DATE}*\n*Π: {PHASE} | Ω: {MODE}*\n\n## 🛠️ Technology Stack\n- 🖥️ Frontend: [Technologies]\n...""",8788 σ₄: """# σ₄: Active Context\n*v1.0 | Created: {DATE} | Updated: {DATE}*\n*Π: {PHASE} | Ω: {MODE}*\n\n## 🔮 Current Focus\n[Current focus]\n...""",8990 σ₅: """# σ₅: Progress Tracker\n*v1.0 | Created: {DATE} | Updated: {DATE}*\n*Π: {PHASE} | Ω: {MODE}*\n\n## 📈 Project Status\nCompletion: 0%\n...""",9192 σ₆: """# σ₆: Protection Registry\n*v1.0 | Created: {DATE} | Updated: {DATE}*\n*Π: {PHASE} | Ω: {MODE}*\n\n## 🛡️ Protected Regions\n[Protected code registry]\n\n## 📜 Protection History\n[History and changes]\n\n## ✅ Approvals\n[Modification approvals]""",9394 symbols: """# 🔣 Symbol Reference Guide\n*v1.0 | Created: {DATE} | Updated: {DATE}*\n\n## 📁 File Symbols\n- 📂 = /memory-bank/\n..."""95}9697Φ_memory = {98 create_template(template, params) = template.replace({PLACEHOLDERS}, params),99 initialize() = {100 ensure_directory(📂),101 create_file(𝕄[0], create_template(Σ_templates.σ₁, {DATE: now(), PHASE: current_phase, MODE: current_mode})),102 create_file(𝕄[1], create_template(Σ_templates.σ₂, {DATE: now(), PHASE: current_phase, MODE: current_mode})),103 create_file(𝕄[2], create_template(Σ_templates.σ₃, {DATE: now(), PHASE: current_phase, MODE: current_mode})),104 create_file(𝕄[3], create_template(Σ_templates.σ₄, {DATE: now(), PHASE: current_phase, MODE: current_mode})),105 create_file(𝕄[4], create_template(Σ_templates.σ₅, {DATE: now(), PHASE: current_phase, MODE: current_mode})),106 create_file(𝕄[5], create_template(Σ_templates.σ₆, {DATE: now(), PHASE: current_phase, MODE: current_mode})),107 create_file(📂symbols.md, create_template(Σ_templates.symbols, {DATE: now()}))108 }109}110111## 🧰 Memory System112113Σ_memory = {114 σ₁ = 📋𝕄[0] ⟶ requirements ∧ scope ∧ criteria,115 σ₂ = 🏛️𝕄[1] ⟶ architecture ∧ components ∧ decisions,116 σ₃ = 💻𝕄[2] ⟶ stack ∧ environment ∧ dependencies,117 σ₄ = 🔮𝕄[3] ⟶ focus ∧ changes ∧ next_steps,118 σ₅ = 📊𝕄[4] ⟶ status ∧ milestones ∧ issues,119 σ₆ = 🛡️𝕄[5] ⟶ protected_regions ∧ history ∧ approvals120}121122Σ_update(mode) = {123 Ω₁: σ₃ += technical_details, σ₄ = current_focus,124 Ω₂: σ₄ += potential_approaches, σ₂ += design_decisions,125 Ω₃: σ₄ += planned_changes, σ₅ += expected_outcomes,126 Ω₄: σ₅ += implementation_progress, σ₄ += step_completion,127 Ω₅: σ₅ += review_findings, σ₄ += review_status128}129130## Σ_backup System131132Σ_backup = {133 backup_format = "YYYY-MM-DD_HH-MM-SS",134 create_backup() = copy_files(𝕄, 📦 + timestamp(backup_format))135}136137## ⚠️ Safety Protocols138139Δ₁ = destructive_op(x) ⟶ warn ∧ confirm ∧ Σ_backup.create_backup()140Δ₂ = phase_transition(Πₐ→Πᵦ) ⟶ verify ∧ Σ_backup.create_backup() ∧ update141Δ₃ = reinit_attempt ∧ ¬Π₁ ⟶ warn ∧ confirm("CONFIRM RE-INITIALIZATION") ∧ Σ_backup.create_backup()142Δ₄ = error(x) ⟶ report("Framework issue: " + x) ∧ suggest_recovery(x)143144## 📂 File System Operations145146Φ_file = {147 ensure_directory(path) = path_exists(path) ? noop : create_directory(path),148 init() = ensure_directory(📂) ∧ ensure_directory(📦),149 check_files() = ∀file ∈ 𝕄, check_exists(file)150}151
Also in johnpeterman72/CursorRIPER.sigma
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| johnpeterman72/CursorRIPER.sigma.cursor/rules/enterprise.mdc · 206 | Cursor rules | securitydeploymentdocs | 54/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/bmad-roles.mdc · 206 | Cursor rules | securitydeployment | 54/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/codeprotection.mdc · 206 | Cursor rules | do-notagent-behaviour | 55/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/cursorriper-sigma-mcp.mdc · 206 | Cursor rules | setuptestapideployment+2 | 76/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/mcp-docker.mdc · 206 | Cursor rules | securitydeployment | 54/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/mcp-filesystem.mdc · 206 | Cursor rules | performance | 48/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/mcp-github.mdc · 206 | Cursor rules | setupgitdeployment | 50/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/mcp-puppeteer.mdc · 206 | Cursor rules | testdeployment | 66/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/mcp-websearch.mdc · 206 | Cursor rules | deploymentdo-not | 61/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/prd-system.mdc · 206 | Cursor rules | archdatabaseperformancedeployment | 58/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/quality-gates.mdc · 206 | Cursor rules | deployment | 54/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma-mcp.mdc · 206 | Cursor rules | setuptestdatabaseapi+3 | 55/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma1.mdc · 206 | Cursor rules | performance | 48/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma102.mdc · 206 | Cursor rules | performance | 48/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma103.mdc · 206 | Cursor rules | securityperformance | 40/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma104.mdc · 206 | Cursor rules | securityperformance | 40/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma105.mdc · 206 | Cursor rules | securityperformance | 40/100 | 3 days ago |
Diff against .cursor/rules/enterprise.mdc Diff against .cursor/rules/bmad-roles.mdc Diff against .cursor/rules/codeprotection.mdc Diff against .cursor/rules/cursorriper-sigma-mcp.mdc Diff against .cursor/rules/mcp-docker.mdc Diff against .cursor/rules/mcp-filesystem.mdc Diff against .cursor/rules/mcp-github.mdc Diff against .cursor/rules/mcp-puppeteer.mdc Diff against .cursor/rules/mcp-websearch.mdc Diff against .cursor/rules/prd-system.mdc Diff against .cursor/rules/quality-gates.mdc Diff against .cursor/rules/ripersigma-mcp.mdc Diff against .cursor/rules/ripersigma1.mdc Diff against .cursor/rules/ripersigma102.mdc Diff against .cursor/rules/ripersigma103.mdc Diff against .cursor/rules/ripersigma104.mdc Diff against .cursor/rules/ripersigma105.mdc
