Skip to content

feat: Implement NATS JetStream messaging layer #6

Description

@dcplatforms

Overview

Implement the messaging layer using NATS JetStream for all inter-agent and orchestrator communication.

Architecture: docs/ARCHITECTURE.md §6.2

Implementation

  • Message envelope with SPIFFE ID, timestamp, Ed25519 signature, payload hash
  • Subject hierarchy: cipher.events.*, cipher.agent.{id}.inbox, cipher.approval.*, cipher.audit
  • Durable consumers for audit stream (never lose a message)
  • Publisher signs every message before sending
  • Subscriber verifies signature before processing (via Trust Broker)
  • Dead letter handling for failed deliveries

Docker Compose

  • Add NATS JetStream service to docker/docker-compose.yml

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

    julesReady for Jules implementationorchestrationOrchestration plane componentphase-1Phase 1 implementation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions