diff --git a/skills/larv-review/SKILL.md b/skills/larv-review/SKILL.md index fba6ccd0..eed5b4a3 100644 --- a/skills/larv-review/SKILL.md +++ b/skills/larv-review/SKILL.md @@ -37,9 +37,9 @@ Follow `~/.claude/CLAUDE.md` โ†’ "Git, commits, and PRs". Never commit to the de A comment is prose, not code. Passes run in this order: line-level polish on code the architect wants restructured, or on a call the security pass will rewrite, is wasted work. A ๐Ÿ”€ escalation runs the named pass once the current pass is done; its fixes re-enter like any other. -**Record, then ask**, for the architecture pass and the full scan: where, before the chunk began, the repo held the decision this change executes โ€” a decision-log entry, or a planning item crediting the pass โ€” the pass is done: cite the record and skip it, the architecture pass's principles audit and scoring run excepted: they run whenever the pass fires, unasked, since no record older than the chunk checked the code it writes. A change that *departs* from the record is unreviewed however thorough the record is. Fired and not skipped โ†’ ask the user with the evidence and your recommendation; no user reachable โ†’ run it. +**Record, then ask**, for the architecture pass and the full scan: where, before the chunk began, the repo held the decision this change executes โ€” a decision-log entry, or a planning item crediting the pass โ€” the pass is done: cite the record and skip it. The architecture pass's principles audit and scoring run are excepted: they run whenever the pass fires, unasked, since no record older than the chunk checked the code it writes. A change that *departs* from the record is unreviewed however thorough the record is. Fired and not skipped โ†’ ask the user with the evidence and your recommendation; no user reachable โ†’ run it. -**Round cap.** A round is one launch of a pass's reviewer, whatever launched it, a rerun after the architect's Stage 0 questions โ€” the goals, audience, scale or domain language it found unrecorded โ€” included. The architecture pass's round is the architect (unless skipped by record), the principles audit and the scoring run, so a fix to any of their findings reruns the whole round; the external auto-reviewer (ยง4) is a pass of its own, each review it posts a round. From round 2, prompt an agent under `~/.claude/agents/` with the previous round's findings verbatim and what changed since. A pass is done on no ๐Ÿ”ด and no ๐ŸŸก, until a re-entry reruns it; the ๐ŸŸข and โ“ left are addressed in the round that finished it โ€” fixed, answered, declined or filed in `todo.md`; a โ“ only the user can answer is asked; no user reachable โ†’ filed. A pass takes at most three rounds per chunk; instead of a fourth, list what is open and ask the user โ€” for the auto-reviewer, before any push that would summon a fourth, fixes waiting unpushed. A yes grants that pass one more round, after which the ask repeats; a no leaves the PR unmerged. +**Round cap.** A round is one launch of a pass's reviewer, whatever launched it, a rerun after the architect's Stage 0 questions โ€” the goals, audience, scale or domain language it found unrecorded โ€” included. The architecture pass's round is the architect (unless skipped), the principles audit and the scoring run, so a fix to any of their findings reruns the whole round; the external auto-reviewer (ยง4) is a pass of its own, each review it posts a round. From round 2, prompt an agent under `~/.claude/agents/` with the previous round's findings verbatim and what changed since. A pass is done on no ๐Ÿ”ด and no ๐ŸŸก, until a re-entry reruns it; the ๐ŸŸข and โ“ left are addressed in the round that finished it โ€” fixed, answered, declined or filed in `todo.md`; a โ“ only the user can answer is asked; no user reachable โ†’ filed. A pass takes at most three rounds per chunk; instead of a fourth, list what is open and ask the user โ€” for the auto-reviewer, before any push that would summon a fourth, fixes waiting unpushed. A yes grants that pass one more round, after which the ask repeats; a no leaves the PR unmerged. **Re-entry.** A fix is a change no pass has seen, a ๐ŸŸข's or โ“'s included. A round's fixes re-enter together: run, in table order, each pass whose trigger they fire and the pass whose ๐Ÿ”ด or ๐ŸŸก they answer, a pass at its cap getting the cap's ask; then ยง4. @@ -89,4 +89,4 @@ Launch prose-reviewer with what the diff touched and every section this review c ## 6. Wrap up -Summarize: PR URL and final state, every reviewer's verdict, rounds per pass, passes skipped, findings fixed vs answered vs declined vs open โ€” each answer with what settles it, each decline with its reason, a ๐ŸŸก's with the goal it rests on โ€” CI status, decisions recorded (file paths), `todo.md`/`CHANGELOG.md` updated, and any ๐Ÿ”€ escalation left for the user. +Summarize: PR URL and final state, every reviewer's verdict, rounds per pass, passes skipped, findings fixed vs answered vs declined vs open โ€” each answer with what settles it, each decline with its reason, a ๐ŸŸก's with the goal or technical principle it rests on โ€” CI status, decisions recorded (file paths), `todo.md`/`CHANGELOG.md` updated, and any ๐Ÿ”€ escalation left for the user. diff --git a/skills/larv-review/review-findings.md b/skills/larv-review/review-findings.md index 6f40e297..ab25e09c 100644 --- a/skills/larv-review/review-findings.md +++ b/skills/larv-review/review-findings.md @@ -6,7 +6,7 @@ A reviewer reads and reports; it edits nothing. Read `docs/decisions.md` and `to ## Severity -- ๐Ÿ”ด **must fix** โ€” a goal, a principle or correctness broken. Fixed, or shown factually wrong, with what disproved it recorded in `docs/decisions.md`, or โ€” outside the chunk โ€” filed in `todo.md`; never declined. +- ๐Ÿ”ด **must fix** โ€” a goal, a principle or correctness broken. Fixed; outside the chunk, filed in `todo.md`; or shown factually wrong, with what disproved it recorded in `docs/decisions.md`. Never declined. - ๐ŸŸก **should fix** โ€” worse than it needs to be. Fixed, declined, or โ€” outside the chunk โ€” filed in `todo.md`. - ๐ŸŸข **nit** โ€” fixed, answered, declined in the summary with its reason, or filed in `todo.md`. - โ“ **question** for the author: a finding you could not confirm goes here, not above. @@ -34,4 +34,4 @@ A review's first line, derived from the findings: ## Declining -A ๐ŸŸก may be declined where the reason is sound, consistent with the goals and the technical principles, and confidence is very high. The decline, its reason and the goal it rests on go to `docs/decisions.md`. A reason no goal speaks to is a gap in the goals: fix the finding, or ask per `~/.claude/CLAUDE.md` โ†’ "Working loop", "Ask, don't guess", which also says where the user's reply to a โ“ lands; no user reachable โ†’ fix. Never a silent drop, and never a decline argued from convenience or the size of the fix. +A ๐ŸŸก may be declined where the reason is sound, consistent with the goals and the technical principles, and confidence is very high. The decline, its reason and the goal or technical principle it rests on go to `docs/decisions.md`. A reason neither speaks to is a gap in the goals: fix the finding, or ask per `~/.claude/CLAUDE.md` โ†’ "Working loop", "Ask, don't guess", which also says where the user's reply to a โ“ lands; no user reachable โ†’ fix. Never a silent drop, and never a decline argued from convenience or the size of the fix.