Skip to content

feat: add hyper-plan recursive improvement mode - #143

Closed
ShaheerKhawaja wants to merge 1 commit into
garrytan:mainfrom
ShaheerKhawaja:feat/hyper-plan-mode
Closed

ShaheerKhawaja wants to merge 1 commit into
garrytan:mainfrom
ShaheerKhawaja:feat/hyper-plan-mode

Conversation

@ShaheerKhawaja

Copy link
Copy Markdown

Summary

  • Adds /hyper-plan — a recursive improvement skill that chains /plan-ceo-review → /plan-eng-review → /qa in an iterative loop with LLM-as-Judge scoring
  • Runs up to 7 iterations, focusing on the 2 weakest dimensions each round
  • Stops when target grade reached (default 8.0/10), improvement converges, or any dimension degrades
  • Scores across 10 dimensions: Code Quality, Security, Performance, UX/UI, Tests, Accessibility, Docs, Error Handling, Observability, Deploy Safety

Motivation

Individual /plan-ceo-review and /plan-eng-review passes find issues but don't close the loop — findings aren't tracked across iterations and there's no convergence criteria. /hyper-plan bridges planning → execution → QA into a recursive loop that systematically raises codebase quality.

How It Works

/plan-ceo-review (HOLD SCOPE) → /plan-eng-review → Execute P0/P1 fixes → /qa → Judge → Converge?
     ↑                                                                                    │
     └────────────── focus on 2 weakest dimensions ──────────────────────────────────────←─┘

Test plan

  • Run /hyper-plan on a sample project, verify it chains the 3 skills
  • Verify convergence stops when grade >= target
  • Verify HALT triggers when any dimension decreases
  • Verify .hyper-plan/ output files are created

Inspired by productupgrade.

🤖 Generated with Claude Code

New skill that chains /plan-ceo-review → /plan-eng-review → /qa in a
recursive loop with LLM-as-Judge scoring and convergence control.

Runs up to 7 iterations, focusing on the 2 weakest dimensions each
round. Stops when target grade (default 8.0/10) is reached, improvement
converges (< 0.2 delta), or any dimension degrades.

Scores across 10 dimensions: Code Quality, Security, Performance,
UX/UI, Tests, Accessibility, Docs, Error Handling, Observability,
and Deployment Safety.

Usage: /hyper-plan [target-grade]

Inspired by productupgrade (github.com/ShaheerKhawaja/productupgrade).

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant