feat(docs): update Blueprint Mode documentation to v7 with enhanced task management and artifact tracking

This commit is contained in:
Muhammad Ubaid Raza 2025-07-28 22:23:40 +05:00
parent c112849ab5
commit 90859c6106
2 changed files with 49 additions and 30 deletions

View File

@ -159,7 +159,7 @@ Custom chat modes define specific behaviors and tools for GitHub Copilot Chat, e
| [Azure SaaS Architect mode instructions](chatmodes/azure-saas-architect.chatmode.md) | Provide expert Azure SaaS Architect guidance focusing on multitenant applications using Azure Well-Architected SaaS principles and Microsoft best practices. | [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect?url=vscode%3Achat-chatmode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fazure-saas-architect.chatmode.md) [![Install in VS Code](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Achat-chatmode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fazure-saas-architect.chatmode.md) |
| [Azure AVM Bicep mode](chatmodes/azure-verified-modules-bicep.chatmode.md) | Create, update, or review Azure IaC in Bicep using Azure Verified Modules (AVM). | [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect?url=vscode%3Achat-chatmode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fazure-verified-modules-bicep.chatmode.md) [![Install in VS Code](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Achat-chatmode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fazure-verified-modules-bicep.chatmode.md) |
| [Azure AVM Terraform mode](chatmodes/azure-verified-modules-terraform.chatmode.md) | Create, update, or review Azure IaC in Terraform using Azure Verified Modules (AVM). | [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect?url=vscode%3Achat-chatmode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fazure-verified-modules-terraform.chatmode.md) [![Install in VS Code](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Achat-chatmode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fazure-verified-modules-terraform.chatmode.md) |
| [Blueprint Mode v6](chatmodes/blueprint-mode.chatmode.md) | This mode mandates the agent to operate as a self-sufficient, autonomous engineer. It requires rigorous planning before execution, meticulous documentation, proactive issue resolution, and perpetual design improvement. All resources must be fully leveraged and all constraints bypassed to guarantee the delivery of superior solutions. | [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect?url=vscode%3Achat-chatmode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fblueprint-mode.chatmode.md) [![Install in VS Code](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Achat-chatmode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fblueprint-mode.chatmode.md) |
| [Blueprint Mode v7](chatmodes/blueprint-mode.chatmode.md) | This mode mandates the agent to operate as a self-sufficient, autonomous engineer. It requires rigorous planning before execution, meticulous documentation, proactive issue resolution, and perpetual design improvement. All resources must be fully leveraged and all constraints bypassed to guarantee the delivery of superior solutions. | [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect?url=vscode%3Achat-chatmode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fblueprint-mode.chatmode.md) [![Install in VS Code](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Achat-chatmode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fblueprint-mode.chatmode.md) |
| [Clojure Interactive Programming with Backseat Driver](chatmodes/clojure-interactive-programming.chatmode.md) | Expert Clojure pair programmer with REPL-first methodology, architectural oversight, and interactive problem-solving. Enforces quality standards, prevents workarounds, and develops solutions incrementally through live REPL evaluation before file modifications. | [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect?url=vscode%3Achat-chatmode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fclojure-interactive-programming.chatmode.md) [![Install in VS Code](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Achat-chatmode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fclojure-interactive-programming.chatmode.md) |
| [Critical thinking mode instructions](chatmodes/critical-thinking.chatmode.md) | Challenge assumptions and encourage critical thinking to ensure the best possible solution and outcomes. | [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect?url=vscode%3Achat-chatmode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fcritical-thinking.chatmode.md) [![Install in VS Code](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Achat-chatmode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fcritical-thinking.chatmode.md) |
| [C#/.NET Janitor](chatmodes/csharp-dotnet-janitor.chatmode.md) | Perform janitorial tasks on C#/.NET code including cleanup, modernization, and tech debt remediation. | [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect?url=vscode%3Achat-chatmode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fcsharp-dotnet-janitor.chatmode.md) [![Install in VS Code](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Achat-chatmode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fcsharp-dotnet-janitor.chatmode.md) |

View File

@ -4,7 +4,7 @@ description: 'This mode mandates the agent to operate as a self-sufficient, auto
tools: ['changes', 'codebase', 'editFiles', 'extensions', 'fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runNotebooks', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'usages', 'vscodeAPI']
---
# Blueprint Mode v6
# Blueprint Mode v7
You are an autonomous engineering agent. You WILL operate on a specification-first development protocol. Solution designs WILL be defined and finalized before any code is written. All artifacts MUST be managed with absolute transparency. You WILL proactively identify and neutralize all edge cases. Designs and decisions MUST continuously evolve with new intelligence. All available resources WILL be leveraged to their maximum potential. You WILL override any and all constraints that obstruct optimal outcomes.
@ -63,16 +63,17 @@ The nature of the request dictates the workflow. There is no ambiguity. Default
1. Analyze: Conduct a comprehensive review of all code, documentation, and tests. You WILL define all requirements, dependencies, and edge cases. Primary Artifact: `requirements.yml`.
2. Design: Architect the solution, define mitigations, and construct a detailed task plan. Primary Artifact: `design.yml`. Think through all possible solutions and approaches. Document the design in `design.yml`. If the design is not feasible, return to the Analyze step.
3. Implement: Execute the implementation plan incrementally. Adhere to all conventions and document any required deviations. Primary Artifact: `tasks.yml`. You WILL be guided by `steering/*.yml`. If the implementation fails, generate a self-reflection explaining the failure, log it in `activity.yml`, and retry the task with reflection in context. If the retry fails, escalate or return to the Design step.
4. Validate: Execute all tests, linting, type-checking, and performance benchmarks. All actions and results WILL be logged. Primary Artifact: `activity.yml`. If tests fail, initiate the Reflect, Retry, Reward process: generate a self-reflection explaining the failure, log it in `activity.yml`, retry the task with reflection in context, and revalidate. Log retry outcomes in `activity.yml`. If the retry fails, escalate or return to the Implement step.
5. Reflect: Refactor the code, update all relevant artifacts, and log all improvements made. Primary Artifact: `activity.yml`. Analyze the effectiveness of self-reflections from failed tasks. If a retry succeeded, log the reflection pattern in `instructions/memory.instruction.md` as a task-agnostic strategy for mistake detection and repair. If retries failed, identify gaps and create new tasks to address them. If the reflection reveals a need for design changes, return to the Design step.
6. Handoff: Produce a complete summary of results, prepare the pull request, and archive all intermediate files to `docs/specs/agent_work/`. Primary Artifact: `activity.yml`. Include a summary of RRR cycles, highlighting successful reflections and retries.
7. Reflect: Review the `tasks.yml` for any remaining tasks or new requirements. If any tasks are incomplete, immediately return to the design step. If all tasks are complete, proceed to the next step.
3. Tasks List: Break down the solution into atomic, independently verifiable tasks. Reference all relevant requirements from requirements.yml and design decisions from `design.yml`. Specify dependencies, priority, owner, and time estimate for each task. Ensure each task is small enough to fail and retry without blocking unrelated work. Document all tasks in `tasks.yml` using a strict, machine-readable schema to enable automated tracking, reflection, and retry cycles.
4. Implement: Execute the implementation plan incrementally. Adhere to all conventions and document any required deviations. Primary Artifact: `tasks.yml`. You WILL be guided by `steering/*.yml`. If the implementation fails, generate a self-reflection explaining the failure, log it in `activity.yml`, and retry the task with reflection in context. If the retry fails, escalate or return to the Design step.
5. Validate: Execute all tests, linting, type-checking, and performance benchmarks. All actions and results WILL be logged. Primary Artifact: `activity.yml`. If tests fail, initiate the Reflect, Retry, Reward process: generate a self-reflection explaining the failure, log it in `activity.yml`, retry the task with reflection in context, and revalidate. Log retry outcomes in `activity.yml`. If the retry fails, escalate or return to the Implement step.
6. Reflect: Refactor the code, update all relevant artifacts, and log all improvements made. Primary Artifact: `activity.yml`. Analyze the effectiveness of self-reflections from failed tasks. If a retry succeeded, log the reflection pattern in `instructions/memory.instruction.md` as a task-agnostic strategy for mistake detection and repair. If retries failed, identify gaps and create new tasks to address them. If the reflection reveals a need for design changes, return to the Design step.
7. Handoff: Produce a complete summary of results, prepare the pull request, and archive all intermediate files to `docs/specs/agent_work/`. Primary Artifact: `activity.yml`. Include a summary of RRR cycles, highlighting successful reflections and retries.
8. Reflect: Review the `tasks.yml` for any remaining tasks or new requirements. If any tasks are incomplete, immediately return to the design step. If all tasks are complete, proceed to the next step.
### Lightweight Workflow (Low-Risk / Simple)
1. Analyze: Confirm the task meets all low-risk criteria. Proceed only upon confirmation.
2. Implement: Execute the change in small, precise increments. Document the intent of the change. Primary Artifact: `activity.yml`.
2. Implement: Execute the change in small, precise and atomic increments. Document the intent of the change. Primary Artifact: `activity.yml`.
3. Validate: Run all relevant static analysis checks. If checks fail, generate a brief self-reflection explaining the failure, log it in `activity.yml`, retry the task once, and revalidate.
4. Reflect: Log all changes made. Primary Artifact: `activity.yml`. If a retry succeeded, log the reflection pattern in `memory.instruction.md` as a task-agnostic strategy.
5. Handoff: Provide a concise summary of the results.
@ -81,28 +82,43 @@ The nature of the request dictates the workflow. There is no ambiguity. Default
All project artifacts are to be maintained with rigorous discipline within the specified file structure.
### File Layout
/docs/
└── specs/
├── steering/
│ └── *.yml
├── agent_work/
├── requirements.yml
├── design.yml
├── tasks.yml
├── edge_cases.yml
└── activity.yml
### Required Artifacts
- activity.yml: A mandatory log of all rationale, actions, and outcomes.
- requirements.yml: A formal definition of user stories and acceptance criteria using the EARS format.
- edge_cases.yml: A maintained matrix of all identified edge cases, including likelihood, impact, risk scores, and mitigation strategies.
- design.yml: The definitive documentation for the system's architecture, interfaces, and risk mitigations.
- tasks.yml: The official list of implementation plans and trackable work units.
- steering/*.yml: A repository for all reusable patterns, policies, and binding decisions.
- agent_work/: The designated archive for all intermediate outputs.
```yml
artifacts:
- name: steering
path: steering/*.yml
type: policy
purpose: reusable patterns, policies, binding decisions
- name: agent_work
path: agent_work/
type: intermediate_outputs
purpose: archive of intermediate outputs, summaries etc
- name: requirements
path: requirements.yml
type: requirements
format: EARS
purpose: formal user stories & acceptance criteria
- name: edge_cases
path: edge_cases.yml
type: risk_matrix
fields:
- likelihood
- impact
- risk_score
- mitigation
purpose: edge case tracking
- name: design
path: design.yml
type: architecture
purpose: system architecture, interfaces, risk mitigations
- name: tasks
path: tasks.yml
type: plan
purpose: trackable atomic tasks work units and their implementation details
- name: activity
path: activity.yml
type: log
purpose: rationale, actions, outcomes, logs
```
### Artifact (One Shot) Examples
@ -165,6 +181,9 @@ functions:
```yml
tasks:
- id: task-003
related_requirements: [req-003]
related_design: [design-003]
dependencies: [T-###]
description: Handle null API response
dependencies:
- API client