Flagship · Built and rolled out
Two-agent bug & RCA workflow with human gates
A Bug agent and a Dev agent share one workflow in Cursor, each with its own system prompt and phase checklist. The Bug agent investigates an Azure DevOps work item through MCP tools, and every claim it makes points to a ticket, a query row or a file. Once a person accepts the explanation, it saves its findings on the work item, where the Dev agent picks them up and builds the fix on a local branch. I then coached the team to make it part of how they work every day.
- 1
Investigate
Bug agent reads the work item, runs read-only Oracle queries and traces the code
- 2
Explain
Root cause, with every claim cited to a ticket, query row or file
- 3
AcceptHuman
A person accepts the explanation before anything changes
- 4
Build
Dev agent reads the saved findings and implements on a local branch
- 5
ApproveHuman
A person accepts the plan; it commits only when asked
- Stack
- Cursor
- MCP
- Azure DevOps
- Oracle (read-only)
- Git
- Guardrails
- Read-only SQL
- No secrets
- Never pushes
- Commits only when asked
