Skip to content

new_feature.config

new_feature.config

Parse and represent repository configuration for the feature lifecycle.

LiteralEnvSpec dataclass

Configure an environment variable with one fixed value.

PortEnvSpec dataclass

Configure an environment variable with an allocatable TCP port range.

IntegerEnvSpec dataclass

Configure an environment variable with an allocatable integer range.

NameEnvSpec dataclass

Configure an environment variable with a deterministic name allocation.

SlugEnvSpec dataclass

Configure an environment variable with a feature-derived slug.

PathEnvSpec dataclass

Configure an environment variable with a feature-specific filesystem path.

ProjectConfig dataclass

Hold the normalized lifecycle configuration for one repository.

config_fingerprint(config: ProjectConfig) -> str

Return a stable digest representing a normalized project configuration.

load_project_config(repo_root: Path) -> ProjectConfig

Load global preferences, shared configuration, and repository-local overrides.