Skip to content

Start live widget development before the first edit - #69

Merged
SunkenInTime merged 5 commits into
masterfrom
t3code/live-widget-building
Aug 29, 2026
Merged

Start live widget development before the first edit#69
SunkenInTime merged 5 commits into
masterfrom
t3code/live-widget-building

Conversation

@SunkenInTime

@SunkenInTime SunkenInTime commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Start weaver dev before the first widget source edit.
  • Keep the live development session running as continuous authoring feedback.
  • Clarify fallback behavior when the desktop host is unavailable.
  • Use the running widget for live inspection and stop it when authoring is complete.

Testing

  • Not run (documentation-only change).

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

- Keep `weaver dev` running as a continuous authoring surface
- Continue through deterministic capture when the desktop host is unavailable
@greptile-apps

greptile-apps Bot commented Aug 27, 2026

Copy link
Copy Markdown

Greptile Summary

This update changes the Conjure widget-authoring instructions so authors launch the live desktop loop before editing, wait for presentation health before calling it available, and wait for the final reload before stopping it.

The checked behavior prevents three misleading states: a window with no rendered frame is reported as unavailable, a queued final save is drained before shutdown, and a failed rebuild remains visibly out of date until the widget catches up.

T-Rex validation blocked

Service: the native Weaver desktop host is unavailable on Linux. weaver dev and the native runtime build explicitly reject Linux because desktop widgets support Windows and macOS only, so real desktop presentation and native hot-reload could not be exercised in this environment. Configure VMs

Confidence Score: 4/5

The documented live-authoring workflow is safe to merge based on the verified presentation gate, shutdown drain, and stale-build reporting behavior.

Targeted execution covered the rebuild shutdown race, stale-build completion rules, source checks, CLI tests, and TypeScript validation. A native desktop session could not run because this environment lacks a supported desktop-host platform.

Files Needing Attention: No change requires correction. skills/conjure-widget/SKILL.md should receive an end-to-end desktop check on Windows or macOS when such an environment is available.

T-Rex T-Rex Logs

What T-Rex did

  • Attempted the real development command and confirmed Linux refuses desktop-host support; ran the portable host-status test showing a widget without a renderer backend results in a no-frame presentation error; and executed the CLI test suite successfully.
  • Reproduced the queued-save shutdown race and verified that the old bundle remains active until queued work is drained; draining applies the final bundle, and the targeted shutdown/rebuild tests and TypeScript checks pass.
  • Ran direct assertions for failed rebuild reporting and the wait-for-catch-up instruction, ran a reference widget check, rebuild-loop tests, and TypeScript validation, and confirmed Linux cannot start the supported native desktop host or runtime needed for a live-session check.
  • Reviewed the code paths for shutdown, drain, and rebuild, including how successful rebuilds bundle first and signal a manifest restart or await in-place reload, plus Live loop guidance that keeps the loop open until final save reports a successful hot swap; noted Linux host lifecycle rejection and runtime build panics for non-Windows/macOS targets.
  • Collected logs and a stack trace as artifacts to support validation and thorough inspection of the runtime behavior.

View all artifacts

T-Rex Ran code and verified through T-Rex

Reviews (4): Last reviewed commit: "Merge remote-tracking branch 'origin/mas..." | Re-trigger Greptile

Comment thread skills/conjure-widget/SKILL.md Outdated
- Define the Live loop for user-facing desktop feedback
- Define the Render loop for deterministic agent inspection
@SunkenInTime

Copy link
Copy Markdown
Collaborator Author

Addressed the final-edit gap in 7022aa3. After the final save, the Live loop now stays open until the exact hot-swap or window-restart message arrives. OUT OF DATE keeps the step open until weaver dev reports that it caught up. PR #70 also merged the shutdown drain. @greptileai

Comment thread skills/conjure-widget/SKILL.md Outdated
@SunkenInTime

Copy link
Copy Markdown
Collaborator Author

Addressed the presentation-readiness finding in ed120fa. Authoring still resumes at watcher readiness so the user can watch the widget take shape. The skill now observes the following presentation-health interval and reports the live view as available only when no weaver dev ERROR appears. @greptileai

@SunkenInTime

Copy link
Copy Markdown
Collaborator Author

Merged current master into 278e9a3 after PRs #70 and #71 landed. This head now includes Chokidar-backed rebuild draining and authoritative dev-session cleanup, plus the final-save and presentation-health completion criteria in the skill. Please review this exact combined head. @greptileai

@SunkenInTime
SunkenInTime merged commit 1d47896 into master Aug 29, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant