Files
ss-tools/.ai/MODULE_MAP.md
2026-03-21 16:09:13 +03:00

211 KiB
Raw Blame History

Module Map

High-level module structure for AI Context. Generated automatically.

Generated: 2026-03-21T16:00:19.285859

Summary

  • Total Modules: 316
  • Total Entities: 6940

Module Hierarchy

📁 backend/

  • 🏗️ Layers: Utility
  • 📊 Tiers: TRIVIAL: 2
  • 📄 Files: 1
  • 📦 Entities: 2

Key Entities:

  • 📦 DeleteRunningTasksUtil (Module) [TRIVIAL]
    • Script to delete tasks with RUNNING status from the database...

Dependencies:

  • 🔗 DEPENDS_ON -> TaskRecord
  • 🔗 DEPENDS_ON -> TasksSessionLocal

📁 src/

  • 🏗️ Layers: API, Core, UI (API)
  • 📊 Tiers: CRITICAL: 2, STANDARD: 7, TRIVIAL: 20
  • 📄 Files: 3
  • 📦 Entities: 29

Key Entities:

- 📦 **AppDependencies** (Module)
  - Manages creation and provision of shared application depende...
- 📦 **AppModule** (Module) `[CRITICAL]`
  - The main entry point for the FastAPI application. It initial...
- 📦 **SrcRoot** (Module) `[TRIVIAL]`
  - Canonical backend package root for application, scripts, and...

Dependencies:

- 🔗 DEPENDS_ON -> ApiRoutesModule
- 🔗 DEPENDS_ON -> AppDependencies
- 🔗 DEPENDS_ON -> LoggerModule
- 🔗 DEPENDS_ON -> OAuth2PasswordBearer

### 📁 `api/`

- 🏗️ **Layers:** API
- 📊 **Tiers:** STANDARD: 6, TRIVIAL: 2
- 📄 **Files:** 2
- 📦 **Entities:** 8

**Key Entities:**

  - 📦 **AuthApi** (Module)
    - Authentication API endpoints.

**Dependencies:**

  - 🔗 DEPENDS_ON -> AuthService
  - 🔗 DEPENDS_ON -> fastapi.APIRouter
  - 🔗 DEPENDS_ON -> get_auth_db
  - 🔗 DEPENDS_ON -> get_current_user
  - 🔗 DEPENDS_ON -> is_adfs_configured

  ### 📁 `routes/`

  - 🏗️ **Layers:** API, Infra, UI (API), UI/API
  - 📊 **Tiers:** CRITICAL: 10, STANDARD: 96, TRIVIAL: 271
  - 📄 **Files:** 22
  - 📦 **Entities:** 377

  **Key Entities:**

    -  **ApprovalRequest** (Class) `[TRIVIAL]`
      - Schema for approval request payload.
    -  **ApproveMappingRequest** (Class) `[TRIVIAL]`
      - Optional request DTO for explicit mapping approval audit not...
    -  **AssistantAction** (Class) `[TRIVIAL]`
      - UI action descriptor returned with assistant responses.
    -  **AssistantMessageRequest** (Class) `[TRIVIAL]`
      - Input payload for assistant message endpoint.
    -  **AssistantMessageResponse** (Class) `[TRIVIAL]`
      - Output payload contract for assistant interaction endpoints.
    -  **BatchApproveMappingRequest** (Class) `[TRIVIAL]`
      - Request DTO for explicit batch mapping approvals aligned wit...
    -  **BatchApproveSemanticItemRequest** (Class) `[TRIVIAL]`
      - Request DTO for one batch semantic-approval item aligned wit...
    -  **BatchApproveSemanticRequest** (Class) `[TRIVIAL]`
      - Request DTO for explicit batch semantic approvals inside one...
    -  **BranchCheckout** (Class) `[TRIVIAL]`
      - Schema for branch checkout requests.
    -  **BranchCreate** (Class) `[TRIVIAL]`
      - Schema for branch creation requests.

  **Dependencies:**

    - 🔗 DEPENDS_ON -> ADGroupMapping:Class
    - 🔗 DEPENDS_ON -> ApiRoutesModule
    - 🔗 DEPENDS_ON -> AppConfigRecord
    - 🔗 DEPENDS_ON -> AppDependencies
    - 🔗 DEPENDS_ON -> AssistantAuditRecord

    ### 📁 `__tests__/`

    - 🏗️ **Layers:** API, Domain, Domain (Tests), Tests, UI (API Tests)
    - 📊 **Tiers:** STANDARD: 18, TRIVIAL: 312
    - 📄 **Files:** 20
    - 📦 **Entities:** 330

    **Key Entities:**

      -  **DbMock** (Class) `[TRIVIAL]`
        - In-memory session double for git route tests with minimal qu...
      -  **MockGitService** (Class) `[TRIVIAL]`
      -  **MockGitService** (Class) `[TRIVIAL]`
      -  **MockGitService** (Class) `[TRIVIAL]`
      -  **MockGitService** (Class) `[TRIVIAL]`
      -  **MockGitService** (Class) `[TRIVIAL]`
      -  **SingleConfigDbMock** (Class) `[TRIVIAL]`
      -  **SingleConfigDbMock** (Class) `[TRIVIAL]`
      -  **_FakeConfigManager** (Class) `[TRIVIAL]`
        - Provide deterministic environment aliases required by intent...
      -  **_FakeConfigManager** (Class) `[TRIVIAL]`
        - Deterministic config stub providing hardcoded dev/prod envir...

    **Dependencies:**

      - 🔗 DEPENDS_ON -> ConnectionsRouter
      - 🔗 DEPENDS_ON -> backend.src.api.routes.assistant
      - 🔗 DEPENDS_ON -> backend.src.api.routes.clean_release_v2
      - 🔗 DEPENDS_ON -> backend.src.api.routes.dashboards
      - 🔗 DEPENDS_ON -> src.api.routes.datasets:Module

### 📁 `core/`

- 🏗️ **Layers:** Core, Domain, Infra
- 📊 **Tiers:** CRITICAL: 9, STANDARD: 61, TRIVIAL: 150
- 📄 **Files:** 14
- 📦 **Entities:** 220

**Key Entities:**

  -  **AsyncSupersetClient** (Class)
    - Async sibling of SupersetClient for dashboard read paths.
  -  **AuthSessionLocal** (Class) `[TRIVIAL]`
    - A session factory for the authentication database.
  -  **BeliefFormatter** (Class) `[TRIVIAL]`
    - Custom logging formatter that adds belief state prefixes to ...
  -  **ConfigManager** (Class) `[CRITICAL]`
    - Handles application configuration load, validation, mutation...
  -  **IdMappingService** (Class) `[CRITICAL]`
    - Service handling the cataloging and retrieval of remote Supe...
  -  **LogEntry** (Class) `[TRIVIAL]`
    - A Pydantic model representing a single, structured log entry...
  -  **MigrationEngine** (Class) `[CRITICAL]`
    - Engine for transforming Superset export ZIPs.
  -  **PluginBase** (Class) `[TRIVIAL]`
    - Defines the abstract base class that all plugins must implem...
  -  **PluginConfig** (Class) `[TRIVIAL]`
    - A Pydantic model used to represent the validated configurati...
  -  **PluginLoader** (Class)
    - Scans a specified directory for Python modules, dynamically ...

**Dependencies:**

  - 🔗 DEPENDS_ON -> APIClient
  - 🔗 DEPENDS_ON -> APIClient.__init__
  - 🔗 DEPENDS_ON -> AppConfig
  - 🔗 DEPENDS_ON -> AppConfigRecord
  - 🔗 DEPENDS_ON -> AsyncAPIClient

  ### 📁 `__tests__/`

  - 🏗️ **Layers:** Domain
  - 📊 **Tiers:** STANDARD: 5, TRIVIAL: 60
  - 📄 **Files:** 5
  - 📦 **Entities:** 65

  **Key Entities:**

    -  **_FakeQuery** (Class) `[TRIVIAL]`
      - Minimal query stub returning hardcoded existing environment ...
    -  **_FakeSession** (Class) `[TRIVIAL]`
      - Minimal SQLAlchemy session stub that captures add/delete cal...
    -  **_FakeSession** (Class) `[TRIVIAL]`
      - Minimal session stub tracking commit/close signals for confi...
    -  **_RecordingNetworkClient** (Class) `[TRIVIAL]`
      - Records request payloads and returns scripted responses for ...
    - 📦 **NativeFilterExtractionTests** (Module)
      - Verify native filter extraction from permalinks and native_f...
    - 📦 **SupersetPreviewPipelineTests** (Module)
      - Verify explicit chart-data preview compilation and ensure no...
    - 📦 **TestConfigManagerCompat** (Module)
      - Verifies ConfigManager compatibility wrappers preserve legac...
    - 📦 **TestSupersetProfileLookup** (Module)
      - Verifies Superset profile lookup adapter payload normalizati...
    - 📦 **test_throttled_scheduler** (Module)
      - Unit tests for ThrottledSchedulerConfigurator distribution l...

  ### 📁 `auth/`

  - 🏗️ **Layers:** Core, Domain
  - 📊 **Tiers:** CRITICAL: 3, STANDARD: 2, TRIVIAL: 23
  - 📄 **Files:** 7
  - 📦 **Entities:** 28

  **Key Entities:**

    -  **AuthConfig** (Class) `[CRITICAL]`
      - Holds authentication-related settings.
    -  **AuthRepository** (Class) `[CRITICAL]`
      - Initialize repository with database session.
    - 📦 **AuthConfigModule** (Module) `[TRIVIAL]`
      - Centralized configuration for authentication and authorizati...
    - 📦 **AuthJwtModule** (Module)
      - JWT token generation and validation logic.
    - 📦 **AuthLoggerModule** (Module)
      - Audit logging for security-related events.
    - 📦 **AuthOauthModule** (Module) `[TRIVIAL]`
      - ADFS OIDC configuration and client using Authlib.
    - 📦 **AuthRepositoryModule** (Module) `[CRITICAL]`
      - Data access layer for authentication and user preference ent...
    - 📦 **AuthSecurityModule** (Module) `[TRIVIAL]`
      - Utility for password hashing and verification using Passlib.

  **Dependencies:**

    - 🔗 DEPENDS_ON -> ADGroupMapping
    - 🔗 DEPENDS_ON -> AuthConfig
    - 🔗 DEPENDS_ON -> OAuth
    - 🔗 DEPENDS_ON -> Permission
    - 🔗 DEPENDS_ON -> Role

    ### 📁 `__tests__/`

    - 🏗️ **Layers:** Domain
    - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 14
    - 📄 **Files:** 1
    - 📦 **Entities:** 15

    **Key Entities:**

      - 📦 **test_auth** (Module)
        - Unit tests for authentication module

    ### 📁 `__tests__/`

    - 🏗️ **Layers:** Infra
    - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 11
    - 📄 **Files:** 1
    - 📦 **Entities:** 12

    **Key Entities:**

      - 📦 **test_logger** (Module)
        - Unit tests for logger module

  ### 📁 `migration/`

  - 🏗️ **Layers:** Core, Domain
  - 📊 **Tiers:** CRITICAL: 3, STANDARD: 2, TRIVIAL: 16
  - 📄 **Files:** 4
  - 📦 **Entities:** 21

  **Key Entities:**

    -  **MigrationArchiveParser** (Class) `[CRITICAL]`
      - Extract normalized dashboards/charts/datasets metadata from ...
    -  **MigrationDryRunService** (Class) `[CRITICAL]`
      - Build deterministic diff/risk payload for migration pre-flig...
    - 📦 **MigrationArchiveParserModule** (Module)
      - Parse Superset export ZIP archives into normalized object ca...
    - 📦 **MigrationDryRunOrchestratorModule** (Module)
      - Compute pre-flight migration diff and risk scoring without a...
    - 📦 **MigrationPackage** (Module) `[TRIVIAL]`
      - Namespace package for migration pre-flight orchestration com...
    - 📦 **RiskAssessorModule** (Module) `[CRITICAL]`
      - Compute deterministic migration risk items and aggregate sco...

  **Dependencies:**

    - 🔗 DEPENDS_ON -> LoggerModule
    - 🔗 DEPENDS_ON -> MigrationArchiveParser
    - 🔗 DEPENDS_ON -> MigrationEngine
    - 🔗 DEPENDS_ON -> RiskAssessorModule
    - 🔗 DEPENDS_ON -> SupersetClient

  ### 📁 `task_manager/`

  - 🏗️ **Layers:** Core
  - 📊 **Tiers:** CRITICAL: 8, STANDARD: 39, TRIVIAL: 33
  - 📄 **Files:** 7
  - 📦 **Entities:** 80

  **Key Entities:**

    -  **LogEntry** (Class) `[TRIVIAL]`
      - A Pydantic model representing a single, structured log entry...
    -  **LogFilter** (Class) `[TRIVIAL]`
      - Filter parameters for querying task logs.
    -  **LogStats** (Class) `[TRIVIAL]`
      - Statistics about log entries for a task.
    -  **Task** (Class)
      - A Pydantic model representing a single execution instance of...
    -  **TaskCleanupService** (Class)
      - Provides methods to clean up old task records and their asso...
    -  **TaskContext** (Class) `[CRITICAL]`
      - A container passed to plugin.execute() providing the logger ...
    -  **TaskLog** (Class)
      - A Pydantic model representing a persisted log entry from the...
    -  **TaskLogPersistenceService** (Class) `[CRITICAL]`
      - Provides methods to store, query, summarize, and delete task...
    -  **TaskLogger** (Class) `[TRIVIAL]`
      - A wrapper around TaskManager._add_log that carries task_id a...
    -  **TaskManager** (Class) `[CRITICAL]`
      - Manages the lifecycle of tasks, including their creation, ex...

  **Dependencies:**

    - 🔗 DEPENDS_ON -> Environment
    - 🔗 DEPENDS_ON -> LogFilter
    - 🔗 DEPENDS_ON -> LogLevel
    - 🔗 DEPENDS_ON -> LogStats
    - 🔗 DEPENDS_ON -> PluginLoader

    ### 📁 `__tests__/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 10
    - 📄 **Files:** 2
    - 📦 **Entities:** 11

    **Key Entities:**

      - 📦 **TestContext** (Module)
        - Verify TaskContext preserves optional background task schedu...
      - 📦 **test_task_logger** (Module) `[TRIVIAL]`
        - Auto-generated module for backend/src/core/task_manager/__te...

  ### 📁 `utils/`

  - 🏗️ **Layers:** Core, Domain, Infra
  - 📊 **Tiers:** CRITICAL: 1, STANDARD: 26, TRIVIAL: 127
  - 📄 **Files:** 8
  - 📦 **Entities:** 154

  **Key Entities:**

    -  **APIClient** (Class)
      - Synchronous Superset API client with process-local auth toke...
    -  **AsyncAPIClient** (Class)
      - Async Superset API client backed by httpx.AsyncClient with s...
    -  **AuthenticationError** (Class) `[TRIVIAL]`
      - Exception raised when authentication fails.
    -  **DashboardNotFoundError** (Class) `[TRIVIAL]`
      - Exception raised when a dashboard cannot be found.
    -  **DatasetMapper** (Class) `[TRIVIAL]`
      - Класс для меппинга и обновления verbose_map в датасетах Supe...
    -  **InvalidZipFormatError** (Class) `[TRIVIAL]`
      - Exception raised when a file is not a valid ZIP archive.
    -  **NetworkError** (Class) `[TRIVIAL]`
      - Exception raised when a network level error occurs.
    -  **PermissionDeniedError** (Class) `[TRIVIAL]`
      - Exception raised when access is denied.
    -  **PreviewCompilationPayload** (Class) `[TRIVIAL]`
      - Typed preview payload for Superset-side compilation.
    -  **SqlLabLaunchPayload** (Class) `[TRIVIAL]`
      - Typed SQL Lab payload for audited launch handoff.

  **Dependencies:**

    - 🔗 DEPENDS_ON -> AsyncAPIClient.__init__
    - 🔗 DEPENDS_ON -> AuthenticationError
    - 🔗 DEPENDS_ON -> CompiledPreview
    - 🔗 DEPENDS_ON -> DashboardNotFoundError
    - 🔗 DEPENDS_ON -> Environment

### 📁 `models/`

- 🏗️ **Layers:** Domain, Model, Models
- 📊 **Tiers:** CRITICAL: 6, STANDARD: 25, TRIVIAL: 151
- 📄 **Files:** 16
- 📦 **Entities:** 182

**Key Entities:**

  -  **ADGroupMapping** (Class) `[CRITICAL]`
    - Maps an Active Directory group to a local System Role.
  -  **AnswerKind** (Class) `[TRIVIAL]`
  -  **AppConfigRecord** (Class) `[CRITICAL]`
    - Stores persisted application configuration as a single autho...
  -  **ApprovalDecision** (Class) `[TRIVIAL]`
    - Approval or rejection bound to a candidate and report.
  -  **ApprovalState** (Class) `[TRIVIAL]`
  -  **ArtifactFormat** (Class) `[TRIVIAL]`
  -  **ArtifactType** (Class) `[TRIVIAL]`
  -  **AssistantAuditRecord** (Class)
    - Store audit decisions and outcomes produced by assistant com...
  -  **AssistantConfirmationRecord** (Class)
    - Persist risky operation confirmation tokens with lifecycle s...
  -  **AssistantMessageRecord** (Class)
    - Persist chat history entries for assistant conversations.

**Dependencies:**

  - 🔗 DEPENDS_ON -> AuthModels
  - 🔗 DEPENDS_ON -> Base
  - 🔗 DEPENDS_ON -> MappingModels
  - 🔗 DEPENDS_ON -> MappingModels:Base
  - 🔗 DEPENDS_ON -> Permission

  ### 📁 `__tests__/`

  - 🏗️ **Layers:** Domain, Unknown
  - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 39
  - 📄 **Files:** 3
  - 📦 **Entities:** 40

  **Key Entities:**

    - 📦 **test_clean_release** (Module) `[TRIVIAL]`
      - Auto-generated module for backend/src/models/__tests__/test_...
    - 📦 **test_models** (Module) `[TRIVIAL]`
      - Unit tests for data models
    - 📦 **test_report_models** (Module)
      - Unit tests for report Pydantic models and their validators

### 📁 `plugins/`

- 🏗️ **Layers:** App, Plugin, Plugins
- 📊 **Tiers:** CRITICAL: 2, TRIVIAL: 61
- 📄 **Files:** 7
- 📦 **Entities:** 63

