Skip to content

feat(ops): push action notifications to Axon agents over WebSocket #68

Description

@05F3759DF

Context

Axon Agent will poll Keystone for action requests as the reliable baseline, but online robots should receive low-latency notifications when an operator creates a new request. Keystone should push only notification metadata and keep the persisted action request as the source of truth.

Scope

  • Push action.requested notifications to connected Axon Agents when a new action request is created.
  • Include only request_id and minimal routing metadata in the WebSocket payload.
  • Do not include raw commands, local script paths, or sensitive action arguments in the push payload.
  • Record push delivery attempts for diagnostics.
  • Ensure offline robots can still pick up requests later through polling.

Acceptance Criteria

  • Online agents receive a WebSocket notification after a new action request is accepted.
  • Offline agents do not lose requests because the request remains persisted for polling.
  • Push delivery failures are visible for diagnostics but do not fail request creation.
  • Push payloads do not contain arbitrary shell commands or sensitive values.
  • Tests cover online delivery, offline fallback, duplicate notification tolerance, and push failure reporting.

Depends On

Related

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:networkLAN bandwidth, scheduling, and network constraintsarea:opsOperations, recovery, incidents, and site workflowscross-repo:axonRequires coordination with archebase/axonenhancementNew feature or requestpriority:p2Medium priority

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions