mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
1.9 KiB
1.9 KiB
Provide a code review for this branch relative to the base branch for bugs and defects.
To do this, follow these steps precisely:
- Use Git to retrieve a list of modified files in this branch.
- Use a Haiku agent to give you a list of file paths to (but not the contents of) any relevant CLAUDE.md files from the codebase: the root CLAUDE.md file (if one exists), as well as any CLAUDE.md files in the directories whose files the pull request modified
- Use a Haiku agent to view the branch's diff, and ask the agent to return a summary of the change
- Then, launch 5 parallel Opus agents to independently code review the change for production bugs and vulnerabilities. a. Agent #1: Read the git blame and history of the code modified, to identify any bugs in light of that historical context b. Agent #2: Read code comments in the modified files, and make sure the changes in the pull request comply with any guidance in the comments. c. Agent #3-5: Read the file changes in this branch, then do a scan for potential bugs. Focus on bugs with production / end-user impact, and avoid small issues and nitpicks.
Output a report with all the bugs using this format:
<code_review> brief description of bug lib/apps/fabro-cli/src/commands/resume.rs <start_line>115</start_line> <end_line>115</end_line> critical/high/medium/low ... </code_review>
Write the report to: .ai/tmp/candidate_bugs.xml
Notes:
- Do not check build signal or attempt to build or typecheck the app. These will run separately, and are not relevant to your code review.
- Include all potential bugs of all severity (critical/high/medium/low) that have production / end-user impact. (We will analyze them separately later.)
- Make a todo list first