Typed, diff-friendly configuration schemas for distributed services.

XConfig is a lightweight specification and CLI toolkit for validating layered YAML, TOML, and JSON service configurations with deterministic merges and zero runtime overhead.

# Validate a layered configuration tree
xconfig check --schema ./schema.xcf --env production ./config.d/

Deterministic Layering

Explicit override precedence across base, region, and runtime environments with full provenance tracking.

Static Type Checks

Catch invalid CIDR blocks, port collisions, duration units, and missing required keys in CI before rollout.

Minimal Footprint

Single static binary with JSON Schema Draft 2020-12 export and language-neutral lint diagnostics.