#57: Show agent control-plane state on project status cards - #58
Merged
Conversation
added 3 commits
August 18, 2026 10:16
Expose busy/idle, build suppression, queued edits, and ship-check phases through ProjectHealthSnapshot so the status panel, tray, and diagnostics share one source of truth. Refresh health immediately on session and ship-check transitions.
Agents can mark idle, pause the watch host, run an explicit build, and resume watch without ship-check tests. Status cards show rebuild phases and results.
Normal flow remains busy → edits → idle → ship-check. Document /run/rebuild only for locked output or clean-build recovery.
Unthred
force-pushed
the
feature/57-control-plane-status-visibility
branch
from
August 18, 2026 09:17
403cf46 to
a778ef4
Compare
added 4 commits
August 18, 2026 14:35
Extend busy while files keep arriving so a 120s timer does not resume auto-build mid-edit. Status and GET /session now show whether idle came from the agent or timeout. Agents can run tests (optional filter) without a full ship-check.
git status --porcelain is empty when clean; calling Trim() on that null crashed the script before publish.
Add goals-to-endpoints mapping, cost-aware workflows, test filter examples, and anti-patterns to control-plane docs; mirror condensed guidance in the installed agent skill.
Centralize user-facing URL selection in LocalPortProbe.ResolveCanonicalUserFacingUrl so status panel text, hyperlink target, and notifications all use the same https://localhost canonical URL when the launch profile provides it. Prefer HTTPS localhost when multiple profile/probe endpoints are open; map runtime 127.0.0.1 to matching profile localhost hostname. Also: POST /run/stop, launch-profile on dotnet run, agent workflow panel in Build diagnostics, control-plane event journal.
6 tasks
9 tasks
Per-project mode with BuildTriggerPolicy, GET/POST /mode, status MODE row, and agent skill so file changes never auto-schedule builds in AI Controlled.
added 7 commits
August 20, 2026 09:16
Wait for the preferred launch-profile scheme before locking onto the first open port, and add a per-project Auto/HTTPS/HTTP preference in Settings.
Restore Core.Settings import and make OrderBy use an explicit lambda so publish succeeds.
Grace was burning during long builds before Kestrel listened, so site-ready locked onto HTTP. Measure grace from first open port and keep polling until the preferred HTTPS URL wins.
CI failed because the always-visible MODE row was not reflected in three presentation assertions.
Disable dotnet watch in AI Controlled (migrate to run --no-build), suppress edit-gating countdowns, and ignore hot-reload/watch autonomous restarts so only explicit /run or manual actions build.
Cancel site-ready Closing countdown during tray/panel hover so the panel stays visible for watching builds until the cursor leaves.
Owner
Author
|
#63 (tray hover): status panel stays open while the cursor is on the tray icon/panel — no site-ready Closing countdown on hover. Commit \63aeb45. |
Skill and always-on rule now mandate short BuildMonitor: lines for mode/busy/idle and rebuild/ship-check/tests so Cursor output shows control-plane activity.
Owner
Author
|
#64: control-plane skill/rule now require \BuildMonitor:\ chat announcements for handshake and /run/*\ (commit $(git rev-parse --short HEAD)). Re-run Settings → Install / Update on watched projects to pick up the new text. |
Loopback quit uses the same RequestExit path as the tray Exit menu. Deploy script asks the running tray to quit instead of killing the process.
Owner
Author
|
#65: \POST /app/quit\ — graceful tray exit (same as Exit menu). Deploy script calls it before publish. Commit \14b440b. Bootstrap: current installed tray lacks this endpoint — Exit once from the menu, run deploy, then future deploys use /app/quit. |
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.
Summary
Highlights
dotnet run --no-buildhost; no quiet countdownBuildMonitor: …)Test plan
build-and-teston head SHA (401 tests previously; latest green on 14b440b)Notes
User confirmed ready to ship.