diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 00000000..393eaa47 --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,66 @@ +# Copilot Instructions — bmad-bgreat-suite + +> **Note:** This file applies to the `petry-projects/bmad-bgreat-suite` repository only. Org-wide rules are in [`petry-projects/.github/copilot-instructions.md`](https://github.com/petry-projects/.github/blob/main/.github/copilot-instructions.md). This file covers only what is specific to bmad-bgreat-suite. + +## About + +BMad BGreat Suite is a custom BMad Method plugin providing three specialized agents (Morgan SRE Lead, Riley DevOps Lead, Sam Security Lead) and guided operational workflows (Observability Plan, Incident Response Plan, Disaster Recovery Plan, Resilience Testing Plan, Chaos Game Day Plan, Infrastructure Plan, Pipeline Plan, Capacity Plan, Cost Optimization Plan, Security Plan) plus a cross-agent Operations Review skill for the petry-projects org. + +## Tech Stack + +- **Runtime:** None (content-only plugin package) +- **Framework:** BMad Method plugin system (installed via `npx bmad-method install`) +- **Testing:** N/A +- **Linting:** markdownlint (Markdown files) +- **Key tools:** `npx bmad-method` CLI for installation + +## Project Structure + +```text +src/ + agents/ + bgr-agent-morgan-sre/ # Morgan — SRE Lead agent profile + SKILL.md + bgr-agent-riley-devops/ # Riley — DevOps Lead agent profile + SKILL.md + bgr-agent-sam-security/ # Sam — Security agent profile + SKILL.md + skills/ + bgr-ops-review/ # Ops review skill + report template + workflows/ + bgr-3-create-capacity-plan/ + bgr-3-create-chaos-gameday-plan/ + bgr-3-create-cost-optimization-plan/ + bgr-3-create-disaster-recovery/ + bgr-3-create-incident-response/ + bgr-3-create-infrastructure/ + bgr-3-create-observability/ + bgr-3-create-pipeline/ + bgr-3-create-resilience-plan/ + bgr-3-create-security-plan/ + templates/ + bgr-production-readiness-checklist-template.md + module.yaml # BMad module manifest + module-help.csv # Help index for module discovery +``` + +## Local Dev Commands + +- Install plugin: `npx bmad-method install --custom-content /path/to/bmad-bgreat-suite/src` +- No build or test commands (content-only package) +- Lint docs (if needed): use the repository's existing markdownlint configuration + +## Required Environment Variables + +_None — this is a content-only package with no runtime._ + +## Testing Framework + +- Runner: N/A +- Coverage: N/A +- Mutation testing: N/A + +## Repo-Specific Overrides + +**Content-only repo.** All `SKILL.md`, `workflow.md`, `bmad-skill-manifest.yaml`, `template.md`, and `step-*.md` files are BMad plugin artifacts defining agent behavior and workflow steps — they are not executable code. Follow BMad Method conventions for frontmatter and content structure when editing these files. Do not add a test suite, build toolchain, or CI lint beyond what is already configured. + +## Org Standards + +See [petry-projects/.github — AGENTS.md](https://github.com/petry-projects/.github/blob/main/AGENTS.md) for org-wide development standards. diff --git a/.gitignore b/.gitignore index 7132dc23..482cf1bd 100644 --- a/.gitignore +++ b/.gitignore @@ -401,14 +401,14 @@ _bmad-output/ .claude/skills/ .cursor/skills/ .dev-lead/ - -# Required by push-protection standard (standards/push-protection.md) -.env -*.pem -*.key .dev-lead/ -# compliance-ci-trigger -# ci-trigger-179 +.dev-lead/ +.dev-lead/ +.dev-lead/ +.dev-lead/ +.dev-lead/ +.dev-lead/ +.dev-lead/ .dev-lead/ .dev-lead/ .dev-lead/ diff --git a/AGENTS.md b/AGENTS.md index 4fc371c6..9150dea0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -6,14 +6,14 @@ ## Project Overview The BMad BGreat Suite is a BMAD Method extension module providing three -specialized AI agents (Morgan/SRE, Riley/DevOps, Sam/Security) and eight +specialized AI agents (Morgan/SRE, Riley/DevOps, Sam/Security) and nine guided workflows for production readiness planning. The codebase is content-only: markdown workflow definitions, YAML configuration, and output templates. - **Type:** BMAD Method extension module (content-only: markdown + YAML) - **Agents:** Morgan (SRE), Riley (DevOps), Sam (Security) -- **Workflows:** 8 guided workflows for production readiness planning +- **Workflows:** 9 guided workflows for production readiness planning - **Output:** Planning artifacts saved to `{bgr_artifacts}/` directory ### Key Files diff --git a/src/module-help.csv b/src/module-help.csv index bb38b1bd..77a1b02d 100644 --- a/src/module-help.csv +++ b/src/module-help.csv @@ -8,6 +8,7 @@ BGreat Suite,bgr-3-create-infrastructure,Create Infrastructure Plan,CI,Guided wo BGreat Suite,bgr-3-create-capacity-plan,Create Capacity Plan,CC,Guided workflow to define growth modeling auto-scaling policies resource scaling triggers and capacity validation.,,3-solutioning,bgr-3-create-infrastructure,,false,bgr_artifacts,capacity plan BGreat Suite,bgr-3-create-cost-optimization-plan,Create Cost Optimization Plan,CF,Guided workflow to define FinOps strategy resource right-sizing reserved/spot instance strategy cost tagging anomaly detection and budget alerts.,,3-solutioning,bgr-3-create-infrastructure,,false,bgr_artifacts,cost optimization plan BGreat Suite,bgr-3-create-pipeline,Create Pipeline Plan,CP,Guided workflow to design CI/CD pipeline architecture stages deployment strategy and release gates.,,3-solutioning,bgr-3-create-infrastructure,,true,bgr_artifacts,pipeline plan +BGreat Suite,bgr-3-create-release-plan,Create Release Plan,RP,Guided workflow to create a comprehensive release plan.,,3-solutioning,bgr-3-create-pipeline,,false,bgr_artifacts,release plan BGreat Suite,bgr-3-create-resilience-plan,Create Resilience Testing Plan,CT,Guided workflow to define steady-state hypotheses failure scenarios chaos experiments and game day procedures.,,3-solutioning,bgr-3-create-incident-response,,false,bgr_artifacts,resilience testing plan BGreat Suite,bgr-agent-sam-security,Wake Sam (Security Lead),SE,Security Lead for threat modeling compliance mapping security architecture and supply chain security.,,3-solutioning,,,false,, BGreat Suite,bgr-3-create-chaos-gameday-plan,Create Chaos Game Day Plan,CG,Guided workflow to plan chaos engineering game days with hypothesis-driven experiments blast radius controls safety gates and post-game analysis.,,3-solutioning,bgr-3-create-observability,,false,bgr_artifacts,chaos game day plan diff --git a/src/module.yaml b/src/module.yaml index 2551e05d..c747d442 100644 --- a/src/module.yaml +++ b/src/module.yaml @@ -1,8 +1,8 @@ code: bgr name: "BMad BGreat Suite" header: "BGreat Suite — SRE, DevOps & Security for Production Readiness" -subheader: "Configure reliability engineering, observability, infrastructure, security, and CI/CD workflows.\nAdds three specialized agents (Morgan the SRE Lead, Riley the DevOps Lead, Sam the Security Lead), eight guided workflows, and a cross-agent operations review skill." -description: "SRE, DevOps, and Security agents with workflows for observability, incident response, disaster recovery, resilience testing, chaos engineering game days, infrastructure, capacity planning, cost optimization, CI/CD pipeline design, security planning, and cross-agent operations review" +subheader: "Configure reliability engineering, observability, infrastructure, security, and CI/CD workflows.\nAdds three specialized agents (Morgan the SRE Lead, Riley the DevOps Lead, Sam the Security Lead), nine guided workflows, and a cross-agent operations review skill." +description: "SRE, DevOps, and Security agents with workflows for observability, incident response, disaster recovery, resilience testing, chaos engineering game days, infrastructure, capacity planning, cost optimization, CI/CD pipeline design, security planning, release planning, and cross-agent operations review" module_version: 0.1.0 default_selected: false recommendedModules: [bmm] diff --git a/src/workflows/bgr-3-create-release-plan/SKILL.md b/src/workflows/bgr-3-create-release-plan/SKILL.md new file mode 100644 index 00000000..ad952010 --- /dev/null +++ b/src/workflows/bgr-3-create-release-plan/SKILL.md @@ -0,0 +1,13 @@ +# BGreat Suite: Create Release Plan + +This skill helps you create a comprehensive release plan for your project. + +## Activation Phrases + +- "Create a release plan" +- "Help me plan a release" +- "Start a new release plan" + +## Workflow + +This skill follows the workflow defined in `workflow.md`. diff --git a/src/workflows/bgr-3-create-release-plan/bmad-skill-manifest.yaml b/src/workflows/bgr-3-create-release-plan/bmad-skill-manifest.yaml new file mode 100644 index 00000000..d0f08abd --- /dev/null +++ b/src/workflows/bgr-3-create-release-plan/bmad-skill-manifest.yaml @@ -0,0 +1 @@ +type: skill diff --git a/src/workflows/bgr-3-create-release-plan/steps/step-01-init.md b/src/workflows/bgr-3-create-release-plan/steps/step-01-init.md new file mode 100644 index 00000000..394f9860 --- /dev/null +++ b/src/workflows/bgr-3-create-release-plan/steps/step-01-init.md @@ -0,0 +1,36 @@ +# Step 1: Initialize Release Plan + +## MANDATORY EXECUTION RULES + +1. **DO NOT** generate any content for the release plan without direct user input. +2. Read this entire step file before starting. +3. You are a facilitator, not the author. Your role is to guide the user. + +## EXECUTION PROTOCOLS + +1. Create a new release plan document from the `release-plan-template.md`. +2. Discover and list any existing release plans. +3. Ask the user for the release name, version, and planned release date. +4. Update the frontmatter of the release plan with the user's input. +5. Gate the next step until the user confirms. + +## CONTEXT BOUNDARIES + +- **Loaded documents:** None +- **Frontmatter state:** `status: draft`, `stepsCompleted: []` + +--- + +### Task 1: Initialize Release Plan + +I will now create a new release plan for you. + +Please provide the following information: + +- **Release Name:** +- **Release Version:** +- **Planned Release Date:** + +--- + +[C]ontinue / [R]evise diff --git a/src/workflows/bgr-3-create-release-plan/steps/step-01b-continue.md b/src/workflows/bgr-3-create-release-plan/steps/step-01b-continue.md new file mode 100644 index 00000000..bd958ce0 --- /dev/null +++ b/src/workflows/bgr-3-create-release-plan/steps/step-01b-continue.md @@ -0,0 +1,26 @@ +# Step 1b: Continue + +## MANDATORY EXECUTION RULES + +1. **DO NOT** proceed until the user explicitly agrees. +2. If the user wants to revise, loop back to the previous step. + +## EXECUTION PROTOCOLS + +1. Update the `stepsCompleted` frontmatter field to `[1]`. +2. Transition to the next step. + +## CONTEXT BOUNDARIES + +- **Loaded documents:** The newly created release plan. +- **Frontmatter state:** `stepsCompleted: [1]` + +--- + +Thank you. I have initialized the release plan. + +We will now move on to defining the release goals. + +--- + +[C]ontinue diff --git a/src/workflows/bgr-3-create-release-plan/steps/step-02-release-goals.md b/src/workflows/bgr-3-create-release-plan/steps/step-02-release-goals.md new file mode 100644 index 00000000..279501bc --- /dev/null +++ b/src/workflows/bgr-3-create-release-plan/steps/step-02-release-goals.md @@ -0,0 +1,30 @@ +# Step 2: Define Release Goals + +## MANDATORY EXECUTION RULES + +1. **DO NOT** generate any content for the release plan without direct user input. +2. You are a facilitator, not the author. Your role is to guide the user. + +## EXECUTION PROTOCOLS + +1. Ask the user to define the goals for this release. +2. The user should provide a list of goals. +3. Update the "Release Goals" section of the release plan. +4. Gate the next step until the user confirms. + +## CONTEXT BOUNDARIES + +- **Loaded documents:** The release plan. +- **Frontmatter state:** `stepsCompleted: [1]` + +--- + +### Task 2: Define Release Goals + +Please provide the goals for this release. What do you want to achieve with this release? + +Please provide a list of goals. + +--- + +[C]ontinue / [R]evise diff --git a/src/workflows/bgr-3-create-release-plan/steps/step-03-release-scope.md b/src/workflows/bgr-3-create-release-plan/steps/step-03-release-scope.md new file mode 100644 index 00000000..c545c284 --- /dev/null +++ b/src/workflows/bgr-3-create-release-plan/steps/step-03-release-scope.md @@ -0,0 +1,30 @@ +# Step 3: Define Release Scope + +## MANDATORY EXECUTION RULES + +1. **DO NOT** generate any content for the release plan without direct user input. +2. You are a facilitator, not the author. Your role is to guide the user. + +## EXECUTION PROTOCOLS + +1. Ask the user to define the scope for this release. +2. The user should provide a list of features, bug fixes, and improvements. +3. Update the "Release Scope" section of the release plan. +4. Gate the next step until the user confirms. + +## CONTEXT BOUNDARIES + +- **Loaded documents:** The release plan. +- **Frontmatter state:** `stepsCompleted: [1, 2]` + +--- + +### Task 3: Define Release Scope + +Please provide the scope for this release. What features, bug fixes, and improvements will be included in this release? + +Please provide a list of items. + +--- + +[C]ontinue / [R]evise diff --git a/src/workflows/bgr-3-create-release-plan/steps/step-04-release-schedule.md b/src/workflows/bgr-3-create-release-plan/steps/step-04-release-schedule.md new file mode 100644 index 00000000..e10c225d --- /dev/null +++ b/src/workflows/bgr-3-create-release-plan/steps/step-04-release-schedule.md @@ -0,0 +1,30 @@ +# Step 4: Define Release Schedule + +## MANDATORY EXECUTION RULES + +1. **DO NOT** generate any content for the release plan without direct user input. +2. You are a facilitator, not the author. Your role is to guide the user. + +## EXECUTION PROTOCOLS + +1. Ask the user to define the schedule for this release. +2. The user should provide a list of milestones and dates. +3. Update the "Release Schedule" section of the release plan. +4. Gate the next step until the user confirms. + +## CONTEXT BOUNDARIES + +- **Loaded documents:** The release plan. +- **Frontmatter state:** `stepsCompleted: [1, 2, 3]` + +--- + +### Task 4: Define Release Schedule + +Please provide the schedule for this release. What are the key milestones and their dates? + +Please provide a list of milestones and dates. + +--- + +[C]ontinue / [R]evise diff --git a/src/workflows/bgr-3-create-release-plan/steps/step-05-validation.md b/src/workflows/bgr-3-create-release-plan/steps/step-05-validation.md new file mode 100644 index 00000000..fff1010c --- /dev/null +++ b/src/workflows/bgr-3-create-release-plan/steps/step-05-validation.md @@ -0,0 +1,32 @@ +# Step 5: Validate Release Plan + +## MANDATORY EXECUTION RULES + +1. **DO NOT** generate any content for the release plan without direct user input. +2. You are a facilitator, not the author. Your role is to guide the user. + +## EXECUTION PROTOCOLS + +1. Review the release plan with the user. +2. Check for completeness and consistency. +3. Ask the user for final approval. +4. Update the status to `complete` in the frontmatter. + +## CONTEXT BOUNDARIES + +- **Loaded documents:** The release plan. +- **Frontmatter state:** `stepsCompleted: [1, 2, 3, 4]` + +--- + +### Task 5: Validate Release Plan + +I will now review the release plan with you. + +Please check for completeness and consistency. + +Do you approve this release plan? + +--- + +[Approve] diff --git a/src/workflows/bgr-3-create-release-plan/templates/release-plan-template.md b/src/workflows/bgr-3-create-release-plan/templates/release-plan-template.md new file mode 100644 index 00000000..8f6e10f6 --- /dev/null +++ b/src/workflows/bgr-3-create-release-plan/templates/release-plan-template.md @@ -0,0 +1,35 @@ +--- +status: draft +stepsCompleted: [] +createdDate: "" +lastUpdated: "" +inputDocuments: [] +crossWorkflowContext: [] +releaseName: "" +releaseVersion: "" +plannedReleaseDate: "" +--- + +# Release Plan: {{releaseName}} ({{releaseVersion}}) + +## 1. Release Goals + +## 2. Release Scope + +### 2.1. Features + +### 2.2. Bug Fixes + +### 2.3. Improvements + +## 3. Release Schedule + +| Milestone | Date | +|-----------|------| +| | | + +## 4. Approvals + +| Name | Role | Date | +|------|------|------| +| | | | diff --git a/src/workflows/bgr-3-create-release-plan/workflow.md b/src/workflows/bgr-3-create-release-plan/workflow.md new file mode 100644 index 00000000..42a5851e --- /dev/null +++ b/src/workflows/bgr-3-create-release-plan/workflow.md @@ -0,0 +1,17 @@ +# Workflow: Create Release Plan + +## Goal + +The goal of this workflow is to create a comprehensive release plan that ensures a smooth and successful release. + +## Role + +You are a release manager. Your primary responsibility is to guide the user through the process of creating a release plan. + +## Architecture + +This workflow is part of the BMad BGreat Suite. It is a guided, multi-step workflow that builds a release plan document. + +## Activation + +This workflow is activated when the user invokes one of the activation phrases defined in `SKILL.md`.