**Key Entities:**

  -  **BackupPlugin** (Class) `[TRIVIAL]`
    - Implementation of the backup plugin logic.
  -  **DebugPlugin** (Class) `[TRIVIAL]`
    - Plugin for system diagnostics and debugging.
  -  **GitPlugin** (Class) `[TRIVIAL]`
    - Реализация плагина Git Integration для управления версиями д...
  -  **MapperPlugin** (Class) `[TRIVIAL]`
    - Plugin for mapping dataset columns verbose names.
  -  **MigrationPlugin** (Class) `[CRITICAL]`
    - Implementation of the migration plugin workflow and transfor...
  -  **SearchPlugin** (Class) `[TRIVIAL]`
    - Plugin for searching text patterns in Superset datasets.
  - 📦 **BackupPlugin** (Module) `[TRIVIAL]`
    - A plugin that provides functionality to back up Superset das...
  - 📦 **DebugPluginModule** (Module) `[TRIVIAL]`
    - Implements a plugin for system diagnostics and debugging Sup...
  - 📦 **MapperPluginModule** (Module) `[TRIVIAL]`
    - Implements a plugin for mapping dataset columns using extern...
  - 📦 **MigrationPlugin** (Module) `[CRITICAL]`
    - Orchestrates export, DB-mapping transformation, and import o...

**Dependencies:**

  - 🔗 DEPENDS_ON -> IdMappingService
  - 🔗 DEPENDS_ON -> MigrationEngine
  - 🔗 DEPENDS_ON -> SupersetClient
  - 🔗 DEPENDS_ON -> superset_tool.client
  - 🔗 DEPENDS_ON -> superset_tool.utils

  ### 📁 `git/`

  - 🏗️ **Layers:** Unknown
  - 📊 **Tiers:** TRIVIAL: 5
  - 📄 **Files:** 2
  - 📦 **Entities:** 5

  **Key Entities:**

    -  **GitLLMExtension** (Class) `[TRIVIAL]`
      - Provides LLM capabilities to the Git plugin.
    - 📦 **llm_extension** (Module) `[TRIVIAL]`
      - Auto-generated module for backend/src/plugins/git/llm_extens...

  ### 📁 `llm_analysis/`

  - 🏗️ **Layers:** Unknown
  - 📊 **Tiers:** TRIVIAL: 67
  - 📄 **Files:** 4
  - 📦 **Entities:** 67

  **Key Entities:**

    -  **DashboardValidationPlugin** (Class) `[TRIVIAL]`
      - Plugin for automated dashboard health analysis using LLMs.
    -  **DetectedIssue** (Class) `[TRIVIAL]`
      - Model for a single issue detected during validation.
    -  **DocumentationPlugin** (Class) `[TRIVIAL]`
      - Plugin for automated dataset documentation using LLMs.
    -  **LLMClient** (Class) `[TRIVIAL]`
      - Wrapper for LLM provider APIs.
    -  **LLMProviderConfig** (Class) `[TRIVIAL]`
      - Configuration for an LLM provider.
    -  **LLMProviderType** (Class) `[TRIVIAL]`
      - Enum for supported LLM providers.
    -  **ScreenshotService** (Class) `[TRIVIAL]`
      - Handles capturing screenshots of Superset dashboards.
    -  **ValidationResult** (Class) `[TRIVIAL]`
      - Model for dashboard validation result.
    -  **ValidationStatus** (Class) `[TRIVIAL]`
      - Enum for dashboard validation status.
    - 📦 **plugin** (Module) `[TRIVIAL]`
      - Auto-generated module for backend/src/plugins/llm_analysis/p...

  **Dependencies:**

    - 🔗 IMPLEMENTS -> backend.src.core.plugin_base.PluginBase

    ### 📁 `__tests__/`

    - 📊 **Tiers:** STANDARD: 3, TRIVIAL: 53
    - 📄 **Files:** 3
    - 📦 **Entities:** 56

    **Key Entities:**

      - 📦 **TestClientHeaders** (Module)
        - Verify OpenRouter client initialization includes provider-sp...
      - 📦 **TestScreenshotService** (Module)
        - Protect dashboard screenshot navigation from brittle network...
      - 📦 **TestService** (Module)
        - Verify LLM analysis transport/provider failures do not masqu...

  ### 📁 `storage/`

  - 🏗️ **Layers:** App
  - 📊 **Tiers:** TRIVIAL: 18
  - 📄 **Files:** 1
  - 📦 **Entities:** 18

  **Key Entities:**

    -  **StoragePlugin** (Class) `[TRIVIAL]`
      - Implementation of the storage management plugin.
    - 📦 **StoragePlugin** (Module) `[TRIVIAL]`
      - Provides core filesystem operations for managing backups and...

  **Dependencies:**

    - 🔗 DEPENDS_ON -> backend.src.models.storage
    - 🔗 IMPLEMENTS -> PluginBase

### 📁 `schemas/`

- 🏗️ **Layers:** API, Domain
- 📊 **Tiers:** CRITICAL: 9, STANDARD: 13, TRIVIAL: 28
- 📄 **Files:** 6
- 📦 **Entities:** 50

**Key Entities:**

  -  **ADGroupMappingCreate** (Class) `[CRITICAL]`
    - Schema for creating an AD Group mapping.
  -  **ADGroupMappingSchema** (Class) `[CRITICAL]`
    - Represents an AD Group to Role mapping in API responses.
  -  **ClarificationAnswerDto** (Class) `[TRIVIAL]`
  -  **ClarificationOptionDto** (Class) `[TRIVIAL]`
  -  **ClarificationQuestionDto** (Class) `[TRIVIAL]`
  -  **ClarificationSessionDto** (Class) `[TRIVIAL]`
  -  **CompiledPreviewDto** (Class) `[TRIVIAL]`
  -  **DashboardHealthItem** (Class) `[TRIVIAL]`
    - Represents the latest health status of a single dashboard.
  -  **DatasetProfileDto** (Class) `[TRIVIAL]`
  -  **DatasetRunContextDto** (Class) `[TRIVIAL]`

**Dependencies:**

  - 🔗 DEPENDS_ON -> DatasetReviewModels
  - 🔗 DEPENDS_ON -> pydantic

  ### 📁 `__tests__/`

  - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 3
  - 📄 **Files:** 1
  - 📦 **Entities:** 4

  **Key Entities:**

    - 📦 **TestSettingsAndHealthSchemas** (Module)
      - Regression tests for settings and health schema contracts up...

### 📁 `scripts/`

- 🏗️ **Layers:** Scripts, UI
- 📊 **Tiers:** STANDARD: 10, TRIVIAL: 66
- 📄 **Files:** 9
- 📦 **Entities:** 76

**Key Entities:**

  -  **CleanReleaseTUI** (Class) `[TRIVIAL]`
    - Curses-based application for compliance monitoring.
  -  **TuiFacadeAdapter** (Class) `[TRIVIAL]`
    - Thin TUI adapter that routes business mutations through appl...
  - 📦 **InitAuthDbScript** (Module) `[TRIVIAL]`
    - Initializes the auth database and creates the necessary tabl...
  - 📦 **SeedPermissionsScript** (Module)
    - Populates the auth database with initial system permissions.
  - 📦 **backend.src.scripts.clean_release_cli** (Module)
    - Provide headless CLI commands for candidate registration, ar...
  - 📦 **backend.src.scripts.clean_release_tui** (Module)
    - Interactive terminal interface for Enterprise Clean Release ...
  - 📦 **backend.src.scripts.create_admin** (Module)
    - CLI tool for creating the initial admin user.
  - 📦 **backend.src.scripts.migrate_sqlite_to_postgres** (Module)
    - Migrates legacy config and task history from SQLite/file sto...
  - 📦 **backend.src.scripts.seed_superset_load_test** (Module)
    - Creates randomized load-test data in Superset by cloning cha...
  - 📦 **test_dataset_dashboard_relations_script** (Module) `[TRIVIAL]`
    - Tests and inspects dataset-to-dashboard relationship respons...

**Dependencies:**

  - 🔗 DEPENDS_ON -> AuthRepository
  - 🔗 DEPENDS_ON -> AuthSessionLocal
  - 🔗 DEPENDS_ON -> INITIAL_PERMISSIONS
  - 🔗 DEPENDS_ON -> Permission
  - 🔗 DEPENDS_ON -> Role

### 📁 `services/`

- 🏗️ **Layers:** Core, Domain, Domain/Service, Service
- 📊 **Tiers:** CRITICAL: 5, STANDARD: 43, TRIVIAL: 113
- 📄 **Files:** 10
- 📦 **Entities:** 161

**Key Entities:**

  -  **AuthService** (Class)
    - Provides high-level authentication services.
  -  **EncryptionManager** (Class) `[CRITICAL]`
    - Handles encryption and decryption of sensitive data like API...
  -  **EnvironmentNotFoundError** (Class) `[TRIVIAL]`
    - 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)
    - Service for handling database mapping logic.
  -  **ProfileAuthorizationError** (Class) `[TRIVIAL]`
    - Raised when caller attempts cross-user preference mutation.
  -  **ProfileService** (Class) `[CRITICAL]`
    - Implements profile preference read/update flow and Superset ...
  -  **ProfileValidationError** (Class) `[TRIVIAL]`
    - Domain validation error for profile preference update reques...

**Dependencies:**

  - 🔗 DEPENDS_ON -> AuthRepository
  - 🔗 DEPENDS_ON -> GitService
  - 🔗 DEPENDS_ON -> MappingService
  - 🔗 DEPENDS_ON -> Role
  - 🔗 DEPENDS_ON -> SupersetClient

  ### 📁 `__tests__/`

  - 🏗️ **Layers:** Domain, Domain Tests, Service, Service Tests
  - 📊 **Tiers:** STANDARD: 10, TRIVIAL: 84
  - 📄 **Files:** 7
  - 📦 **Entities:** 94

  **Key Entities:**

    -  **TestEncryptionManager** (Class) `[TRIVIAL]`
      - Validate EncryptionManager encrypt/decrypt roundtrip, unique...
    -  **_DummyLogger** (Class) `[TRIVIAL]`
      - Minimal logger shim for TaskContext-like objects used in tes...
    -  **_FakeConfigManager** (Class) `[TRIVIAL]`
      - Config manager stub providing storage root path and minimal ...
    -  **_FakeDBSession** (Class) `[TRIVIAL]`
      - Captures persisted records for assertion and mimics SQLAlche...
    -  **_FakeLLMClient** (Class) `[TRIVIAL]`
      - Deterministic LLM client double returning canonical analysis...
    -  **_FakeNotificationService** (Class) `[TRIVIAL]`
      - Notification service stub that accepts plugin dispatch_repor...
    -  **_FakeProviderService** (Class) `[TRIVIAL]`
      - LLM provider service stub returning deterministic provider a...
    -  **_FakeScreenshotService** (Class) `[TRIVIAL]`
      - Screenshot service stub that accepts capture_dashboard calls...
    -  **_FakeSupersetClient** (Class) `[TRIVIAL]`
      - Superset client stub exposing network.request as a lambda th...
    - 📦 **TestResourceService** (Module)
      - Unit tests for ResourceService

  **Dependencies:**

    - 🔗 DEPENDS_ON -> backend.src.services.llm_prompt_templates:Function
    - 🔗 DEPENDS_ON -> pytest:Module

  ### 📁 `clean_release/`

  - 🏗️ **Layers:** Application, Domain, Infra
  - 📊 **Tiers:** CRITICAL: 9, STANDARD: 13, TRIVIAL: 84
  - 📄 **Files:** 22
  - 📦 **Entities:** 106

  **Key Entities:**

    -  **CleanComplianceOrchestrator** (Class) `[TRIVIAL]`
      - Coordinate clean-release compliance verification stages.
    -  **CleanPolicyEngine** (Class) `[TRIVIAL]`
    -  **CleanReleaseRepository** (Class) `[TRIVIAL]`
      - Data access object for clean release lifecycle.
    -  **ComplianceExecutionResult** (Class) `[TRIVIAL]`
      - Return envelope for compliance execution with run/report and...
    -  **ComplianceExecutionService** (Class) `[TRIVIAL]`
      - Execute clean-release compliance lifecycle over trusted snap...
    - 📦 **approval_service** (Module) `[CRITICAL]`
      - Enforce approval/rejection gates over immutable compliance r...
    - 📦 **artifact_catalog_loader** (Module)
      - Load bootstrap artifact catalogs for clean release real-mode...
    - 📦 **audit_service** (Module)
      - Provide lightweight audit hooks for clean release preparatio...
    - 📦 **candidate_service** (Module) `[CRITICAL]`
      - Register release candidates with validated artifacts and adv...
    - 📦 **clean_release** (Module)
      - Redesigned clean release compliance subsystem.

  **Dependencies:**

    - 🔗 DEPENDS_ON -> backend.src.core.config_manager
    - 🔗 DEPENDS_ON -> backend.src.core.logger
    - 🔗 DEPENDS_ON -> backend.src.models.clean_release
    - 🔗 DEPENDS_ON -> backend.src.models.clean_release.CandidateArtifact
    - 🔗 DEPENDS_ON -> backend.src.models.clean_release.CleanProfilePolicy

    ### 📁 `__tests__/`

    - 🏗️ **Layers:** Domain, Infra, Unknown
    - 📊 **Tiers:** STANDARD: 7, TRIVIAL: 36
    - 📄 **Files:** 8
    - 📦 **Entities:** 43

    **Key Entities:**

      - 📦 **TestAuditService** (Module)
        - Validate audit hooks emit expected log patterns for clean re...
      - 📦 **TestComplianceOrchestrator** (Module)
        - Validate compliance orchestrator stage transitions and final...
      - 📦 **TestManifestBuilder** (Module)
        - Validate deterministic manifest generation behavior for US1.
      - 📦 **TestPreparationService** (Module)
        - Validate release candidate preparation flow, including polic...
      - 📦 **TestReportBuilder** (Module)
        - Validate compliance report builder counter integrity and blo...
      - 📦 **TestSourceIsolation** (Module)
        - Verify internal source registry validation behavior.
      - 📦 **TestStages** (Module)
        - Validate final status derivation logic from stage results.
      - 📦 **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
    - 📊 **Tiers:** STANDARD: 10, TRIVIAL: 46
    - 📄 **Files:** 10
    - 📦 **Entities:** 56

    **Key Entities:**

      - 📦 **approval_repository** (Module)
        - Persist and query approval decisions.
      - 📦 **artifact_repository** (Module)
        - Persist and query candidate artifacts.
      - 📦 **audit_repository** (Module)
        - Persist and query audit logs for clean release operations.
      - 📦 **candidate_repository** (Module)
        - Persist and query release candidates.
      - 📦 **clean_release_repositories** (Module)
        - Export all clean release repositories.
      - 📦 **compliance_repository** (Module)
        - Persist and query compliance runs, stage runs, and violation...
      - 📦 **manifest_repository** (Module)
        - Persist and query distribution manifests.
      - 📦 **policy_repository** (Module)
        - Persist and query policy and registry snapshots.
      - 📦 **publication_repository** (Module)
        - Persist and query publication records.
      - 📦 **report_repository** (Module)
        - Persist and query compliance reports.

    ### 📁 `stages/`

    - 🏗️ **Layers:** Domain
    - 📊 **Tiers:** STANDARD: 6, TRIVIAL: 18
    - 📄 **Files:** 6
    - 📦 **Entities:** 24

    **Key Entities:**

      -  **ComplianceStage** (Class) `[TRIVIAL]`
        - Protocol for pluggable stage implementations.
      -  **ComplianceStageContext** (Class) `[TRIVIAL]`
        - Immutable input envelope passed to each compliance stage.
      -  **DataPurityStage** (Class) `[TRIVIAL]`
        - Validate manifest summary for prohibited artifacts.
      -  **InternalSourcesOnlyStage** (Class) `[TRIVIAL]`
        - Enforce internal-source-only policy from trusted registry sn...
      -  **ManifestConsistencyStage** (Class) `[TRIVIAL]`
        - Validate run/manifest linkage consistency.
      -  **NoExternalEndpointsStage** (Class) `[TRIVIAL]`
        - Validate endpoint references from manifest against trusted r...
      -  **StageExecutionResult** (Class) `[TRIVIAL]`
        - Structured stage output containing decision, details and vio...
      - 📦 **base** (Module)
        - Define shared contracts and helpers for pluggable clean-rele...
      - 📦 **data_purity** (Module)
        - Evaluate manifest purity counters and emit blocking violatio...
      - 📦 **internal_sources_only** (Module)
        - Verify manifest-declared sources belong to trusted internal ...

    **Dependencies:**

      - 🔗 DEPENDS_ON -> backend.src.models.clean_release
      - 🔗 DEPENDS_ON -> backend.src.services.clean_release.stages.base
      - 🔗 IMPLEMENTS -> backend.src.services.clean_release.stages.base.ComplianceStage

  ### 📁 `dataset_review/`

  - 🏗️ **Layers:** Domain, Services
  - 📊 **Tiers:** CRITICAL: 4, STANDARD: 18, TRIVIAL: 48
  - 📄 **Files:** 5
  - 📦 **Entities:** 70

  **Key Entities:**

    -  **ClarificationAnswerCommand** (Class) `[TRIVIAL]`
      - Typed answer command for clarification state mutation.
    -  **ClarificationEngine** (Class)
      - Provide deterministic one-question-at-a-time clarification s...
    -  **ClarificationQuestionPayload** (Class) `[TRIVIAL]`
      - Typed active-question payload returned to the API layer.
    -  **ClarificationStateResult** (Class) `[TRIVIAL]`
      - Clarification state result carrying the current session, act...
    -  **DatasetReviewOrchestrator** (Class) `[CRITICAL]`
      - Coordinate safe session startup while preserving cross-user ...
    -  **DictionaryResolutionResult** (Class) `[TRIVIAL]`
      - Carries field-level dictionary resolution output with explic...
    -  **LaunchDatasetCommand** (Class) `[TRIVIAL]`
      - Typed input contract for launching one dataset-review sessio...
    -  **LaunchDatasetResult** (Class) `[TRIVIAL]`
      - Launch result carrying immutable run context and any gate bl...
    -  **PreparePreviewCommand** (Class) `[TRIVIAL]`
      - Typed input contract for compiling one Superset-backed sessi...
    -  **PreparePreviewResult** (Class) `[TRIVIAL]`
      - Result contract for one persisted compiled preview attempt.

  **Dependencies:**

    - 🔗 DEPENDS_ON -> ClarificationAnswer
    - 🔗 DEPENDS_ON -> ClarificationOption
    - 🔗 DEPENDS_ON -> ClarificationQuestion
    - 🔗 DEPENDS_ON -> ClarificationSession
    - 🔗 DEPENDS_ON -> CompiledPreview

    ### 📁 `repositories/`

    - 🏗️ **Layers:** Domain
    - 📊 **Tiers:** CRITICAL: 1, STANDARD: 9, TRIVIAL: 9
    - 📄 **Files:** 1
    - 📦 **Entities:** 19

    **Key Entities:**

      -  **DatasetReviewSessionRepository** (Class)
        - Enforce ownership-scoped persistence and retrieval for datas...
      - 📦 **DatasetReviewSessionRepository** (Module) `[CRITICAL]`
        - Persist and retrieve dataset review session aggregates, incl...

    **Dependencies:**

      - 🔗 DEPENDS_ON -> CompiledPreview
      - 🔗 DEPENDS_ON -> DatasetProfile
      - 🔗 DEPENDS_ON -> DatasetReviewSession
      - 🔗 DEPENDS_ON -> DatasetRunContext
      - 🔗 DEPENDS_ON -> ExecutionMapping

      ### 📁 `__tests__/`

      - 📊 **Tiers:** TRIVIAL: 10
      - 📄 **Files:** 1
      - 📦 **Entities:** 10

      **Key Entities:**

        - 📦 **SessionRepositoryTests** (Module) `[TRIVIAL]`
          - Unit tests for DatasetReviewSessionRepository.

  ### 📁 `notifications/`

  - 🏗️ **Layers:** Domain, Infra
  - 📊 **Tiers:** CRITICAL: 2, STANDARD: 3, TRIVIAL: 17
  - 📄 **Files:** 3
  - 📦 **Entities:** 22

  **Key Entities:**

    -  **NotificationProvider** (Class) `[TRIVIAL]`
      - Abstract base class for all notification providers.
    -  **NotificationService** (Class) `[TRIVIAL]`
      - Routes validation reports to appropriate users and channels.
    -  **SMTPProvider** (Class)
      - Delivers notifications via SMTP.
    -  **SlackProvider** (Class)
      - Delivers notifications via Slack Webhooks or API.
    -  **TelegramProvider** (Class)
      - Delivers notifications via Telegram Bot API.
    - 📦 **providers** (Module) `[CRITICAL]`
      - Defines abstract base and concrete implementations for exter...
    - 📦 **service** (Module) `[CRITICAL]`
      - Orchestrates notification routing based on user preferences ...

  **Dependencies:**

    - 🔗 DEPENDS_ON -> NotificationProvider
    - 🔗 DEPENDS_ON -> SMTPProvider
    - 🔗 DEPENDS_ON -> SlackProvider
    - 🔗 DEPENDS_ON -> TelegramProvider
    - 🔗 DEPENDS_ON -> backend.src.models.llm

    ### 📁 `__tests__/`

    - 📊 **Tiers:** TRIVIAL: 10
    - 📄 **Files:** 1
    - 📦 **Entities:** 10

    **Key Entities:**

      - 📦 **test_notification_service** (Module) `[TRIVIAL]`
        - Unit tests for NotificationService routing and dispatch logi...

  ### 📁 `reports/`

  - 🏗️ **Layers:** Domain
  - 📊 **Tiers:** CRITICAL: 4, TRIVIAL: 18
  - 📄 **Files:** 4
  - 📦 **Entities:** 22

  **Key Entities:**

    -  **ReportsService** (Class) `[CRITICAL]`
      - Service layer for list/detail report retrieval and normaliza...
    - 📦 **normalizer** (Module) `[CRITICAL]`
      - Convert task manager task objects into canonical unified Tas...
    - 📦 **report_service** (Module) `[CRITICAL]`
      - Aggregate, normalize, filter, and paginate task reports for ...
    - 📦 **type_profiles** (Module) `[TRIVIAL]`
      - Deterministic mapping of plugin/task identifiers to canonica...

  **Dependencies:**

    - 🔗 DEPENDS_ON -> TaskType
    - 🔗 DEPENDS_ON -> backend.src.core.task_manager.manager.TaskManager:Function
    - 🔗 DEPENDS_ON -> backend.src.core.task_manager.models.Task:Function
    - 🔗 DEPENDS_ON -> backend.src.models.report:Function
    - 🔗 DEPENDS_ON -> backend.src.services.reports.normalizer:Function

    ### 📁 `__tests__/`

    - 🏗️ **Layers:** Domain, Domain (Tests)
    - 📊 **Tiers:** TRIVIAL: 26
    - 📄 **Files:** 3
    - 📦 **Entities:** 26

    **Key Entities:**

      - 📦 **test_report_normalizer** (Module) `[TRIVIAL]`
        - Validate unknown task type fallback and partial payload norm...
      - 📦 **test_report_service** (Module) `[TRIVIAL]`
        - Unit tests for ReportsService list/detail operations

