Plan-review prompt: convergence stop rule, finding-origin telemetry, and fix-verification guards #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/plan-review-convergence"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements the plan-review process changes from allod/memory#9. The 15-pass
allod/nexus-host-key-rotationreview that motivated the issue never converged, increasingly spent passes fixing contradictions earlier passes had introduced, and ran a three-pass self-verified regression chain on one section — all failure modes that trace back to the review-prompt template and the Agent Rotation guidance.Changes
templates/plan-review-prompt.mddev-plans.mdRisk
R1. Documentation and review-process guidance only — no runtime, provisioning, secrets, or generated-artifact behavior changes, and rollback is a straight revert. The residual question for human triage is whether the convergence thresholds ("two consecutive passes") terminate too early on a genuinely churny plan; they are single-line tunables if a real review shows them to be too eager.
Validation
No build or test harness exists in this docs repo. Verified by mapping each of the six issue items to a concrete edit, and by checking cross-file consistency: the template's origin classification feeds the convergence heuristic, and the template's scoped-diff verification pass ties to the fix-stability tracking added under Agent Rotation in
dev-plans.md. Grep confirms no remaining references to the removed zero/zero/zero stop rule.Closes allod/memory#9
Follow-up requested: the review-pass model-selection guidance has no actor while passes are launched manually — the finishing agent cannot pick or start the next pass's model. Tightening it so the handoff is explicit: the finishing pass writes a
Next pass:line into the prompt's Focus Areas (scoped-diff vs full re-review, the commit(s) to scope to, and a model recommendation — not the fix's author, preferably the most fix-stable on record), and dev-plans.md states plainly that these are recommendations for whoever launches the next pass, since the agent cannot select the model itself. Applying as a follow-up commit.