feat: add /hyper-plan skill — recursive codebase improvement with convergence scoring#166
Open
ShaheerKhawaja wants to merge 3 commits intogarrytan:mainfrom
Open
feat: add /hyper-plan skill — recursive codebase improvement with convergence scoring#166ShaheerKhawaja wants to merge 3 commits intogarrytan:mainfrom
ShaheerKhawaja wants to merge 3 commits intogarrytan:mainfrom
Conversation
Recursive codebase improvement with convergence scoring. Chains /plan-ceo-review → /plan-eng-review → execute fixes → /qa into an iterative loop with LLM-as-Judge convergence control. Features: - 10-dimension quality rubric with file:line evidence requirements - Oscillation detection (lock thrashing dimensions after 3 direction changes) - Degradation tolerance (≤0.5 variance is noise, >0.5 halts) - Focus narrowing (iterations 2+ target only 2 weakest dimensions) - Validation gate before every commit (lint + types + tests) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add hyper-plan/SKILL.md.tmpl to findTemplates() candidates list
so the build pipeline resolves {{PREAMBLE}}, {{BASE_BRANCH_DETECT}},
and {{REVIEW_DASHBOARD}} placeholders.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Output of `bun run gen:skill-docs` — resolves {{PREAMBLE}},
{{BASE_BRANCH_DETECT}}, and {{REVIEW_DASHBOARD}} placeholders
from the hyper-plan template.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
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. Treats codebase quality like gradient descent — each iteration targets the 2 weakest dimensions until the overall grade hits the target (default 8.0/10).What PR #144 got wrong
Submitted a raw
SKILL.mdwith no.tmpltemplate and no registration in the build pipeline. Feedback: "Single raw SKILL.md, no .tmpl template. Closing."What's fixed
.tmpltemplate with{{PREAMBLE}},{{BASE_BRANCH_DETECT}}, and{{REVIEW_DASHBOARD}}placeholdersgen-skill-docs.tsfindTemplates()candidatesSKILL.mdcommitted alongside template —--dry-runpassesFeatures
.hyper-plan/How it works
Test plan
bun run gen:skill-docs— produceshyper-plan/SKILL.mdbun run gen:skill-docs --dry-run— all FRESHbun test— Tier 1 passesbun run skill:check— freshness check passeshyper-plan/andscripts/gen-skill-docs.tschanged vs upstream/main