@rallycry/conveyor-skills 1.0.26 → 1.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/conveyor-review/SKILL.md +27 -10
package/package.json
CHANGED
|
@@ -34,29 +34,37 @@ Give exactly one accepted verdict on the current review cycle. End the turn afte
|
|
|
34
34
|
plan never named, or a proposed delta that did not land, is a finding. The
|
|
35
35
|
section lists the files as they were at the last `create_pull_request`
|
|
36
36
|
call; when it disagrees with the diff, the diff wins.
|
|
37
|
-
4.
|
|
37
|
+
4. **Use incremental scope only when the session supplies a previous reviewed SHA.**
|
|
38
|
+
Confirm the PR still names the supplied head and session base.
|
|
39
|
+
Fetch that base and compare its SHA with the recorded previous base SHA.
|
|
40
|
+
A changed or unknown base requires the full PR diff. Run
|
|
41
|
+
`git merge-base --is-ancestor <previousReviewedSha> <headSha>`.
|
|
42
|
+
If it succeeds, start with `git diff <previousReviewedSha>..<headSha>`.
|
|
43
|
+
Read prior findings and verify each against the current head.
|
|
44
|
+
Check cross-file callers of touched symbols, even outside the incremental diff.
|
|
45
|
+
If ancestry fails, history is missing, or prior findings are unavailable, read the full PR diff.
|
|
46
|
+
5. For a full review, use the **merge-base** form and **fetch the
|
|
38
47
|
base first** — a pod clones single-branch, so `origin/<base>` does not exist
|
|
39
48
|
until you ask for it and the diff fails or silently compares against nothing:
|
|
40
49
|
|
|
41
50
|
```
|
|
42
|
-
git fetch origin <base> -q && git diff
|
|
51
|
+
git fetch origin <base>:refs/remotes/origin/<base> -q && git diff origin/<base>...<headSha>
|
|
43
52
|
```
|
|
44
53
|
|
|
45
54
|
Two-dot (`git diff <base>..HEAD`) compares against the base TIP, so it
|
|
46
55
|
reports already-merged commits as part of this change and sends you reviewing
|
|
47
56
|
code nobody here wrote.
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
6. **Read the code under review out of the PR's commit, not the working tree:**
|
|
57
|
+
6. **When the diff and the PR disagree, the PR wins.** Fetch the current PR head
|
|
58
|
+
and read its full merge-base diff. Do not replace that diff with only the last commit.
|
|
59
|
+
Your checkout and remote branch tip can both be stale.
|
|
60
|
+
If the PR reports `MERGED` or `CLOSED`, report that state before reviewing its recorded head.
|
|
61
|
+
7. **Read the code under review out of the PR's commit, not the working tree:**
|
|
54
62
|
`git show <sha>:<path>` and `git grep <pattern> <sha>`. Grepping the working
|
|
55
63
|
tree when the PR is based elsewhere returns confident, wrong answers — it has
|
|
56
64
|
produced false review findings.
|
|
57
|
-
|
|
65
|
+
8. Read the surrounding code before judging consistency. A pattern is only a
|
|
58
66
|
pattern if the neighbours share it.
|
|
59
|
-
|
|
67
|
+
9. `mcp__conveyor__get_tag` on the card's tags — a tag's overview and linked
|
|
60
68
|
rules are what "follows existing patterns" actually means in this project.
|
|
61
69
|
|
|
62
70
|
## Review criteria
|
|
@@ -105,6 +113,15 @@ or a moderator settles it. See
|
|
|
105
113
|
> pair does not exist locally and the local pair does not exist in a pod, so
|
|
106
114
|
> reaching for the wrong one fails outright rather than degrading.
|
|
107
115
|
|
|
116
|
+
Record the fetched PR base SHA before reading the diff. Pass it as `reviewedBaseSha` with the verdict when supported.
|
|
117
|
+
If the PR base changes during review, read the full current merge-base diff before submitting.
|
|
118
|
+
Never use a newly fetched base SHA as evidence for a diff you did not read.
|
|
119
|
+
|
|
120
|
+
After a verdict tool succeeds, stop immediately. Put the full summary in the verdict itself.
|
|
121
|
+
Do not post a second summary or take another model turn.
|
|
122
|
+
A failed verdict call remains retryable; it is not a completed review.
|
|
123
|
+
A superseded verdict ends this obsolete session without claiming approval.
|
|
124
|
+
|
|
108
125
|
Every verdict carries a **risk** level, judged by the surface the change
|
|
109
126
|
touches — not by how large the diff is:
|
|
110
127
|
|