Expand description
Application-level dependency injection container.
VoidContext groups all the state a CLI invocation needs into a single
value created once at startup. Subsystem structs (RepoPaths,
CryptoContext, RepoMeta, SealConfig, NetworkConfig) keep related
config together so consumers can accept only the slice they need.
This module is purely additive — existing APIs and callers are unchanged.
Future waves will migrate *Options structs to accept &VoidContext
instead of RepoContext + ad-hoc config values.
Structs§
- Crypto
Context - Encryption state needed for repository operations.
- Network
Config - Network / transport configuration.
- Repo
Meta - Repository identity metadata.
- Repo
Paths - Filesystem paths for the repository.
- Seal
Config - Shard sealing / compression settings.
- Void
Context - Application-level DI container for a single CLI invocation.