mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-29 05:11:19 -08:00
Add the Review Loop: unattended review-and-fix rounds in the desktop app and in loop phases
AI Assisted
This commit is contained in:
1 parent
d6a28b5dc8
commit
57567d7a0b
71 files changed
+11331
-443
No files matched your search
+9
-2
@@ -8,12 +8,16 @@ All notable changes to Plan2Code will be documented in this file.
|
||||
|
||||
### Highlights
|
||||
|
||||
- Every waiting lesson is graded by a separate check (true, worth keeping, overlap, clear) before the lessons card asks you to approve it.
|
||||
- Tidy up proposes merging, rewording, retiring or moving saved lessons when a file grows crowded.
|
||||
- The desktop app gains a Review Loop: unattended review-and-fix rounds on a finished change, a fresh reviewer every round, until a clean round, the round cap or your stop; Implementation Loop phases can run the same extra rounds.
|
||||
- Every waiting lesson is graded by a separate check (true, worth keeping, overlap, clear) before the lessons card asks you to approve it, and Tidy up proposes merging, rewording, retiring or moving saved lessons when a file grows crowded.
|
||||
- The lessons reader shows how often each lesson was followed, and every skill can now remember what you ask it to.
|
||||
|
||||
### ✨ Added
|
||||
|
||||
- **Desktop app**: a Review Loop card (app only) and setup: review the branch, uncommitted changes or a spec's work, with a round cap (3, up to 6), a commit per round (and an optional commit of your own work first), Suggestions on their own, strength, silence and notifications.
|
||||
- **Desktop app**: round 1 reviews the whole change and each later round only the last round's fixes; the app counts a round clean only with the reviewer's report, tests that ran and passed, and no Critical or Warning, and an agent that cannot start its own reviewer gets a separate reviewer and fixer session.
|
||||
- **Desktop app**: the Review Loop's banner shows a dot per round with its counts, the Suggestions batch and final check by name, Stop after this round, and Stop now with Keep or Discard for the unfinished round.
|
||||
- **Desktop app**: the Review Loop ends on one report (also saved as `REVIEW-LOOP-<date>.md` for a spec's work) listing every finding still open, with Continue one round at a time up to 6, the Suggestions pick, an optional squash of the round commits, PR Prep and Fix what's left by hand.
|
||||
- **Learning**: before the lessons card asks for approval, a fresh read-only helper (or the same agent in a separate step) grades every waiting lesson on four tests; each row shows its Fails and Doubts with reasons, the card says who checked and how long it took, and a suggested wording can be taken with Use this wording.
|
||||
- **Learning**: a Tidy up action (in the banner when lessons near their limit, and in the dashboard's menu) proposes merging, rewording, retiring or moving saved lessons, each graded by the same check before you decide.
|
||||
- **Learning**: the lessons reader shows under each lesson how often it was followed and when last (recorded on this machine only).
|
||||
@@ -21,7 +25,10 @@ All notable changes to Plan2Code will be documented in this file.
|
||||
|
||||
### 🔧 Changed
|
||||
|
||||
- **Implementation Loop**: a new Review rounds per phase setting (default 2): when a phase's own review leaves a Critical or a Warning, fresh reviewers run up to that many more rounds on the phase's diff before it is judged, so existing loops now run these rounds unless it is set to 0.
|
||||
- **Agents**: the agent list marks which agents can start their own subagents (`helpers`), which picks the Review Loop's round shape.
|
||||
- **Learning**: every skill that reads lessons now notes what you ask it to remember (asking why when you gave no reason); the read-only skills' lessons wait for the next lessons card or the dashboard's Review.
|
||||
- **For contributors**: the loop machinery both drivers use moved into `loop_shared/`, with new round, boundary and Review Loop driver tests and console and page suites.
|
||||
- **For contributors**: new lessons script and page tests cover the check, tidy-ups, follow counts and the near-limit nudge.
|
||||
|
||||
## v3.1.5 (2026-11-23)
|
||||
|
||||
Reference in new issue
Block a user