semantic cleanup

This commit is contained in:
2026-05-08 10:07:05 +03:00
parent 54ce6a8126
commit 1b15fd3fa7
89 changed files with 148535 additions and 2251 deletions

View File

@@ -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: {