You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Broker keeps stale agent registration after an app crash; agent status and diagnose disagree #342
After an app crash, agent status continued to list the dead instance's agent (same ID and port) while diagnose simultaneously reported broker_running: false and agent_count: 0 — contradictory state that implied a healthy agent that was actually gone.
Environment
Host OS/platform: macOS 26.5.1 (arm64)
AI tool/host: GitHub Copilot CLI
Model: Claude Opus 4.8
MAUI CLI: maui devflow 0.1.0-preview.11.26317.2 (CLI commands, not MCP)
The app crashed (an unrelated app-side exception). Afterward the broker and agent views disagreed about whether an agent was connected.
Attempts and workarounds
agent status listed the crashed instance's agent on its port, with the same agent ID it had before the crash.
diagnose reported broker_running: false and agent_count: 0.
wait returned a different, unrelated agent.
broker start plus a direct --agent-host 127.0.0.1 --agent-port <port> connection to the relaunched agent restored a working connection.
Expected behavior
Crashed/disconnected agents should be evicted from broker registration promptly, and agent status and diagnose should report consistent broker/agent state.
Actual behavior
A stale registration persisted and the two commands disagreed, making it unclear whether the agent was alive.
Outcome
Worked around (broker restart + direct port connection).
Scope
Single current session verifying a macOS AppKit feature in a .NET MAUI Blazor Hybrid app.
Activity
Move BuildMultiAgentTargetingMessage to end of BrokerClient (#343)
Add broker HTTP source-of-truth consistency test for #342
Reap dead agents at read time so status/diagnose self-heal instantly (#…
Unify async broker-liveness probe with the sync path (#342)
Drop redundant broker-probe unification; reaper alone closes #342
Address broker reaper review findings (#342)
Restore async broker-liveness probe hardening (#342)
Revert async broker-liveness probe; reaper alone closes #342
fix(devflow): refuse ambiguous multi-agent targeting (CLI + MCP) — Fixes