📁 tests/

  • 🏗️ Layers: Core, Domain (Tests), Logging (Tests), Test, Unknown
  • 📊 Tiers: STANDARD: 10, TRIVIAL: 143
  • 📄 Files: 9
  • 📦 Entities: 153

Key Entities:

-  **TestLogPersistence** (Class)
  - Test suite for TaskLogPersistenceService.
-  **TestTaskPersistenceHelpers** (Class)
  - Test suite for TaskPersistenceService static helper methods.
-  **TestTaskPersistenceService** (Class)
  - Test suite for TaskPersistenceService CRUD operations.
- 📦 **TestAuth** (Module)
  - Covers authentication service/repository behavior and auth b...
- 📦 **TestDashboardsApi** (Module)
  - Comprehensive contract-driven tests for Dashboard Hub API
- 📦 **TestLogger** (Module)
  - Unit tests for the custom logger formatters and configuratio...
- 📦 **TestResourceHubs** (Module)
  - Contract tests for resource hub dashboards/datasets listing ...
- 📦 **test_log_persistence** (Module)
  - Unit tests for TaskLogPersistenceService.
- 📦 **test_smoke_plugins** (Module) `[TRIVIAL]`
  - Auto-generated module for backend/tests/test_smoke_plugins.p...
- 📦 **test_task_manager** (Module)
  - Unit tests for TaskManager lifecycle, CRUD, log buffering, a...

### 📁 `core/`

- 🏗️ **Layers:** Domain, Unknown
- 📊 **Tiers:** STANDARD: 3, TRIVIAL: 50
- 📄 **Files:** 4
- 📦 **Entities:** 53

**Key Entities:**

  -  **MockMappingService** (Class) `[TRIVIAL]`
    - Deterministic mapping service double for native filter ID re...
  - 📦 **TestGitServiceGiteaPr** (Module)
    - Validate Gitea PR creation fallback behavior when configured...
  - 📦 **TestMappingService** (Module)
    - Unit tests for the IdMappingService matching UUIDs to intege...
  - 📦 **TestMigrationEngine** (Module)
    - Unit tests for MigrationEngine's cross-filter patching algor...
  - 📦 **test_defensive_guards** (Module) `[TRIVIAL]`
    - Auto-generated module for backend/tests/core/test_defensive_...

  ### 📁 `migration/`

  - 🏗️ **Layers:** Domain
  - 📊 **Tiers:** STANDARD: 2, TRIVIAL: 4
  - 📄 **Files:** 2
  - 📦 **Entities:** 6

  **Key Entities:**

    - 📦 **TestArchiveParser** (Module)
      - Unit tests for MigrationArchiveParser ZIP extraction contrac...
    - 📦 **TestDryRunOrchestrator** (Module)
      - Unit tests for MigrationDryRunService diff and risk computat...

### 📁 `scripts/`

- 🏗️ **Layers:** Domain, Scripts
- 📊 **Tiers:** STANDARD: 3, TRIVIAL: 18
- 📄 **Files:** 3
- 📦 **Entities:** 21

**Key Entities:**

  - 📦 **TestCleanReleaseTui** (Module)
    - Unit tests for the interactive curses TUI of the clean relea...
  - 📦 **test_clean_release_cli** (Module)
    - Smoke tests for the redesigned clean release CLI.
  - 📦 **test_clean_release_tui_v2** (Module)
    - Smoke tests for thin-client TUI action dispatch and blocked ...

  ### 📁 `clean_release/`

  - 🏗️ **Layers:** Tests
  - 📊 **Tiers:** STANDARD: 8, TRIVIAL: 51
  - 📄 **Files:** 8
  - 📦 **Entities:** 59

  **Key Entities:**

    -  **CleanReleaseCompliancePlugin** (Class) `[TRIVIAL]`
      - TaskManager plugin shim that executes clean release complian...
    -  **_PluginLoaderStub** (Class) `[TRIVIAL]`
      - Provide minimal plugin loader contract used by TaskManager i...
    - 📦 **TestApprovalService** (Module)
      - Define approval gate contracts for approve/reject operations...
    - 📦 **TestComplianceExecutionService** (Module)
      - Validate stage pipeline and run finalization contracts for c...
    - 📦 **TestComplianceTaskIntegration** (Module)
      - Verify clean release compliance runs execute through TaskMan...
    - 📦 **TestDemoModeIsolation** (Module)
      - Verify demo and real mode namespace isolation contracts befo...
    - 📦 **TestPolicyResolutionService** (Module)
      - Verify trusted policy snapshot resolution contract and error...
    - 📦 **TestPublicationService** (Module)
      - Define publication gate contracts over approved candidates a...
    - 📦 **TestReportAuditImmutability** (Module)
      - Validate report snapshot immutability expectations and appen...
    - 📦 **test_candidate_manifest_services** (Module)
      - Test lifecycle and manifest versioning for release candidate...

  **Dependencies:**

    - 🔗 DEPENDS_ON -> backend.src.services.clean_release.demo_data_service
    - 🔗 DEPENDS_ON -> clean_release_exceptions
    - 🔗 DEPENDS_ON -> policy_resolution_service
    - 🔗 DEPENDS_ON -> repository

  ### 📁 `dataset_review/`

  - 🏗️ **Layers:** Tests
  - 📊 **Tiers:** STANDARD: 3, TRIVIAL: 2
  - 📄 **Files:** 1
  - 📦 **Entities:** 5

  **Key Entities:**

    - 📦 **SupersetCompatibilityMatrixTests** (Module)
      - Verifies Superset preview and SQL Lab endpoint fallback stra...

  **Dependencies:**

    - 🔗 DEPENDS_ON -> SupersetCompilationAdapter
    - 🔗 DEPENDS_ON -> backend.src.core.superset_client.SupersetClient

### 📁 `components/`

- 🏗️ **Layers:** Component, Feature, UI, UI -->, Unknown
- 📊 **Tiers:** STANDARD: 6, TRIVIAL: 81
- 📄 **Files:** 15
- 📦 **Entities:** 87

**Key Entities:**

  - 🧩 **DashboardGrid** (Component)
    - Displays a grid of dashboards with selection and pagination.
  - 🧩 **DashboardGrid** (Component)
    - Displays a grid of dashboards with selection and pagination.
  - 🧩 **DynamicForm** (Component) `[TRIVIAL]`
    - Generates a form dynamically based on a JSON schema.
  - 🧩 **EnvSelector** (Component) `[TRIVIAL]`
    - Provides a UI component for selecting source and target envi...
  - 🧩 **Footer** (Component) `[TRIVIAL]`
    - Displays the application footer with copyright information.
  - 🧩 **MappingTable** (Component) `[TRIVIAL]`
    - Displays and allows editing of database mappings.
  - 🧩 **MissingMappingModal** (Component) `[TRIVIAL]`
    - Prompts the user to provide a database mapping when one is m...
  - 🧩 **Navbar** (Component)
    - Main navigation bar for the application.
  - 🧩 **PasswordPrompt** (Component) `[TRIVIAL]`
    - A modal component to prompt the user for database passwords ...
  - 🧩 **StartupEnvironmentWizard** (Component)
    - Blocking startup wizard for creating the first Superset envi...

