git list refactor

This commit is contained in:
2026-03-01 12:13:19 +03:00
parent 5d45b4adb0
commit f24200d52a
26 changed files with 10313 additions and 2179 deletions

View File

@@ -165,6 +165,8 @@
- 📝 Creates a normalized Error object for failed API responses.
- ƒ **notifyApiError** (`Function`)
- 📝 Shows toast for API errors with explicit handling of critical statuses.
- ƒ **shouldSuppressApiErrorToast** (`Function`)
- 📝 Avoid noisy toasts for expected non-critical API failures.
- ƒ **getWsUrl** (`Function`)
- 📝 Returns the WebSocket URL for a specific task, with fallback logic.
- ƒ **getAuthHeaders** (`Function`)
@@ -187,6 +189,7 @@
- 🗄️ **authStore** (`Store`)
- 📝 Manages the global authentication state on the frontend.
- 🏗️ Layer: Feature
- 🔗 BINDS_TO -> `Navbar, ProtectedRoute`
- 📦 **AuthState** (`Interface`)
- 📝 Defines the structure of the authentication state.
- ƒ **createAuthStore** (`Function`)
@@ -208,6 +211,7 @@
- 📝 Control assistant chat panel visibility and active conversation binding.
- 🏗️ Layer: UI
- 🔒 Invariant: conversationId persists while panel toggles unless explicitly reset.
- 🔗 BINDS_TO -> `AssistantChatPanel`
- ƒ **toggleAssistantChat** (`Function`)
- 📝 Toggle assistant panel visibility.
- ƒ **openAssistantChat** (`Function`)
@@ -344,6 +348,8 @@
- 📝 Retrieve paginated assistant conversation history.
- ƒ **getAssistantConversations** (`Function`)
- 📝 Retrieve paginated conversation list for assistant sidebar/history switcher.
- ƒ **deleteAssistantConversation** (`Function`)
- 📝 Soft-delete or hard-delete a conversation.
- 📦 **frontend.src.lib.api.__tests__.reports_api** (`Module`)
- 📝 Unit tests for reports API client functions: query string building, error normalization, and fetch wrappers.
- 🏗️ Layer: Infra (Tests)
@@ -415,6 +421,8 @@
- 📝 Load current conversation history when panel becomes visible.
- ƒ **loadConversations** (`Function`)
- 📝 Load paginated conversation summaries for quick switching UI.
- ƒ **removeConversation** (`Function`)
- 📝 Removes a conversation from the list and deletes it from the backend.
- ƒ **loadOlderMessages** (`Function`)
- 📝 Lazy-load older messages for active conversation when user scrolls to top.
- ƒ **appendLocalUserMessage** (`Function`)
@@ -658,6 +666,10 @@
- 📝 Auto-detected function (orphan)
- ƒ **resolveEnvironmentId** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **normalizeSupersetBaseUrl** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **resolveSupersetDashboardUrl** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **loadActiveTaskDetails** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **extractPrimaryDashboardId** (`Function`) `[TRIVIAL]`
@@ -786,6 +798,12 @@
- 📝 Auto-detected function (orphan)
- ƒ **openTaskDetails** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **cleanupScreenshotBlobUrls** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **loadScreenshotBlobUrls** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **openScreenshot** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- 🧩 **LoginPage** (`Component`)
- 📝 Provides the user interface for local and ADFS authentication.
- 🏗️ Layer: UI
@@ -810,11 +828,67 @@
- 📝 Dashboard Hub - Central hub for managing dashboards with Git status and task actions
- 🏗️ Layer: UI
- 🔒 Invariant: Always shows dashboards for the active environment from context store
- ƒ **DashboardHub.normalizeTaskStatus** (`Function`)
- 📝 Normalize raw task status to stable lowercase token for UI.
- ƒ **DashboardHub.normalizeValidationStatus** (`Function`)
- 📝 Normalize validation status to pass/fail/warn/unknown.
- ƒ **DashboardHub.getValidationBadgeClass** (`Function`)
- 📝 Map validation level to badge class tuple.
- ƒ **DashboardHub.getValidationLabel** (`Function`)
- 📝 Map normalized validation level to compact UI label.
- ƒ **DashboardHub.normalizeOwners** (`Function`)
- 📝 Normalize owners payload to unique non-empty display labels.
- ƒ **DashboardHub.loadDashboards** (`Function`)
- 📝 Load full dashboard dataset for current environment and hydrate grid projection.
- ƒ **DashboardHub.formatDate** (`Function`)
- 📝 Convert ISO timestamp to locale date string.
- ƒ **DashboardHub.getGitSummaryLabel** (`Function`)
- 📝 Compute stable text label for git state column.
- ƒ **DashboardHub.getLlmSummaryLabel** (`Function`)
- 📝 Compute normalized LLM validation summary label.
- ƒ **DashboardHub.getColumnCellValue** (`Function`)
- 📝 Resolve comparable/filterable display value for any grid column.
- ƒ **DashboardHub.getFilterOptions** (`Function`)
- 📝 Build unique sorted value list for a column filter dropdown.
- ƒ **DashboardHub.getVisibleFilterOptions** (`Function`)
- 📝 Apply in-dropdown search over full filter options.
- ƒ **DashboardHub.toggleFilterDropdown** (`Function`)
- 📝 Toggle active column filter popover.
- ƒ **DashboardHub.toggleFilterValue** (`Function`)
- 📝 Add/remove specific filter value and reapply projection.
- ƒ **DashboardHub.clearColumnFilter** (`Function`)
- 📝 Reset selected values for one column.
- ƒ **DashboardHub.selectAllColumnFilterValues** (`Function`)
- 📝 Select all currently visible values in filter popover.
- ƒ **DashboardHub.updateColumnFilterSearch** (`Function`)
- 📝 Update local search token for one filter popover.
- ƒ **DashboardHub.hasColumnFilter** (`Function`)
- 📝 Determine if column has active selected values.
- ƒ **DashboardHub.doesDashboardPassColumnFilters** (`Function`)
- 📝 Evaluate dashboard row against all active column filters.
- ƒ **DashboardHub.getSortValue** (`Function`)
- 📝 Compute stable comparable sort key for chosen column.
- ƒ **DashboardHub.handleSort** (`Function`)
- 📝 Toggle or switch sort order and reapply grid projection.
- ƒ **DashboardHub.getSortIndicator** (`Function`)
- 📝 Return visual indicator for active/inactive sort header.
- ƒ **DashboardHub.applyGridTransforms** (`Function`)
- 📝 Apply search + column filters + sort + pagination to grid data.
- 📦 **+page** (`Module`) `[TRIVIAL]`
- 📝 Auto-generated module for frontend/src/routes/dashboards/+page.svelte
- 🏗️ Layer: Unknown
- ƒ **handleDocumentClick** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **normalizeTaskStatus** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **normalizeValidationStatus** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **getValidationBadgeClass** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **getValidationLabel** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **normalizeOwners** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **loadDashboards** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **handleSearch** (`Function`) `[TRIVIAL]`
@@ -831,6 +905,40 @@
- 📝 Auto-detected function (orphan)
- ƒ **handleSelectVisible** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **formatDate** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **getGitSummaryLabel** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **getLlmSummaryLabel** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **getColumnCellValue** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **getFilterOptions** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **getVisibleFilterOptions** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **toggleFilterDropdown** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **toggleFilterValue** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **clearColumnFilter** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **selectAllColumnFilterValues** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **updateColumnFilterSearch** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **hasColumnFilter** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **doesDashboardPassColumnFilters** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **getSortValue** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **handleSort** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **getSortIndicator** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **applyGridTransforms** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **toggleActionDropdown** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **closeActionDropdown** (`Function`) `[TRIVIAL]`
@@ -847,6 +955,8 @@
- 📝 Auto-detected function (orphan)
- ƒ **loadDbMappings** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **calculateDryRun** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **handleBulkMigrate** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **handleBulkBackup** (`Function`) `[TRIVIAL]`
@@ -865,8 +975,12 @@
- 📝 Auto-detected function (orphan)
- ƒ **updateDashboardGitState** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **normalizeRepositoryStatusPayload** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **refreshDashboardGitState** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **hydrateVisibleGitStatuses** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **handleGitInit** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **handleGitSync** (`Function`) `[TRIVIAL]`
@@ -1008,6 +1122,8 @@
- 📝 Resumes a migration task with provided passwords.
- ƒ **startMigration** (`Function`)
- 📝 Starts the migration process.
- ƒ **startDryRun** (`Function`)
- 📝 Builds pre-flight diff and risk summary without applying migration.
- 🧩 **DashboardSelectionSection** (`Component`)
- 🧩 **MappingManagement** (`Component`)
- 📝 Page for managing database mappings between environments.
@@ -1023,9 +1139,9 @@
- ƒ **handleUpdate** (`Function`)
- 📝 Saves a mapping to the backend.
- 🧩 **StoragePage** (`Component`)
- 📝 Main page for file storage management.
- 📝 Main page for unified file storage management.
- 🏗️ Layer: UI
- 🔒 Invariant: Always displays tabs for Backups and Repositories.
- 🔒 Invariant: Always displays a unified storage view without category tabs.
- ⬅️ READS_FROM `app`
- ⬅️ READS_FROM `t`
- ➡️ WRITES_TO `page`
@@ -1037,6 +1153,8 @@
- 📝 Updates the current path and reloads files when navigating into a directory.
- ƒ **navigateUp** (`Function`)
- 📝 Navigates one level up in the directory structure.
- ƒ **updateUploadCategory** (`Function`)
- 📝 Keeps upload category aligned with the currently viewed top-level folder.
- 🧩 **MapperPage** (`Component`) `[TRIVIAL]`
- 📝 Page for the dataset column mapper tool.
- 🏗️ Layer: UI
@@ -1231,6 +1349,46 @@
- 📝 Deletes a file or directory from storage.
- ƒ **downloadFileUrl** (`Function`)
- 📝 Returns the URL for downloading a file.
- 🧩 **DashboardGrid** (`Component`)
- 📝 Displays a grid of dashboards with selection and pagination.
- 🏗️ Layer: Component
- 🔒 Invariant: Selected IDs must be a subset of available dashboards.
- ⚡ Events: selectionChanged
- ➡️ WRITES_TO `props`
- ➡️ WRITES_TO `state`
- ➡️ WRITES_TO `derived`
- ƒ **handleSort** (`Function`)
- 📝 Toggles sort direction or changes sort column.
- ƒ **handleSelectionChange** (`Function`)
- 📝 Handles individual checkbox changes.
- ƒ **handleSelectAll** (`Function`)
- 📝 Handles select all checkbox.
- ƒ **goToPage** (`Function`)
- 📝 Changes current page.
- ƒ **getRepositoryStatusToken** (`Function`)
- 📝 Returns normalized repository status token for a dashboard.
- ƒ **isRepositoryReady** (`Function`)
- 📝 Determines whether git actions can run for a dashboard.
- ƒ **invalidateRepositoryStatuses** (`Function`)
- 📝 Marks dashboard statuses as loading so they are refetched.
- ƒ **resolveRepositoryStatusToken** (`Function`)
- 📝 Converts git status payload into a stable UI status token.
- ƒ **loadRepositoryStatuses** (`Function`)
- 📝 Hydrates repository status map for dashboards in repository mode.
- ƒ **runBulkGitAction** (`Function`)
- 📝 Executes git action for selected dashboards with limited parallelism.
- ƒ **handleBulkSync** (`Function`)
- ƒ **handleBulkCommit** (`Function`)
- ƒ **handleBulkPull** (`Function`)
- ƒ **handleBulkPush** (`Function`)
- ƒ **handleManageSelected** (`Function`)
- 📝 Opens Git manager for exactly one selected dashboard.
- ƒ **getSortStatusValue** (`Function`)
- 📝 Returns sort value for status column based on mode.
- ƒ **getStatusLabel** (`Function`)
- 📝 Returns localized label for status column.
- ƒ **getStatusBadgeClass** (`Function`)
- 📝 Returns badge style for status column.
- 🧩 **PasswordPrompt** (`Component`)
- 📝 A modal component to prompt the user for database passwords when a migration task is paused.
- 🏗️ Layer: UI
@@ -1605,6 +1763,10 @@
- 📝 Pushes local commits to the remote repository.
- ƒ **handlePull** (`Function`)
- 📝 Pulls changes from the remote repository.
- ƒ **closeModal** (`Function`)
- 📝 Закрывает модальное окно управления Git.
- ƒ **handleBackdropClick** (`Function`)
- 📝 Закрывает модалку по клику на подложку.
- 🧩 **DocPreview** (`Component`)
- 📝 UI component for previewing generated dataset documentation before saving.
- 🏗️ Layer: UI
@@ -1817,14 +1979,26 @@
- 📝 Возвращает базовые HTTP-заголовки, используемые сетевым клиентом.
- ƒ **get_dashboards** (`Function`)
- 📝 Получает полный список дашбордов, автоматически обрабатывая пагинацию.
- ƒ **get_dashboards_page** (`Function`)
- 📝 Fetches a single dashboards page from Superset without iterating all pages.
- ƒ **get_dashboards_summary** (`Function`)
- 📝 Fetches dashboard metadata optimized for the grid.
- ƒ **get_dashboards_summary_page** (`Function`)
- 📝 Fetches one page of dashboard metadata optimized for the grid.
- ƒ **_extract_owner_labels** (`Function`)
- 📝 Normalize dashboard owners payload to stable display labels.
- ƒ **_extract_user_display** (`Function`)
- 📝 Normalize user payload to a stable display name.
- ƒ **_sanitize_user_text** (`Function`)
- 📝 Convert scalar value to non-empty user-facing text.
- ƒ **get_dashboard** (`Function`)
- 📝 Fetches a single dashboard by ID.
- ƒ **get_chart** (`Function`)
- 📝 Fetches a single chart by ID.
- ƒ **get_dashboard_detail** (`Function`)
- 📝 Fetches detailed dashboard information including related charts and datasets.
- ƒ **get_charts** (`Function`)
- 📝 Fetches all charts with pagination support.
- ƒ **_extract_chart_ids_from_layout** (`Function`)
- 📝 Traverses dashboard layout metadata and extracts chart IDs from common keys.
- ƒ **export_dashboard** (`Function`)
@@ -2342,6 +2516,59 @@
- 📝 Test @POST condition: Logger level, handlers, belief state flag, and task log level are updated.
- ƒ **reset_logger_state** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- 📦 **backend.src.core.migration.dry_run_orchestrator** (`Module`)
- 📝 Compute pre-flight migration diff and risk scoring without apply.
- 🏗️ Layer: Core
- 🔒 Invariant: Dry run is informative only and must not mutate target environment.
- 🔗 DEPENDS_ON -> `backend.src.core.superset_client`
- 🔗 DEPENDS_ON -> `backend.src.core.migration_engine`
- 🔗 DEPENDS_ON -> `backend.src.core.migration.archive_parser`
- 🔗 DEPENDS_ON -> `backend.src.core.migration.risk_assessor`
- **MigrationDryRunService** (`Class`)
- 📝 Build deterministic diff/risk payload for migration pre-flight.
- ƒ **__init__** (`Function`)
- 📝 Wire parser dependency for archive object extraction.
- ƒ **run** (`Function`)
- 📝 Execute full dry-run computation for selected dashboards.
- ƒ **_load_db_mapping** (`Function`)
- 📝 Resolve UUID mapping for optional DB config replacement.
- ƒ **_accumulate_objects** (`Function`)
- 📝 Merge extracted resources by UUID to avoid duplicates.
- ƒ **_index_by_uuid** (`Function`)
- 📝 Build UUID-index map for normalized resources.
- ƒ **_build_object_diff** (`Function`)
- 📝 Compute create/update/delete buckets by UUID+signature.
- ƒ **_build_target_signatures** (`Function`)
- 📝 Pull target metadata and normalize it into comparable signatures.
- ƒ **_build_risks** (`Function`)
- 📝 Build risk items for missing datasource, broken refs, overwrite, owner mismatch.
- 📦 **backend.src.core.migration.archive_parser** (`Module`)
- 📝 Parse Superset export ZIP archives into normalized object catalogs for diffing.
- 🏗️ Layer: Core
- 🔒 Invariant: Parsing is read-only and never mutates archive files.
- 🔗 DEPENDS_ON -> `backend.src.core.logger`
- **MigrationArchiveParser** (`Class`)
- 📝 Extract normalized dashboards/charts/datasets metadata from ZIP archives.
- ƒ **extract_objects_from_zip** (`Function`)
- 📝 Extract object catalogs from Superset archive.
- ƒ **_collect_yaml_objects** (`Function`)
- 📝 Read and normalize YAML manifests for one object type.
- ƒ **_normalize_object_payload** (`Function`)
- 📝 Convert raw YAML payload to stable diff signature shape.
- 📦 **backend.src.core.migration.risk_assessor** (`Module`)
- 📝 Risk evaluation helpers for migration pre-flight reporting.
- 🏗️ Layer: Core
- ƒ **index_by_uuid** (`Function`)
- 📝 Build UUID-index from normalized objects.
- ƒ **extract_owner_identifiers** (`Function`)
- 📝 Normalize owner payloads for stable comparison.
- ƒ **build_risks** (`Function`)
- 📝 Build risk list from computed diffs and target catalog state.
- ƒ **score_risks** (`Function`)
- 📝 Aggregate risk list into score and level.
- 📦 **backend.src.core.migration.__init__** (`Module`) `[TRIVIAL]`
- 📝 Namespace package for migration pre-flight orchestration components.
- 🏗️ Layer: Core
- 📦 **TaskLoggerModule** (`Module`) `[CRITICAL]`
- 📝 Provides a dedicated logger for tasks with automatic source attribution.
- 🏗️ Layer: Core
@@ -2591,6 +2818,12 @@
- 📝 Provides FastAPI endpoints for Git integration operations.
- 🏗️ Layer: API
- 🔒 Invariant: All Git operations must be routed through GitService.
- ƒ **_build_no_repo_status_payload** (`Function`)
- 📝 Build a consistent status payload for dashboards without initialized repositories.
- ƒ **_handle_unexpected_git_route_error** (`Function`)
- 📝 Convert unexpected route-level exceptions to stable 500 API responses.
- ƒ **_resolve_repository_status** (`Function`)
- 📝 Resolve repository status for one dashboard with graceful NO_REPO semantics.
- ƒ **get_git_configs** (`Function`)
- 📝 List all configured Git servers.
- ƒ **create_git_config** (`Function`)
@@ -2623,6 +2856,8 @@
- 📝 View commit history for a dashboard's repository.
- ƒ **get_repository_status** (`Function`)
- 📝 Get current Git status for a dashboard repository.
- ƒ **get_repository_status_batch** (`Function`)
- 📝 Get Git statuses for multiple dashboard repositories in one request.
- ƒ **get_repository_diff** (`Function`)
- 📝 Get Git diff for a dashboard repository.
- ƒ **generate_commit_message** (`Function`)
@@ -2667,6 +2902,8 @@
- 📝 Fetch all dashboards from the specified environment for the grid.
- ƒ **execute_migration** (`Function`)
- 📝 Execute the migration of selected dashboards.
- ƒ **dry_run_migration** (`Function`)
- 📝 Build pre-flight diff and risk summary without applying migration.
- ƒ **get_migration_settings** (`Function`)
- 📝 Get current migration Cron string explicitly.
- ƒ **update_migration_settings** (`Function`)
@@ -2795,6 +3032,10 @@
- 📝 Schema for dashboard deployment requests.
- **RepoInitRequest** (`Class`)
- 📝 Schema for repository initialization requests.
- **RepoStatusBatchRequest** (`Class`)
- 📝 Schema for requesting repository statuses for multiple dashboards in a single call.
- **RepoStatusBatchResponse** (`Class`)
- 📝 Schema for returning repository statuses keyed by dashboard ID.
- 📦 **backend.src.api.routes.assistant** (`Module`)
- 📝 API routes for LLM assistant command parsing and safe execution orchestration.
- 🏗️ Layer: API
@@ -2865,26 +3106,30 @@
- 📝 Normalize intent entity value types from LLM output to route-compatible values.
- ƒ **_confirmation_summary** (`Function`)
- 📝 Build human-readable confirmation prompt for an intent before execution.
- ƒ **_clarification_text_for_intent** (`Function`)
- 📝 Convert technical missing-parameter errors into user-facing clarification prompts.
- ƒ **_plan_intent_with_llm** (`Function`)
- 📝 Use active LLM provider to select best tool/operation from dynamic catalog.
- ƒ **_authorize_intent** (`Function`)
- 📝 Validate user permissions for parsed intent before confirmation/dispatch.
- ƒ **_dispatch_intent** (`Function`)
- 📝 Execute parsed assistant intent via existing task/plugin/git services.
- ƒ **send_message** (`Function`)
- 📝 Parse assistant command, enforce safety gates, and dispatch executable intent.
- ƒ **confirm_operation** (`Function`)
- 📝 Execute previously requested risky operation after explicit user confirmation.
- ƒ **cancel_operation** (`Function`)
- 📝 Cancel pending risky operation and mark confirmation token as cancelled.
- ƒ **list_conversations** (`Function`)
- 📝 Return paginated conversation list for current user with archived flag and last message preview.
- ƒ **get_history** (`Function`)
- 📝 Retrieve paginated assistant conversation history for current user.
- ƒ **get_assistant_audit** (`Function`)
- 📝 Return assistant audit decisions for current user from persistent and in-memory stores.
- ƒ **_clarification_text_for_intent** (`Function`)
- 📝 Convert technical missing-parameter errors into user-facing clarification prompts.
- ƒ **_plan_intent_with_llm** (`Function`)
- 📝 Use active LLM provider to select best tool/operation from dynamic catalog.
- ƒ **_authorize_intent** (`Function`)
- 📝 Validate user permissions for parsed intent before confirmation/dispatch.
- ƒ **_dispatch_intent** (`Function`)
- 📝 Execute parsed assistant intent via existing task/plugin/git services.
- ƒ **send_message** (`Function`)
- 📝 Parse assistant command, enforce safety gates, and dispatch executable intent.
- ƒ **confirm_operation** (`Function`)
- 📝 Execute previously requested risky operation after explicit user confirmation.
- ƒ **cancel_operation** (`Function`)
- 📝 Cancel pending risky operation and mark confirmation token as cancelled.
- ƒ **list_conversations** (`Function`)
- 📝 Return paginated conversation list for current user with archived flag and last message preview.
- ƒ **delete_conversation** (`Function`)
- 📝 Soft-delete or hard-delete a conversation and clear its in-memory trace.
- ƒ **get_history** (`Function`)
- 📝 Retrieve paginated assistant conversation history for current user.
- ƒ **get_assistant_audit** (`Function`)
- 📝 Return assistant audit decisions for current user from persistent and in-memory stores.
- ƒ **_async_confirmation_summary** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **_label** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- 📦 **storage_routes** (`Module`)
@@ -3020,6 +3265,52 @@
- 📝 Auto-detected function (orphan)
- ƒ **_network_request** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- 📦 **backend.src.api.routes.__tests__.test_git_status_route** (`Module`)
- 📝 Validate status endpoint behavior for missing and error repository states.
- 🏗️ Layer: Domain (Tests)
- 🔗 CALLS -> `src.api.routes.git.get_repository_status`
- ƒ **test_get_repository_status_returns_no_repo_payload_for_missing_repo** (`Function`)
- 📝 Ensure missing local repository is represented as NO_REPO payload instead of an API error.
- ƒ **test_get_repository_status_propagates_non_404_http_exception** (`Function`)
- 📝 Ensure HTTP exceptions other than 404 are not masked.
- ƒ **test_get_repository_diff_propagates_http_exception** (`Function`)
- 📝 Ensure diff endpoint preserves domain HTTP errors from GitService.
- ƒ **test_get_history_wraps_unexpected_error_as_500** (`Function`)
- 📝 Ensure non-HTTP exceptions in history endpoint become deterministic 500 errors.
- ƒ **test_commit_changes_wraps_unexpected_error_as_500** (`Function`)
- 📝 Ensure commit endpoint does not leak unexpected errors as 400.
- ƒ **test_get_repository_status_batch_returns_mixed_statuses** (`Function`)
- 📝 Ensure batch endpoint returns per-dashboard statuses in one response.
- ƒ **test_get_repository_status_batch_marks_item_as_error_on_service_failure** (`Function`)
- 📝 Ensure batch endpoint marks failed items as ERROR without failing entire request.
- ƒ **test_get_repository_status_batch_deduplicates_and_truncates_ids** (`Function`)
- 📝 Ensure batch endpoint protects server from oversized payloads.
- ƒ **_get_repo_path** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **get_status** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **_get_repo_path** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **get_status** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **get_diff** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **get_commit_history** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **commit_changes** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **_get_repo_path** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **get_status** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **_get_repo_path** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **get_status** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **_get_repo_path** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **get_status** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- 📦 **backend.tests.test_reports_openapi_conformance** (`Module`)
- 📝 Validate implemented reports payload shape against OpenAPI-required top-level contract fields.
- 🏗️ Layer: Domain (Tests)
@@ -3221,6 +3512,8 @@
- 📝 Auto-detected function (orphan)
- ƒ **get_environments** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **get_config** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **__init__** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **filter** (`Function`) `[TRIVIAL]`
@@ -3249,6 +3542,8 @@
- 📝 Auto-detected function (orphan)
- ƒ **rollback** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **run** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- 📦 **backend.src.api.routes.__tests__.test_migration_routes** (`Module`)
- 📝 Unit tests for migration API route handlers.
- 🏗️ Layer: API
@@ -3294,6 +3589,10 @@
- 📝 Auto-detected function (orphan)
- ƒ **test_execute_migration_invalid_env_raises_400** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **test_dry_run_migration_returns_diff_and_risk** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **test_dry_run_migration_rejects_same_environment** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- 📦 **backend.src.models.config** (`Module`)
- 📝 Defines database schema for persisted application configuration.
- 🏗️ Layer: Domain
@@ -3508,7 +3807,15 @@
- 📝 Fetch dashboards from environment with Git status and last task status
- 🔗 CALLS -> `SupersetClient.get_dashboards_summary`
- 🔗 CALLS -> `self._get_git_status_for_dashboard`
- 🔗 CALLS -> `self._get_last_task_for_resource`
- 🔗 CALLS -> `self._get_last_llm_task_for_dashboard`
- ƒ **get_dashboards_page_with_status** (`Function`)
- 📝 Fetch one dashboard page from environment and enrich only that page with status metadata.
- ƒ **_get_last_llm_task_for_dashboard** (`Function`)
- 📝 Get most recent LLM validation task for a dashboard in an environment
- ƒ **_normalize_task_status** (`Function`)
- 📝 Normalize task status to stable uppercase values for UI/API projections
- ƒ **_normalize_validation_status** (`Function`)
- 📝 Normalize LLM validation status to PASS/FAIL/WARN/UNKNOWN
- ƒ **get_datasets_with_status** (`Function`)
- 📝 Fetch datasets from environment with mapping progress and last task status
- 🔗 CALLS -> `SupersetClient.get_datasets_summary`
@@ -3524,6 +3831,8 @@
- 📝 Extract resource name from task params
- ƒ **_extract_resource_type_from_task** (`Function`)
- 📝 Extract resource type from task params
- ƒ **_task_time** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- 📦 **backend.src.services.llm_prompt_templates** (`Module`)
- 📝 Provide default LLM prompt templates and normalization helpers for runtime usage.
- 🏗️ Layer: Domain
@@ -4521,3 +4830,17 @@
- 📝 Auto-detected function (orphan)
- ƒ **test_transform_yaml_nonexistent_file** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- 📦 **backend.tests.core.migration.test_dry_run_orchestrator** (`Module`)
- 📝 Unit tests for MigrationDryRunService diff and risk computation contracts.
- 🏗️ Layer: Domain
- ƒ **_load_fixture** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **_make_session** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **test_migration_dry_run_service_builds_diff_and_risk** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- 📦 **backend.tests.core.migration.test_archive_parser** (`Module`)
- 📝 Unit tests for MigrationArchiveParser ZIP extraction contract.
- 🏗️ Layer: Domain
- ƒ **test_extract_objects_from_zip_collects_all_types** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)