Start live widget development before the first edit - #69
Conversation
- Keep `weaver dev` running as a continuous authoring surface - Continue through deterministic capture when the desktop host is unavailable
Greptile SummaryThis change makes The revised workflow can leave the live widget on an older revision: it tells authors not to wait for a rebuild, then permits stopping Overlapping rebuilds were verified to retain the latest revision. Development registry cleanup restores an installed widget when appropriate, and the reload client accepts only valid loopback TCP ports. Merge safety: do not merge until the final-edit deployment gap is addressed in the workflow guidance or in Confidence Score: 4/5The workflow is not safe to merge as written because it can report a stale live widget after the final source edit. The final-save failure was reproduced through an executed ordering assertion against the production debounce and shutdown path, with focused reload integration coverage also passing. Focused execution verified overlapping rebuild retention, reload-port validation, and portable regression coverage. Native desktop rendering could not be observed because the available Linux environment does not support Weaver's desktop host. Files Needing Attention: skills/conjure-widget/SKILL.md needs final-rebuild guidance. Alternatively, cli/src/index.ts can make shutdown drain and await pending rebuild work before unregistering the development widget.
What T-Rex did
|
| 3. Before the first source edit, start | ||
| `npx --no-install weaver dev <path>` in a long-lived background session and | ||
| keep its output available while authoring. Continue working once the watcher | ||
| has launched; never pause between edits to wait for presentation. Treat build |
There was a problem hiding this comment.
Final edit can be dropped before hot swap
The workflow tells authors not to wait for presentation between edits and permits stopping weaver dev after authoring. A final save followed by shutdown within the watcher's 100 ms debounce is canceled before bundleWidget and signalDevReload run, leaving the desktop widget on its prior revision. Require the final successful rebuild or hot-swap message before live inspection, reporting, or stopping the session, or make shutdown flush and await pending work.
- Define the Live loop for user-facing desktop feedback - Define the Render loop for deterministic agent inspection
Summary
weaver devbefore the first widget source edit.Testing
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.