feat: add /hyper-plan — recursive codebase improvement with convergence scoring#144
Closed
ShaheerKhawaja wants to merge 1 commit into
Closed
feat: add /hyper-plan — recursive codebase improvement with convergence scoring#144ShaheerKhawaja wants to merge 1 commit into
ShaheerKhawaja wants to merge 1 commit into
Conversation
…ce scoring Adds a new skill that chains /plan-ceo-review → /plan-eng-review → execute fixes → /qa into an iterative loop with LLM-as-Judge convergence control. The problem: individual review passes find issues but don't close the loop. Findings aren't tracked across iterations, there's no convergence criteria, and fixed code doesn't get re-reviewed. /hyper-plan treats quality like gradient descent — each iteration moves toward a target grade, focused tighter each round on the weakest dimensions. How it works: - Iteration 1 runs full CEO + Eng review, fixes P0/P1 findings, runs QA, then scores 10 quality dimensions (Code Quality, Security, Performance, UX, Tests, A11y, Docs, Error Handling, Observability, Deploy Safety) - Iterations 2-7 focus on only the 2 lowest-scoring dimensions from the previous round - Stops on: SUCCESS (grade >= target), CONVERGED (delta < 0.2 twice), DEGRADED (any dimension decreased), or MAX_REACHED (7 iterations) - Judge reads actual source code with file:line evidence — no self-reporting from fixers - Every fix batch passes a validation gate (lint + types + tests) before committing - All artifacts saved to .hyper-plan/ for auditability Follows the Completeness Principle — when fixing an issue, fix it completely.
Owner
|
Single raw SKILL.md, no .tmpl template. Closing. |
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this does
Adds
/hyper-plan— a new skill that chains/plan-ceo-review→/plan-eng-review→ execute fixes →/qainto an iterative loop with LLM-as-Judge convergence control.The problem
Individual
/plan-ceo-reviewand/plan-eng-reviewpasses find issues but don't close the loop. After a review, you manually decide what to fix, fix it, and hope you didn't break something else. There's no convergence criteria, no regression detection, and findings aren't tracked across iterations.How /hyper-plan solves it
It treats codebase quality like gradient descent — each iteration moves toward a target grade, focused tighter each round on the weakest dimensions.
Iteration 1 runs full CEO + Engineering review, compiles findings into P0-P3, executes P0/P1 fixes with parallel agents, runs
/qadiff-aware to verify, then scores 10 quality dimensions (1-10 each):Iterations 2-7 focus on ONLY the 2 lowest-scoring dimensions from the previous round. This focus narrowing is how convergence happens — reviewing everything every round causes thrashing.
Convergence rules:
Key design decisions:
.hyper-plan/for auditability/plan-ceo-review,/plan-eng-review, or/qaExample convergence
Files changed
hyper-plan/SKILL.md— new skill (154 lines)Test plan
/hyper-planon a sample project, verify it chains the 3 review skills.hyper-plan/output files are created after each iteration