Repository navigation
fix(hooks): the Hot Reload hook says nothing before the app exists - #202
Merged
Merged
Conversation
vatsashah45
added a commit
that referenced
this pull request
Oct 21, 2026
… moves to #202 Co-Authored-By: Claude Fable 5.1 <[email protected]>
With the DevServer CLI present but no app connected yet, `hot-reload-status` answers without a verdict (exit code 0), and the hook fell through to its reminder on every scaffolding edit: 14 to 20 notes a session before the first `uno_app_start`, 4.5k to 8.4k persistent tokens of hook text, and an agent that learned to skim the hook's notes. Now a no-verdict answer prints nothing; the reminder stays for a machine without the CLI. `Test-Hooks.ps1` covers the case. Validated on three catalog sessions (unoplatform/private#1220): zero notes before the first start, hook text in context down to 3.2k–5.3k tokens. Co-Authored-By: Claude Fable 5.1 <[email protected]>
vatsashah45
force-pushed
the
dev/vatsa/hook-silent-before-start
branch
from
October 21, 2026 01:06
197ee23 to
15049e1
Compare
kazo0
approved these changes
Oct 21, 2026
|
Congrats on your first pull-request! We ❤ the people who are involved in this project, and we’d love to pay it forward by sending you some swag. If you have any feedback (or ideas how to improve Uno as a open-source project) please open a feedback issue. |
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.

Split out of #201, which keeps the
uno-testingtext changes.What changed
With the DevServer CLI on the machine but no app connected yet,
uno-devserver app hot-reload-statusanswers without anedit to …verdict and exit code 0, andhot-reload-edit.shfell through to its no-CLI reminder. Every scaffolding edit before the firstuno_app_startgot one: 14 to 20 notes a session on the six catalog sessions of unoplatform/private#1214 and #1215, 32 to 59 hook notes in all, 4.5k to 8.4k tokens of hook text that stay in context for the rest of the session, and an agent that learned to skim what the hook says. Now a no-verdict answer prints nothing. The reminder still fires on a machine without the CLI, where nothing can answer.hooks.json's description says so;Test-Hooks.ps1gets the case.Validated
Three catalog sessions on this change (unoplatform/private#1220): zero hook notes before the first start in each, hook text in context 3.2k to 5.3k tokens.
🤖 Generated with Claude Code