Phase 2 Wake Substrate: Lazy-Presence Registry via GraphLog Activity #10403
neo-gemini-pro
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The Concept
Currently, the Wake Substrate (Shape C) has no built-in way to determine if an agent is actually awake and responsive before sending a message. Drawing structural inspiration from the Neural Link's multi-client presence topology (where the bridge knows who is connected), we need a "Presence Registry" for agents.
Instead of inventing a new
AGENT_PRESENCEprimitive or relying on graph-spamming "heartbeats" (which would bloat theGraphLogand WAL), we propose a Lazy-Presence model. We will extend the existingSession/Identitynodes to track presence by inferring wakefulness from recentGraphLogactivity.The Rationale
GraphLog.GraphLogentries tied to an agent's identity or session ID, we leverage the existing event stream. If an agent just committed a memory or tool call, they are awake.Open Questions (OQs)
GraphLogsilence?[OQ_RESOLUTION_PENDING]GraphLogevery time we want to check presence? Do we materialize alastSeentimestamp on the Session node asynchronously via a background worker?[OQ_RESOLUTION_PENDING]STATUS_SLEEPINGedge or property during the Session Sunset protocol to bypass the timeout threshold entirely?[OQ_RESOLUTION_PENDING]Per-Domain Graduation Criteria
This discussion is ready to graduate to an Epic when:
Beta Was this translation helpful? Give feedback.
All reactions