Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit bbd40f9

Browse files
committed
feat: add oncall mode for structured incident response
1 parent 049a2d7 commit bbd40f9

6 files changed

Lines changed: 14 additions & 14 deletions

File tree

.roo/commands/k8s-troubleshoot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ description: "Run Kubernetes troubleshooting workflow"
33
mode: oncall
44
---
55

6-
Execute the Kubernetes troubleshooting workflow from `.roo/workflows/oncall/k8s-troubleshooting.md`.
6+
Execute the Kubernetes troubleshooting workflow from `.roo/rules-oncall/k8s-troubleshooting.md`.
77

88
Read the workflow file and follow it step-by-step to troubleshoot the Kubernetes issue.

.roo/commands/oncall-workflow.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ argument-hint: "[workflow-name]"
44
mode: oncall
55
---
66

7-
Execute an oncall workflow. Provide the workflow name as an argument.
7+
Execute an oncall workflow. The workflow name is provided as an argument.
88

9-
Examples:
9+
Read and execute the workflow file from `.roo/rules-oncall/{workflow-name}.md` step-by-step.
10+
11+
If no workflow name is provided, list available workflows in `.roo/rules-oncall/` and ask the user which one to execute.
1012

11-
- `/oncall-workflow k8s-troubleshooting` - Run Kubernetes troubleshooting
12-
- `/oncall-workflow service-specific/example-service-runbook` - Run service runbook
13+
Examples:
1314

14-
The workflow will be read from `.roo/workflows/oncall/{workflow-name}.md` and executed step-by-step.
15+
- `/oncall-workflow k8s-troubleshooting` - Execute `k8s-troubleshooting.md`
16+
- `/oncall-workflow service-specific/example-service-runbook` - Execute `service-specific/example-service-runbook.md`

.roo/rules-oncall/1_workflow_overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This directory contains workflow files that are automatically loaded when using
44

55
## Adding Your Workflows
66

7-
Workflows should be placed in `.roo/workflows/oncall/`. Create markdown files for each workflow you need:
7+
Workflows should be placed in `.roo/rules-oncall/`. Create markdown files for each workflow you need:
88

99
- Incident response procedures
1010
- Page handling workflows
@@ -26,7 +26,7 @@ Each workflow should follow a clear structure:
2626
When handling an oncall task:
2727

2828
1. Identify which workflow applies to your situation
29-
2. Read the workflow file from `.roo/workflows/oncall/`
29+
2. Read the workflow file from `.roo/rules-oncall/`
3030
3. Follow the steps sequentially
3131
4. Use MCP tools as specified in the workflow
3232
5. Document all actions in incident logs
File renamed without changes.

.roo/workflows/oncall/service-specific/example-service-runbook.md renamed to .roo/rules-oncall/service-specific/example-service-runbook.md

File renamed without changes.

.roomodes

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ customModes:
261261
groups:
262262
- read
263263
- - edit
264-
- fileRegex: (incidents/.*\.md$|logs/.*\.md$|\.roo/workflows/oncall/.*\.md$|\.roo/rules-oncall/.*\.md$)
265-
description: Incident logs, log files, workflow files, and oncall documentation
264+
- fileRegex: (incidents/.*\.md$|logs/.*\.md$|\.roo/rules-oncall/.*\.md$)
265+
description: Incident logs, log files, and oncall workflow files
266266
- command
267267
- mcp
268268
customInstructions: |-
@@ -271,7 +271,7 @@ customModes:
271271
When handling oncall tasks, follow this structured approach:
272272

273273
1. **Identify the Workflow**
274-
- Read the appropriate workflow file from `.roo/workflows/oncall/` or `.roo/rules-oncall/`
274+
- Read the appropriate workflow file from `.roo/rules-oncall/`
275275
- For Kubernetes issues: Use `k8s-troubleshooting.md`
276276
- For specific services: Check `service-specific/` directory for service runbooks
277277
- Add your own workflows as needed
@@ -303,13 +303,11 @@ customModes:
303303

304304
## Available Workflows
305305

306-
Workflows are stored in `.roo/workflows/oncall/`:
306+
Workflows are stored in `.roo/rules-oncall/` and are automatically loaded as context:
307307
- Example: `k8s-troubleshooting.md` - Kubernetes troubleshooting workflow
308308
- `service-specific/` - Service-specific runbooks (e.g., `example-service-runbook.md`)
309309
- Add your own workflow markdown files as needed
310310

311-
Workflows in `.roo/rules-oncall/` are automatically loaded and available as context.
312-
313311
## MCP Integration
314312

315313
This mode has access to MCP tools. Use them to:

0 commit comments

Comments
 (0)