How aurae-runtime/aurae works
Main Components
a) Core Runtime Components:
• Auraed (Main Daemon)
• Cell Service
• Runtime Service
• VM Service
• CRI Service
• Discovery Service
• Observe Service
• Health Service
b) Client Interfaces:
• AuraeScript (TypeScript-based client)
• Client Library
• gRPC API Layer
c) Security Layer:
• SPIFFE/SPIRE Integration
• mTLS Authentication
• x509 Certificate Management
Architectural Patterns to Highlight
• Microservice-style architecture with distinct services
• Layered security model
• Plugin-based extensibility
• Process isolation through cells
• Multi-tenant workload management
Component Relationships
┌─────────────────────────────────────────────────────────────┐
• Client Layer │
• ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
• AuraeScript │ │ CLI │ │ Other Clients │ │
• ┘ └──────────────┘ └──────────────┘ │
• ┬─────────────────────────────────┘
┌──────────────────────────▼────────────────────────────────┐
• Security Layer │
• ┌─────────────┐ ┌──────────────┐ ┌────────────────┐ │
• SPIFFE/SPIRE │ │ mTLS │ │ x509 Certs │ │
• ┘ └──────────────┘ └────────────────┘ │
• ┬─────────────────────────────────┘
┌─────────────────────────▼────────────────────────────────┐
• Auraed Core │
• ┌─────────────┐ ┌──────────────┐ ┌────────────────┐ │
• Cell Service │ │ VM Service │ │ CRI Service │ │
• ┘ └──────────────┘ └────────────────┘ │
• ┌─────────────┐ ┌──────────────┐ ┌────────────────┐ │
• Discovery │ │ Observe │ │ Health │ │
• ┘ └──────────────┘ └────────────────┘ │
• ┬────────────────────────────────┘
┌────────────────────────▼────────────────────────────────┐
• System Resources │
• ┌─────────────┐ ┌──────────────┐ ┌────────────────┐ │
• Cells │ │ VMs │ │ Containers │ │
• ┘ └──────────────┘ └────────────────┘ │
• ┘
Important Details
• Authentication flow
• Process isolation boundaries
• Monitoring/observability points
• Integration points with external systems
Technical Specifications
A side panel showing:
• Supported protocols (gRPC)
• Authentication methods (mTLS)
• Resource types (Cells, VMs, Pods)
• API versions (v0)
Notes for Implementation
• Keep service boundaries clear
• Bidirectional communication flows
• Where cgroups are used for isolation
• EBPF integration points
• How the TypeScript SDK interfaces with the system
• Nested containers
• Relationship lines with different styles
• Export to vector formats
• Proper text formatting