Skip to content

Event Bus Infrastructure #22

Closed
Closed

Description

@vybe

Platform-wide pub/sub system for agent event broadcasting and subscription. Redis Streams based. Permission-gated subscriptions.

Activity

  1. added
    priority-p1
    type-feature
    on Feb 24, 2026
  2. vybe commented on Mar 30, 2026

    @vybe
    ContributorAuthor

    Actualization (2026-03-30)

    This issue requested Redis Streams-based pub/sub. Instead, EVT-001 (Agent Event Subscriptions, #169) was implemented in 2026-03-26 using a SQLite-backed approach:

    • agent_events table for event persistence
    • agent_event_subscriptions table for subscription CRUD
    • MCP tools: emit_event, subscribe_to_event, list_event_subscriptions, delete_event_subscription
    • Subscription triggers: matching event → async task to subscriber with {{payload.field}} interpolation
    • Permission-gated via existing agent_permissions
    • WebSocket broadcast for real-time visibility

    What's different from this issue:

    • SQLite instead of Redis Streams (simpler, no new infra dependency)
    • No TTL/retention policy on events (could be added later)
    • No consumer groups or backpressure

    Recommendation: Close this issue as superseded by EVT-001. If Redis Streams are needed for higher throughput later, open a new issue referencing EVT-001 as the baseline.

  3. vybe commented on Mar 30, 2026

    @vybe
    ContributorAuthor

    Closing — superseded by EVT-001 (Agent Event Subscriptions, #169). SQLite-based pub/sub is live. If Redis Streams are needed later, open a new issue.

  4. added
    complexity-medium
    on Jun 3, 2026
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

    complexity-mediumpriority-p1type-feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions