Conversation
…nation_requests Three stats bugs fixed: 1. messages_received not incremented for HTTP/stateless and disconnected agent delivery in pluto_msg_hub — added inc(messages_received) and inc_agent(To, messages_received) to both inbox-queued paths. 2. connected_agents live snapshot only matched status=connected, missing recovered and recovered_from_file agents in pluto_stats — switched to list comprehension that covers all three active statuses. 3. HTTP listener never called pluto_stats:inc at all — coordination_requests and total_requests stayed at zero regardless of HTTP agent activity. Added stats increment at top of handle_connection and an is_coordination_route/2 classifier for the coordination subset. TODO run tests Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…r-slice return - InboxManager.watch_durable: server-side long-poll with adaptive iteration, exponential backoff, and (agent_id, inbox_id) dedupe - wait_for_messages(drain=False) and watch_durable(drain=False) — peek/signal mode that returns a non-consuming snapshot without acking, so a watcher subagent sharing the parent's MCP server cannot steal the parent's inbox - drain() now also clears _new_message_event so peek-mode waiters re-arm cleanly after the parent's pluto_recv consumes - pluto_inbox_watch MCP tool: defaults max_total_s to wait_timeout_s so the tool call returns inside one slice (≤ Claude Code's 600 s stream-silence watchdog) and exposes the drain kwarg - pluto_heartbeat: zero-network liveness ping between watch slices - Notifier: phase-2 seam for MCP resource+log notifications and drain-latency telemetry, gated behind PLUTO_MCP_NOTIFICATIONS - _mcp_inherited() tri-state probe + watcher_available in pluto_session - Updated watcher prompts: peek mode (drain=false), single-slice return, end-of-turn respawn, spec_contract/conv_seq payload conventions - Stats dashboard: drop maintenance/total request rows - Tests + docs/technical coverage for all new behaviour Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
No description provided.