- All playbooks
- Have an agent investigate every new issue before a person does
Have an agent investigate every new issue before a person does
Post a diagnosis with evidence, assumptions and reproduction results on each new issue.
How Mastra used this technique
Read what Mastra changed and follow the original sources.
Have an agent investigate every new issue before a person does
Translated to GitHub Actions
- What Mastra built
- Mastra Factory produces an investigation for each new issue: a diagnosis, supporting evidence, assumptions and reproduction results.
- Your GitHub Actions version
- An agent that investigates every new issue and posts a diagnosis, evidence, assumptions and reproduction results before a person looks.
Mastra's earlier intake bot supplied labels and a welcome comment. Factory produces an investigation the next person can use: a diagnosis, supporting evidence, assumptions and reproduction results. Its A2A investigation documented six failing reproduction assertions and identified the server integration as the owner. Mastra credits observational memory, which compresses file contents, searches and test output into a line-by-line log of the important items.
its A2A investigation documented six failing reproduction assertions and identified the server integration as the owner Source
- Use it when
- Many new issues are too vague to reproduce or come from setup mistakes, and each takes a person's time to sort.
- Before applying it
- Review the investigation's assumptions before planning starts, since an incorrect assumption upstream carries into every later stage.
- GitHub Actions adaptation
- Compare the source system with your own workflow before applying this translation.
Company Playbooks
- Read Anthropic’s playbookRun only affected tests
- Read DoorDash’s playbookRun build and test in parallel, sharded across CI agents
- Read Linear’s playbookBenchmark the same job on faster hardware
- Read Mastra’s playbookStarSling runners for the slowest test workflow
- Read OpenAI’s playbookRank CI fixes by the minutes they save
- Read Ramp’s playbookMove a CPU-bound test suite to a faster CPU
- Read Shopify’s playbookLet an agent iterate against one CI metric
- Read Spotify’s playbookBuild arm64 on native arm64 runners
- Read Stripe’s playbookRun only the tests a change can reach
- Read Uber’s playbookBuild the merge-queue speculations most likely to be needed