added full project UML class diagram#13
Merged
Mystic-commits merged 1 commit intoApr 14, 2026
Merged
Conversation
|
@adnan275 is attempting to deploy a commit to the Yug's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
classDiagram %% Core Interfaces & APIs (Red/Pinkish) style SentinelAPI fill:#ff9999,stroke:#333,stroke-width:2px %% Core Engines (Blue) style Scanner fill:#99ccff,stroke:#333,stroke-width:2px style FileClassifier fill:#99ccff,stroke:#333,stroke-width:2px style RulesEngine fill:#99ccff,stroke:#333,stroke-width:2px %% AI & Intelligence (Purple) style AIPlanner fill:#cc99ff,stroke:#333,stroke-width:2px %% Safety & Execution (Orange / Green) style SafetyValidator fill:#ffcc99,stroke:#333,stroke-width:2px style Executor fill:#99ff99,stroke:#333,stroke-width:2px %% Database & Storage (Yellow) style DatabaseManager fill:#ffff99,stroke:#333,stroke-width:2px %% User Interfaces (Grey) style WebUI fill:#e6e6e6,stroke:#333,stroke-width:2px style CLI fill:#e6e6e6,stroke:#333,stroke-width:2px class SentinelAPI { +start_scan(path: str) +execute_plan(plan_id: str) +undo_task(task_id: str) +get_task_status() } class Scanner { +scan_directory(path: str) List~FileMetadata~ +calculate_hashes() -ignore_blacklisted() } class FileClassifier { +classify(file: FileMetadata) Category +detect_duplicates(files) } class RulesEngine { +apply_rules(files) +load_user_preferences() } class AIPlanner { +generate_plan(files, category) JSON -communicate_with_ollama() } class SafetyValidator { +validate_plan(plan: JSON) bool -check_system_paths() } class Executor { +execute(plan: JSON) Result +undo(task_id: str) -move_to_trash() } class DatabaseManager { +save_task() +save_execution_log() +record_user_decision() } class WebUI { +render_dashboard() +show_diff_viewer() +handle_websocket_events() } class CLI { +parse_arguments() +display_rich_table() } SentinelAPI --> Scanner : invokes Scanner --> FileClassifier : uses FileClassifier --> RulesEngine : forwards to RulesEngine --> AIPlanner : requests plan AIPlanner --> SafetyValidator : validates SafetyValidator --> SentinelAPI : returns safe plan SentinelAPI --> Executor : triggers Executor --> DatabaseManager : logs actions WebUI --> SentinelAPI : REST / WebSocket Calls CLI --> SentinelAPI : Local Commands