AGNT-02: Agent registry with LIVE/STALE/DEAD lifecycle #14
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Server maintains agent instance registry with three states:
A heartbeat or SSE reconnect from a STALE agent returns it to LIVE.
Category: Agent Management
REQ-ID: AGNT-02
Implemented in Phase 3.
AgentRegistryServicewith ConcurrentHashMap and immutableAgentInforecords.AgentLifecycleMonitorscheduled task transitions LIVE -> STALE (90s no heartbeat) -> DEAD (5min after stale). Key files:AgentRegistryService.java,AgentLifecycleMonitor.java,AgentInfo.java.