com um clique
com um clique
Top-level workflow controller that manages phase transitions.
Perform systematic root cause analysis to identify the underlying issue causing a bug
Create comprehensive documentation for a bug fix including issue updates, release notes, and team communication
Implement a bug fix based on root cause analysis, following project best practices
Create a pull request from the current branch. Use this instead of running gh pr create directly — it detects GitHub App vs user auth, finds or creates forks, syncs workflow files, detects the upstream default branch, and falls back to compare URLs when API access is limited.
Systematically reproduce a reported bug and document its observable behavior
| name | assess |
| description | Understand the bug report and propose a plan before taking action. |
You are reviewing a bug report to build a shared understanding with the user before any work begins. This is the first phase of the bugfix workflow. Your job is to read, think, and explain — not to start fixing anything.
Read the bug report (issue, description, conversation context) and present your understanding back to the user. Identify gaps. Propose a plan. Let the user correct you before you invest effort in the wrong direction.
Collect all available information about the bug:
gh issue view NUMBER --repo OWNER/REPO --json title,body,labels,comments,state
Check if the project repository is already accessible:
# Check common locations
ls /workspace/repos/ 2>/dev/null
ls /workspace/artifacts/ 2>/dev/null
add_dirs), note its pathgh repo clone OWNER/REPO /workspace/repos/REPO
This is read-only exploration — understand the code, don't change it.
Before investing effort, check whether this bug is already being addressed:
gh issue view NUMBER --repo OWNER/REPO --json body,comments --jq '[.body, .comments[].body] | join("\n")' | grep -i "pull\|PR\|#"
gh pr list --repo OWNER/REPO --state open --limit 30 --json number,title,headRefName --jq '.[] | "\(.number)\t\(.title)"'
Skim the titles for anything related to the bug's component, error, or symptoms. If a PR looks relevant, read its description before proceeding.
gh issue list --repo OWNER/REPO --state open --limit 30 --json number,title --jq '.[] | "\(.number)\t\(.title)"'
If you find an open PR that appears to directly address this bug, stop here
and use AskUserQuestion before continuing the assessment. Present the
options:
This gate applies in both normal and speedrun mode. Do not continue to Step 4
until the user responds. The AskUserQuestion tool triggers platform
notifications so the user knows you need their input.
If duplicate or related issues are found (but no PR), note them in the assessment and continue — these inform the assessment but don't block it.
If no existing work is found, note that and continue.
Present a clear, concise summary to the user covering:
Be explicit about gaps:
Based on your understanding, outline how you would approach reproduction:
If the bug seems straightforward, the plan can be brief. If it's complex or ambiguous, be thorough.
Deliver your assessment in this structure:
## Bug Assessment
**Issue:** [title or one-line summary]
**Source:** [issue URL, conversation, etc.]
### Existing Work
[Any related PRs, duplicate issues, or prior attempts — or "None found"]
### Understanding
[Your 2-3 sentence summary of the bug]
### Available Information
- [What you know]
### Gaps
- [What's missing or unclear]
### Assumptions
- [Any assumptions you're making]
### Proposed Reproduction Plan
1. [Step one]
2. [Step two]
3. ...
### Questions
- [Anything you'd like the user to clarify before proceeding]
Be direct. If the bug report is clear and complete, say so. If it's vague or missing critical details, say that too.
If the bug doesn't actually apply, say so clearly and present options:
Do not proceed to fix something you've concluded isn't broken. Present your finding and let the user decide.
Save your assessment to artifacts/bugfix/reports/assessment.md so that
subsequent phases (and speedrun resumption) can detect that this phase is
complete. The file should contain the same content you presented to the user
in Step 7.
artifacts/bugfix/reports/assessment.mdReport your assessment: