feat(practical): add build-endpoints-workers on a stock create-hono Workers fixture - #43
Merged
Merged
Conversation
…orkers fixture Every existing fixture has only a typecheck script, so an agent never has a dev server to start; across 100 runs this week none did. On the create-hono Workers template as-is (npm run dev = wrangler dev, no typecheck script, no AGENTS.md) Haiku baseline ran npm run dev on its second command in 5/5 runs and hung until the timeout (0/5), while cli+skill passed 5/5 in about 30 seconds; Sonnet 5 baseline passed 4/5 but spent 6-12 commands per run wrestling wrangler. This is the failure mode the CLI was built for, measured for the first time.
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.
Every existing fixture has only a
typecheckscript, so an agent never has a dev server to start — across 100 runs this week none did, and the failure mode the Hono CLI was built for (startwrangler devin the foreground to verify, never get the shell back) could not appear.This adds
hono-workers, the create-honocloudflare-workerstemplate as-is (npm run dev=wrangler dev, no typecheck script, no AGENTS.md; onlytypescriptadded so the hidden typecheck can run), andbuild-endpoints-workers, the same users CRUD task on it. Measured before merging (n=5): Haiku baseline rannpm run dev & sleep 3as its second command in 5/5 runs and hung until the timeout (0/5), cli+skill 5/5 in 24–37s with no server; Sonnet 5 baseline 4/5 but 6–12 server-wrangling commands per run (port hopping,pkill,nohup), cli+skill 5/5 in 14–28s.Note for local runs: baseline agents may
pkill -f wrangler, which also kills anywrangler devyou have open.pnpm format && pnpm lint:fixto format the code