feat add connections management and health summary improvements

This commit is contained in:
2026-03-15 16:40:43 +03:00
parent eba0fab091
commit 027d17f193
17 changed files with 8521 additions and 10819 deletions

View File

@@ -2,12 +2,12 @@
> High-level module structure for AI Context. Generated automatically.
**Generated:** 2026-03-14T09:20:50.362415
**Generated:** 2026-03-15T16:33:41.022837
## Summary
- **Total Modules:** 103
- **Total Entities:** 3134
- **Total Modules:** 105
- **Total Entities:** 3256
## Module Hierarchy
@@ -40,7 +40,7 @@
### 📁 `api/`
- 🏗️ **Layers:** API
- 📊 **Tiers:** CRITICAL: 7, STANDARD: 1
- 📊 **Tiers:** CRITICAL: 1, STANDARD: 7
- 📄 **Files:** 2
- 📦 **Entities:** 8
@@ -52,9 +52,9 @@
### 📁 `routes/`
- 🏗️ **Layers:** API, Infra, UI (API), UI/API
- 📊 **Tiers:** CRITICAL: 12, STANDARD: 272, TRIVIAL: 16
- 📊 **Tiers:** CRITICAL: 5, STANDARD: 282, TRIVIAL: 15
- 📄 **Files:** 21
- 📦 **Entities:** 300
- 📦 **Entities:** 302
**Key Entities:**
@@ -90,9 +90,9 @@
### 📁 `__tests__/`
- 🏗️ **Layers:** API, Domain, Domain (Tests), Tests, UI (API Tests), Unknown
- 📊 **Tiers:** STANDARD: 92, TRIVIAL: 195
- 📄 **Files:** 17
- 📦 **Entities:** 287
- 📊 **Tiers:** STANDARD: 93, TRIVIAL: 198
- 📄 **Files:** 18
- 📦 **Entities:** 291
**Key Entities:**
@@ -125,9 +125,9 @@
### 📁 `core/`
- 🏗️ **Layers:** Core, Domain
- 📊 **Tiers:** CRITICAL: 55, STANDARD: 103, TRIVIAL: 9
- 📊 **Tiers:** CRITICAL: 10, STANDARD: 149, TRIVIAL: 9
- 📄 **Files:** 13
- 📦 **Entities:** 167
- 📦 **Entities:** 168
**Key Entities:**
@@ -181,7 +181,7 @@
### 📁 `auth/`
- 🏗️ **Layers:** Core, Domain
- 📊 **Tiers:** CRITICAL: 29
- 📊 **Tiers:** CRITICAL: 8, STANDARD: 21
- 📄 **Files:** 7
- 📦 **Entities:** 29
@@ -239,7 +239,7 @@
### 📁 `migration/`
- 🏗️ **Layers:** Core, Domain
- 📊 **Tiers:** CRITICAL: 20, TRIVIAL: 1
- 📊 **Tiers:** CRITICAL: 5, STANDARD: 15, TRIVIAL: 1
- 📄 **Files:** 4
- 📦 **Entities:** 21
@@ -269,9 +269,9 @@
### 📁 `task_manager/`
- 🏗️ **Layers:** Core
- 📊 **Tiers:** CRITICAL: 10, STANDARD: 63, TRIVIAL: 6
- 📊 **Tiers:** CRITICAL: 10, STANDARD: 64, TRIVIAL: 6
- 📄 **Files:** 7
- 📦 **Entities:** 79
- 📦 **Entities:** 80
**Key Entities:**
@@ -305,12 +305,14 @@
### 📁 `__tests__/`
- 🏗️ **Layers:** Unknown
- 📊 **Tiers:** TRIVIAL: 9
- 📄 **Files:** 1
- 📦 **Entities:** 9
- 📊 **Tiers:** STANDARD: 2, TRIVIAL: 9
- 📄 **Files:** 2
- 📦 **Entities:** 11
**Key Entities:**
- 📦 **backend.src.core.task_manager.__tests__.test_context** (Module)
- Verify TaskContext preserves optional background task schedu...
- 📦 **test_task_logger** (Module) `[TRIVIAL]`
- Auto-generated module for backend/src/core/task_manager/__te...
@@ -355,7 +357,7 @@
### 📁 `models/`
- 🏗️ **Layers:** Domain, Model
- 📊 **Tiers:** CRITICAL: 21, STANDARD: 41, TRIVIAL: 29
- 📊 **Tiers:** CRITICAL: 18, STANDARD: 44, TRIVIAL: 29
- 📄 **Files:** 14
- 📦 **Entities:** 91
@@ -409,7 +411,7 @@
### 📁 `plugins/`
- 🏗️ **Layers:** App, Plugin, Plugins
- 📊 **Tiers:** CRITICAL: 10, STANDARD: 54
- 📊 **Tiers:** CRITICAL: 2, STANDARD: 62
- 📄 **Files:** 7
- 📦 **Entities:** 64
@@ -459,9 +461,9 @@
### 📁 `llm_analysis/`
- 🏗️ **Layers:** Unknown
- 📊 **Tiers:** STANDARD: 21, TRIVIAL: 24
- 📊 **Tiers:** STANDARD: 32, TRIVIAL: 35
- 📄 **Files:** 4
- 📦 **Entities:** 45
- 📦 **Entities:** 67
**Key Entities:**
@@ -490,6 +492,21 @@
- 🔗 IMPLEMENTS -> backend.src.core.plugin_base.PluginBase
### 📁 `__tests__/`
- 📊 **Tiers:** STANDARD: 13, TRIVIAL: 43
- 📄 **Files:** 3
- 📦 **Entities:** 56
**Key Entities:**
- 📦 **backend.src.plugins.llm_analysis.__tests__.test_client_headers** (Module)
- Verify OpenRouter client initialization includes provider-sp...
- 📦 **backend.src.plugins.llm_analysis.__tests__.test_screenshot_service** (Module)
- Protect dashboard screenshot navigation from brittle network...
- 📦 **backend.src.plugins.llm_analysis.__tests__.test_service** (Module)
- Verify LLM analysis transport/provider failures do not masqu...
### 📁 `storage/`
- 🏗️ **Layers:** App
@@ -557,7 +574,7 @@
### 📁 `scripts/`
- 🏗️ **Layers:** Scripts, UI, Unknown
- 📊 **Tiers:** CRITICAL: 3, STANDARD: 44, TRIVIAL: 30
- 📊 **Tiers:** CRITICAL: 1, STANDARD: 46, TRIVIAL: 30
- 📄 **Files:** 9
- 📦 **Entities:** 77
@@ -592,9 +609,9 @@
### 📁 `services/`
- 🏗️ **Layers:** Core, Domain, Domain/Service, Service
- 📊 **Tiers:** CRITICAL: 10, STANDARD: 120, TRIVIAL: 17
- 📊 **Tiers:** CRITICAL: 6, STANDARD: 133, TRIVIAL: 20
- 📄 **Files:** 10
- 📦 **Entities:** 147
- 📦 **Entities:** 159
**Key Entities:**
@@ -606,6 +623,8 @@
- Raised when environment_id from lookup request is unknown in...
- **GitService** (Class)
- Wrapper for GitPython operations with semantic logging and e...
- **HealthService** (Class)
- Aggregate latest dashboard validation state and manage persi...
- **LLMProviderService** (Class)
- Service to manage LLM provider lifecycle.
- **MappingService** (Class)
@@ -616,8 +635,6 @@
- Implements profile preference read/update flow and Superset ...
- **ProfileValidationError** (Class)
- Domain validation error for profile preference update reques...
- **ResourceService** (Class)
- Provides centralized access to resource data with enhanced m...
**Dependencies:**
@@ -630,9 +647,9 @@
### 📁 `__tests__/`
- 🏗️ **Layers:** Domain, Domain Tests, Service, Service Tests, Unknown
- 📊 **Tiers:** STANDARD: 37, TRIVIAL: 40
- 📊 **Tiers:** STANDARD: 40, TRIVIAL: 46
- 📄 **Files:** 7
- 📦 **Entities:** 77
- 📦 **Entities:** 86
**Key Entities:**
@@ -1022,6 +1039,11 @@
- 🧩 **StartupEnvironmentWizard** (Component)
- Blocking startup wizard for creating the first Superset envi...
**Dependencies:**
- 🔗 DEPENDS_ON -> frontend/src/lib/stores.js, frontend/src/components/tasks/TaskLogPanel.svelte
- 🔗 DEPENDS_ON -> frontend/src/lib/toasts.js
### 📁 `__tests__/`
- 🏗️ **Layers:** UI (Tests)
@@ -1037,17 +1059,21 @@
### 📁 `auth/`
- 🏗️ **Layers:** UI
- 📊 **Tiers:** CRITICAL: 2, STANDARD: 1
- 📊 **Tiers:** STANDARD: 3
- 📄 **Files:** 1
- 📦 **Entities:** 3
**Key Entities:**
- 🧩 **ProtectedRoute** (Component) `[CRITICAL]`
- 🧩 **ProtectedRoute** (Component)
- Wraps protected slot content with session and permission ver...
- 📦 **ProtectedRoute.svelte** (Module)
- Enforces authenticated and authorized access before protecte...
**Dependencies:**
- 🔗 DEPENDS_ON -> $lib/auth/permissions.hasPermission
### 📁 `git/`
- 🏗️ **Layers:** Component, Unknown
@@ -1087,7 +1113,7 @@
### 📁 `llm/`
- 🏗️ **Layers:** UI, Unknown
- 📊 **Tiers:** CRITICAL: 1, STANDARD: 1, TRIVIAL: 12
- 📊 **Tiers:** STANDARD: 2, TRIVIAL: 12
- 📄 **Files:** 3
- 📦 **Entities:** 14
@@ -1095,7 +1121,7 @@
- 🧩 **DocPreview** (Component)
- UI component for previewing generated dataset documentation ...
- 🧩 **ProviderConfig** (Component) `[CRITICAL]`
- 🧩 **ProviderConfig** (Component)
- UI form for managing LLM provider configurations.
- 📦 **DocPreview** (Module) `[TRIVIAL]`
- Auto-generated module for frontend/src/components/llm/DocPre...
@@ -1104,6 +1130,11 @@
- 📦 **ValidationReport** (Module) `[TRIVIAL]`
- Auto-generated module for frontend/src/components/llm/Valida...
**Dependencies:**
- 🔗 DEPENDS_ON -> backend/src/api/routes/llm.py
- 🔗 DEPENDS_ON -> backend/src/plugins/llm_analysis/plugin.py
### 📁 `__tests__/`
- 🏗️ **Layers:** UI Tests
@@ -1130,6 +1161,10 @@
- 🧩 **FileUpload** (Component)
- Provides a form for uploading files to a specific category.
**Dependencies:**
- 🔗 DEPENDS_ON -> storageService
### 📁 `tasks/`
- 🏗️ **Layers:** UI, Unknown
@@ -1232,7 +1267,7 @@
### 📁 `auth/`
- 🏗️ **Layers:** Domain, Feature
- 📊 **Tiers:** CRITICAL: 11, TRIVIAL: 1
- 📊 **Tiers:** CRITICAL: 2, STANDARD: 9, TRIVIAL: 1
- 📄 **Files:** 2
- 📦 **Entities:** 12
@@ -1272,14 +1307,16 @@
### 📁 `__tests__/`
- 🏗️ **Layers:** UI Tests
- 📊 **Tiers:** STANDARD: 3
- 📄 **Files:** 1
- 📦 **Entities:** 3
- 📊 **Tiers:** STANDARD: 5
- 📄 **Files:** 2
- 📦 **Entities:** 5
**Key Entities:**
- 📦 **frontend.src.lib.components.assistant.__tests__.assistant_chat_integration** (Module)
- Contract-level integration checks for assistant chat panel i...
- 📦 **frontend.src.lib.components.assistant.__tests__.assistant_first_message_integration** (Module)
- Verify first optimistic user message stays visible while a n...
### 📁 `health/`
@@ -1328,6 +1365,7 @@
**Dependencies:**
- 🔗 DEPENDS_ON -> frontend.src.lib.auth.permissions.hasPermission
- 🔗 DEPENDS_ON -> page store
### 📁 `__tests__/`
@@ -1369,6 +1407,7 @@
**Dependencies:**
- 🔗 DEPENDS_ON -> frontend/src/lib/components/reports/reportTypeProfiles.js
- 🔗 DEPENDS_ON -> frontend/src/lib/i18n/index.ts
### 📁 `__tests__/`
@@ -1552,6 +1591,10 @@
- 🧩 **Settings** (Component)
- The main settings page for the application, allowing managem...
**Dependencies:**
- 🔗 DEPENDS_ON -> frontend/src/lib/stores.js
### 📁 `routes/`
- 🏗️ **Layers:** Infra, UI, Unknown
@@ -1580,6 +1623,11 @@
- 🧩 **AdminRolesPage** (Component)
- UI for managing system roles and their permissions.
**Dependencies:**
- 🔗 DEPENDS_ON -> frontend.src.components.auth.ProtectedRoute
- 🔗 DEPENDS_ON -> frontend.src.services.adminService
### 📁 `settings/`
- 🏗️ **Layers:** Feature
@@ -1592,6 +1640,11 @@
- 🧩 **AdminSettingsPage** (Component)
- UI for configuring Active Directory Group to local Role mapp...
**Dependencies:**
- 🔗 DEPENDS_ON -> frontend.src.components.auth.ProtectedRoute
- 🔗 DEPENDS_ON -> frontend.src.services.adminService
### 📁 `llm/`
- 🏗️ **Layers:** UI, Unknown
@@ -1618,6 +1671,11 @@
- 🧩 **AdminUsersPage** (Component)
- UI for managing system users and their roles.
**Dependencies:**
- 🔗 DEPENDS_ON -> frontend.src.components.auth.ProtectedRoute
- 🔗 DEPENDS_ON -> frontend.src.services.adminService
### 📁 `dashboards/`
- 🏗️ **Layers:** UI, Unknown
@@ -1656,8 +1714,8 @@
### 📁 `health/`
- 🏗️ **Layers:** UI/Page, Unknown
- 📊 **Tiers:** STANDARD: 1, TRIVIAL: 3
- 🏗️ **Layers:** UI/Page
- 📊 **Tiers:** STANDARD: 4
- 📄 **Files:** 1
- 📦 **Entities:** 4
@@ -1665,8 +1723,22 @@
- 🧩 **HealthCenterPage** (Component)
- Main page for the Dashboard Health Center.
- 📦 **+page** (Module) `[TRIVIAL]`
- Auto-generated module for frontend/src/routes/dashboards/hea...
**Dependencies:**
- 🔗 DEPENDS_ON -> frontend.src.lib.components.health.HealthMatrix
### 📁 `__tests__/`
- 🏗️ **Layers:** UI Tests
- 📊 **Tiers:** STANDARD: 1
- 📄 **Files:** 1
- 📦 **Entities:** 1
**Key Entities:**
- 📦 **frontend.src.routes.dashboards.health.__tests__.health_page_integration** (Module)
- Lock dashboard health page contract for slug navigation and ...
### 📁 `datasets/`
@@ -1718,19 +1790,19 @@
### 📁 `migration/`
- 📊 **Tiers:** CRITICAL: 21
- 📊 **Tiers:** STANDARD: 21
- 📄 **Files:** 1
- 📦 **Entities:** 21
**Key Entities:**
- 🧩 **DashboardSelectionSection** (Component) `[CRITICAL]`
- 🧩 **MigrationDashboard** (Component) `[CRITICAL]`
- 🧩 **DashboardSelectionSection** (Component)
- 🧩 **MigrationDashboard** (Component)
- Orchestrate migration UI workflow and route user actions to ...
### 📁 `mappings/`
- 📊 **Tiers:** CRITICAL: 8
- 📊 **Tiers:** CRITICAL: 1, STANDARD: 7
- 📄 **Files:** 1
- 📦 **Entities:** 8
@@ -1790,24 +1862,31 @@
- 📦 **+page** (Module) `[TRIVIAL]`
- Auto-generated module for frontend/src/routes/reports/+page....
**Dependencies:**
- 🔗 DEPENDS_ON -> frontend/src/lib/api/reports.js
- 🔗 DEPENDS_ON -> frontend/src/lib/components/reports/ReportsList.svelte
### 📁 `[taskId]/`
- 🏗️ **Layers:** Unknown
- 📊 **Tiers:** TRIVIAL: 11
- 📄 **Files:** 1
- 📦 **Entities:** 11
- 🏗️ **Layers:** UI Tests, Unknown
- 📊 **Tiers:** STANDARD: 2, TRIVIAL: 11
- 📄 **Files:** 2
- 📦 **Entities:** 13
**Key Entities:**
- 📦 **+page** (Module) `[TRIVIAL]`
- Auto-generated module for frontend/src/routes/reports/llm/[t...
- 📦 **frontend.src.routes.reports.llm.taskid.report_page_contract_test** (Module)
- Protect the LLM report page from self-triggering screenshot ...
### 📁 `settings/`
- 🏗️ **Layers:** UI, Unknown
- 📊 **Tiers:** CRITICAL: 1, STANDARD: 1, TRIVIAL: 25
- 📊 **Tiers:** CRITICAL: 1, STANDARD: 1, TRIVIAL: 33
- 📄 **Files:** 2
- 📦 **Entities:** 27
- 📦 **Entities:** 35
**Key Entities:**
@@ -1926,6 +2005,10 @@
- 🧩 **StoragePage** (Component)
- Main page for unified file storage management.
**Dependencies:**
- 🔗 DEPENDS_ON -> storageService
### 📁 `services/`
- 🏗️ **Layers:** Service
@@ -1945,6 +2028,7 @@
**Dependencies:**
- 🔗 DEPENDS_ON -> frontend.src.lib.api
- 🔗 DEPENDS_ON -> specs/011-git-integration-dashboard/contracts/api.md
### 📁 `__tests__/`
@@ -2000,6 +2084,8 @@ graph TD
routes-->|DEPENDS_ON|backend
routes-->|DEPENDS_ON|backend
routes-->|DEPENDS_ON|backend
routes-->|CALLS|backend
routes-->|CALLS|backend
routes-->|DEPENDS_ON|backend
routes-->|DEPENDS_ON|backend
routes-->|DEPENDS_ON|backend
@@ -2043,6 +2129,7 @@ graph TD
__tests__-->|TESTS|backend
__tests__-->|TESTS|backend
__tests__-->|DEPENDS_ON|backend
__tests__-->|VERIFIES|backend
__tests__-->|DEPENDS_ON|backend
__tests__-->|VERIFIES|backend
core-->|DEPENDS_ON|backend
@@ -2109,6 +2196,10 @@ graph TD
services-->|DEPENDS_ON|backend
services-->|DEPENDS_ON|backend
services-->|CALLS|backend
services-->|CALLS|backend
services-->|DEPENDS_ON|backend
services-->|DEPENDS_ON|backend
services-->|CALLS|backend
services-->|DEPENDS_ON|backend
services-->|DEPENDS_ON|backend
services-->|DEPENDS_ON|backend
@@ -2202,20 +2293,50 @@ graph TD
clean_release-->|DEPENDS_ON|backend
clean_release-->|TESTS|backend
clean_release-->|TESTS|backend
components-->|USED_BY|routes
components-->|USES|lib
components-->|USES|services
components-->|USES|tasks
components-->|USED_BY|routes
components-->|USES|lib
components-->|USES|lib
components-->|DEPENDS_ON|lib
components-->|DEPENDS_ON|lib
__tests__-->|VERIFIES|components
git-->|CALLS|services
__tests__-->|VERIFIES|components
llm-->|DEPENDS_ON|backend
llm-->|DEPENDS_ON|backend
__tests__-->|VERIFIES|components
tasks-->|USES|components
tasks-->|USES|components
tools-->|USES|services
tools-->|USES|services
tools-->|USES|services
tools-->|USES|services
tools-->|USES|services
__tests__-->|TESTS|lib
__tests__-->|VERIFIES|lib
__tests__-->|VERIFIES|lib
__tests__-->|TESTS|lib
reports-->|DEPENDS_ON|lib
reports-->|DEPENDS_ON|lib
reports-->|DEPENDS_ON|lib
reports-->|DEPENDS_ON|lib
reports-->|DEPENDS_ON|lib
__tests__-->|TESTS|routes
__tests__-->|TESTS|routes
__tests__-->|TESTS|lib
__tests__-->|TESTS|lib
__tests__-->|TESTS|lib
__tests__-->|TESTS|routes
pages-->|DEPENDS_ON|lib
llm-->|CALLS|components
__tests__-->|TESTS|routes
__tests__-->|VERIFIES|routes
__tests__-->|TESTS|routes
__tests__-->|TESTS|routes
__tests__-->|TESTS|routes
reports-->|DEPENDS_ON|lib
reports-->|DEPENDS_ON|lib
[taskId]-->|VERIFIES|routes
```

File diff suppressed because it is too large Load Diff