semantic cleanup
This commit is contained in:
@@ -71,6 +71,19 @@ class CleanReleaseConfig(BaseModel):
|
||||
# [/DEF:CleanReleaseConfig:DataClass]
|
||||
|
||||
|
||||
# [DEF:FeaturesConfig:DataClass]
|
||||
# @COMPLEXITY: 1
|
||||
# @PURPOSE: Top-level feature flags that toggle entire project features on/off.
|
||||
# @RATIONALE: Features are read from environment variables on bootstrap and persisted in DB.
|
||||
# DB is source of truth after initial bootstrap; env vars only seed defaults.
|
||||
class FeaturesConfig(BaseModel):
|
||||
dataset_review: bool = True
|
||||
health_monitor: bool = True
|
||||
|
||||
|
||||
# [/DEF:FeaturesConfig:DataClass]
|
||||
|
||||
|
||||
# [DEF:GlobalSettings:DataClass]
|
||||
# @PURPOSE: Represents global application settings.
|
||||
class GlobalSettings(BaseModel):
|
||||
@@ -78,6 +91,7 @@ class GlobalSettings(BaseModel):
|
||||
clean_release: CleanReleaseConfig = Field(default_factory=CleanReleaseConfig)
|
||||
default_environment_id: Optional[str] = None
|
||||
logging: LoggingConfig = Field(default_factory=LoggingConfig)
|
||||
features: FeaturesConfig = Field(default_factory=FeaturesConfig)
|
||||
connections: List[dict] = []
|
||||
llm: dict = Field(
|
||||
default_factory=lambda: {
|
||||
|
||||
Reference in New Issue
Block a user