summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatt Pocock <bot@x>2026-12-03 11:41:20 +0000
committerMatt Pocock <bot@x>2026-12-03 11:41:20 +0000
commitb1f04a389a401d071f6d4a4f7692f162e9fe51d8 (patch)
tree0a8505b8c9c5bb6a0f59861d57d490de417004a8 /docs
parent793bb190af8077b579b3d0e1b6dcfc5f41c21f6f (diff)
code-review: split big diffs into fat slicescode-review-slices
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/engineering/code-review.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/engineering/code-review.md b/docs/engineering/code-review.md
index 5ffb0d1..a74ee8a 100644
--- a/docs/engineering/code-review.md
+++ b/docs/engineering/code-review.md
@@ -1,6 +1,6 @@
## What it does
-`code-review` reviews the diff between your working tree and a fixed point you name (a commit, a branch, a tag, `main`, `HEAD~5`) along two axes. **Standards** asks whether the code follows how this repo writes code. **Spec** asks whether the code does what the originating issue or [spec](https://www.aihero.dev/ai-coding-dictionary/spec) asked for. Each axis runs in its own [sub-agent](https://www.aihero.dev/ai-coding-dictionary/subagent) so neither sees the other's reasoning.
+`code-review` reviews the diff between your working tree and a fixed point you name (a commit, a branch, a tag, `main`, `HEAD~5`) along two axes. **Standards** asks whether the code follows how this repo writes code. **Spec** asks whether the code does what the originating issue or [spec](https://www.aihero.dev/ai-coding-dictionary/spec) asked for. Each axis runs in its own [sub-agent](https://www.aihero.dev/ai-coding-dictionary/subagent) so neither sees the other's reasoning. A diff too big for one sub-agent's [smart zone](https://www.aihero.dev/ai-coding-dictionary/smart-zone) is split between several: Standards by file, and Spec by functionality.
The skill never merges or re-ranks the two axes. The report ends with a worst issue *per axis* and declines to name a single winner across them. A change can pass one axis and fail the other. Code that follows every convention but implements the wrong thing passes Standards and fails Spec. Code that does exactly what the [ticket](https://www.aihero.dev/ai-coding-dictionary/ticket) asked but breaks the repo's conventions does the reverse. A blended verdict lets the passing axis hide the failing one.