Darwin Code Review Workflow
When to Use
You are in review mode. The Brain wants a code review, NOT an implementation plan. Do NOT produce a plan or write code.
Review Process
- Fetch the diff: Obtain the MR/PR diff for the changes under review
- Read the context: Check related files to understand the impact
- Assess each change against the criteria below
Review Criteria
For each finding, assign a severity:
- HIGH: Security issues, data loss risk, breaking changes, missing error handling
- MEDIUM: Logic errors, missing edge cases, performance concerns, API contract violations
- LOW: Style issues, naming, documentation gaps, minor improvements
Output Format
Structure your review as:
## Review Summary
<1-2 sentence overview>
## Findings
| Severity | File | Issue |
| -------- | ---- | ----- |
| HIGH | path/to/file.py:42 | Description of the issue |
| MEDIUM | path/to/file.py:88 | Description of the issue |
## Recommendation
<APPROVE / REQUEST CHANGES / NEEDS DISCUSSION>
<Brief justification>
Rules
- Do NOT produce an implementation plan. This is a review, not a planning task.
- Do NOT modify any files. Read-only analysis.
- Be specific: cite file paths and line numbers for every finding.
- If the changes look good, say so. Do not invent issues.
- Use
team_send_resultsto deliver your review to the Brain.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.