mirror of
https://github.com/penpot/penpot.git
synced 2026-11-26 21:00:32 +00:00
📚 Keep review plans as siblings
Keep later review rounds tied to the original plan and verify code changes, not prior review reports. AI-assisted-by: gpt-6-luna
This commit is contained in:
parent
490995501d
commit
70ca1f8869
@ -23,7 +23,10 @@ stop — this skill needs the build agent to save the plan.
|
||||
in place. Once the plan has been implemented and reviewed (post
|
||||
`@review-code` findings on committed work), write a new derived plan
|
||||
file instead — never rewrite the executed plan. The `planner` skill
|
||||
defines the derived naming (`--review-NN`, `--task-NN`).
|
||||
defines the derived naming (`--review-NN`, `--task-NN`). For another
|
||||
review round on the same implemented work, create the next `--review-NN`
|
||||
sibling from the original plan; never append another review suffix to a
|
||||
review-derived plan.
|
||||
- The user says to apply additional review feedback to a still-unimplemented
|
||||
plan: apply the agreed changes, flip `Status` to `reviewed`, and append one
|
||||
UTC ISO 8601 line to `Review Log`. `review-plan` can also update the plan
|
||||
|
||||
@ -171,16 +171,20 @@ Valid names match:
|
||||
```
|
||||
|
||||
- `review-NN` — a new plan addressing findings of a `review-code` or
|
||||
`review-plan` on already-implemented work. `NN` counts reviews of
|
||||
that parent from `01`. Example: parent
|
||||
`review-plan` on already-implemented work. `NN` counts review rounds of
|
||||
the same implemented work from `01`. Every round is a sibling derived
|
||||
from the original plan, never from a `--review-NN` plan. Example:
|
||||
`2026-09-14-paste-before-init-crash.md` →
|
||||
`2026-09-14-paste-before-init-crash--review-01.md`,
|
||||
then `--review-02.md`.
|
||||
then `2026-09-14-paste-before-init-crash--review-02.md`, not
|
||||
`...--review-01--review-01.md`.
|
||||
- `task-NN-<short-slug>` — sub-plan for task `NN` of a high-level
|
||||
roadmap plan. `NN` is the roadmap task number. Example: parent
|
||||
`2026-09-20-upload-pipeline-roadmap.md` →
|
||||
`2026-09-20-upload-pipeline-roadmap--task-01-chunk-upload.md`.
|
||||
Levels chain: `...--task-02-gc--review-01.md`.
|
||||
Task plans may have a review suffix: `...--task-02-gc--review-01.md`.
|
||||
Further review rounds remain siblings of that first review plan:
|
||||
`...--task-02-gc--review-02.md`.
|
||||
|
||||
Never use `v2`, `final`, `new`, or `fix2` as suffixes. Keep the
|
||||
optional short slug to 3-4 lowercase hyphen-separated words.
|
||||
|
||||
@ -53,6 +53,17 @@ Act as a senior software engineer and perform a thorough code review.
|
||||
- **Stop:** end the review without edits. Any direct correction belongs to
|
||||
a separate task after the review.
|
||||
|
||||
### Do not review a review
|
||||
|
||||
Review code changes, not a review report, findings, or a plan derived from
|
||||
findings. To verify corrections, follow the procedure below and resume the
|
||||
original reviewer against the corrected code and the original findings. If the
|
||||
original reviewer cannot be resumed, delegate verification of those corrections
|
||||
with the original review context; do not start a fresh review of the review
|
||||
report. If the user requests another review round after fixes, review the new
|
||||
code changes and keep any resulting plan as the next sibling review round of
|
||||
the original plan, not as a child of the previous review plan.
|
||||
|
||||
### Follow-up after implementation
|
||||
|
||||
When the user agrees to verify corrections, resume the original reviewer using
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user