semantics: complete DEF-to-region migration, fix regressions
- Convert legacy [DEF🆔Type] anchors to #region/#endregion across 329 files
- Reinstate _normalize_timestamp_value in sql_generator.py
- Fix MarkerLogger→logger migration in events.py (molecular CoT markers)
- Fix dataset_review orchestrator dependencies (_build_execution_snapshot)
- Fix config_manager stale-record deletion (moved to save path only)
- Add 77 missing [/DEF:] closers in 5 unbalanced test files
- Update assistant_chat.integration.test.js for #region format
- Apply molecular-cot-logging markers (REASON/REFLECT/EXPLORE) via logger.* methods
This commit is contained in:
@@ -1,21 +1,19 @@
|
||||
# #region AuthConfigModule [C:2] [TYPE Module] [SEMANTICS auth, config, settings, jwt, adfs]
|
||||
#
|
||||
# @BRIEF Centralized configuration for authentication and authorization.
|
||||
# @LAYER Core
|
||||
# @INVARIANT All sensitive configuration must have defaults or be loaded from environment.
|
||||
# @RELATION DEPENDS_ON -> [pydantic]
|
||||
#
|
||||
# @LAYER: Core
|
||||
# @RELATION DEPENDS_ON -> pydantic
|
||||
#
|
||||
# @INVARIANT: All sensitive configuration must have defaults or be loaded from environment.
|
||||
|
||||
# [SECTION: IMPORTS]
|
||||
from pydantic import Field
|
||||
from pydantic_settings import BaseSettings
|
||||
# [/SECTION]
|
||||
|
||||
# #region AuthConfig [TYPE Class]
|
||||
# @BRIEF Holds authentication-related settings.
|
||||
# @PRE Environment variables may be provided via .env file.
|
||||
# @POST Returns a configuration object with validated settings.
|
||||
# @RELATION INHERITS -> [pydantic_settings.BaseSettings]
|
||||
# @PRE: Environment variables may be provided via .env file.
|
||||
# @POST: Returns a configuration object with validated settings.
|
||||
# @RELATION INHERITS -> pydantic_settings.BaseSettings
|
||||
class AuthConfig(BaseSettings):
|
||||
# JWT Settings
|
||||
SECRET_KEY: str = Field(default="super-secret-key-change-in-production", env="AUTH_SECRET_KEY")
|
||||
@@ -41,7 +39,7 @@ class AuthConfig(BaseSettings):
|
||||
|
||||
# #region auth_config [TYPE Variable]
|
||||
# @BRIEF Singleton instance of AuthConfig.
|
||||
# @RELATION DEPENDS_ON -> [AuthConfig]
|
||||
# @RELATION DEPENDS_ON -> AuthConfig
|
||||
auth_config = AuthConfig()
|
||||
# #endregion auth_config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user