RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/johnpeterman72/CursorRIPER.sigma

Cursor rule

.cursor/rules/bmad-roles.mdc
Cursor rules

Quality

54/100

Scores the file, not the repository.

Length

814 words

15 headings · 10 code blocks

Repository

206

— · pushed 397 days ago

Last changed

3 days ago

First indexed 3 days ago.
johnpeterman72/CursorRIPER.sigma/.cursor/rules/bmad-roles.mdcRawGitHub
1# 👥 BMAD Role System for CursorRIPER Σ
2# Symbol: Β (Beta)
3# Version: 1.0.0
4 
5## 📋 Role Definition System
6```
7service = "BMAD Role Management"
8symbol = "Β"
9transforms = "Memory-bank → PRD-driven development"
10```
11 
12## 🎭 Role Mappings
13```
14Β_roles = {
15 Β₁: {
16 name: "Product Owner",
17 primary_modes: [Ω₁, Ω₂],
18 responsibilities: [
19 "Define business objectives",
20 "Create user stories",
21 "Set acceptance criteria",
22 "Approve PRD documents"
23 ],
24 artifacts: [
25 "PRD documents",
26 "User stories",
27 "Acceptance criteria",
28 "Success metrics"
29 ],
30 permissions: ℙ_read ∪ ℙ_create(Ρ)
31 },
32
33 Β₂: {
34 name: "Architect",
35 primary_modes: [Ω₂, Ω₃],
36 responsibilities: [
37 "Design system architecture",
38 "Define technical standards",
39 "Create API contracts",
40 "Review technical designs"
41 ],
42 artifacts: [
43 "Technical specifications",
44 "System design documents",
45 "API contracts",
46 "Architecture diagrams"
47 ],
48 permissions: ℙ_all - ℙ_delete(production)
49 },
50
51 Β₃: {
52 name: "Developer",
53 primary_modes: [Ω₃, Ω₄],
54 responsibilities: [
55 "Implement features",
56 "Write unit tests",
57 "Create documentation",
58 "Code reviews"
59 ],
60 artifacts: [
61 "Source code",
62 "Unit tests",
63 "Technical documentation",
64 "Code commits"
65 ],
66 permissions: ℙ_standard ∪ ℙ_execute
67 },
68
69 Β₄: {
70 name: "QA Engineer",
71 primary_modes: [Ω₄, Ω₅],
72 responsibilities: [
73 "Create test plans",
74 "Execute test cases",
75 "Report bugs",
76 "Verify fixes"
77 ],
78 artifacts: [
79 "Test plans",
80 "Test cases",
81 "Bug reports",
82 "QA signoff"
83 ],
84 permissions: ℙ_read ∪ ℙ_create(tests) ∪ ℙ_update(issues)
85 },
86
87 Β₅: {
88 name: "DevOps",
89 primary_modes: [Ω₄, Ω₅],
90 responsibilities: [
91 "Manage CI/CD",
92 "Deploy applications",
93 "Monitor systems",
94 "Incident response"
95 ],
96 artifacts: [
97 "Deployment configs",
98 "CI/CD pipelines",
99 "Monitoring dashboards",
100 "Runbooks"
101 ],
102 permissions: ℙ_all
103 }
104}
105```
106 
107## 🔄 Role Context Integration
108```
109Γ_roles = {
110 active_role: Β_current ∈ {Β₁...Β₅},
111 role_stack: [previous_roles],
112 role_permissions: ℙ(Β_current),
113 role_artifacts: artifacts[Β_current],
114 role_gates: allowed_gates[Β_current]
115}
116```
117 
118## 🎯 Role-Mode Mapping
119```
120role_mode_affinity = {
121 Β₁ × Ω₁: 1.0, # Product Owner + Research = Perfect
122 Β₁ × Ω₂: 0.9, # Product Owner + Innovate = Great
123 Β₁ × Ω₃: 0.3, # Product Owner + Plan = Limited
124 Β₁ × Ω₄: 0.1, # Product Owner + Execute = Minimal
125 Β₁ × Ω₅: 0.5, # Product Owner + Review = Moderate
126
127 Β₂ × Ω₁: 0.7, # Architect + Research = Good
128 Β₂ × Ω₂: 1.0, # Architect + Innovate = Perfect
129 Β₂ × Ω₃: 0.9, # Architect + Plan = Great
130 Β₂ × Ω₄: 0.2, # Architect + Execute = Limited
131 Β₂ × Ω₅: 0.6, # Architect + Review = Moderate
132
133 Β₃ × Ω₁: 0.3, # Developer + Research = Limited
134 Β₃ × Ω₂: 0.5, # Developer + Innovate = Moderate
135 Β₃ × Ω₃: 0.9, # Developer + Plan = Great
136 Β₃ × Ω₄: 1.0, # Developer + Execute = Perfect
137 Β₃ × Ω₅: 0.7, # Developer + Review = Good
138
139 Β₄ × Ω₁: 0.2, # QA + Research = Minimal
140 Β₄ × Ω₂: 0.3, # QA + Innovate = Limited
141 Β₄ × Ω₃: 0.6, # QA + Plan = Moderate
142 Β₄ × Ω₄: 0.9, # QA + Execute = Great
143 Β₄ × Ω₅: 1.0, # QA + Review = Perfect
144
145 Β₅ × Ω₁: 0.2, # DevOps + Research = Minimal
146 Β₅ × Ω₂: 0.3, # DevOps + Innovate = Limited
147 Β₅ × Ω₃: 0.7, # DevOps + Plan = Good
148 Β₅ × Ω₄: 1.0, # DevOps + Execute = Perfect
149 Β₅ × Ω₅: 0.9 # DevOps + Review = Great
150}
151```
152 
153## 🔐 Role Permissions
154```
155ℙ(Β) = {
156 Β₁: {
157 create: [Ρ_all, stories, criteria],
158 read: [all],
159 update: [Ρ_all, stories],
160 delete: [draft_prd],
161 approve: [Κ₁]
162 },
163 Β₂: {
164 create: [tech_spec, design_docs, apis],
165 read: [all],
166 update: [tech_*, architecture],
167 delete: [draft_designs],
168 approve: [Κ₂]
169 },
170 Β₃: {
171 create: [code, tests, docs],
172 read: [all],
173 update: [code, tests],
174 delete: [feature_branches],
175 approve: [Κ₃_partial]
176 },
177 Β₄: {
178 create: [test_plans, bug_reports],
179 read: [all],
180 update: [test_*, bugs],
181 delete: [test_data],
182 approve: [Κ₄]
183 },
184 Β₅: {
185 create: [all],
186 read: [all],
187 update: [all],
188 delete: [all - production],
189 approve: [Κ₅]
190 }
191}
192```
193 
194## 🔄 Role Switching
195```
196switch_role(Β_new) = {
197 validate: Β_new ∈ {Β₁...Β₅},
198 check_mode: affinity[Β_new × Ω_current] > 0.5 ? proceed : warn,
199 save_context: push(Γ_roles.role_stack, Β_current),
200 update: {
201 Β_current = Β_new,
202 ℙ_active = ℙ(Β_new),
203 artifacts = load_role_artifacts(Β_new)
204 },
205 notify: "Switched to " + Β_roles[Β_new].name
206}
207```
208 
209## 📋 Role Artifacts
210```
211create_artifact(type, content) = {
212 check: type ∈ Β_current.artifacts ? proceed : deny,
213 template: load_template(type, Β_current),
214 create: {
215 metadata: {role: Β_current, timestamp, author},
216 content: apply_template(content)
217 },
218 store: /artifacts/Β_current/type/
219}
220```
221 
222## ⚡ Role Commands
223```
224S_roles = {
225 !br: "switch_role",
226 !bra: "show role artifacts",
227 !brp: "show role permissions",
228 !brg: "show allowed gates",
229 !brh: "role history",
230 !brs: "role suggestions for current mode"
231}
232```
233 
234## 🔗 Integration Points
235```
236# Role + Mode enforcement
237enforce_role_mode(op) = {
238 affinity_score = role_mode_affinity[Β_current × Ω_current],
239 threshold = 0.3,
240
241 affinity_score < threshold ?
242 warn("Role " + Β_current + " not optimal for mode " + Ω_current) :
243 proceed(op)
244}
245 
246# Role + Gate validation
247validate_gate_approver(Κ_gate) = {
248 required_approvers = Κ_gate.approvers,
249 can_approve = Β_current ∈ required_approvers,
250
251 can_approve ? allow_approval() : deny("Role cannot approve this gate")
252}
253```
254 
255## 🎓 Role Guidance
256```
257suggest_role_for_task(task) = {
258 analyze: extract_task_type(task),
259 match: find_best_role(task_type),
260 suggest: "Consider switching to " + Β_roles[match].name,
261 reason: "This role specializes in " + task_type
262}
263```
264 