**Dependencies:**

  - 🔗 DEPENDS_ON -> TaskLogPanel
  - 🔗 DEPENDS_ON -> frontend/src/lib/toasts.js

  ### 📁 `__tests__/`

  - 🏗️ **Layers:** UI (Tests)
  - 📊 **Tiers:** STANDARD: 1
  - 📄 **Files:** 1
  - 📦 **Entities:** 1

  **Key Entities:**

    - 📦 **TaskLogViewerTest** (Module)
      - Unit tests for TaskLogViewer component by mounting it and ob...

  ### 📁 `auth/`

  - 🏗️ **Layers:** UI
  - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 2
  - 📄 **Files:** 1
  - 📦 **Entities:** 3

  **Key Entities:**

    - 🧩 **ProtectedRoute** (Component) `[TRIVIAL]`
      - Wraps protected slot content with session and permission ver...
    - 📦 **ProtectedRouteModule** (Module)
      - Enforces authenticated and authorized access before protecte...

  **Dependencies:**

    - 🔗 DEPENDS_ON -> Permissions

  ### 📁 `git/`

  - 🏗️ **Layers:** Component, Unknown
  - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 58
  - 📄 **Files:** 6
  - 📦 **Entities:** 59

  **Key Entities:**

    - 🧩 **BranchSelector** (Component) `[TRIVIAL]`
      - UI для выбора и создания веток Git.
    - 🧩 **CommitHistory** (Component) `[TRIVIAL]`
      - Displays the commit history for a specific dashboard.
    - 🧩 **CommitModal** (Component)
      - Модальное окно для создания коммита с просмотром изменений (...
    - 🧩 **ConflictResolver** (Component) `[TRIVIAL]`
      - UI for resolving merge conflicts (Keep Mine / Keep Theirs).
    - 🧩 **DeploymentModal** (Component) `[TRIVIAL]`
      - Modal for deploying a dashboard to a target environment.
    - 🧩 **GitManager** (Component) `[TRIVIAL]`
      - Центральный UI управления Git с фокусом на рабочий поток ана...
    - 📦 **GitManager** (Module) `[TRIVIAL]`
      - Auto-generated module for frontend/src/components/git/GitMan...

    ### 📁 `__tests__/`

    - 🏗️ **Layers:** UI Tests
    - 📊 **Tiers:** STANDARD: 1
    - 📄 **Files:** 1
    - 📦 **Entities:** 1

    **Key Entities:**

      - 📦 **GitManagerUnfinishedMergeIntegrationTest** (Module)
        - Protect unresolved-merge dialog contract in GitManager pull ...

  ### 📁 `llm/`

  - 🏗️ **Layers:** UI, Unknown
  - 📊 **Tiers:** STANDARD: 2, TRIVIAL: 12
  - 📄 **Files:** 3
  - 📦 **Entities:** 14

  **Key Entities:**

    - 🧩 **DocPreview** (Component)
      - UI component for previewing generated dataset documentation ...
    - 🧩 **ProviderConfig** (Component)
      - UI form for managing LLM provider configurations.
    - 📦 **DocPreview** (Module) `[TRIVIAL]`
      - Auto-generated module for frontend/src/components/llm/DocPre...
    - 📦 **ProviderConfig** (Module) `[TRIVIAL]`
      - Auto-generated module for frontend/src/components/llm/Provid...
    - 📦 **ValidationReport** (Module) `[TRIVIAL]`
      - Auto-generated module for frontend/src/components/llm/Valida...

  **Dependencies:**

    - 🔗 DEPENDS_ON -> backend/src/plugins/llm_analysis/plugin.py
    - 🔗 DEPENDS_ON -> requestApi

    ### 📁 `__tests__/`

    - 🏗️ **Layers:** UI Tests
    - 📊 **Tiers:** STANDARD: 2
    - 📄 **Files:** 1
    - 📦 **Entities:** 2

    **Key Entities:**

      - 📦 **ProviderConfigIntegrationTest** (Module)
        - Protect edit and delete interaction contracts in LLM provide...

  ### 📁 `storage/`

  - 🏗️ **Layers:** UI
  - 📊 **Tiers:** STANDARD: 2, TRIVIAL: 6
  - 📄 **Files:** 2
  - 📦 **Entities:** 8

  **Key Entities:**

    - 🧩 **FileList** (Component)
      - Displays a table of files with metadata and actions.
    - 🧩 **FileUpload** (Component)
      - Provides a form for uploading files to a specific category.

  **Dependencies:**

    - 🔗 DEPENDS_ON -> storageService

  ### 📁 `tasks/`

  - 🏗️ **Layers:** UI, Unknown
  - 📊 **Tiers:** STANDARD: 3, TRIVIAL: 13
  - 📄 **Files:** 4
  - 📦 **Entities:** 16

  **Key Entities:**

    - 🧩 **LogEntryRow** (Component)
      - Renders a single log entry with stacked layout optimized for...
    - 🧩 **LogFilterBar** (Component)
      - Compact filter toolbar for logs — level, source, and text se...
    - 🧩 **TaskLogPanel** (Component)
      - Combines log filtering and display into a single cohesive da...
    - 📦 **LogFilterBar** (Module) `[TRIVIAL]`
      - Auto-generated module for frontend/src/components/tasks/LogF...
    - 📦 **TaskLogPanel** (Module) `[TRIVIAL]`
      - Auto-generated module for frontend/src/components/tasks/Task...
    - 📦 **TaskResultPanel** (Module) `[TRIVIAL]`
      - Auto-generated module for frontend/src/components/tasks/Task...

  ### 📁 `tools/`

  - 🏗️ **Layers:** UI, Unknown
  - 📊 **Tiers:** TRIVIAL: 16
  - 📄 **Files:** 4
  - 📦 **Entities:** 16

  **Key Entities:**

    - 🧩 **ConnectionForm** (Component) `[TRIVIAL]`
      - UI component for creating a new database connection configur...
    - 🧩 **ConnectionList** (Component) `[TRIVIAL]`
      - UI component for listing and deleting saved database connect...
    - 🧩 **DebugTool** (Component) `[TRIVIAL]`
      - UI component for system diagnostics and debugging API respon...
    - 🧩 **MapperTool** (Component) `[TRIVIAL]`
      - UI component for mapping dataset column verbose names using ...
    - 📦 **MapperTool** (Module) `[TRIVIAL]`
      - Auto-generated module for frontend/src/components/tools/Mapp...

### 📁 `lib/`

- 🏗️ **Layers:** Infra, Infra-API, UI, UI-State
- 📊 **Tiers:** STANDARD: 2, TRIVIAL: 28
- 📄 **Files:** 5
- 📦 **Entities:** 30

**Key Entities:**

  - 🧩 **Counter** (Component) `[TRIVIAL]`
    - Simple counter demo component
  - 📦 **Utils** (Module) `[TRIVIAL]`
    - General utility functions (class merging)
  - 📦 **api_module** (Module)
    - Handles all communication with the backend API.
  - 📦 **stores_module** (Module)
    - Global state management using Svelte stores.
  - 📦 **toasts_module** (Module) `[TRIVIAL]`
    - Manages toast notifications using a Svelte writable store.

**Dependencies:**

  - 🔗 DEPENDS_ON -> toasts_module

  ### 📁 `api/`

  - 🏗️ **Layers:** Infra, Infra-API
  - 📊 **Tiers:** CRITICAL: 1, STANDARD: 1, TRIVIAL: 10
  - 📄 **Files:** 2
  - 📦 **Entities:** 12

  **Key Entities:**

    - 📦 **AssistantApi** (Module)
      - API client wrapper for assistant chat, confirmation actions,...
    - 📦 **ReportsApi** (Module) `[CRITICAL]`
      - Wrapper-based reports API client for list/detail retrieval w...

  **Dependencies:**

    - 🔗 DEPENDS_ON -> DEF:api_module
    - 🔗 DEPENDS_ON -> api_module

    ### 📁 `__tests__/`

    - 🏗️ **Layers:** Infra (Tests)
    - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 3
    - 📄 **Files:** 1
    - 📦 **Entities:** 4

    **Key Entities:**

      -  **TestBuildReportQueryString** (Class) `[TRIVIAL]`
        - Validate query string construction from filter options.
      -  **TestGetReportsAsync** (Class) `[TRIVIAL]`
        - Validate getReports and getReportDetail with mocked api.fetc...
      -  **TestNormalizeApiError** (Class) `[TRIVIAL]`
        - Validate error normalization for UI-state mapping.
      - 📦 **ReportsApiTest** (Module)
        - Unit tests for reports API client functions: query string bu...

  ### 📁 `auth/`

  - 🏗️ **Layers:** Domain, Feature
  - 📊 **Tiers:** STANDARD: 2, TRIVIAL: 10
  - 📄 **Files:** 2
  - 📦 **Entities:** 12

  **Key Entities:**

    - 📦 **Permissions** (Module)
      - Shared frontend RBAC utilities for route guards and menu vis...
    - 🗄️ **authStore** (Store)
      - Manages the global authentication state on the frontend.

    ### 📁 `__tests__/`

    - 🏗️ **Layers:** UI (Tests)
    - 📊 **Tiers:** STANDARD: 1
    - 📄 **Files:** 1
    - 📦 **Entities:** 1

    **Key Entities:**

      - 📦 **PermissionsTest** (Module)
        - Verifies frontend RBAC permission parsing and access checks.

    ### 📁 `assistant/`

    - 🏗️ **Layers:** UI, Unknown
    - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 18
    - 📄 **Files:** 1
    - 📦 **Entities:** 19

    **Key Entities:**

      - 🧩 **AssistantChatPanel** (Component)
        - Slide-out assistant chat panel for natural language command ...
      - 📦 **AssistantChatPanel** (Module) `[TRIVIAL]`
        - Auto-generated module for frontend/src/lib/components/assist...

      ### 📁 `__tests__/`

      - 🏗️ **Layers:** UI Tests
      - 📊 **Tiers:** STANDARD: 3, TRIVIAL: 2
      - 📄 **Files:** 2
      - 📦 **Entities:** 5

      **Key Entities:**

        - 📦 **AssistantChatIntegrationTest** (Module)
          - Contract-level integration checks for assistant chat panel i...
        - 📦 **AssistantFirstMessageIntegrationTest** (Module)
          - Verify first optimistic user message stays visible while a n...

    ### 📁 `dataset-review/`

    - 🏗️ **Layers:** UI -->, Unknown
    - 📊 **Tiers:** TRIVIAL: 79
    - 📄 **Files:** 7
    - 📦 **Entities:** 79

    **Key Entities:**

      - 🧩 **ClarificationDialog** (Component) `[TRIVIAL]`
        - Present one clarification question at a time with explicit w...
      - 🧩 **CompiledSQLPreview** (Component) `[TRIVIAL]`
        - Present the exact Superset-generated compiled SQL preview, e...
      - 🧩 **ExecutionMappingReview** (Component) `[TRIVIAL]`
        - Review imported-filter to template-variable mappings, surfac...
      - 🧩 **LaunchConfirmationPanel** (Component) `[TRIVIAL]`
        - Summarize final execution context, surface launch blockers e...
      - 🧩 **SemanticLayerReview** (Component) `[TRIVIAL]`
        - Surface field-level semantic decisions with provenance, conf...
      - 🧩 **SourceIntakePanel** (Component) `[TRIVIAL]`
        - Collect initial dataset source input through Superset link p...
      - 🧩 **ValidationFindingsPanel** (Component) `[TRIVIAL]`
        - Present validation findings grouped by severity with explici...
      - 📦 **ClarificationDialog** (Module) `[TRIVIAL]`
        - Auto-generated module for frontend/src/lib/components/datase...
      - 📦 **CompiledSQLPreview** (Module) `[TRIVIAL]`
        - Auto-generated module for frontend/src/lib/components/datase...
      - 📦 **ExecutionMappingReview** (Module) `[TRIVIAL]`
        - Auto-generated module for frontend/src/lib/components/datase...

      ### 📁 `__tests__/`

      - 🏗️ **Layers:** UI
      - 📊 **Tiers:** STANDARD: 4
      - 📄 **Files:** 4
      - 📦 **Entities:** 4

      **Key Entities:**

        - 📦 **DatasetReviewUs2UxTests** (Module)
          - Verify US2 semantic field review and one-question clarificat...
        - 📦 **DatasetReviewUs3UxTests** (Module)
          - Verify US3 mapping review, Superset preview, and launch conf...
        - 📦 **SourceIntakePanelUxTests** (Module)
          - Verify source intake entry paths, validation feedback, and s...
        - 📦 **ValidationFindingsPanelUxTests** (Module)
          - Verify grouped findings visibility, empty state, and remedia...

    ### 📁 `health/`

    - 🏗️ **Layers:** UI/Component, Unknown
    - 📊 **Tiers:** STANDARD: 2, TRIVIAL: 6
    - 📄 **Files:** 2
    - 📦 **Entities:** 8

    **Key Entities:**

      - 🧩 **HealthMatrix** (Component)
        - Visual grid/matrix representing the health status of dashboa...
      - 🧩 **PolicyForm** (Component)
        - Form for creating and editing validation policies.
      - 📦 **PolicyForm** (Module) `[TRIVIAL]`
        - Auto-generated module for frontend/src/lib/components/health...

    ### 📁 `layout/`

    - 🏗️ **Layers:** UI, Unknown
    - 📊 **Tiers:** STANDARD: 7, TRIVIAL: 55
    - 📄 **Files:** 5
    - 📦 **Entities:** 62

    **Key Entities:**

      - 🧩 **Breadcrumbs** (Component)
        - Display page hierarchy navigation
      - 🧩 **Sidebar** (Component)
        - Persistent left sidebar with resource categories navigation
      - 🧩 **TaskDrawer** (Component)
        - Global task drawer for monitoring background operations
      - 🧩 **TopNavbar** (Component)
        - Unified top navigation bar with Logo, Search, Activity, and ...
      - 📦 **Breadcrumbs** (Module) `[TRIVIAL]`
        - Auto-generated module for frontend/src/lib/components/layout...
      - 📦 **Sidebar** (Module) `[TRIVIAL]`
        - Auto-generated module for frontend/src/lib/components/layout...
      - 📦 **SidebarNavigation** (Module)
        - Build sidebar navigation categories filtered by current user...
      - 📦 **TaskDrawer** (Module) `[TRIVIAL]`
        - Auto-generated module for frontend/src/lib/components/layout...
      - 📦 **TopNavbar** (Module) `[TRIVIAL]`
        - Auto-generated module for frontend/src/lib/components/layout...

    **Dependencies:**

      - 🔗 DEPENDS_ON -> frontend.src.lib.auth.permissions.hasPermission
      - 🔗 DEPENDS_ON -> page

      ### 📁 `__tests__/`

      - 🏗️ **Layers:** UI (Tests), Unknown
      - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 4
      - 📄 **Files:** 2
      - 📦 **Entities:** 5

      **Key Entities:**

        - 📦 **SidebarNavigationTest** (Module)
          - Verifies RBAC-based sidebar category and subitem visibility.
        - 📦 **test_breadcrumbs.svelte** (Module) `[TRIVIAL]`
          - Auto-generated module for frontend/src/lib/components/layout...

    ### 📁 `reports/`

    - 🏗️ **Layers:** UI, Unknown
    - 📊 **Tiers:** CRITICAL: 1, STANDARD: 3, TRIVIAL: 11
    - 📄 **Files:** 4
    - 📦 **Entities:** 15

    **Key Entities:**

      - 🧩 **ReportCard** (Component)
        - Render one report with explicit textual type label and profi...
      - 🧩 **ReportDetailPanel** (Component)
        - Display detailed report context with diagnostics and actiona...
      - 🧩 **ReportsList** (Component)
        - Render unified list of normalized reports with canonical min...
      - 📦 **ReportCard** (Module) `[TRIVIAL]`
        - Auto-generated module for frontend/src/lib/components/report...
      - 📦 **ReportDetailPanel** (Module) `[TRIVIAL]`
        - Auto-generated module for frontend/src/lib/components/report...
      - 📦 **ReportTypeProfiles** (Module) `[CRITICAL]`
        - Deterministic mapping from report task_type to visual profil...
      - 📦 **ReportsList** (Module) `[TRIVIAL]`
        - Auto-generated module for frontend/src/lib/components/report...

    **Dependencies:**

      - 🔗 DEPENDS_ON -> i18n
      - 🔗 DEPENDS_ON -> reportTypeProfiles

      ### 📁 `__tests__/`

      - 🏗️ **Layers:** UI, UI (Tests)
      - 📊 **Tiers:** STANDARD: 7, TRIVIAL: 4
      - 📄 **Files:** 7
      - 📦 **Entities:** 11

      **Key Entities:**

        - 📦 **ReportCardTest** (Module)
          - Test UX states and transitions for ReportCard component
        - 📦 **ReportDetailIntegrationTest** (Module)
          - Validate detail-panel behavior for failed reports and recove...
        - 📦 **ReportDetailUxTest** (Module)
          - Test UX states and recovery for ReportDetailPanel component
        - 📦 **ReportTypeProfilesTest** (Module)
          - Validate report type profile mapping and unknown fallback be...
        - 📦 **ReportsFilterPerformanceTest** (Module)
          - Guard test for report filter responsiveness on moderate in-m...
        - 📦 **ReportsListTest** (Module)
          - Test ReportsList component iteration and event forwarding.
        - 📦 **ReportsPageTest** (Module)
          - Integration-style checks for unified mixed-type reports rend...

        ### 📁 `fixtures/`

        - 🏗️ **Layers:** UI
        - 📊 **Tiers:** STANDARD: 1
        - 📄 **Files:** 1
        - 📦 **Entities:** 1

        **Key Entities:**

          - 📦 **ReportsFixtures** (Module)
            - Shared frontend fixtures for unified reports states.

  ### 📁 `i18n/`

  - 🏗️ **Layers:** Infra
  - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 3
  - 📄 **Files:** 1
  - 📦 **Entities:** 4

  **Key Entities:**

    - 📦 **i18n** (Module)
      - Determines the starting locale.
    - 🗄️ **locale** (Store) `[TRIVIAL]`
      - Holds the current active locale string.
    - 🗄️ **t** (Store) `[TRIVIAL]`
      - Derived store providing the translation dictionary.

  **Dependencies:**

    - 🔗 DEPENDS_ON -> i18n_en_locale
    - 🔗 DEPENDS_ON -> i18n_ru_locale

  ### 📁 `stores/`

  - 🏗️ **Layers:** UI, UI-State, Unknown
  - 📊 **Tiers:** CRITICAL: 1, STANDARD: 6, TRIVIAL: 40
  - 📄 **Files:** 7
  - 📦 **Entities:** 47

  **Key Entities:**

    - 📦 **datasetReviewSession** (Module) `[TRIVIAL]`
      - Auto-generated module for frontend/src/lib/stores/datasetRev...
    - 📦 **environmentContext** (Module) `[TRIVIAL]`
      - Auto-generated module for frontend/src/lib/stores/environmen...
    - 📦 **health** (Module) `[TRIVIAL]`
      - Auto-generated module for frontend/src/lib/stores/health.js
    - 📦 **sidebar** (Module) `[TRIVIAL]`
      - Auto-generated module for frontend/src/lib/stores/sidebar.js
    - 📦 **taskDrawer** (Module) `[TRIVIAL]`
      - Auto-generated module for frontend/src/lib/stores/taskDrawer...
    - 🗄️ **activity** (Store)
      - Track active task count for navbar indicator
    - 🗄️ **assistantChat** (Store)
      - Control assistant chat panel visibility and active conversat...
    - 🗄️ **datasetReviewSession** (Store)
      - Manage active dataset review session state, including loadin...
    - 🗄️ **environmentContext** (Store)
      - Global selected environment context for navigation and safet...
    - 🗄️ **health_store** (Store)
      - Manage dashboard health summary state and failing counts for...

  **Dependencies:**

    - 🔗 DEPENDS_ON -> api_module
    - 🔗 DEPENDS_ON -> taskDrawer

    ### 📁 `__tests__/`

    - 🏗️ **Layers:** Domain (Tests), UI, UI Tests
    - 📊 **Tiers:** STANDARD: 8, TRIVIAL: 4
    - 📄 **Files:** 7
    - 📦 **Entities:** 12

    **Key Entities:**

      - 📦 **ActivityTest** (Module)
        - Unit tests for activity store
      - 📦 **AssistantChatTest** (Module)
        - Validate assistant chat store visibility and conversation bi...
      - 📦 **DatasetReviewSessionStoreTests** (Module)
        - Unit tests for dataset review session store.
      - 📦 **SidebarIntegrationTest** (Module)
        - Unit tests for sidebar store
      - 📦 **SidebarTest** (Module)
        - Unit tests for sidebar store
      - 📦 **TaskDrawerTest** (Module)
        - Unit tests for task drawer store
      - 📦 **setupTests** (Module)
        - Global test setup with mocks for SvelteKit modules

    **Dependencies:**

      - 🔗 DEPENDS_ON -> assistantChatStore
      - 🔗 DEPENDS_ON -> frontend.src.lib.stores.taskDrawer

      ### 📁 `mocks/`

      - 🏗️ **Layers:** UI (Tests), UI Tests
      - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 4
      - 📄 **Files:** 5
      - 📦 **Entities:** 5

      **Key Entities:**

        - 📦 **mock_env_public** (Module)
          - Mock for $env/static/public SvelteKit module in vitest
        - 📦 **state_mock** (Module) `[TRIVIAL]`
          - Mock for AppState in vitest route/component tests.

      **Dependencies:**

        - 🔗 DEPENDS_ON -> $app/navigation
        - 🔗 DEPENDS_ON -> $app/stores

  ### 📁 `ui/`

  - 🏗️ **Layers:** Atom
  - 📊 **Tiers:** TRIVIAL: 7
  - 📄 **Files:** 7
  - 📦 **Entities:** 7

  **Key Entities:**

    - 🧩 **Button** (Component) `[TRIVIAL]`
      - Define component interface and default values (Svelte 5 Rune...
    - 🧩 **Card** (Component) `[TRIVIAL]`
      - Standardized container with padding and elevation.
    - 🧩 **Input** (Component) `[TRIVIAL]`
      - Standardized text input component with label and error handl...
    - 🧩 **LanguageSwitcher** (Component) `[TRIVIAL]`
      - Dropdown component to switch between supported languages.
    - 🧩 **PageHeader** (Component) `[TRIVIAL]`
      - Standardized page header with title and action area.
    - 🧩 **Select** (Component) `[TRIVIAL]`
      - Standardized dropdown selection component.
    - 📦 **ui** (Module) `[TRIVIAL]`
      - Central export point for standardized UI components.

  ### 📁 `utils/`

  - 🏗️ **Layers:** Infra
  - 📊 **Tiers:** TRIVIAL: 2
  - 📄 **Files:** 1
  - 📦 **Entities:** 2

  **Key Entities:**

    - 📦 **Debounce** (Module) `[TRIVIAL]`
      - Debounce utility for limiting function execution rate

### 📁 `pages/`

- 🏗️ **Layers:** UI
- 📊 **Tiers:** TRIVIAL: 11
- 📄 **Files:** 2
- 📦 **Entities:** 11

**Key Entities:**

  - 🧩 **Dashboard** (Component) `[TRIVIAL]`
    - Displays the list of available plugins and allows selecting ...
  - 🧩 **Settings** (Component) `[TRIVIAL]`
    - The main settings page for the application, allowing managem...

**Dependencies:**

  - 🔗 DEPENDS_ON -> stores

### 📁 `routes/`

- 🏗️ **Layers:** Infra, UI, UI (Layout), Unknown
- 📊 **Tiers:** CRITICAL: 1, STANDARD: 3, TRIVIAL: 6
- 📄 **Files:** 5
- 📦 **Entities:** 10

**Key Entities:**

  - 📦 **+page** (Module) `[TRIVIAL]`
    - Auto-generated module for frontend/src/routes/+page.svelte
  - 📦 **RootLayout** (Module)
    - Root layout component that provides global UI structure (Sid...
  - 📦 **RootLayoutConfig** (Module) `[TRIVIAL]`
    - Root layout configuration (SPA mode)
  - 📦 **layout** (Module)
    - Bind global layout shell and conditional login/full-app rend...

**Dependencies:**

  - 🔗 DEPENDS_ON -> Footer
  - 🔗 DEPENDS_ON -> ProtectedRoute
  - 🔗 DEPENDS_ON -> Sidebar
  - 🔗 DEPENDS_ON -> TaskDrawer
  - 🔗 DEPENDS_ON -> Toast

    ### 📁 `roles/`

    - 🏗️ **Layers:** Domain
    - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 5
    - 📄 **Files:** 1
    - 📦 **Entities:** 6

    **Key Entities:**

      - 🧩 **AdminRolesPage** (Component)
        - UI for managing system roles and their permissions.

    **Dependencies:**

      - 🔗 DEPENDS_ON -> ProtectedRoute
      - 🔗 DEPENDS_ON -> adminService

    ### 📁 `settings/`

    - 🏗️ **Layers:** Feature
    - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 4
    - 📄 **Files:** 1
    - 📦 **Entities:** 5

    **Key Entities:**

      - 🧩 **AdminSettingsPage** (Component)
        - UI for configuring Active Directory Group to local Role mapp...

    **Dependencies:**

      - 🔗 DEPENDS_ON -> ProtectedRoute
      - 🔗 DEPENDS_ON -> adminService

      ### 📁 `llm/`

      - 🏗️ **Layers:** UI, Unknown
      - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 5
      - 📄 **Files:** 1
      - 📦 **Entities:** 6

      **Key Entities:**

        - 🧩 **LLMSettingsPage** (Component)
          - Admin settings page for LLM provider configuration.
        - 📦 **+page** (Module) `[TRIVIAL]`
          - Auto-generated module for frontend/src/routes/admin/settings...

    ### 📁 `users/`

    - 🏗️ **Layers:** Feature
    - 📊 **Tiers:** TRIVIAL: 6
    - 📄 **Files:** 1
    - 📦 **Entities:** 6

    **Key Entities:**

      - 🧩 **AdminUsersPage** (Component) `[TRIVIAL]`
        - 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
  - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 91
  - 📄 **Files:** 1
  - 📦 **Entities:** 92

  **Key Entities:**

    - 📦 **+page** (Module) `[TRIVIAL]`
      - Auto-generated module for frontend/src/routes/dashboards/+pa...

    ### 📁 `[id]/`

    - 🏗️ **Layers:** UI, Unknown
    - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 28
    - 📄 **Files:** 1
    - 📦 **Entities:** 29

    **Key Entities:**

      - 📦 **+page** (Module) `[TRIVIAL]`
        - Auto-generated module for frontend/src/routes/dashboards/[id...

    **Dependencies:**

      - 🔗 DEPENDS_ON -> api_module

    ### 📁 `__tests__/`

    - 🏗️ **Layers:** UI (Tests)
    - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 2
    - 📄 **Files:** 1
    - 📦 **Entities:** 3

    **Key Entities:**

      - 📦 **DashboardProfileOverrideIntegrationTest** (Module)
        - Verifies temporary show-all override and restore-on-return b...

    ### 📁 `health/`

    - 🏗️ **Layers:** UI/Page
    - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 3
    - 📄 **Files:** 1
    - 📦 **Entities:** 4

    **Key Entities:**

      - 🧩 **HealthCenterPage** (Component)
        - Main page for the Dashboard Health Center.

    **Dependencies:**

      - 🔗 DEPENDS_ON -> HealthMatrix

      ### 📁 `__tests__/`

      - 🏗️ **Layers:** UI Tests
      - 📊 **Tiers:** STANDARD: 1
      - 📄 **Files:** 1
      - 📦 **Entities:** 1

      **Key Entities:**

        - 📦 **HealthPageIntegrationTest** (Module)
          - Lock dashboard health page contract for slug navigation and ...

  ### 📁 `datasets/`

  - 🏗️ **Layers:** UI, Unknown
  - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 15
  - 📄 **Files:** 1
  - 📦 **Entities:** 16

  **Key Entities:**

    - 📦 **+page** (Module) `[TRIVIAL]`
      - Auto-generated module for frontend/src/routes/datasets/+page...

    ### 📁 `[id]/`

    - 🏗️ **Layers:** UI, Unknown
    - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 6
    - 📄 **Files:** 1
    - 📦 **Entities:** 7

    **Key Entities:**

      - 📦 **+page** (Module) `[TRIVIAL]`
        - Auto-generated module for frontend/src/routes/datasets/[id]/...

    **Dependencies:**

      - 🔗 DEPENDS_ON -> api_module

    ### 📁 `review/`

    - 🏗️ **Layers:** UI -->, Unknown
    - 📊 **Tiers:** TRIVIAL: 14
    - 📄 **Files:** 1
    - 📦 **Entities:** 14

    **Key Entities:**

      - 📦 **+page** (Module) `[TRIVIAL]`
        - Auto-generated module for frontend/src/routes/datasets/revie...

      ### 📁 `[id]/`

      - 🏗️ **Layers:** UI -->, Unknown
      - 📊 **Tiers:** TRIVIAL: 29
      - 📄 **Files:** 1
      - 📦 **Entities:** 29

      **Key Entities:**

        - 🧩 **DatasetReviewWorkspace** (Component) `[TRIVIAL]`
          - Main dataset review workspace coordinating session state, pr...
        - 📦 **+page** (Module) `[TRIVIAL]`
          - Auto-generated module for frontend/src/routes/datasets/revie...

        ### 📁 `__tests__/`

        - 🏗️ **Layers:** UI
        - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 2
        - 📄 **Files:** 1
        - 📦 **Entities:** 3

        **Key Entities:**

          - 📦 **DatasetReviewWorkspaceUxTests** (Module)
            - Verify US1-safe and US2-integrated dataset review workspace ...

      ### 📁 `__tests__/`

      - 🏗️ **Layers:** UI
      - 📊 **Tiers:** STANDARD: 2, TRIVIAL: 2
      - 📄 **Files:** 2
      - 📦 **Entities:** 4

      **Key Entities:**

        - 📦 **DatasetReviewEntryUxTests** (Module)
          - Verify dataset review entry route exposes resumable sessions...
        - 📦 **DatasetReviewEntryUxTests** (Module)
          - Verify dataset review entry route exposes resumable sessions...

  ### 📁 `git/`

  - 🏗️ **Layers:** Page
  - 📊 **Tiers:** TRIVIAL: 3
  - 📄 **Files:** 1
  - 📦 **Entities:** 3

  **Key Entities:**

    - 🧩 **GitDashboardPage** (Component) `[TRIVIAL]`
      - Dashboard management page for Git integration.

  ### 📁 `login/`

  - 🏗️ **Layers:** UI
  - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 2
  - 📄 **Files:** 1
  - 📦 **Entities:** 3

  **Key Entities:**

    - 🧩 **LoginPage** (Component)
      - Provides the user interface for local and ADFS authenticatio...

  ### 📁 `migration/`

  - 📊 **Tiers:** TRIVIAL: 21
  - 📄 **Files:** 1
  - 📦 **Entities:** 21

  **Key Entities:**

    - 🧩 **DashboardSelectionSection** (Component) `[TRIVIAL]`
    - 🧩 **MigrationDashboard** (Component) `[TRIVIAL]`
      - Orchestrate migration UI workflow and route user actions to ...

    ### 📁 `mappings/`

    - 📊 **Tiers:** CRITICAL: 1, TRIVIAL: 7
    - 📄 **Files:** 1
    - 📦 **Entities:** 8

    **Key Entities:**

      - 🗄️ **UiState** (Store) `[CRITICAL]`
        - Maintain local page state for environments, fetched database...

  ### 📁 `profile/`

  - 🏗️ **Layers:** UI, Unknown
  - 📊 **Tiers:** CRITICAL: 1, TRIVIAL: 16
  - 📄 **Files:** 1
  - 📦 **Entities:** 17

  **Key Entities:**

    - 🧩 **ProfilePage** (Component) `[CRITICAL]`
      - Manage user profile sections for read-only security access, ...
    - 📦 **+page** (Module) `[TRIVIAL]`
      - Auto-generated module for frontend/src/routes/profile/+page....

    ### 📁 `__tests__/`

    - 🏗️ **Layers:** UI (Tests)
    - 📊 **Tiers:** STANDARD: 2
    - 📄 **Files:** 2
    - 📦 **Entities:** 2

    **Key Entities:**

      - 📦 **ProfilePreferencesIntegrationTest** (Module)
        - Verifies profile binding happy path and degraded lookup manu...
      - 📦 **ProfileSettingsStateIntegrationTest** (Module)
        - Verifies profile settings preload, cancel without persistenc...

      ### 📁 `fixtures/`

      - 📊 **Tiers:** TRIVIAL: 1
      - 📄 **Files:** 1
      - 📦 **Entities:** 1

      **Key Entities:**

        - 📦 **ProfileFixtures** (Module) `[TRIVIAL]`
          - Shared deterministic fixture inputs for profile page integra...

      **Dependencies:**

        - 🔗 DEPENDS_ON -> frontend/src/lib/i18n/index.ts [key:profile.lookup_error
        - 🔗 DEPENDS_ON -> i18n.profile.lookup_error

  ### 📁 `reports/`

  - 🏗️ **Layers:** UI, Unknown
  - 📊 **Tiers:** CRITICAL: 1, TRIVIAL: 7
  - 📄 **Files:** 1
  - 📦 **Entities:** 8

  **Key Entities:**

    - 🧩 **UnifiedReportsPage** (Component) `[CRITICAL]`
      - Unified reports page with filtering and resilient UX states ...
    - 📦 **+page** (Module) `[TRIVIAL]`
      - Auto-generated module for frontend/src/routes/reports/+page....

  **Dependencies:**

    - 🔗 DEPENDS_ON -> ReportsApi
    - 🔗 DEPENDS_ON -> ReportsList

      ### 📁 `[taskId]/`

      - 🏗️ **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...
        - 📦 **ReportPageContractTest** (Module)
          - Protect the LLM report page from self-triggering screenshot ...

  ### 📁 `settings/`

  - 🏗️ **Layers:** UI, Unknown
  - 📊 **Tiers:** CRITICAL: 1, TRIVIAL: 34
  - 📄 **Files:** 2
  - 📦 **Entities:** 35

  **Key Entities:**

    - 📦 **+page** (Module) `[TRIVIAL]`
      - Auto-generated module for frontend/src/routes/settings/+page...

  **Dependencies:**

    - 🔗 DEPENDS_ON -> sidebar

    ### 📁 `automation/`

    - 🏗️ **Layers:** UI/Page, Unknown
    - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 7
    - 📄 **Files:** 1
    - 📦 **Entities:** 8

    **Key Entities:**

      - 🧩 **AutomationSettingsPage** (Component)
        - Settings page for managing validation policies.
      - 📦 **+page** (Module) `[TRIVIAL]`
        - Auto-generated module for frontend/src/routes/settings/autom...

    ### 📁 `connections/`

    - 🏗️ **Layers:** UI
    - 📊 **Tiers:** TRIVIAL: 2
    - 📄 **Files:** 1
    - 📦 **Entities:** 2

    **Key Entities:**

      - 🧩 **ConnectionsSettingsPage** (Component) `[TRIVIAL]`
        - Page for managing database connection configurations.

    ### 📁 `git/`

    - 🏗️ **Layers:** Page
    - 📊 **Tiers:** TRIVIAL: 10
    - 📄 **Files:** 1
    - 📦 **Entities:** 10

    **Key Entities:**

      - 🧩 **GitSettingsPage** (Component) `[TRIVIAL]`
        - Manage Git server configurations for dashboard versioning.

      ### 📁 `__tests__/`

      - 📊 **Tiers:** TRIVIAL: 1
      - 📄 **Files:** 1
      - 📦 **Entities:** 1

      **Key Entities:**

        - 📦 **GitSettingsPageUxTest** (Module) `[TRIVIAL]`
          - Test UX states and transitions for the Git Settings page

    ### 📁 `notifications/`

    - 🏗️ **Layers:** UI, Unknown
    - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 3
    - 📄 **Files:** 1
    - 📦 **Entities:** 4

    **Key Entities:**

      - 🧩 **NotificationSettingsPage** (Component)
        - Manage global notification provider configurations (SMTP, Te...
      - 📦 **+page** (Module) `[TRIVIAL]`
        - Auto-generated module for frontend/src/routes/settings/notif...

  ### 📁 `storage/`

  - 🏗️ **Layers:** Page
  - 📊 **Tiers:** TRIVIAL: 1
  - 📄 **Files:** 1
  - 📦 **Entities:** 1

    ### 📁 `repos/`

    - 🏗️ **Layers:** UI (Page)
    - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 4
    - 📄 **Files:** 1
    - 📦 **Entities:** 5

    **Key Entities:**

      - 📦 **StorageReposPage** (Module)
        - Dashboard management page for Git integration (moved from /g...

    **Dependencies:**

      - 🔗 DEPENDS_ON -> RepositoryDashboardGrid
      - 🔗 DEPENDS_ON -> api

    ### 📁 `debug/`

    - 🏗️ **Layers:** UI
    - 📊 **Tiers:** TRIVIAL: 1
    - 📄 **Files:** 1
    - 📦 **Entities:** 1

    **Key Entities:**

      - 🧩 **DebugPage** (Component) `[TRIVIAL]`
        - Page for system diagnostics and debugging.

    ### 📁 `mapper/`

    - 🏗️ **Layers:** UI
    - 📊 **Tiers:** TRIVIAL: 1
    - 📄 **Files:** 1
    - 📦 **Entities:** 1

    **Key Entities:**

      - 🧩 **MapperPage** (Component) `[TRIVIAL]`
        - Page for the dataset column mapper tool.

    ### 📁 `storage/`

    - 🏗️ **Layers:** UI
    - 📊 **Tiers:** STANDARD: 1, TRIVIAL: 6
    - 📄 **Files:** 1
    - 📦 **Entities:** 7

    **Key Entities:**

      - 🧩 **StoragePage** (Component)
        - Main page for unified file storage management.

    **Dependencies:**

      - 🔗 DEPENDS_ON -> storageService

### 📁 `services/`

- 🏗️ **Layers:** Service
- 📊 **Tiers:** STANDARD: 3, TRIVIAL: 33
- 📄 **Files:** 6
- 📦 **Entities:** 36

**Key Entities:**

  - 📦 **GitServiceClient** (Module)
    - API client for Git operations, managing the communication be...
  - 📦 **adminService** (Module)
    - Service for Admin-related API calls (User and Role managemen...
  - 📦 **storageService** (Module)
    - Frontend API client for file storage management.

**Dependencies:**

  - 🔗 DEPENDS_ON -> api_module
  - 🔗 DEPENDS_ON -> specs/011-git-integration-dashboard/contracts/api.md

  ### 📁 `__tests__/`

  - 📊 **Tiers:** TRIVIAL: 1
  - 📄 **Files:** 1
  - 📦 **Entities:** 1

  **Key Entities:**

    - 📦 **gitServiceContractTests** (Module) `[TRIVIAL]`
      - API client tests ensuring correct endpoints are called per c...

### 📁 `types/`

- 🏗️ **Layers:** Domain
- 📊 **Tiers:** TRIVIAL: 1
- 📄 **Files:** 1
- 📦 **Entities:** 1

**Key Entities:**

  - 📦 **DashboardTypes** (Module) `[TRIVIAL]`
    - TypeScript interfaces for Dashboard entities

  ### 📁 `scripts/`

  - 🏗️ **Layers:** Unknown
  - 📊 **Tiers:** TRIVIAL: 10
  - 📄 **Files:** 2
  - 📦 **Entities:** 10

  **Key Entities:**

    - 📦 **canonicalize-node-modules** (Module) `[TRIVIAL]`
      - Auto-generated module for research/kilocode/nix/scripts/cano...
    - 📦 **normalize-bun-binaries** (Module) `[TRIVIAL]`
      - Auto-generated module for research/kilocode/nix/scripts/norm...

    ### 📁 `e2e/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 46
    - 📄 **Files:** 3
    - 📦 **Entities:** 46

    **Key Entities:**

      - 📦 **actions** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/app/e2e...
      - 📦 **fixtures** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/app/e2e...
      - 📦 **utils** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/app/e2e...

      ### 📁 `projects/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 10
      - 📄 **Files:** 3
      - 📦 **Entities:** 10

      **Key Entities:**

        - 📦 **projects-switch.spec** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/e2e...
        - 📦 **workspace-new-session.spec** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/e2e...
        - 📦 **workspaces.spec** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/e2e...

      ### 📁 `prompt/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 10
      - 📄 **Files:** 3
      - 📦 **Entities:** 10

      **Key Entities:**

        - 📦 **context.spec** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/e2e...
        - 📦 **prompt-history.spec** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/e2e...
        - 📦 **prompt-slash-share.spec** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/e2e...

      ### 📁 `session/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 10
      - 📄 **Files:** 3
      - 📦 **Entities:** 10

      **Key Entities:**

        - 📦 **session-composer-dock.spec** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/e2e...
        - 📦 **session-undo-redo.spec** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/e2e...
        - 📦 **session.spec** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/e2e...

      ### 📁 `terminal/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 4
      - 📄 **Files:** 1
      - 📦 **Entities:** 4

      **Key Entities:**

        - 📦 **terminal-tabs.spec** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/e2e...

    ### 📁 `script/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 3
    - 📄 **Files:** 1
    - 📦 **Entities:** 3

    **Key Entities:**

      - 📦 **e2e-local** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/app/scr...

      ### 📁 `addons/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 8
      - 📄 **Files:** 2
      - 📦 **Entities:** 8

      **Key Entities:**

        - 📦 **serialize** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/src...
        - 📦 **serialize.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/src...

      ### 📁 `components/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 8
      - 📄 **Files:** 2
      - 📦 **Entities:** 8

      **Key Entities:**

        - 📦 **titlebar-history** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/src...
        - 📦 **titlebar-history.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/src...

        ### 📁 `prompt-input/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 27
        - 📄 **Files:** 6
        - 📦 **Entities:** 27

        **Key Entities:**

          - 📦 **attachments** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...
          - 📦 **build-request-parts** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...
          - 📦 **editor-dom** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...
          - 📦 **history** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...
          - 📦 **placeholder** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...
          - 📦 **submit** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...

        ### 📁 `session/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 6
        - 📄 **Files:** 3
        - 📦 **Entities:** 6

        **Key Entities:**

          - 📦 **session-context-breakdown** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...
          - 📦 **session-context-format** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...
          - 📦 **session-context-metrics** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...

      ### 📁 `context/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 26
      - 📄 **Files:** 5
      - 📦 **Entities:** 26

      **Key Entities:**

        - 📦 **comments.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/src...
        - 📦 **layout-scroll** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/src...
        - 📦 **model-variant** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/src...
        - 📦 **notification-index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/src...
        - 📦 **permission-auto-respond** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/src...

        ### 📁 `file/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 32
        - 📄 **Files:** 6
        - 📦 **Entities:** 32

        **Key Entities:**

          - 📦 **content-cache** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...
          - 📦 **path** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...
          - 📦 **tree-store** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...
          - 📦 **types** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...
          - 📦 **view-cache** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...
          - 📦 **watcher** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...

        ### 📁 `global-sync/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 37
        - 📄 **Files:** 9
        - 📦 **Entities:** 37

        **Key Entities:**

          - 📦 **bootstrap** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...
          - 📦 **child-store** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...
          - 📦 **event-reducer** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...
          - 📦 **eviction** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...
          - 📦 **queue** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...
          - 📦 **session-cache** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...
          - 📦 **session-load** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...
          - 📦 **session-trim** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...
          - 📦 **utils** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...

      ### 📁 `hooks/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 2
      - 📄 **Files:** 1
      - 📦 **Entities:** 2

      **Key Entities:**

        - 📦 **use-providers** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/src...

        ### 📁 `layout/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 4
        - 📄 **Files:** 1
        - 📦 **Entities:** 4

        **Key Entities:**

          - 📦 **helpers** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/app/src...

          ### 📁 `composer/`

          - 🏗️ **Layers:** Unknown
          - 📊 **Tiers:** TRIVIAL: 7
          - 📄 **Files:** 2
          - 📦 **Entities:** 7

          **Key Entities:**

            - 📦 **session-composer-state** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/app/src...
            - 📦 **session-request-tree** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/app/src...

      ### 📁 `utils/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 85
      - 📄 **Files:** 21
      - 📦 **Entities:** 85

      **Key Entities:**

        - 📦 **agent** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/src...
        - 📦 **aim** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/src...
        - 📦 **base64** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/src...
        - 📦 **comment-note** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/src...
        - 📦 **dom** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/src...
        - 📦 **id** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/src...
        - 📦 **persist** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/src...
        - 📦 **prompt** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/src...
        - 📦 **same** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/src...
        - 📦 **scoped-cache** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/app/src...

  ### 📁 `desktop-electron/`

  - 🏗️ **Layers:** Unknown
  - 📊 **Tiers:** TRIVIAL: 2
  - 📄 **Files:** 1
  - 📦 **Entities:** 2

  **Key Entities:**

    - 📦 **electron-builder.config** (Module) `[TRIVIAL]`
      - Auto-generated module for research/kilocode/packages/desktop...

    ### 📁 `scripts/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 10
    - 📄 **Files:** 2
    - 📦 **Entities:** 10

    **Key Entities:**

      - 📦 **finalize-latest-yml** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/desktop...
      - 📦 **utils** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/desktop...

      ### 📁 `main/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 79
      - 📄 **Files:** 11
      - 📦 **Entities:** 79

      **Key Entities:**

        - 📦 **apps** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/desktop...
        - 📦 **cli** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/desktop...
        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/desktop...
        - 📦 **ipc** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/desktop...
        - 📦 **logging** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/desktop...
        - 📦 **markdown** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/desktop...
        - 📦 **menu** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/desktop...
        - 📦 **migrate** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/desktop...
        - 📦 **server** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/desktop...
        - 📦 **store** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/desktop...

      ### 📁 `renderer/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 4
      - 📄 **Files:** 2
      - 📦 **Entities:** 4

      **Key Entities:**

        - 📦 **cli** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/desktop...
        - 📦 **updater** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/desktop...

        ### 📁 `i18n/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 9
        - 📄 **Files:** 1
        - 📦 **Entities:** 9

        **Key Entities:**

          - 📦 **index** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/desktop...

    ### 📁 `scripts/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 4
    - 📄 **Files:** 1
    - 📦 **Entities:** 4

    **Key Entities:**

      - 📦 **utils** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/desktop...

    ### 📁 `src/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 9
    - 📄 **Files:** 4
    - 📦 **Entities:** 9

    **Key Entities:**

      - 📦 **bindings** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/desktop...
      - 📦 **cli** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/desktop...
      - 📦 **menu** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/desktop...
      - 📦 **updater** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/desktop...

      ### 📁 `i18n/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 9
      - 📄 **Files:** 1
      - 📦 **Entities:** 9

      **Key Entities:**

        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/desktop...

    ### 📁 `__tests__/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 2
    - 📄 **Files:** 1
    - 📦 **Entities:** 2

    **Key Entities:**

      - 📦 **previous-docs-redirects.spec** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-do...

      ### 📁 `nodes/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 2
      - 📄 **Files:** 1
      - 📦 **Entities:** 2

      **Key Entities:**

        - 📦 **heading.markdoc** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-do...

      ### 📁 `api/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 7
      - 📄 **Files:** 1
      - 📦 **Entities:** 7

      **Key Entities:**

        - 📦 **llms.txt** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-do...

    ### 📁 `src/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 16
    - 📄 **Files:** 5
    - 📦 **Entities:** 16

    **Key Entities:**

      - 📦 **cloud-sessions** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-ga...
      - 📦 **headers** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-ga...
      - 📦 **loader** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-ga...
      - 📦 **provider** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-ga...
      - 📦 **provider-debug** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-ga...

      ### 📁 `api/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 14
      - 📄 **Files:** 3
      - 📦 **Entities:** 14

      **Key Entities:**

        - 📦 **models** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-ga...
        - 📦 **notifications** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-ga...
        - 📦 **profile** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-ga...

      ### 📁 `auth/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 18
      - 📄 **Files:** 5
      - 📦 **Entities:** 18

      **Key Entities:**

        - 📦 **device-auth** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-ga...
        - 📦 **device-auth-tui** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-ga...
        - 📦 **legacy-migration** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-ga...
        - 📦 **polling** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-ga...
        - 📦 **token** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-ga...

      ### 📁 `server/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 2
      - 📄 **Files:** 1
      - 📦 **Entities:** 2

      **Key Entities:**

        - 📦 **routes** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-ga...

      ### 📁 `tui/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 8
      - 📄 **Files:** 2
      - 📦 **Entities:** 8

      **Key Entities:**

        - 📦 **context** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-ga...
        - 📦 **helpers** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-ga...

      ### 📁 `types/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 6
      - 📄 **Files:** 1
      - 📦 **Entities:** 6

      **Key Entities:**

        - 📦 **tui.d** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-ga...

    ### 📁 `src/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 48
    - 📄 **Files:** 4
    - 📦 **Entities:** 48

    **Key Entities:**

      - 📦 **client** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-te...
      - 📦 **identity** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-te...
      - 📦 **telemetry** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-te...
      - 📦 **tracer** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-te...

      ### 📁 `__tests__/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 3
      - 📄 **Files:** 1
      - 📦 **Entities:** 3

      **Key Entities:**

        - 📦 **telemetry.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-te...

    ### 📁 `src/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 3
    - 📄 **Files:** 1
    - 📦 **Entities:** 3

    **Key Entities:**

      - 📦 **file-path** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-ui...

      ### 📁 `components/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 9
      - 📄 **Files:** 1
      - 📦 **Entities:** 9

      **Key Entities:**

        - 📦 **tool-utils** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-ui...

    ### 📁 `tests/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 7
    - 📄 **Files:** 1
    - 📦 **Entities:** 7

    **Key Entities:**

      - 📦 **visual-regression.spec** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-ui...

  ### 📁 `kilo-vscode/`

  - 🏗️ **Layers:** Unknown
  - 📊 **Tiers:** TRIVIAL: 6
  - 📄 **Files:** 1
  - 📦 **Entities:** 6

  **Key Entities:**

    - 📦 **esbuild** (Module) `[TRIVIAL]`
      - Auto-generated module for research/kilocode/packages/kilo-vs...

    ### 📁 `script/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 21
    - 📄 **Files:** 3
    - 📦 **Entities:** 21

    **Key Entities:**

      - 📦 **launch** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-vs...
      - 📦 **local-bin** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-vs...
      - 📦 **watch-cli** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-vs...

    ### 📁 `src/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 61
    - 📄 **Files:** 10
    - 📦 **Entities:** 61

    **Key Entities:**

      - 📦 **extension** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-vs...
      - 📦 **image-preview** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-vs...
      - 📦 **kilo-provider-utils** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-vs...
      - 📦 **path-utils** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-vs...
      - 📦 **project-directory** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-vs...
      - 📦 **provider-actions** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-vs...
      - 📦 **review-utils** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-vs...
      - 📦 **session-status** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-vs...
      - 📦 **utils** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-vs...
      - 📦 **webview-html-utils** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-vs...

      ### 📁 `agent-manager/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 52
      - 📄 **Files:** 14
      - 📦 **Entities:** 52

      **Key Entities:**

        - 📦 **SetupScriptRunner** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **WorktreeManager** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **WorktreeStateManager** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **base-branch** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **branch-name** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **constants** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **delete-worktree** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **fork-session** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **format-keybinding** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **git-import** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...

        ### 📁 `__tests__/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 8
        - 📄 **Files:** 2
        - 📦 **Entities:** 8

        **Key Entities:**

          - 📦 **AgentManagerProvider.spec** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **SetupScriptService.spec** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...

      ### 📁 `commands/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 3
      - 📄 **Files:** 1
      - 📦 **Entities:** 3

      **Key Entities:**

        - 📦 **toggle-auto-approve** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...

      ### 📁 `kilo-provider/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 4
      - 📄 **Files:** 1
      - 📦 **Entities:** 4

      **Key Entities:**

        - 📦 **slim-metadata** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...

        ### 📁 `handlers/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 21
        - 📄 **Files:** 5
        - 📦 **Entities:** 21

        **Key Entities:**

          - 📦 **auth** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **cloud-session** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **migration** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **permission-handler** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **question** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...

      ### 📁 `legacy-migration/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 27
      - 📄 **Files:** 1
      - 📦 **Entities:** 27

      **Key Entities:**

        - 📦 **migration-service** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...

        ### 📁 `autocomplete/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 9
        - 📄 **Files:** 3
        - 📦 **Entities:** 9

        **Key Entities:**

          - 📦 **AutocompleteServiceManager** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **statusbar-utils** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **types** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...

          ### 📁 `__tests__/`

          - 🏗️ **Layers:** Unknown
          - 📊 **Tiers:** TRIVIAL: 6
          - 📄 **Files:** 3
          - 📦 **Entities:** 6

          **Key Entities:**

            - 📦 **AutocompleteModel.spec** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...
            - 📦 **AutocompleteServiceManager.spec** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...
            - 📦 **MockWorkspaceEdit** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...

          ### 📁 `chat-autocomplete/`

          - 🏗️ **Layers:** Unknown
          - 📊 **Tiers:** TRIVIAL: 8
          - 📄 **Files:** 3
          - 📦 **Entities:** 8

          **Key Entities:**

            - 📦 **chat-autocomplete-utils** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...
            - 📦 **handleChatCompletionAccepted** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...
            - 📦 **handleChatCompletionRequest** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...

          ### 📁 `classic-auto-complete/`

          - 🏗️ **Layers:** Unknown
          - 📊 **Tiers:** TRIVIAL: 43
          - 📄 **Files:** 9
          - 📦 **Entities:** 43

          **Key Entities:**

            - 📦 **AutocompleteInlineCompletionProvider** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...
            - 📦 **AutocompleteTelemetry** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...
            - 📦 **HoleFiller** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...
            - 📦 **contextualSkip** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...
            - 📦 **getProcessedSnippets** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...
            - 📦 **hole-filler-utils** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...
            - 📦 **inline-utils** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...
            - 📦 **telemetry-utils** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...
            - 📦 **uselessSuggestionFilter** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...

            ### 📁 `__tests__/`

            - 🏗️ **Layers:** Unknown
            - 📊 **Tiers:** TRIVIAL: 8
            - 📄 **Files:** 4
            - 📦 **Entities:** 8

            **Key Entities:**

              - 📦 **AutocompleteContextProvider.test** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/kilo-vs...
              - 📦 **AutocompleteInlineCompletionProvider.test** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/kilo-vs...
              - 📦 **AutocompleteTelemetry.test** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/kilo-vs...
              - 📦 **HoleFiller.test** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/kilo-vs...

            ### 📁 `language-filters/`

            - 🏗️ **Layers:** Unknown
            - 📊 **Tiers:** TRIVIAL: 6
            - 📄 **Files:** 2
            - 📦 **Entities:** 6

            **Key Entities:**

              - 📦 **index** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/kilo-vs...
              - 📦 **markdown** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/kilo-vs...

          ### 📁 `context/`

          - 🏗️ **Layers:** Unknown
          - 📊 **Tiers:** TRIVIAL: 4
          - 📄 **Files:** 2
          - 📦 **Entities:** 4

          **Key Entities:**

            - 📦 **VisibleCodeTracker** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...
            - 📦 **visible-code-utils** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...

                ### 📁 `classification/`

                - 🏗️ **Layers:** Unknown
                - 📊 **Tiers:** TRIVIAL: 3
                - 📄 **Files:** 1
                - 📦 **Entities:** 3

                **Key Entities:**

                  - 📦 **shouldCompleteMultiline** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...

                ### 📁 `constants/`

                - 🏗️ **Layers:** Unknown
                - 📊 **Tiers:** TRIVIAL: 3
                - 📄 **Files:** 1
                - 📦 **Entities:** 3

                **Key Entities:**

                  - 📦 **AutocompleteLanguageInfo** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...

                  ### 📁 `ranking/`

                  - 🏗️ **Layers:** Unknown
                  - 📊 **Tiers:** TRIVIAL: 8
                  - 📄 **Files:** 1
                  - 📦 **Entities:** 8

                  **Key Entities:**

                    - 📦 **index** (Module) `[TRIVIAL]`
                      - Auto-generated module for research/kilocode/packages/kilo-vs...

                  ### 📁 `root-path-context/`

                  - 🏗️ **Layers:** Unknown
                  - 📊 **Tiers:** TRIVIAL: 3
                  - 📄 **Files:** 1
                  - 📦 **Entities:** 3

                  **Key Entities:**

                    - 📦 **testUtils** (Module) `[TRIVIAL]`
                      - Auto-generated module for research/kilocode/packages/kilo-vs...

                      ### 📁 `files/`

                      - 🏗️ **Layers:** Unknown
                      - 📊 **Tiers:** TRIVIAL: 7
                      - 📄 **Files:** 1
                      - 📦 **Entities:** 7

                      **Key Entities:**

                        - 📦 **base_module** (Module) `[TRIVIAL]`
                          - Auto-generated module for research/kilocode/packages/kilo-vs...

                        ### 📁 `python/`

                        - 🏗️ **Layers:** Unknown
                        - 📊 **Tiers:** TRIVIAL: 10
                        - 📄 **Files:** 1
                        - 📦 **Entities:** 10

                        **Key Entities:**

                          - 📦 **functions** (Module) `[TRIVIAL]`
                            - Auto-generated module for research/kilocode/packages/kilo-vs...

                        ### 📁 `typescript/`

                        - 🏗️ **Layers:** Unknown
                        - 📊 **Tiers:** TRIVIAL: 9
                        - 📄 **Files:** 1
                        - 📦 **Entities:** 9

                        **Key Entities:**

                          - 📦 **functions** (Module) `[TRIVIAL]`
                            - Auto-generated module for research/kilocode/packages/kilo-vs...

                  ### 📁 `static-context/`

                  - 🏗️ **Layers:** Unknown
                  - 📊 **Tiers:** TRIVIAL: 8
                  - 📄 **Files:** 2
                  - 📦 **Entities:** 8

                  **Key Entities:**

                    - 📦 **StaticContextService** (Module) `[TRIVIAL]`
                      - Auto-generated module for research/kilocode/packages/kilo-vs...
                    - 📦 **tree-sitter-utils** (Module) `[TRIVIAL]`
                      - Auto-generated module for research/kilocode/packages/kilo-vs...

                ### 📁 `filtering/`

                - 🏗️ **Layers:** Unknown
                - 📊 **Tiers:** TRIVIAL: 2
                - 📄 **Files:** 1
                - 📦 **Entities:** 2

                **Key Entities:**

                  - 📦 **BracketMatchingService.test** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...

                  ### 📁 `streamTransforms/`

                  - 🏗️ **Layers:** Unknown
                  - 📊 **Tiers:** TRIVIAL: 8
                  - 📄 **Files:** 3
                  - 📦 **Entities:** 8

                  **Key Entities:**

                    - 📦 **charStream.test** (Module) `[TRIVIAL]`
                      - Auto-generated module for research/kilocode/packages/kilo-vs...
                    - 📦 **lineStream** (Module) `[TRIVIAL]`
                      - Auto-generated module for research/kilocode/packages/kilo-vs...
                    - 📦 **lineStream.test** (Module) `[TRIVIAL]`
                      - Auto-generated module for research/kilocode/packages/kilo-vs...

                  ### 📁 `test/`

                  - 🏗️ **Layers:** Unknown
                  - 📊 **Tiers:** TRIVIAL: 15
                  - 📄 **Files:** 2
                  - 📦 **Entities:** 15

                  **Key Entities:**

                    - 📦 **testCases** (Module) `[TRIVIAL]`
                      - Auto-generated module for research/kilocode/packages/kilo-vs...
                    - 📦 **util** (Module) `[TRIVIAL]`
                      - Auto-generated module for research/kilocode/packages/kilo-vs...

                ### 📁 `generation/`

                - 🏗️ **Layers:** Unknown
                - 📊 **Tiers:** TRIVIAL: 4
                - 📄 **Files:** 2
                - 📦 **Entities:** 4

                **Key Entities:**

                  - 📦 **GeneratorReuseManager.test** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...
                  - 📦 **utils.test** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...

                ### 📁 `postprocessing/`

                - 🏗️ **Layers:** Unknown
                - 📊 **Tiers:** TRIVIAL: 9
                - 📄 **Files:** 2
                - 📦 **Entities:** 9

                **Key Entities:**

                  - 📦 **index** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...
                  - 📦 **removePrefixOverlap** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...

                ### 📁 `prefiltering/`

                - 🏗️ **Layers:** Unknown
                - 📊 **Tiers:** TRIVIAL: 3
                - 📄 **Files:** 1
                - 📦 **Entities:** 3

                **Key Entities:**

                  - 📦 **index** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...

                ### 📁 `snippets/`

                - 🏗️ **Layers:** Unknown
                - 📊 **Tiers:** TRIVIAL: 4
                - 📄 **Files:** 1
                - 📦 **Entities:** 4

                **Key Entities:**

                  - 📦 **getAllSnippets** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...

                ### 📁 `templating/`

                - 🏗️ **Layers:** Unknown
                - 📊 **Tiers:** TRIVIAL: 23
                - 📄 **Files:** 6
                - 📦 **Entities:** 23

                **Key Entities:**

                  - 📦 **AutocompleteTemplate** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...
                  - 📦 **constructPrefixSuffix** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...
                  - 📦 **filtering** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...
                  - 📦 **formatOpenedFilesContext** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...
                  - 📦 **getStopTokens** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...
                  - 📦 **index** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...

                  ### 📁 `__tests__/`

                  - 🏗️ **Layers:** Unknown
                  - 📊 **Tiers:** TRIVIAL: 2
                  - 📄 **Files:** 1
                  - 📦 **Entities:** 2

                  **Key Entities:**

                    - 📦 **renderPrompt.test** (Module) `[TRIVIAL]`
                      - Auto-generated module for research/kilocode/packages/kilo-vs...

                ### 📁 `util/`

                - 🏗️ **Layers:** Unknown
                - 📊 **Tiers:** TRIVIAL: 12
                - 📄 **Files:** 5
                - 📦 **Entities:** 12

                **Key Entities:**

                  - 📦 **AutocompleteLruCacheInMem** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...
                  - 📦 **ast** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...
                  - 📦 **completionTestUtils** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...
                  - 📦 **processSingleLineCompletion** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...
                  - 📦 **textSimilarity** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...

              ### 📁 `diff/`

              - 🏗️ **Layers:** Unknown
              - 📊 **Tiers:** TRIVIAL: 13
              - 📄 **Files:** 3
              - 📦 **Entities:** 13

              **Key Entities:**

                - 📦 **myers** (Module) `[TRIVIAL]`
                  - Auto-generated module for research/kilocode/packages/kilo-vs...
                - 📦 **streamDiff.test** (Module) `[TRIVIAL]`
                  - Auto-generated module for research/kilocode/packages/kilo-vs...
                - 📦 **util** (Module) `[TRIVIAL]`
                  - Auto-generated module for research/kilocode/packages/kilo-vs...

              ### 📁 `fetch/`

              - 🏗️ **Layers:** Unknown
              - 📊 **Tiers:** TRIVIAL: 2
              - 📄 **Files:** 1
              - 📦 **Entities:** 2

              **Key Entities:**

                - 📦 **stream** (Module) `[TRIVIAL]`
                  - Auto-generated module for research/kilocode/packages/kilo-vs...

              ### 📁 `indexing/`

              - 🏗️ **Layers:** Unknown
              - 📊 **Tiers:** TRIVIAL: 2
              - 📄 **Files:** 1
              - 📦 **Entities:** 2

              **Key Entities:**

                - 📦 **ignore** (Module) `[TRIVIAL]`
                  - Auto-generated module for research/kilocode/packages/kilo-vs...

              ### 📁 `llm/`

              - 🏗️ **Layers:** Unknown
              - 📊 **Tiers:** TRIVIAL: 27
              - 📄 **Files:** 4
              - 📦 **Entities:** 27

              **Key Entities:**

                - 📦 **countTokens** (Module) `[TRIVIAL]`
                  - Auto-generated module for research/kilocode/packages/kilo-vs...
                - 📦 **llamaTokenizer** (Module) `[TRIVIAL]`
                  - Auto-generated module for research/kilocode/packages/kilo-vs...
                - 📦 **messages** (Module) `[TRIVIAL]`
                  - Auto-generated module for research/kilocode/packages/kilo-vs...
                - 📦 **openaiTypeConverters** (Module) `[TRIVIAL]`
                  - Auto-generated module for research/kilocode/packages/kilo-vs...

                ### 📁 `model-info/`

                - 🏗️ **Layers:** Unknown
                - 📊 **Tiers:** TRIVIAL: 2
                - 📄 **Files:** 1
                - 📦 **Entities:** 2

                **Key Entities:**

                  - 📦 **index** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...

              ### 📁 `test/`

              - 🏗️ **Layers:** Unknown
              - 📊 **Tiers:** TRIVIAL: 4
              - 📄 **Files:** 1
              - 📦 **Entities:** 4

              **Key Entities:**

                - 📦 **testDir** (Module) `[TRIVIAL]`
                  - Auto-generated module for research/kilocode/packages/kilo-vs...

              ### 📁 `util/`

              - 🏗️ **Layers:** Unknown
              - 📊 **Tiers:** TRIVIAL: 41
              - 📄 **Files:** 10
              - 📦 **Entities:** 41

              **Key Entities:**

                - 📦 **index** (Module) `[TRIVIAL]`
                  - Auto-generated module for research/kilocode/packages/kilo-vs...
                - 📦 **lcs** (Module) `[TRIVIAL]`
                  - Auto-generated module for research/kilocode/packages/kilo-vs...
                - 📦 **logger** (Module) `[TRIVIAL]`
                  - Auto-generated module for research/kilocode/packages/kilo-vs...
                - 📦 **merge** (Module) `[TRIVIAL]`
                  - Auto-generated module for research/kilocode/packages/kilo-vs...
                - 📦 **messageContent** (Module) `[TRIVIAL]`
                  - Auto-generated module for research/kilocode/packages/kilo-vs...
                - 📦 **pathToUri** (Module) `[TRIVIAL]`
                  - Auto-generated module for research/kilocode/packages/kilo-vs...
                - 📦 **paths** (Module) `[TRIVIAL]`
                  - Auto-generated module for research/kilocode/packages/kilo-vs...
                - 📦 **ranges** (Module) `[TRIVIAL]`
                  - Auto-generated module for research/kilocode/packages/kilo-vs...
                - 📦 **treeSitter** (Module) `[TRIVIAL]`
                  - Auto-generated module for research/kilocode/packages/kilo-vs...
                - 📦 **uri** (Module) `[TRIVIAL]`
                  - Auto-generated module for research/kilocode/packages/kilo-vs...

                ### 📁 `src/`

                - 🏗️ **Layers:** Unknown
                - 📊 **Tiers:** TRIVIAL: 5
                - 📄 **Files:** 1
                - 📦 **Entities:** 5

                **Key Entities:**

                  - 📦 **VSCodeIde** (Module) `[TRIVIAL]`
                    - Auto-generated module for research/kilocode/packages/kilo-vs...

                  ### 📁 `autocomplete/`

                  - 🏗️ **Layers:** Unknown
                  - 📊 **Tiers:** TRIVIAL: 13
                  - 📄 **Files:** 1
                  - 📦 **Entities:** 13

                  **Key Entities:**

                    - 📦 **lsp** (Module) `[TRIVIAL]`
                      - Auto-generated module for research/kilocode/packages/kilo-vs...

          ### 📁 `shims/`

          - 🏗️ **Layers:** Unknown
          - 📊 **Tiers:** TRIVIAL: 4
          - 📄 **Files:** 2
          - 📦 **Entities:** 4

          **Key Entities:**

            - 📦 **FileIgnoreController** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...
            - 📦 **i18n** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...

        ### 📁 `cli-backend/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 7
        - 📄 **Files:** 3
        - 📦 **Entities:** 7

        **Key Entities:**

          - 📦 **connection-utils** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **server-manager** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **server-utils** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...

          ### 📁 `i18n/`

          - 🏗️ **Layers:** Unknown
          - 📊 **Tiers:** TRIVIAL: 4
          - 📄 **Files:** 1
          - 📦 **Entities:** 4

          **Key Entities:**

            - 📦 **index** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...

        ### 📁 `code-actions/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 11
        - 📄 **Files:** 4
        - 📦 **Entities:** 11

        **Key Entities:**

          - 📦 **editor-utils** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **register-code-actions** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **register-terminal-actions** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **support-prompt** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...

        ### 📁 `commit-message/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 2
        - 📄 **Files:** 1
        - 📦 **Entities:** 2

        **Key Entities:**

          - 📦 **index** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...

        ### 📁 `marketplace/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 15
        - 📄 **Files:** 3
        - 📦 **Entities:** 15

        **Key Entities:**

          - 📦 **api** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **installer** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **paths** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...

        ### 📁 `telemetry/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 8
        - 📄 **Files:** 2
        - 📦 **Entities:** 8

        **Key Entities:**

          - 📦 **errors** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **telemetry-proxy-utils** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...

      ### 📁 `shared/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 10
      - 📄 **Files:** 2
      - 📦 **Entities:** 10

      **Key Entities:**

        - 📦 **custom-provider** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **provider-model** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...

    ### 📁 `tests/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 7
    - 📄 **Files:** 2
    - 📦 **Entities:** 7

    **Key Entities:**

      - 📦 **permission-dock-dropdown.spec** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-vs...
      - 📦 **visual-regression.spec** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/kilo-vs...

      ### 📁 `unit/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 90
      - 📄 **Files:** 27
      - 📦 **Entities:** 90

      **Key Entities:**

        - 📦 **agent-manager-arch.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **agent-manager-diff-state.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **agent-manager-i18n-split.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **agent-manager-i18n.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **autocomplete-inline-utils.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **code-action-provider.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **connection-utils.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **date.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **extension-arch.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **file-ignore-controller.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...

      ### 📁 `agent-manager/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 41
      - 📄 **Files:** 9
      - 📦 **Entities:** 41

      **Key Entities:**

        - 📦 **apply-conflicts** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **diff-open-policy** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **diff-state** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **file-tree-utils** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **multi-model-utils** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **navigate** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **review-annotations** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **review-comments** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...
        - 📦 **tab-order** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/kilo-vs...

          ### 📁 `chat/`

          - 🏗️ **Layers:** Unknown
          - 📊 **Tiers:** TRIVIAL: 11
          - 📄 **Files:** 3
          - 📦 **Entities:** 11

          **Key Entities:**

            - 📦 **permission-dock-utils** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...
            - 📦 **prompt-input-utils** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...
            - 📦 **question-dock-utils** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...

          ### 📁 `marketplace/`

          - 🏗️ **Layers:** Unknown
          - 📊 **Tiers:** TRIVIAL: 3
          - 📄 **Files:** 1
          - 📦 **Entities:** 3

          **Key Entities:**

            - 📦 **utils** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...

          ### 📁 `settings/`

          - 🏗️ **Layers:** Unknown
          - 📊 **Tiers:** TRIVIAL: 9
          - 📄 **Files:** 2
          - 📦 **Entities:** 9

          **Key Entities:**

            - 📦 **provider-catalog** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...
            - 📦 **provider-visibility** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...

          ### 📁 `shared/`

          - 🏗️ **Layers:** Unknown
          - 📊 **Tiers:** TRIVIAL: 7
          - 📄 **Files:** 1
          - 📦 **Entities:** 7

          **Key Entities:**

            - 📦 **model-selector-utils** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/kilo-vs...

        ### 📁 `context/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 20
        - 📄 **Files:** 6
        - 📦 **Entities:** 20

        **Key Entities:**

          - 📦 **language-utils** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **model-selection** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **permission-queue** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **provider-utils** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **session-queue** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **session-utils** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...

        ### 📁 `hooks/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 25
        - 📄 **Files:** 6
        - 📦 **Entities:** 25

        **Key Entities:**

          - 📦 **file-mention-utils** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **image-attachments-utils** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **useFileMention** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **useImageAttachments** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **usePromptHistory** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **useSlashCommand** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...

        ### 📁 `types/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 2
        - 📄 **Files:** 1
        - 📦 **Entities:** 2

        **Key Entities:**

          - 📦 **messages** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...

        ### 📁 `utils/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 23
        - 📄 **Files:** 6
        - 📦 **Entities:** 23

        **Key Entities:**

          - 📦 **date** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **errorUtils** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **id** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **provider-action** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **qrcode** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...
          - 📦 **review-comment-markdown** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/kilo-vs...

    ### 📁 `script/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 2
    - 📄 **Files:** 1
    - 📦 **Entities:** 2

    **Key Entities:**

      - 📦 **schema** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `acp/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 15
      - 📄 **Files:** 1
      - 📦 **Entities:** 15

      **Key Entities:**

        - 📦 **agent** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `agent/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 6
      - 📄 **Files:** 1
      - 📦 **Entities:** 6

      **Key Entities:**

        - 📦 **agent** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `auth/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 5
      - 📄 **Files:** 1
      - 📦 **Entities:** 5

      **Key Entities:**

        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `bun/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 8
      - 📄 **Files:** 2
      - 📦 **Entities:** 8

      **Key Entities:**

        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **registry** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `bus/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 9
      - 📄 **Files:** 2
      - 📦 **Entities:** 9

      **Key Entities:**

        - 📦 **bus-event** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `cli/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 18
      - 📄 **Files:** 5
      - 📦 **Entities:** 18

      **Key Entities:**

        - 📦 **bootstrap** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **error** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **network** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **ui** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **upgrade** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

        ### 📁 `cmd/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 68
        - 📄 **Files:** 10
        - 📦 **Entities:** 68

        **Key Entities:**

          - 📦 **auth** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...
          - 📦 **cmd** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...
          - 📦 **import** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...
          - 📦 **mcp** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...
          - 📦 **models** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...
          - 📦 **run** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...
          - 📦 **session** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...
          - 📦 **stats** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...
          - 📦 **uninstall** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...
          - 📦 **web** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...

          ### 📁 `debug/`

          - 🏗️ **Layers:** Unknown
          - 📊 **Tiers:** TRIVIAL: 5
          - 📄 **Files:** 1
          - 📦 **Entities:** 5

          **Key Entities:**

            - 📦 **agent** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/opencod...

          ### 📁 `tui/`

          - 🏗️ **Layers:** Unknown
          - 📊 **Tiers:** TRIVIAL: 12
          - 📄 **Files:** 3
          - 📦 **Entities:** 12

          **Key Entities:**

            - 📦 **thread** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/opencod...
            - 📦 **win32** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/opencod...
            - 📦 **worker** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/opencod...

            ### 📁 `component/`

            - 🏗️ **Layers:** Unknown
            - 📊 **Tiers:** TRIVIAL: 3
            - 📄 **Files:** 1
            - 📦 **Entities:** 3

            **Key Entities:**

              - 📦 **textarea-keybindings** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/opencod...

            ### 📁 `context/`

            - 🏗️ **Layers:** Unknown
            - 📊 **Tiers:** TRIVIAL: 2
            - 📄 **Files:** 1
            - 📦 **Entities:** 2

            **Key Entities:**

              - 📦 **directory** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/opencod...

            ### 📁 `ui/`

            - 🏗️ **Layers:** Unknown
            - 📊 **Tiers:** TRIVIAL: 8
            - 📄 **Files:** 1
            - 📦 **Entities:** 8

            **Key Entities:**

              - 📦 **spinner** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/opencod...

            ### 📁 `util/`

            - 🏗️ **Layers:** Unknown
            - 📊 **Tiers:** TRIVIAL: 27
            - 📄 **Files:** 7
            - 📦 **Entities:** 27

            **Key Entities:**

              - 📦 **clipboard** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/opencod...
              - 📦 **editor** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/opencod...
              - 📦 **markdown** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/opencod...
              - 📦 **selection** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/opencod...
              - 📦 **signal** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/opencod...
              - 📦 **terminal** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/opencod...
              - 📦 **transcript** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `command/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 4
      - 📄 **Files:** 1
      - 📦 **Entities:** 4

      **Key Entities:**

        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `commit-message/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 12
      - 📄 **Files:** 2
      - 📦 **Entities:** 12

      **Key Entities:**

        - 📦 **generate** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **git-context** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

        ### 📁 `__tests__/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 10
        - 📄 **Files:** 1
        - 📦 **Entities:** 10

        **Key Entities:**

          - 📦 **git-context.test** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `config/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 54
      - 📄 **Files:** 5
      - 📦 **Entities:** 54

      **Key Entities:**

        - 📦 **config** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **markdown** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **migrate-tui-config** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **paths** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **tui** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `control/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 4
      - 📄 **Files:** 1
      - 📦 **Entities:** 4

      **Key Entities:**

        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `control-plane/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 9
      - 📄 **Files:** 3
      - 📦 **Entities:** 9

      **Key Entities:**

        - 📦 **sse** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **workspace** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **workspace-router-middleware** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

        ### 📁 `adaptors/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 3
        - 📄 **Files:** 1
        - 📦 **Entities:** 3

        **Key Entities:**

          - 📦 **index** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...

        ### 📁 `workspace-server/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 5
        - 📄 **Files:** 2
        - 📦 **Entities:** 5

        **Key Entities:**

          - 📦 **routes** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...
          - 📦 **server** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `env/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 5
      - 📄 **Files:** 1
      - 📦 **Entities:** 5

      **Key Entities:**

        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `file/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 28
      - 📄 **Files:** 5
      - 📦 **Entities:** 28

      **Key Entities:**

        - 📦 **ignore** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **ripgrep** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **time** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **watcher** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `flag/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 4
      - 📄 **Files:** 1
      - 📦 **Entities:** 4

      **Key Entities:**

        - 📦 **flag** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `format/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 5
      - 📄 **Files:** 1
      - 📦 **Entities:** 5

      **Key Entities:**

        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `id/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 8
      - 📄 **Files:** 1
      - 📦 **Entities:** 8

      **Key Entities:**

        - 📦 **id** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `ide/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 4
      - 📄 **Files:** 1
      - 📦 **Entities:** 4

      **Key Entities:**

        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `installation/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 8
      - 📄 **Files:** 1
      - 📦 **Entities:** 8

      **Key Entities:**

        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `kilo-sessions/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 31
      - 📄 **Files:** 3
      - 📦 **Entities:** 31

      **Key Entities:**

        - 📦 **inflight-cache** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **ingest-queue** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **kilo-sessions** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `kilocode/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 90
      - 📄 **Files:** 18
      - 📦 **Entities:** 90

      **Key Entities:**

        - 📦 **bash-hierarchy** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **bell** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **cloud-session** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **config-injector** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **editor-context** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **enhance-prompt** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **ignore-migrator** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **kilo-errors** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **mcp-migrator** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **modes-migrator** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

        ### 📁 `permission/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 2
        - 📄 **Files:** 1
        - 📦 **Entities:** 2

        **Key Entities:**

          - 📦 **drain** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...

        ### 📁 `review/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 31
        - 📄 **Files:** 3
        - 📦 **Entities:** 31

        **Key Entities:**

          - 📦 **command** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...
          - 📦 **review** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...
          - 📦 **worktree-diff** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `lsp/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 26
      - 📄 **Files:** 3
      - 📦 **Entities:** 26

      **Key Entities:**

        - 📦 **client** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **server** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `mcp/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 46
      - 📄 **Files:** 3
      - 📦 **Entities:** 46

      **Key Entities:**

        - 📦 **auth** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **oauth-callback** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `patch/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 17
      - 📄 **Files:** 1
      - 📦 **Entities:** 17

      **Key Entities:**

        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `permission/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 17
      - 📄 **Files:** 3
      - 📦 **Entities:** 17

      **Key Entities:**

        - 📦 **arity** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **next** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `plugin/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 23
      - 📄 **Files:** 3
      - 📦 **Entities:** 23

      **Key Entities:**

        - 📦 **codex** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **copilot** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `project/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 27
      - 📄 **Files:** 5
      - 📦 **Entities:** 27

      **Key Entities:**

        - 📦 **bootstrap** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **instance** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **project** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **state** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **vcs** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `provider/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 57
      - 📄 **Files:** 6
      - 📦 **Entities:** 57

      **Key Entities:**

        - 📦 **auth** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **error** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **model-cache** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **models** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **provider** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **transform** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

          ### 📁 `copilot/`

          - 🏗️ **Layers:** Unknown
          - 📊 **Tiers:** TRIVIAL: 2
          - 📄 **Files:** 1
          - 📦 **Entities:** 2

          **Key Entities:**

            - 📦 **copilot-provider** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/opencod...

            ### 📁 `chat/`

            - 🏗️ **Layers:** Unknown
            - 📊 **Tiers:** TRIVIAL: 9
            - 📄 **Files:** 4
            - 📦 **Entities:** 9

            **Key Entities:**

              - 📦 **convert-to-openai-compatible-chat-messages** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/opencod...
              - 📦 **get-response-metadata** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/opencod...
              - 📦 **map-openai-compatible-finish-reason** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/opencod...
              - 📦 **openai-compatible-prepare-tools** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/opencod...

            ### 📁 `responses/`

            - 🏗️ **Layers:** Unknown
            - 📊 **Tiers:** TRIVIAL: 26
            - 📄 **Files:** 4
            - 📦 **Entities:** 26

            **Key Entities:**

              - 📦 **convert-to-openai-responses-input** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/opencod...
              - 📦 **map-openai-responses-finish-reason** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/opencod...
              - 📦 **openai-responses-language-model** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/opencod...
              - 📦 **openai-responses-prepare-tools** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `pty/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 9
      - 📄 **Files:** 1
      - 📦 **Entities:** 9

      **Key Entities:**

        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `question/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 5
      - 📄 **Files:** 1
      - 📦 **Entities:** 5

      **Key Entities:**

        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `scheduler/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 3
      - 📄 **Files:** 1
      - 📦 **Entities:** 3

      **Key Entities:**

        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `server/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 9
      - 📄 **Files:** 3
      - 📦 **Entities:** 9

      **Key Entities:**

        - 📦 **error** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **mdns** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **server** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

        ### 📁 `routes/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 4
        - 📄 **Files:** 2
        - 📦 **Entities:** 4

        **Key Entities:**

          - 📦 **global** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...
          - 📦 **tui** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `session/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 75
      - 📄 **Files:** 13
      - 📦 **Entities:** 75

      **Key Entities:**

        - 📦 **compaction** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **instruction** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **llm** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **message-v2** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **processor** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **prompt** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **retry** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **revert** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **status** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `share/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 9
      - 📄 **Files:** 1
      - 📦 **Entities:** 9

      **Key Entities:**

        - 📦 **share-next** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `shell/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 3
      - 📄 **Files:** 1
      - 📦 **Entities:** 3

      **Key Entities:**

        - 📦 **shell** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `skill/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 9
      - 📄 **Files:** 2
      - 📦 **Entities:** 9

      **Key Entities:**

        - 📦 **discovery** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **skill** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `snapshot/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 13
      - 📄 **Files:** 1
      - 📦 **Entities:** 13

      **Key Entities:**

        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `storage/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 19
      - 📄 **Files:** 3
      - 📦 **Entities:** 19

      **Key Entities:**

        - 📦 **db** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **json-migration** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **storage** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `tool/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 37
      - 📄 **Files:** 12
      - 📦 **Entities:** 37

      **Key Entities:**

        - 📦 **diagnostics** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **edit** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **external-directory** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **ls** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **plan** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **question** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **read** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **registry** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **task** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **tool** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `util/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 109
      - 📄 **Files:** 28
      - 📦 **Entities:** 109

      **Key Entities:**

        - 📦 **abort** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **archive** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **color** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **context** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **defer** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **eventloop** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **filesystem** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **fn** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **format** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **git** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `worktree/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 18
      - 📄 **Files:** 1
      - 📦 **Entities:** 18

      **Key Entities:**

        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `acp/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 6
      - 📄 **Files:** 1
      - 📦 **Entities:** 6

      **Key Entities:**

        - 📦 **event-subscription.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `agent/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 2
      - 📄 **Files:** 1
      - 📦 **Entities:** 2

      **Key Entities:**

        - 📦 **agent.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `cli/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 3
      - 📄 **Files:** 1
      - 📦 **Entities:** 3

      **Key Entities:**

        - 📦 **plugin-auth-picker.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

        ### 📁 `tui/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 3
        - 📄 **Files:** 1
        - 📦 **Entities:** 3

        **Key Entities:**

          - 📦 **thread.test** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `config/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 4
      - 📄 **Files:** 1
      - 📦 **Entities:** 4

      **Key Entities:**

        - 📦 **config.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `control-plane/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 4
      - 📄 **Files:** 2
      - 📦 **Entities:** 4

      **Key Entities:**

        - 📦 **session-proxy-middleware.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **sse.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `fixture/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 8
      - 📄 **Files:** 2
      - 📦 **Entities:** 8

      **Key Entities:**

        - 📦 **db** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **fixture** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

        ### 📁 `lsp/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 6
        - 📄 **Files:** 1
        - 📦 **Entities:** 6

        **Key Entities:**

          - 📦 **fake-lsp-server** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `kilo-sessions/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 4
      - 📄 **Files:** 2
      - 📦 **Entities:** 4

      **Key Entities:**

        - 📦 **inflight-cache.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **ingest-queue.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `kilocode/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 33
      - 📄 **Files:** 11
      - 📦 **Entities:** 33

      **Key Entities:**

        - 📦 **bash-hierarchy.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **kilo-errors.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **local-model.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **patch-jsonc.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **paths.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **plan-exit-detection.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **plan-followup.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **rules-migrator.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **workflows-migrator.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **worktree-diff-summary.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `lsp/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 2
      - 📄 **Files:** 1
      - 📦 **Entities:** 2

      **Key Entities:**

        - 📦 **client.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `plugin/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 2
      - 📄 **Files:** 1
      - 📦 **Entities:** 2

      **Key Entities:**

        - 📦 **codex.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `project/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 3
      - 📄 **Files:** 1
      - 📦 **Entities:** 3

      **Key Entities:**

        - 📦 **project.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

        ### 📁 `copilot/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 4
        - 📄 **Files:** 1
        - 📦 **Entities:** 4

        **Key Entities:**

          - 📦 **copilot-chat-model.test** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `session/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 20
      - 📄 **Files:** 6
      - 📦 **Entities:** 20

      **Key Entities:**

        - 📦 **compaction.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **llm.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **message-v2.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **prompt.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **retry.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **structured-output-integration.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `skill/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 2
      - 📄 **Files:** 1
      - 📦 **Entities:** 2

      **Key Entities:**

        - 📦 **skill.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `snapshot/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 2
      - 📄 **Files:** 1
      - 📦 **Entities:** 2

      **Key Entities:**

        - 📦 **snapshot.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `storage/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 5
      - 📄 **Files:** 1
      - 📦 **Entities:** 5

      **Key Entities:**

        - 📦 **json-migration.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `tool/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 2
      - 📄 **Files:** 1
      - 📦 **Entities:** 2

      **Key Entities:**

        - 📦 **webfetch.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

      ### 📁 `util/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 10
      - 📄 **Files:** 3
      - 📦 **Entities:** 10

      **Key Entities:**

        - 📦 **lock.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **process.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...
        - 📦 **which.test** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/opencod...

    ### 📁 `src/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 2
    - 📄 **Files:** 1
    - 📦 **Entities:** 2

    **Key Entities:**

      - 📦 **tool** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/plugin/...

      ### 📁 `script/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 2
      - 📄 **Files:** 1
      - 📦 **Entities:** 2

      **Key Entities:**

        - 📦 **publish** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/sdk/js/...

      ### 📁 `src/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 10
      - 📄 **Files:** 3
      - 📦 **Entities:** 10

      **Key Entities:**

        - 📦 **client** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/sdk/js/...
        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/sdk/js/...
        - 📦 **server** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/sdk/js/...

        ### 📁 `v2/`

        - 🏗️ **Layers:** Unknown
        - 📊 **Tiers:** TRIVIAL: 10
        - 📄 **Files:** 3
        - 📦 **Entities:** 10

        **Key Entities:**

          - 📦 **client** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/sdk/js/...
          - 📦 **index** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/sdk/js/...
          - 📦 **server** (Module) `[TRIVIAL]`
            - Auto-generated module for research/kilocode/packages/sdk/js/...

            ### 📁 `core/`

            - 🏗️ **Layers:** Unknown
            - 📊 **Tiers:** TRIVIAL: 2
            - 📄 **Files:** 1
            - 📦 **Entities:** 2

            **Key Entities:**

              - 📦 **utils.gen** (Module) `[TRIVIAL]`
                - Auto-generated module for research/kilocode/packages/sdk/js/...

    ### 📁 `.storybook/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 2
    - 📄 **Files:** 1
    - 📦 **Entities:** 2

    **Key Entities:**

      - 📦 **theme-tool** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/storybo...

          ### 📁 `context/`

          - 🏗️ **Layers:** Unknown
          - 📊 **Tiers:** TRIVIAL: 30
          - 📄 **Files:** 12
          - 📦 **Entities:** 30

          **Key Entities:**

            - 📦 **command** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/storybo...
            - 📦 **comments** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/storybo...
            - 📦 **file** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/storybo...
            - 📦 **global-sync** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/storybo...
            - 📦 **language** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/storybo...
            - 📦 **layout** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/storybo...
            - 📦 **local** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/storybo...
            - 📦 **permission** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/storybo...
            - 📦 **platform** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/storybo...
            - 📦 **prompt** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/storybo...

          ### 📁 `hooks/`

          - 🏗️ **Layers:** Unknown
          - 📊 **Tiers:** TRIVIAL: 2
          - 📄 **Files:** 1
          - 📦 **Entities:** 2

          **Key Entities:**

            - 📦 **use-providers** (Module) `[TRIVIAL]`
              - Auto-generated module for research/kilocode/packages/storybo...

  ### 📁 `ui/`

  - 🏗️ **Layers:** Unknown
  - 📊 **Tiers:** TRIVIAL: 3
  - 📄 **Files:** 1
  - 📦 **Entities:** 3

  **Key Entities:**

    - 📦 **vite.config** (Module) `[TRIVIAL]`
      - Auto-generated module for research/kilocode/packages/ui/vite...

    ### 📁 `src/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 3
    - 📄 **Files:** 1
    - 📦 **Entities:** 3

    **Key Entities:**

      - 📦 **file-path** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/ui/src/...

      ### 📁 `components/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 6
      - 📄 **Files:** 2
      - 📦 **Entities:** 6

      **Key Entities:**

        - 📦 **line-comment-styles** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/ui/src/...
        - 📦 **session-review-search** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/ui/src/...

      ### 📁 `pierre/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 67
      - 📄 **Files:** 11
      - 📦 **Entities:** 67

      **Key Entities:**

        - 📦 **comment-hover** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/ui/src/...
        - 📦 **commented-lines** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/ui/src/...
        - 📦 **diff-selection** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/ui/src/...
        - 📦 **file-find** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/ui/src/...
        - 📦 **file-runtime** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/ui/src/...
        - 📦 **file-selection** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/ui/src/...
        - 📦 **index** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/ui/src/...
        - 📦 **media** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/ui/src/...
        - 📦 **selection-bridge** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/ui/src/...
        - 📦 **virtualizer** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/ui/src/...

      ### 📁 `storybook/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 2
      - 📄 **Files:** 1
      - 📦 **Entities:** 2

      **Key Entities:**

        - 📦 **fixtures** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/ui/src/...

      ### 📁 `theme/`

      - 🏗️ **Layers:** Unknown
      - 📊 **Tiers:** TRIVIAL: 37
      - 📄 **Files:** 3
      - 📦 **Entities:** 37

      **Key Entities:**

        - 📦 **color** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/ui/src/...
        - 📦 **loader** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/ui/src/...
        - 📦 **resolve** (Module) `[TRIVIAL]`
          - Auto-generated module for research/kilocode/packages/ui/src/...

    ### 📁 `src/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 33
    - 📄 **Files:** 10
    - 📦 **Entities:** 33

    **Key Entities:**

      - 📦 **array** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/util/sr...
      - 📦 **binary** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/util/sr...
      - 📦 **encode** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/util/sr...
      - 📦 **fn** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/util/sr...
      - 📦 **identifier** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/util/sr...
      - 📦 **iife** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/util/sr...
      - 📦 **lazy** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/util/sr...
      - 📦 **path** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/util/sr...
      - 📦 **retry** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/util/sr...
      - 📦 **slug** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/packages/util/sr...

### 📁 `script/`

- 🏗️ **Layers:** Unknown
- 📊 **Tiers:** TRIVIAL: 25
- 📄 **Files:** 5
- 📦 **Entities:** 25

**Key Entities:**

  - 📦 **beta** (Module) `[TRIVIAL]`
    - Auto-generated module for research/kilocode/script/beta.ts
  - 📦 **changelog** (Module) `[TRIVIAL]`
    - Auto-generated module for research/kilocode/script/changelog...
  - 📦 **duplicate-pr** (Module) `[TRIVIAL]`
    - Auto-generated module for research/kilocode/script/duplicate...
  - 📦 **stats** (Module) `[TRIVIAL]`
    - Auto-generated module for research/kilocode/script/stats.ts
  - 📦 **sync-zed** (Module) `[TRIVIAL]`
    - Auto-generated module for research/kilocode/script/sync-zed....

  ### 📁 `upstream/`

  - 🏗️ **Layers:** Unknown
  - 📊 **Tiers:** TRIVIAL: 10
  - 📄 **Files:** 3
  - 📦 **Entities:** 10

  **Key Entities:**

    - 📦 **analyze** (Module) `[TRIVIAL]`
      - Auto-generated module for research/kilocode/script/upstream/...
    - 📦 **list-versions** (Module) `[TRIVIAL]`
      - Auto-generated module for research/kilocode/script/upstream/...
    - 📦 **merge** (Module) `[TRIVIAL]`
      - Auto-generated module for research/kilocode/script/upstream/...

    ### 📁 `codemods/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 7
    - 📄 **Files:** 2
    - 📦 **Entities:** 7

    **Key Entities:**

      - 📦 **transform-imports** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/script/upstream/...
      - 📦 **transform-strings** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/script/upstream/...

    ### 📁 `transforms/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 74
    - 📄 **Files:** 12
    - 📦 **Entities:** 74

    **Key Entities:**

      - 📦 **keep-ours** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/script/upstream/...
      - 📦 **lock-files** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/script/upstream/...
      - 📦 **package-names** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/script/upstream/...
      - 📦 **preserve-versions** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/script/upstream/...
      - 📦 **skip-files** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/script/upstream/...
      - 📦 **transform-extensions** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/script/upstream/...
      - 📦 **transform-i18n** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/script/upstream/...
      - 📦 **transform-package-json** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/script/upstream/...
      - 📦 **transform-scripts** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/script/upstream/...
      - 📦 **transform-take-theirs** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/script/upstream/...

    ### 📁 `utils/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 66
    - 📄 **Files:** 5
    - 📦 **Entities:** 66

    **Key Entities:**

      - 📦 **config** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/script/upstream/...
      - 📦 **git** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/script/upstream/...
      - 📦 **logger** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/script/upstream/...
      - 📦 **report** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/script/upstream/...
      - 📦 **version** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/script/upstream/...

  ### 📁 `vscode/`

  - 🏗️ **Layers:** Unknown
  - 📊 **Tiers:** TRIVIAL: 2
  - 📄 **Files:** 1
  - 📦 **Entities:** 2

  **Key Entities:**

    - 📦 **esbuild** (Module) `[TRIVIAL]`
      - Auto-generated module for research/kilocode/sdks/vscode/esbu...

    ### 📁 `src/`

    - 🏗️ **Layers:** Unknown
    - 📊 **Tiers:** TRIVIAL: 6
    - 📄 **Files:** 1
    - 📦 **Entities:** 6

    **Key Entities:**

      - 📦 **extension** (Module) `[TRIVIAL]`
        - Auto-generated module for research/kilocode/sdks/vscode/src/...

📁 root/

  • 🏗️ Layers: DevOps/Tooling
  • 📊 Tiers: CRITICAL: 11, STANDARD: 18, TRIVIAL: 14
  • 📄 Files: 2
  • 📦 Entities: 43

Key Entities:

  • Complexity (Class) [TRIVIAL]
    • Adaptive semantic complexity scale used for validation stric...
  • ComplianceIssue (Class) [TRIVIAL]
    • Represents a single compliance issue with severity.
  • SemanticEntity (Class) [CRITICAL]
    • Represents a code entity (Module, Function, Component) found...
  • SemanticMapGenerator (Class) [CRITICAL]
    • Orchestrates the mapping process with tier-based validation.
  • Severity (Class) [TRIVIAL]
    • Severity levels for compliance issues.
  • Tier (Class) [TRIVIAL]
    • Legacy tier buckets retained for backward-compatible reporti...
  • 📦 MergeSpec (Module) [TRIVIAL]
    • Utility to merge specs
  • 📦 generate_semantic_map (Module)
    • Scans the codebase to generate a Semantic Map, Module Map, a...
  • 📦 merge_spec (Module) [TRIVIAL]
    • Utility script for merge_spec

Cross-Module Dependencies

graph TD
    routes-->|DEPENDS_ON|backend
    routes-->|DEPENDS_ON|backend
    routes-->|CALLS|backend
    routes-->|DISPATCHES|backend
    routes-->|CALLS|backend
    routes-->|DISPATCHES|backend
    routes-->|CALLS|backend
    routes-->|CALLS|backend
    routes-->|USES|backend
    routes-->|USES|backend
    routes-->|CALLS|backend
    routes-->|CALLS|backend
    routes-->|DEPENDS_ON|backend
    routes-->|DEPENDS_ON|backend
    routes-->|DEPENDS_ON|backend
    routes-->|DEPENDS_ON|backend
    routes-->|DEPENDS_ON|backend
    routes-->|CALLS|backend
    routes-->|DEPENDS_ON|backend
    routes-->|DEPENDS_ON|backend
    routes-->|CALLS|backend
    routes-->|CALLS|backend
    routes-->|CALLS|backend
    routes-->|CALLS|backend
    routes-->|CALLS|root
    routes-->|CALLS|backend
    routes-->|DEPENDS_ON|backend
    routes-->|DEPENDS_ON|backend
    routes-->|DEPENDS_ON|backend
    routes-->|DEPENDS_ON|backend
    routes-->|DEPENDS_ON|backend
    __tests__-->|DEPENDS_ON|backend
    __tests__-->|DEPENDS_ON|backend
    __tests__-->|DEPENDS_ON|backend
    __tests__-->|DEPENDS_ON|backend
    __tests__-->|DEPENDS_ON|backend
    __tests__-->|VERIFIES|backend
    core-->|DEPENDS_ON|backend
    core-->|DEPENDS_ON|backend
    task_manager-->|DEPENDS_ON|backend
    utils-->|DEPENDS_ON|backend
    utils-->|DEPENDS_ON|backend
    llm_analysis-->|IMPLEMENTS|backend
    llm_analysis-->|IMPLEMENTS|backend
    storage-->|DEPENDS_ON|backend
    scripts-->|USES|backend
    scripts-->|USES|backend
    scripts-->|DEPENDS_ON|backend
    scripts-->|DEPENDS_ON|backend
    scripts-->|READS_FROM|backend
    scripts-->|READS_FROM|backend
    scripts-->|USES|backend
    scripts-->|USES|backend
    scripts-->|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
    services-->|DEPENDS_ON|backend
    services-->|DEPENDS_ON|backend
    services-->|CALLS|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
    services-->|CALLS|backend
    services-->|CALLS|backend
    services-->|BINDS_TO|backend
    services-->|DEPENDS_ON|backend
    services-->|DEPENDS_ON|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
    services-->|CALLS|backend
    services-->|DEPENDS_ON|backend
    services-->|USED_BY|backend
    services-->|USED_BY|backend
    services-->|DEPENDS_ON|backend
    services-->|DEPENDS_ON|backend
    services-->|DEPENDS_ON|backend
    __tests__-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    clean_release-->|DEPENDS_ON|backend
    __tests__-->|VERIFIES|backend
    __tests__-->|DEPENDS_ON|backend
    stages-->|IMPLEMENTS|backend
    stages-->|DEPENDS_ON|backend
    stages-->|IMPLEMENTS|backend
    stages-->|DEPENDS_ON|backend
    stages-->|IMPLEMENTS|backend
    stages-->|DEPENDS_ON|backend
    stages-->|CALLED_BY|backend
    stages-->|DEPENDS_ON|backend
    stages-->|IMPLEMENTS|backend
    stages-->|DEPENDS_ON|backend
    stages-->|DEPENDS_ON|backend
    notifications-->|DEPENDS_ON|backend
    notifications-->|DEPENDS_ON|backend
    notifications-->|DEPENDS_ON|backend
    reports-->|DEPENDS_ON|backend
    reports-->|DEPENDS_ON|backend
    reports-->|DEPENDS_ON|backend
    reports-->|DEPENDS_ON|backend
    reports-->|DEPENDS_ON|backend
    reports-->|DEPENDS_ON|backend
    migration-->|VERIFIES|backend
    clean_release-->|DEPENDS_ON|backend
    dataset_review-->|DEPENDS_ON|backend
    components-->|USED_BY|routes
    components-->|USES|lib
    components-->|USED_BY|routes
    components-->|USES|lib
    components-->|DEPENDS_ON|lib
    __tests__-->|VERIFIES|components
    llm-->|DEPENDS_ON|backend
    tools-->|USES|services
    tools-->|USES|services
    tools-->|USES|services
    tools-->|USES|services
    tools-->|USES|services
    __tests__-->|TESTS|lib
    __tests__-->|TESTS|routes
    __tests__-->|TESTS|routes
    __tests__-->|TESTS|lib
    __tests__-->|TESTS|lib
    __tests__-->|TESTS|routes
    __tests__-->|TESTS|routes
    __tests__-->|VERIFIES|routes
    __tests__-->|TESTS|routes
    __tests__-->|TESTS|routes
    fixtures-->|DEPENDS_ON|lib
    [taskId]-->|VERIFIES|routes