Skip to main content

Module config

Module config 

Source
Expand description

Daemon configuration type.

This module defines the configuration surface for the ActionQueue daemon. The configuration is an operator-facing contract that must be explicit, deterministic, and serializable. It does not read from environment variables implicitly — defaults are stable and explicit.

Exception: The tracing/logging subscriber (initialized during bootstrap, not by this module) reads the RUST_LOG environment variable for log-level filtering. This is standard Rust observability practice and does not affect engine behavior, mutation authority, or any durable state.

§Invariant boundaries

Configuration must not introduce any mutation lane outside the validated mutation authority defined in invariant-boundaries-v0.1.md. Configuration values must be explicit and inspectable to preserve auditability required by external systems.

§Field semantics

§Read-only by default

All introspection endpoints (health, ready, stats, task/run queries) are enabled by default. Control endpoints require explicit enablement via enable_control.

§Deterministic defaults

The DaemonConfig::default constructor produces fixed, stable values. No environment variables or runtime detection influence defaults.

Structs§

ConfigError
Validation error for configuration values.
DaemonConfig
Daemon configuration for the ActionQueue service.

Enums§

ConfigErrorCode
Machine-readable configuration error codes.