REVIEW.md
Repo-specific guidance for human and automated reviewers of Prefect. Implementation standards
and component contracts belong in the applicable AGENTS.md files; do not duplicate them here.
Review every diff along two independent axes:
Evaluate the axes independently even when the review surface reports findings individually. Inline comments should lead directly with the problem rather than an axis label. Do not let success on one axis hide problems on the other.
Read every AGENTS.md and REVIEW.md whose scope contains a changed file, plus the relevant
contribution guides under docs/contribute/. Follow references to paired implementations,
owning components, architectural boundaries, and other contracts material to the diff. Verify
those contracts against their implementations rather than reasoning from names or mocks alone.
Cite the instruction file and rule for every hard Standards finding. Repository instructions override the following Fowler code-smell baseline, which is always a judgement call:
Skip formatting, lint, and other failures that automated tooling reliably identifies unless they expose a broader behavioral problem.
Find the authoritative specification in this order:
docs/, plans/, or another specification directoryFor each Spec finding, cite the requirement it relies on. Report requirements that are missing or partial, behavior that was not requested, and implementations that appear to satisfy a requirement but do so incorrectly.
If no authoritative specification is available, do not invent one. If the contribution guide requires prior issue discussion for the change and none is linked, report that as a Standards finding. Otherwise, skip the Spec axis; when a summary surface exists, note that it was not evaluated rather than creating an inline finding.