Skip to main content

Module command_registry

Module command_registry 

Source
Expand description

Command registry abstraction for ARC server

The CommandRegistry is the source of truth for all command metadata. It tracks command state, timestamps, sizes, and errors.

Implementations:

  • InMemoryCommandRegistry: In-memory implementation for tests and local dev (in this crate)
  • PlatformCommandRegistry: Platform API integration (in alien-manager)

The ARC KV store holds only operational data: params/response blobs, pending indices, leases.

Structs§

CommandEnvelopeData
Data needed to build an envelope during lease acquisition
CommandMetadata
Metadata returned when creating a command
CommandStatus
Full status for GET /commands/{id}
InMemoryCommandRegistry
In-memory implementation for tests and local development.

Traits§

CommandRegistry
Abstraction for command metadata storage and lifecycle tracking.