BE hyperstack: add optimizer plugin + skill (teaches runtime analysis + algorithm derivation)#113
Merged
Conversation
…sis + algorithm derivation, catalog confirms technique, websearch the impl
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.
Adds the optimizer - hyperstack's missing quality axis. Code today is made current, correct, designed, and minimal; nothing made it algorithmically sound. This closes that, the hyperstack way: evidence over vibes, lens not gate.
What it is (and is NOT)
It does not ship a library of algorithm implementations - models already know BFS, and algorithms are stable (unlike framework APIs). Instead:
optimizerskilloptimizer_*plugin (5 tools)The skill is the thinking; the plugin confirms the named technique and points at the impl to web-search. Gated by YAGNI - it stays quiet when a naive loop over 10 items is correctly the lazy-right answer.
The derivation loop (the teaching)
Files / wiring
src/plugins/optimizer/{data.ts, index.ts, tools/*}(13th plugin)skills/optimizer/SKILL.md(teaches analysis + playbook)src/index.ts, bootstrap Layer-1 + Support-Skills, audit manifest (editorial), registry test 12->13Verification
bun test47/0 (registry now 13, audit coverage + skills-index include optimizer) ·bun run buildclean ·bun run auditclean (optimizer = editorial) · 5 tools register andmatch_problemreturns the menu.Honest notes: (1) the matcher is substring-based, so it over-returns candidates (e.g. "unsorted" trips "sorted") - acceptable for a recall aid, worth tightening later. (2) No version/count bump here - that rides the next release (1.2.0), same as how 1.1.0 was cut.