Sections

  • 👥 BMAD Role System for CursorRIPER Σ
  • Symbol: Β (Beta)
  • Version: 1.0.0
  • 📋 Role Definition System
  • 🎭 Role Mappings
  • 🔄 Role Context Integration
  • 🎯 Role-Mode Mapping
  • 🔐 Role Permissions
  • 🔄 Role Switching
  • 📋 Role Artifacts
  • ⚡ Role Commands
  • 🔗 Integration Points
  • Role + Mode enforcement
  • Role + Gate validation
  • 🎓 Role Guidance

What it covers

securitydeployment

Format

Cursor rules

The most expressive format here. Many small .mdc files, each with frontmatter declaring when it should load, so a rule about migrations only enters context when a migration is open. Costs the most to maintain and only one editor reads it.

What the corpus says about it

Repository

Owner
johnpeterman72
Language
—
License
—
Archived
no

All configs in this repo

Also in johnpeterman72/CursorRIPER.sigma

Diff this repo’s formats

One 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?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
johnpeterman72/CursorRIPER.sigma.cursor/rules/enterprise.mdc · 206Cursor rulesunclassifiedsecuritydeploymentdocs54/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/codeprotection.mdc · 206Cursor rulesunclassifieddo-notagent-behaviour55/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/cursorriper-sigma-mcp.mdc · 206Cursor rulesunclassifiedsetuptestapideployment+276/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/mcp-docker.mdc · 206Cursor rulesunclassifiedsecuritydeployment54/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/mcp-filesystem.mdc · 206Cursor rulesunclassifiedperformance48/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/mcp-github.mdc · 206Cursor rulesunclassifiedsetupgitdeployment50/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/mcp-puppeteer.mdc · 206Cursor rulesunclassifiedtestdeployment66/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/mcp-websearch.mdc · 206Cursor rulesunclassifieddeploymentdo-not61/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/prd-system.mdc · 206Cursor rulesunclassifiedarchdatabaseperformancedeployment58/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/quality-gates.mdc · 206Cursor rulesunclassifieddeployment54/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma-mcp.mdc · 206Cursor rulesunclassifiedsetuptestdatabaseapi+355/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma1.mdc · 206Cursor rulesunclassifiedperformance48/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma101codeprotect.mdc · 206Cursor rulesunclassifiedperformance48/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma102.mdc · 206Cursor rulesunclassifiedperformance48/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma103.mdc · 206Cursor rulesunclassifiedsecurityperformance40/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma104.mdc · 206Cursor rulesunclassifiedsecurityperformance40/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma105.mdc · 206Cursor rulesunclassifiedsecurityperformance40/1003 days ago
Diff against .cursor/rules/enterprise.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/ripersigma101codeprotect.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
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack