semantic clean up
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
|
||||
> High-level module structure for AI Context. Generated automatically.
|
||||
|
||||
**Generated:** 2026-03-10T11:52:00.326208
|
||||
**Generated:** 2026-03-10T18:26:33.375187
|
||||
|
||||
## Summary
|
||||
|
||||
- **Total Modules:** 103
|
||||
- **Total Entities:** 3063
|
||||
- **Total Entities:** 3077
|
||||
|
||||
## Module Hierarchy
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
|
||||
### 📁 `routes/`
|
||||
|
||||
- 🏗️ **Layers:** API, UI (API), UI/API
|
||||
- 🏗️ **Layers:** API, Infra, UI (API), UI/API
|
||||
- 📊 **Tiers:** CRITICAL: 12, STANDARD: 272, TRIVIAL: 16
|
||||
- 📄 **Files:** 21
|
||||
- 📦 **Entities:** 300
|
||||
@@ -87,7 +87,7 @@
|
||||
- 🔗 DEPENDS_ON -> ConfigModels
|
||||
- 🔗 DEPENDS_ON -> backend.src.core.database
|
||||
- 🔗 DEPENDS_ON -> backend.src.core.database.get_db
|
||||
- 🔗 DEPENDS_ON -> backend.src.core.superset_client
|
||||
- 🔗 DEPENDS_ON -> backend.src.core.mapping_service
|
||||
|
||||
### 📁 `__tests__/`
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
|
||||
### 📁 `core/`
|
||||
|
||||
- 🏗️ **Layers:** Core
|
||||
- 🏗️ **Layers:** Core, Domain
|
||||
- 📊 **Tiers:** CRITICAL: 52, STANDARD: 102, TRIVIAL: 9
|
||||
- 📄 **Files:** 12
|
||||
- 📦 **Entities:** 163
|
||||
@@ -140,7 +140,7 @@
|
||||
- ℂ **BeliefFormatter** (Class)
|
||||
- Custom logging formatter that adds belief state prefixes to ...
|
||||
- ℂ **ConfigManager** (Class) `[CRITICAL]`
|
||||
- A class to handle application configuration persistence and ...
|
||||
- Handles application configuration load, validation, mutation...
|
||||
- ℂ **IdMappingService** (Class) `[CRITICAL]`
|
||||
- Service handling the cataloging and retrieval of remote Supe...
|
||||
- ℂ **LogEntry** (Class)
|
||||
@@ -158,7 +158,7 @@
|
||||
|
||||
- 🔗 DEPENDS_ON -> AppConfigRecord
|
||||
- 🔗 DEPENDS_ON -> ConfigModels
|
||||
- 🔗 DEPENDS_ON -> PyYAML
|
||||
- 🔗 DEPENDS_ON -> SessionLocal
|
||||
- 🔗 DEPENDS_ON -> backend.src.core.auth.config
|
||||
- 🔗 DEPENDS_ON -> backend.src.core.logger
|
||||
|
||||
@@ -180,7 +180,7 @@
|
||||
|
||||
### 📁 `auth/`
|
||||
|
||||
- 🏗️ **Layers:** Core
|
||||
- 🏗️ **Layers:** Core, Domain
|
||||
- 📊 **Tiers:** CRITICAL: 28
|
||||
- 📄 **Files:** 6
|
||||
- 📦 **Entities:** 28
|
||||
@@ -190,7 +190,7 @@
|
||||
- ℂ **AuthConfig** (Class) `[CRITICAL]`
|
||||
- Holds authentication-related settings.
|
||||
- ℂ **AuthRepository** (Class) `[CRITICAL]`
|
||||
- Encapsulates database operations for authentication.
|
||||
- Encapsulates database operations for authentication-related ...
|
||||
- 📦 **backend.src.core.auth.config** (Module) `[CRITICAL]`
|
||||
- Centralized configuration for authentication and authorizati...
|
||||
- 📦 **backend.src.core.auth.jwt** (Module) `[CRITICAL]`
|
||||
@@ -200,17 +200,17 @@
|
||||
- 📦 **backend.src.core.auth.oauth** (Module) `[CRITICAL]`
|
||||
- ADFS OIDC configuration and client using Authlib.
|
||||
- 📦 **backend.src.core.auth.repository** (Module) `[CRITICAL]`
|
||||
- Data access layer for authentication-related entities.
|
||||
- Data access layer for authentication and user preference ent...
|
||||
- 📦 **backend.src.core.auth.security** (Module) `[CRITICAL]`
|
||||
- Utility for password hashing and verification using Passlib.
|
||||
|
||||
**Dependencies:**
|
||||
|
||||
- 🔗 DEPENDS_ON -> authlib
|
||||
- 🔗 DEPENDS_ON -> backend.src.core.logger.belief_scope
|
||||
- 🔗 DEPENDS_ON -> backend.src.models.auth
|
||||
- 🔗 DEPENDS_ON -> backend.src.models.profile
|
||||
- 🔗 DEPENDS_ON -> jose
|
||||
- 🔗 DEPENDS_ON -> passlib
|
||||
- 🔗 DEPENDS_ON -> pydantic
|
||||
- 🔗 DEPENDS_ON -> sqlalchemy
|
||||
|
||||
### 📁 `__tests__/`
|
||||
|
||||
@@ -238,7 +238,7 @@
|
||||
|
||||
### 📁 `migration/`
|
||||
|
||||
- 🏗️ **Layers:** Core
|
||||
- 🏗️ **Layers:** Core, Domain
|
||||
- 📊 **Tiers:** CRITICAL: 20, TRIVIAL: 1
|
||||
- 📄 **Files:** 4
|
||||
- 📦 **Entities:** 21
|
||||
@@ -256,7 +256,7 @@
|
||||
- 📦 **backend.src.core.migration.dry_run_orchestrator** (Module) `[CRITICAL]`
|
||||
- Compute pre-flight migration diff and risk scoring without a...
|
||||
- 📦 **backend.src.core.migration.risk_assessor** (Module) `[CRITICAL]`
|
||||
- Risk evaluation helpers for migration pre-flight reporting.
|
||||
- Compute deterministic migration risk items and aggregate sco...
|
||||
|
||||
**Dependencies:**
|
||||
|
||||
@@ -364,7 +364,7 @@
|
||||
- ℂ **ADGroupMapping** (Class) `[CRITICAL]`
|
||||
- Maps an Active Directory group to a local System Role.
|
||||
- ℂ **AppConfigRecord** (Class) `[CRITICAL]`
|
||||
- Stores the single source of truth for application configurat...
|
||||
- Stores persisted application configuration as a single autho...
|
||||
- ℂ **ApprovalDecision** (Class)
|
||||
- Approval or rejection bound to a candidate and report.
|
||||
- ℂ **AssistantAuditRecord** (Class)
|
||||
@@ -622,10 +622,10 @@
|
||||
**Dependencies:**
|
||||
|
||||
- 🔗 DEPENDS_ON -> ValidationRecord
|
||||
- 🔗 DEPENDS_ON -> backend.src.core.auth.jwt.create_access_token
|
||||
- 🔗 DEPENDS_ON -> backend.src.core.auth.repository
|
||||
- 🔗 DEPENDS_ON -> backend.src.core.config_manager
|
||||
- 🔗 DEPENDS_ON -> backend.src.core.database
|
||||
- 🔗 DEPENDS_ON -> backend.src.core.superset_client
|
||||
- 🔗 DEPENDS_ON -> backend.src.core.auth.repository.AuthRepository
|
||||
- 🔗 DEPENDS_ON -> backend.src.core.auth.security.verify_password
|
||||
|
||||
### 📁 `__tests__/`
|
||||
|
||||
@@ -664,9 +664,9 @@
|
||||
### 📁 `clean_release/`
|
||||
|
||||
- 🏗️ **Layers:** Application, Domain, Infra
|
||||
- 📊 **Tiers:** CRITICAL: 9, STANDARD: 44, TRIVIAL: 51
|
||||
- 📊 **Tiers:** CRITICAL: 9, STANDARD: 46, TRIVIAL: 50
|
||||
- 📄 **Files:** 21
|
||||
- 📦 **Entities:** 104
|
||||
- 📦 **Entities:** 105
|
||||
|
||||
**Key Entities:**
|
||||
|
||||
@@ -701,9 +701,9 @@
|
||||
### 📁 `__tests__/`
|
||||
|
||||
- 🏗️ **Layers:** Domain, Infra, Unknown
|
||||
- 📊 **Tiers:** STANDARD: 18, TRIVIAL: 25
|
||||
- 📊 **Tiers:** STANDARD: 25, TRIVIAL: 25
|
||||
- 📄 **Files:** 8
|
||||
- 📦 **Entities:** 43
|
||||
- 📦 **Entities:** 50
|
||||
|
||||
**Key Entities:**
|
||||
|
||||
@@ -724,6 +724,10 @@
|
||||
- 📦 **test_policy_engine** (Module) `[TRIVIAL]`
|
||||
- Auto-generated module for backend/src/services/clean_release...
|
||||
|
||||
**Dependencies:**
|
||||
|
||||
- 🔗 DEPENDS_ON -> backend.src.services.clean_release.preparation_service:Module
|
||||
|
||||
### 📁 `repositories/`
|
||||
|
||||
- 🏗️ **Layers:** Infra
|
||||
@@ -1032,15 +1036,17 @@
|
||||
|
||||
### 📁 `auth/`
|
||||
|
||||
- 🏗️ **Layers:** Component
|
||||
- 📊 **Tiers:** CRITICAL: 2
|
||||
- 🏗️ **Layers:** UI
|
||||
- 📊 **Tiers:** CRITICAL: 2, STANDARD: 1
|
||||
- 📄 **Files:** 1
|
||||
- 📦 **Entities:** 2
|
||||
- 📦 **Entities:** 3
|
||||
|
||||
**Key Entities:**
|
||||
|
||||
- 🧩 **ProtectedRoute** (Component) `[CRITICAL]`
|
||||
- Wraps content to ensure only authenticated and authorized us...
|
||||
- Wraps protected slot content with session and permission ver...
|
||||
- 📦 **ProtectedRoute.svelte** (Module)
|
||||
- Enforces authenticated and authorized access before protecte...
|
||||
|
||||
### 📁 `git/`
|
||||
|
||||
@@ -1712,28 +1718,26 @@
|
||||
|
||||
### 📁 `migration/`
|
||||
|
||||
- 🏗️ **Layers:** Page
|
||||
- 📊 **Tiers:** CRITICAL: 11
|
||||
- 📊 **Tiers:** CRITICAL: 12
|
||||
- 📄 **Files:** 1
|
||||
- 📦 **Entities:** 11
|
||||
- 📦 **Entities:** 12
|
||||
|
||||
**Key Entities:**
|
||||
|
||||
- 🧩 **DashboardSelectionSection** (Component) `[CRITICAL]`
|
||||
- 🧩 **MigrationDashboard** (Component) `[CRITICAL]`
|
||||
- Main dashboard for configuring and starting migrations.
|
||||
- Orchestrate migration UI workflow and route user actions to ...
|
||||
|
||||
### 📁 `mappings/`
|
||||
|
||||
- 🏗️ **Layers:** Page
|
||||
- 📊 **Tiers:** CRITICAL: 4
|
||||
- 📊 **Tiers:** CRITICAL: 8
|
||||
- 📄 **Files:** 1
|
||||
- 📦 **Entities:** 4
|
||||
- 📦 **Entities:** 8
|
||||
|
||||
**Key Entities:**
|
||||
|
||||
- 🧩 **MappingManagement** (Component) `[CRITICAL]`
|
||||
- Page for managing database mappings between environments.
|
||||
- 🗄️ **UiState** (Store) `[CRITICAL]`
|
||||
- Maintain local page state for environments, fetched database...
|
||||
|
||||
### 📁 `profile/`
|
||||
|
||||
@@ -2005,6 +2009,11 @@ graph TD
|
||||
routes-->|DEPENDS_ON|backend
|
||||
routes-->|DEPENDS_ON|backend
|
||||
routes-->|DEPENDS_ON|backend
|
||||
routes-->|DEPENDS_ON|backend
|
||||
routes-->|DEPENDS_ON|backend
|
||||
routes-->|DEPENDS_ON|backend
|
||||
routes-->|DEPENDS_ON|backend
|
||||
routes-->|DEPENDS_ON|backend
|
||||
routes-->|USES|backend
|
||||
routes-->|USES|backend
|
||||
routes-->|CALLS|backend
|
||||
@@ -2052,17 +2061,21 @@ graph TD
|
||||
auth-->|USES|backend
|
||||
auth-->|USES|backend
|
||||
auth-->|USES|backend
|
||||
auth-->|USES|backend
|
||||
auth-->|DEPENDS_ON|backend
|
||||
auth-->|DEPENDS_ON|backend
|
||||
auth-->|DEPENDS_ON|backend
|
||||
migration-->|DEPENDS_ON|backend
|
||||
migration-->|DEPENDS_ON|backend
|
||||
migration-->|DEPENDS_ON|backend
|
||||
migration-->|DEPENDS_ON|backend
|
||||
migration-->|DEPENDS_ON|backend
|
||||
migration-->|USED_BY|backend
|
||||
migration-->|DEPENDS_ON|backend
|
||||
migration-->|DISPATCHES|backend
|
||||
utils-->|DEPENDS_ON|backend
|
||||
utils-->|DEPENDS_ON|backend
|
||||
utils-->|DEPENDS_ON|backend
|
||||
utils-->|DEPENDS_ON|backend
|
||||
models-->|DEPENDS_ON|backend
|
||||
models-->|INHERITS_FROM|backend
|
||||
models-->|DEPENDS_ON|backend
|
||||
models-->|DEPENDS_ON|backend
|
||||
@@ -2099,9 +2112,11 @@ graph TD
|
||||
services-->|DEPENDS_ON|backend
|
||||
services-->|CALLS|backend
|
||||
services-->|DEPENDS_ON|backend
|
||||
services-->|USES|backend
|
||||
services-->|USES|backend
|
||||
services-->|USES|backend
|
||||
services-->|DEPENDS_ON|backend
|
||||
services-->|DEPENDS_ON|backend
|
||||
services-->|DEPENDS_ON|backend
|
||||
services-->|DEPENDS_ON|backend
|
||||
services-->|DEPENDS_ON|backend
|
||||
services-->|DEPENDS_ON|backend
|
||||
services-->|DEPENDS_ON|backend
|
||||
__tests__-->|TESTS|backend
|
||||
@@ -2148,7 +2163,7 @@ graph TD
|
||||
__tests__-->|VERIFIES|backend
|
||||
__tests__-->|TESTS|backend
|
||||
__tests__-->|TESTS|backend
|
||||
__tests__-->|TESTS|backend
|
||||
__tests__-->|DEPENDS_ON|backend
|
||||
stages-->|IMPLEMENTS|backend
|
||||
stages-->|DEPENDS_ON|backend
|
||||
stages-->|IMPLEMENTS|backend
|
||||
|
||||
Reference in New Issue
Block a user