[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111570":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":9,"pushedAt":33,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":15,"starSnapshotCount":15,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},111570,"RustWTM","RustWTM\u002FRustWTM","Windows task manager and resource governor written in Rust. Monitor processes, manage resource usage, and keep your PC responsive.","https:\u002F\u002Frustwtm.com",null,"Rust",263,7,79,3,0,15,170,174,186,92.71,"MIT License",false,"main",true,[26,27,28,29,30,31,32],"cpu-limiter","egui","process-manager","rust","task-manager","windows","windows-service","2026-11-23 12:39:35","2026-11-23 20:40:40","\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Flogo.svg\" width=\"128\" height=\"128\" alt=\"RustWTM logo\">\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">RustWTM\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n  \u003Cb>The Windows task manager that keeps your PC responsive.\u003C\u002Fb>\n\u003C\u002Fp>\n\nA Windows task manager written in Rust, with a background governor that keeps\nthe machine responsive: it throttles, caps, suspends or terminates processes\nthat overload the CPU, gives apps CPU and memory budgets, frees RAM under\npressure, never slows down the app you are using, and learns from long-term\nusage history.\n\n[Website](https:\u002F\u002Frustwtm.com) · [Downloads](https:\u002F\u002Fgithub.com\u002Frustwtm\u002Frustwtm\u002Freleases\u002Flatest) · [Issues](https:\u002F\u002Fgithub.com\u002Frustwtm\u002Frustwtm\u002Fissues)\n\n[![CI](https:\u002F\u002Fgithub.com\u002Frustwtm\u002Frustwtm\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Frustwtm\u002Frustwtm\u002Factions\u002Fworkflows\u002Fci.yml)\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue.svg)](LICENSE)\n[![Latest release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Frustwtm\u002Frustwtm)](https:\u002F\u002Fgithub.com\u002Frustwtm\u002Frustwtm\u002Freleases\u002Flatest)\n\n> **Status:** early release. Sensors and cooling controls are available\n> through the optional hardware provider. Device support varies; physical fan\n> writes still require validation on each supported hardware configuration.\n> Enforcement is **off by default** (dry-run); review the event log first.\n\n![RustWTM Performance view with CPU, memory, GPU, disk and network graphs](screenshots\u002Fperformance.png)\n\n[Overview resource gauges and history cards](screenshots\u002Foverview.png)\n\n[Process workspace and inspector](screenshots\u002Fprocesses.png) ·\n[Light theme](screenshots\u002Fprocesses-light.png) ·\n[Compact layout](screenshots\u002Fprocesses-compact.png)\n\n[Timeline inspection](screenshots\u002Fperformance-timeline.png) ·\n[Compact timeline](screenshots\u002Fperformance-timeline-compact.png) ·\n[Sampling gaps](screenshots\u002Fperformance-gap.png)\n\n[CPU tier filter](screenshots\u002Fperformance-cpu.png) ·\n[GPU engine search](screenshots\u002Fperformance-gpu.png) ·\n[Compact GPU search](screenshots\u002Fperformance-gpu-compact.png)\n\n[Product completion roadmap](docs\u002Fproduct-roadmap.md) · [Windows signing setup](docs\u002Fsigning.md)\n\n## New in 0.30.4\n\n[Release scope and validation](docs\u002F0.30.2-review.md) · 0.30.2 and 0.30.3\nwere not published; 0.30.4 ships their changes with a Run new task fix.\n\n- **Quicker process work:** hold Ctrl to freeze the list and charts for a look;\n  Enter, Alt+E, Delete \u002F Shift+Delete, Page Up\u002FDown, Home\u002FEnd and\n  type-to-search on the list; names sort naturally (\"app2\" before \"app10\").\n- **More to see:** service hosts name their services; Parent PID, Image path,\n  Start time and Integrity columns; a memory breakdown (in use, modified,\n  standby, free, kernel pools, hardware reserved); disk SMART readings, GPU\n  driver details and per-core kernel time.\n- **Network and lists:** Listening\u002FEstablished\u002FUDP filters, exact port search,\n  owner-less and exited rows named, and pins and notes on Services, Startup and\n  Network rows.\n- **Windows integration:** restart Windows Explorer with the same rights; Run\n  new task keeps standard rights from an elevated window; open the real Task\n  Manager once while RustWTM replaces it; folder owners include programs\n  working inside the folder; *Copy diagnostic information* in About.\n\nIPC remains protocol 16.\n\n## Included since 0.30.1\n\n[Release scope and validation](docs\u002F0.30.1-review.md)\n\n- **AI assistant:** ask what a process is, whether it is safe to end and what\n  slows the PC down, with your own key for Claude, OpenAI, Gemini, OpenRouter,\n  Groq, DeepSeek, Mistral, xAI or a local model (Ollama, LM Studio). The model\n  may look up more with read-only tools; secrets are masked, keys are sealed\n  with DPAPI and it never gets control. Also `wtm ai` and new MCP tools.\n- **Process workspace:** User name, Architecture, Elevated and File version\n  columns, a *Hide system processes* switch, collapsible tree nodes with\n  Expand\u002FCollapse all, and grouping by user with *Sign out…*.\n- **Calmer alerts and safer suspend:** the overload alert closes itself once the\n  load is back to normal (*Keep it open* stops the countdown), and suspending\n  asks for confirmation first.\n\nIPC remains protocol 16.\n\n## Included since 0.30.0\n\n[Release scope and validation](docs\u002F0.30.0-review.md)\n\n- **Quick setup:** a skippable five-step welcome flow on first use and after\n  updates, with a compact review, direct section editing and remembered choices.\n- **Process workspace:** optional descriptive titles beside muted executable\n  names, independent table separators, grouped column menus and width fitting.\n- **Desktop consistency:** full-width Settings, shared row density, aligned\n  controls, contextual copy\u002Factions, and Startup search and enabled\u002Fdisabled filters.\n- **Reliable startup:** restored window geometry respects the minimum size;\n  zero-size native frames defer layout safely. Reduced motion also covers\n  automatic scrolling, and setup errors remain visible above the review.\n\nIPC remains protocol 16. Existing repository-identity-based updates continue to\ndiscover the current release and its paired installer\u002Fchecksum assets.\n\n## Included since 0.29.0\n\n[Release scope and validation](docs\u002F0.29.0-review.md)\n\nDevice workspaces\u002Fhealth, Store and reviewed package updates, persistent incident\nreplay, file-owner investigation, visual rules and numeric tray icons are now\nincluded. See the [implementation scope and limits](docs\u002Fproduct-expansion.md).\n\n- **Device workspaces:** disk health and NVMe lifetime counters, battery readings,\n  GPU engines and memory charts, device sparklines and RAM composition.\n- **Applications:** current-user Store registrations and optional signed WinGet\n  discovery with explicit source\u002FID\u002Fversion review before interactive updates.\n  A launched installer still requires a refreshed inventory to confirm success;\n  installer execution validation remains limited. Portable apps are not scanned.\n- **Incident replay and file owners:** bounded persistent resource\u002Fcontributor\n  history with protection events, plus local file\u002Ffolder owner investigation.\n- **Visual policies and first use:** rule editing, pure-engine preview, reviewed\n  profiles, welcome guide, shortcut help and opt-in global show\u002Fhide.\n- **Numeric tray icons:** independently show CPU, RAM and selected temperature\n  values; configure their refresh interval and logo visibility in Settings.\n- **27 interface languages**, shared square surfaces, responsive device details\n  and quieter navigation. Reported hardware gaps remain explicit.\n\nIPC is now protocol 16. Upgrade the GUI, CLI and service together using the MSI\nor bundled installer. Existing update discovery retains repository ID 1425760656.\n\n[Disk health](screenshots\u002Fdevice-disk-details.png) ·\n[GPU workspace](screenshots\u002Fdevice-gpu-overview.png) ·\n[Compact disk](screenshots\u002Fdevice-disk-compact.png) ·\n[Compact memory](screenshots\u002Fdevice-memory-compact.png)\n\nThe [0.28.0 foundation](docs\u002F0.28.0-review.md) remains available:\n\n- **Hardware specifications:** system and BIOS information, CPU topology\u002Fcache\u002F\n  reported maximum clock, motherboard, RAM modules, disk firmware and graphics\n  identities, with refresh and formatted copy. [Details](docs\u002Finventory-app-management.md).\n- **Installed desktop apps:** search, publisher\u002Fversion\u002Fsize\u002Fscope sorting,\n  application details and confirmed registered-uninstaller handoff. A successful\n  handoff means started, not removed; refresh after the vendor uninstaller ends.\n  Use the separate Store and package-update workspaces for their own identities.\n- **Quick navigation (Ctrl+K):** find pages by name\u002Fdescription, choose with arrows\n  and Enter or click, and dismiss with Escape without losing filters or drafts.\n- **Transfer-safe updates:** desktop updater discovery and the bundled installer use\n  the original GitHub repository ID. Release-page, installer and checksum URLs\n  follow the repository through a real transfer; no manual endpoint switch.\n\n[Hardware specifications](screenshots\u002Fhardware-specifications.png) ·\n[Installed applications](screenshots\u002Finstalled-apps.png) ·\n[Compact applications](screenshots\u002Finstalled-apps-compact.png) ·\n[Uninstall confirmation](screenshots\u002Finstalled-apps-confirmation.png) ·\n[Quick navigation](screenshots\u002Fquick-navigation.png)\n\nThe repository transfer retained ID 1425760656 and the 0.28.0 release. Existing\nclients can still discover it through the original redirect; new clients use the\nstable identity. [Transfer verification](docs\u002Frepository-migration.md).\n\n## Features\n\n**Task manager (GUI `rustwtm`, CLI `wtm`)**\n\n- **Docker containers**: a read-only monitor for the active local Docker context,\n  including Compose project\u002Fstate\u002Fsearch filters, CPU, memory\u002Flimit, network and\n  disk rates, recent graphs, port mappings, health, restart count and bounded logs.\n  Overview shows running containers and the busiest sampled workloads. Docker is\n  optional; engine failures never block the process sampler. [Setup and limits](docs\u002Fdocker.md).\n  [Container monitor preview](screenshots\u002Fcontainers.png).\n\n- Overview start page: load at a glance, one-click protection on\u002Foff and\n  protection levels, the busiest apps with quick actions.\n\n- Processes: list, tree or Apps view (one row per app, acting on all of its\n  processes), program icons, optional descriptive titles with muted executable\n  names, search (Ctrl+F), sort by any column, choose columns,\n  details panel (path, command line, user, priority, affinity, efficiency\n  mode, uptime, I\u002FO), open file location.\n- Pause process-list updates (F6) to inspect a stable snapshot while monitoring\n  and protection continue. Quick filters for high CPU (5%+), high memory\n  (512 MiB+) and managed processes combine with name, PID, path and command-line\n  search, with processes started in the last N minutes, disk- or GPU-active\n  processes, and user apps versus services. Wide tables scroll horizontally; the details panel scrolls and closes.\n- Inspect live processes without chasing the sort: while the pointer is over\n  the table or a menu\u002Fdialog is open, existing rows keep their relative order\n  and resource values continue updating. New processes appear after existing\n  peers; exited processes disappear. List, tree and Apps views retain their\n  structure. Leaving the table and closing menus\u002Fdialogs resumes sorting;\n  an explicit sort or filter change applies immediately. F6 remains a separate\n  frozen-snapshot mode.\n- **Column layouts**: Basic, CPU, Memory, I\u002FO, Network and Diagnostics profiles;\n  a searchable column editor with keyboard-operable ordering, Apply\u002FCancel and\n  reset. Name stays first. The active layout is shared by List\u002FTree\u002FApps and\n  survives restart. [Usage and compatibility](docs\u002Fprocess-columns.md).\n- **Context menus** offer grouped column visibility, width fitting, sorting,\n  data copying and item actions throughout the workspace. Disk activity can\n  open a live owner in Processes and copy file paths.\n- **Display preferences**: square, adjoining panels and optional row\u002Fcolumn separators;\n  remembered interface scale, row heights, reduced animation, sidebar layout,\n  process-table behavior and chart options. [Settings guide](docs\u002Fdisplay-preferences.md).\n  [Screen-by-screen visual review](docs\u002Fui-screen-review.md).\n- [Desktop controls and hardware identity](docs\u002Fdesktop-controls.md)\n- [Desktop visual language](docs\u002Fvisual-design.md)\n- **Workspace inspector**: saved adaptive\u002Falways\u002Fhidden modes, system facts\n  without a selected process and explicit summary copy. Two-level table headers\n  retain system totals under process filters. [Behavior and scope](docs\u002Fprocess-workspace.md).\n- Events: search by process, PID or message alongside severity filters; open a\n  message to read and copy the full diagnostic, even in compact windows.\n  [Event diagnostics preview](screenshots\u002Fevents.png).\n- Monitoring data shows its last receipt age on every page. Sampling failures\n  and delayed updates display a warning while retaining the last values.\n- **Reserved for RustWTM**: when the CPU is pinned, a rescue core is kept free\n  for RustWTM and Windows by moving other programs off it until the load drops.\n  The service and the window keep memory resident and run ahead of ordinary\n  apps, so RustWTM stays usable on an overloaded machine. See\n  [`[reserve]`](docs\u002Fconfiguration.md#reserve).\n- Actions: end task, end process tree, suspend \u002F resume, priority, CPU\n  affinity, efficiency mode (EcoQoS), hard CPU cap and memory cap (job objects).\n- **Startup apps**: name, command, account-scope and source search, enabled\u002Fdisabled\n  filters, inline status switches and context actions. Ctrl+F focuses search and\n  Escape clears it.\n- Performance graphs (CPU with every logical processor, memory, GPU, network,\n  disk I\u002FO), App history,\n  Users, Services (start \u002F stop \u002F startup type), Network connections, Events;\n  every list sorts by any column.\n- **Timeline inspection**: covered 1\u002F2\u002F5-minute ranges, shared time cursor,\n  pinning, zoom\u002Freset, keyboard stepping and recent event markers. Real\n  timestamps and explicit gaps preserve missing data; return to live with a\n  button or double-click. [Usage and limits](docs\u002Fperformance-timeline.md).\n- **Focused resource views**: full-width CPU, memory, GPU, network and disk\n  views with a saved resource selection. Filter CPU tiles by relative Windows\n  performance tier and search all current GPU engine types, including idle\n  engines. [Measurement scope and limits](docs\u002Fperformance-resources.md).\n- **Why it hangs, why it won't end**: programs whose window does not respond\n  are marked *Not responding* (with a quick filter and an Overview warning);\n  *Analyze wait chain* shows what their blocked threads wait for, across\n  processes, and spots deadlocks. *Why won't it end?* explains a process that\n  refuses to go: Windows protection, a security or anti-cheat driver that\n  withholds the right, or other programs still holding it open.\n- **Modules**: the DLLs a process loaded and who signed each (offline\n  Authenticode and catalog check); unsigned and invalid ones first.\n- **Network per program**: bytes received and sent per process (ETW, through\n  the service or as administrator), a *Network* column and the busiest\n  programs in the Network tab; *Close* resets an IPv4 TCP connection, and\n  *Block network access* cuts a program off with two Windows Firewall rules\n  (undo with *Unblock* in the Network tab).\n- **Game mode**: while a full-screen app is in front, busy background apps get\n  below-normal priority and efficiency mode (optionally the High performance\n  power plan), all rolled back when it ends. See [`[game_mode]`](docs\u002Fconfiguration.md#game_mode).\n- **Leak detection**: steady growth of memory, handles or threads in the app\n  history is reported as a leak suspect.\n- **Memory dumps from a clone**: the process is snapshotted (copy-on-write) and\n  dumped from the snapshot, so it is frozen for milliseconds, not the whole\n  write. The sign-in secrets processes (lsass, LsaIso) are never dumped.\n- **AI assistants (MCP)**: `wtm mcp` is a Model Context Protocol server on\n  standard input\u002Foutput, so Claude Desktop, Claude Code and other MCP clients\n  can ask what this PC is doing. Read-only unless started with\n  `--allow-control`; nothing listens on the network.\n- **Built-in AI assistant**: right-click a process → *Diagnostics* → *Ask AI\n  about it*, or *Ask AI about this PC* in the system overview, to have a model\n  explain what a process is, whether it looks legitimate, whether it is safe to\n  end, and what slows the PC down. Bring your own API key for Anthropic\n  (Claude), OpenAI, Google Gemini, OpenRouter, Groq, DeepSeek, Mistral or xAI,\n  or use a local model through Ollama, LM Studio or any OpenAI-compatible\n  server. Off until you agree to it in *Settings → AI*; keys are sealed with\n  DPAPI for your Windows account; secrets in command lines and your account\n  name are masked before sending, and *Show what was sent* displays the exact\n  text. When the facts do not settle a question, the model may look up more\n  with RustWTM's read-only tools (bounded rounds, results masked; turn it off\n  in the settings). The model only advises: it is never given control.\n- **Disks**: every drive with its free space, live activity per physical disk\n  and the processes reading and writing the most. *Analyze* any drive or folder\n  to see what takes up the space: a folder tree with sizes and shares, the 200\n  largest files and the space per file type, each with *Show in Explorer*.\n  Results open in a dedicated analysis page with independent scrolling. Live\n  file activity cannot displace the results; *Back to disks* and *Open disk\n  analysis* retain the scan, expanded folders and scroll position. Columns adapt\n  to compact windows.\n  The scan runs on a few background-priority threads (a 2 TB, 6 million file system\n  drive took about a minute) and never follows junctions or symbolic links.\n  *Files being read and written* lists, per program, the files moving the most\n  disk bytes right now (a kernel trace that runs only while the tab is open,\n  through the service or as administrator).\n- **Device workspaces**: select hardware from a list with recent sparklines.\n  Disk Details groups available health, endurance, temperature, NVMe spare\n  capacity, lifetime counters and device specifications. GPU Overview separates\n  engines and dedicated\u002Fshared memory; RAM shows measured used\u002Favailable\n  composition. Missing readings remain unavailable. Health access depends on\n  the controller and permissions; all hardware queries are read-only.\n- Update checks discover releases by stable GitHub repository identity across\n  owner\u002Fname transfers. Installer and checksum URLs come from the same release.\n- Update notice with one-click update: the new installer is downloaded,\n  checked against its published SHA-256 and installed; RustWTM restarts\n  by itself.\n- Run new task (optionally as administrator) and one-click restart as\n  administrator; the window remembers its size, tab, columns and sorts.\n  Opening it as administrator also remembers that preference. In a protected\n  installation folder, fixed per-user scheduled tasks provide administrator\n  launches and optional sign-in startup without storing a password. Settings\n  can turn either preference off. Portable copies use the normal UAC prompt;\n  automatic privileged startup requires an administrator-protected install.\n- GUI and desktop notifications in 27 languages, including English, 简体中文,\n  繁體中文, हिन्दी, Español, Français, বাংলা, Português, Русский, 日本語, Deutsch,\n  한국어 and Türkçe, with immediate language selection and a saved per-user preference.\n  The first launch follows the Windows UI language. See [language support](docs\u002Flocalization.md).\n- Settings: edit the service's configuration with live validation and a\n  one-click switch between dry-run and enforcing.\n- **Overload alert**: when the CPU stays above 90%, RustWTM pops up over all\n  windows with the busiest apps and one-click fixes (calm them all down,\n  efficiency mode, limit to one core, pause, end) before the PC becomes\n  unusable.\n- Tray icon with a live CPU bar, desktop notifications; keeps running in the\n  tray and starts there at sign-in (switchable in Settings).\n\n**Governor service (`wtm-service`)**\n\n- **CPU governor**: when the whole system stays above a threshold, the top\n  consumers are escalated step by step (lower priority → efficiency mode →\n  hard CPU cap) and rolled back once the system recovers.\n- **Memory guard**: when RAM stays above 90%, the biggest background apps\n  release their working sets (nothing is closed or lost).\n- **The app you use stays fast**: the foreground app and its child processes\n  are never throttled (`protect_foreground`).\n- **Rules**: match processes by name or path (wildcards), optionally require a\n  sustained condition (`cpu_above`, `memory_above_mb`, `gpu_above`), then apply actions —\n  including `kill`. Unconditional rules react within ~250 ms of a process\n  starting.\n- **App limits**: give an app a CPU and\u002For memory budget (`node.exe`: 2 cores;\n  `zen.exe`: 8 GB per instance) shared by all of its processes and their\n  children. Edit them in the **Limits** tab or with `wtm app-limit`.\n- **Kill list and panic button**: programs that may be ended, matched by\n  name and command line (`node.exe` running `vitest` only). The service ends\n  one that keeps eating CPU and does not recover; the panic button\n  (Ctrl+Shift+K, `wtm panic --yes`) ends the whole list at once.\n- **Ports**: every listening port with the program behind it, who can reach\n  it (this PC only \u002F all networks) and how many clients are connected; the\n  usual ports of ~75 developer tools and servers (Vite, Next.js, PostgreSQL,\n  Redis, Docker, Ollama, …) with their state; watched ports of your own;\n  *Free a port* ends whatever keeps it busy (`wtm ports`,\n  `wtm free-port 3000 --yes`). Windows' own ports and service hosts are left\n  alone, and Docker \u002F WSL relays come with a warning.\n- **Swarm warning**: hundreds of copies of one program (a script that keeps\n  starting `powershell.exe` and never waits for it) are reported with who\n  started them; Overview ends them all, or only the orphaned ones, in one\n  click.\n- **Telegram bot**: status, busiest processes, ports, services and alerts on\n  your phone; end (after a confirming tap), suspend and resume processes,\n  free a port or press the panic button from anywhere. Only the chat IDs you\n  allow can use it; set it up in Settings → Telegram.\n- **Blocking**: programs on the `block` list are prevented from starting at\n  all (Image File Execution Options), with a notification to the user.\n- **Long-term insights**: per-minute, per-app usage is recorded to SQLite.\n  Apps with chronically high CPU or steadily growing memory (linear trend with\n  R² fit) are flagged, reported, and optionally acted on.\n- **Safe by design**: dry-run by default; core Windows processes, critical\n  processes and RustWTM itself are never touched; every source (governor,\n  rules, insights, manual) is tracked separately and everything is rolled back\n  when the service stops.\n\n**Sensors & cooling** shows device temperatures, RPM, power, voltage and clocks,\nwith min\u002Fmax and recent samples. Supported channels offer manual duty, editable\ncurves and Quiet\u002FBalanced\u002FPerformance presets. Applying software control requires\nan elevated GUI, the matching service and enforcing mode. Saved profiles are\ndrafts; startup keeps hardware automatic control. See [hardware setup and\nvalidation limits](docs\u002Fhardware.md).\n\nHybrid CPU discovery, P\u002FE\u002FLP-E process selection and shared Windows frequency\nlimits are available in 0.13.1. See [CPU topology and\npower controls](docs\u002Fcpu-controls.md) for commands, scope and rollback behavior.\nShared power-plan limits persist until you restore the saved settings.\n\n## Requirements\n\n- Windows 10 1809 or later \u002F Windows 11, 64-bit.\n- Administrator rights to install the service and to control processes of\n  other users and services.\n\n## Install\n\n### One-liner (latest release)\n\nFrom an **elevated** PowerShell:\n\n```powershell\nirm https:\u002F\u002Fraw.githubusercontent.com\u002Frustwtm\u002Frustwtm\u002Fmain\u002Fscripts\u002Finstall.ps1 | iex\n```\n\nThis downloads the latest release, verifies its SHA-256 checksum, installs to\n`C:\\Program Files\\RustWTM`, adds it to `PATH`, creates a Start Menu shortcut,\nand installs and starts the `RustWTM` service (in dry-run mode).\n\nOptions (download the script first to pass them):\n\n```powershell\n.\\install.ps1 -Version v0.1.0          # a specific release\n.\\install.ps1 -NoService               # GUI and CLI only\n.\\install.ps1 -FromSource .            # build this checkout instead of downloading\n.\\install.ps1 -DownloadOnly -InstallDir D:\\Tools\\RustWTM   # portable, no admin needed\n```\n\n### MSI package\n\nEach release also ships `RustWTM-\u003Cversion>-x64.msi` (with a `.sha256`). It\ninstalls to `C:\\Program Files\\RustWTM`, registers and starts the service\n(with automatic restart on failure), adds the folder to `PATH` and creates a\nStart Menu shortcut. Uninstall it from *Settings → Apps*; configuration and\nhistory in `%ProgramData%\\RustWTM` are kept.\n\n```powershell\nmsiexec \u002Fi RustWTM-0.30.4-x64.msi            # interactive\nmsiexec \u002Fi RustWTM-0.30.4-x64.msi \u002Fqn        # silent\n```\n\n### Open with Ctrl+Shift+Esc\n\nIn **Settings → This window → Windows Task Manager**, enable **Use RustWTM for\nCtrl+Shift+Esc**. This optional machine-wide setting opens RustWTM from Windows\nTask Manager entry points, even when RustWTM is not running; an existing window\nis brought forward. It requires administrator rights and a protected installed\ncopy. Portable\u002Fdevelopment copies cannot enable it.\n\nTurn the option off to restore Windows Task Manager. Existing replacements from\nother applications are preserved; restore them in their application first.\nThe CLI offers read-only status and explicit enable\u002Frestore commands:\n\n```powershell\nwtm task-manager\nwtm task-manager --enable     # elevated terminal\nwtm task-manager --restore    # elevated terminal; also works without the GUI\n```\n\nSee [Task Manager integration](docs\u002Ftask-manager.md) for recovery and validation\nboundaries. Uninstall removes only RustWTM's own registration.\n\n### Uninstall\n\n```powershell\n& \"$env:ProgramFiles\\RustWTM\\uninstall.ps1\"            # keeps config and history\n& \"$env:ProgramFiles\\RustWTM\\uninstall.ps1\" -RemoveData\n```\n\n### From source\n\n```powershell\ngit clone https:\u002F\u002Fgithub.com\u002Frustwtm\u002Frustwtm\ncd rustwtm\ncargo build --release      # the toolchain is pinned in rust-toolchain.toml\n.\u002Fscripts\u002Fbuild-hardware.ps1 -OutputDir target\u002Frelease\u002Fhardware\n```\n\nBinaries land in `target\\release\\`: `rustwtm.exe` (GUI), `wtm.exe` (CLI),\n`wtm-service.exe` (service).\nThe optional provider build requires the .NET 8 SDK or newer. Release packages\ninclude a self-contained provider; users do not need to install .NET separately.\n\n## Usage\n\n### GUI\n\nStart **RustWTM** from the Start Menu. Right-click a process for actions.\nThe badge in the top-right corner shows whether the GUI is connected to the\nservice; run it as administrator to send commands through the service.\n\n### CLI\n\n```text\nwtm list --sort mem -n 20          one-shot listing\nwtm list --json                    the same as JSON (also `info`, `ports`)\nwtm sensors --json                local read-only hardware readings\nwtm cores                         logical processors and relative P\u002FE tiers\nwtm affinity 1234 --ecores         use the regular efficient tier\nwtm power show                    shared Windows frequency policy (read-only)\nwtm top                            live view (c\u002Fm\u002Fd\u002Fp\u002Fn to sort, q to quit)\nwtm info chrome                    details of every chrome.exe\nwtm kill 1234 --tree               end a process and its descendants\nwtm suspend notepad \u002F wtm resume notepad\nwtm trim chrome                    free RAM held by every chrome.exe\nwtm dump 1234                      full memory dump file, for debugging\nwtm priority 1234 below-normal\nwtm affinity 1234 0-3,6\nwtm eco 1234 on\nwtm limit 1234 --cpu 10 --memory 2G   hard caps (Ctrl+C lifts them)\nwtm history --hours 24             long-term per-app usage and findings\nwtm app-limit set node.exe --cores 2 --memory 8G   persistent app budget\nwtm app-limit list                 configured app limits and their usage\nwtm ports --known                  listening ports of dev tools and servers\nwtm free-port 3000 --yes           end whatever keeps port 3000 busy\nwtm config show                    the service's configuration\nwtm config check my.toml           validate a file\nwtm config apply my.toml           validate and apply it (elevated)\nwtm mcp [--allow-control]          MCP server for AI assistants (stdio)\nwtm ai setup --provider anthropic  choose an AI provider (and agree to send facts)\nwtm ai key                         store its API key (typed hidden, or piped)\nwtm ai models \u002F wtm ai test        list models, check the key\nwtm ai explain chrome              what is it, is it safe, should I end it?\nwtm ai advise \"why is my fan loud?\"   advice about the whole PC\nwtm ai explain 1234 --dry-run      print what would be sent, send nothing\nwtm ai setup --provider anthropic --lookups off   answer only from the facts sent\n```\n\n`wtm ai` and the window share `%APPDATA%\\RustWTM\\ai.toml`. Providers:\n`anthropic`, `openai`, `gemini`, `openrouter`, `groq`, `deepseek`, `mistral`,\n`xai`, `ollama`, `lmstudio` and `custom` (any OpenAI-compatible `--base-url`).\nThe key can also come from `RUSTWTM_AI_KEY` or the provider's own variable\n(`ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, `GEMINI_API_KEY`, …). Requests go from\nyour session with your key, never from the service; keys travel only over\nHTTPS (or to this PC), and redirects are refused so a key never reaches\nanother host.\n\nTo let an MCP client use it, add RustWTM to its server list, e.g. in Claude\nDesktop's `claude_desktop_config.json`:\n\n```json\n{ \"mcpServers\": { \"rustwtm\": { \"command\": \"C:\\\\Program Files\\\\RustWTM\\\\wtm.exe\", \"args\": [\"mcp\"] } } }\n```\n\nor with Claude Code: `claude mcp add rustwtm -- \"C:\\Program Files\\RustWTM\\wtm.exe\" mcp`.\nTools: `system_overview`, `list_processes`, `process_details`,\n`process_report` (usage, path, signature, parent and children, hosted services,\nports, startup entries in one call), `process_tree`, `process_modules`,\n`why_not_responding`, `why_wont_it_end`, `network_connections`, `services`,\n`startup_items`, `app_history`, `drives`, `recent_events`; prompts\n`explain_process`, `diagnose_slowdown` and `security_review`; with\n`--allow-control` also `end_process`, `suspend_process`,\n`resume_process`, `set_priority` and `efficiency_mode`, which require the\n`create_time` that `list_processes` reports, so a PID reused meanwhile is\nrefused.\n\nTargets are PIDs or image names (`.exe` optional, case-insensitive).\n\n### Service\n\n```text\nwtm-service install | uninstall | start | stop\nwtm-service cleanup                remove RustWTM's program blocks and firewall rules\nwtm-service console --data-dir .\\data    run the engine in the foreground\n```\n\nThe service runs as SYSTEM, so `install` refuses a folder that others than\nadministrators can change (or that a folder above lets them move): install\nfrom Program Files with `install.ps1` or the MSI. To install a development\nbuild from its build folder, set `RUSTWTM_ALLOW_ANY_INSTALL_DIR=1` first, on\na development machine only.\n\n## Configuration\n\nThe service reads `%ProgramData%\\RustWTM\\config.toml` (created with commented\ndefaults on first start) and reloads it automatically when it changes. Edit it\nin the GUI's **Settings** tab or with `wtm config apply` (both validate first\nand need an elevated client), or by hand.\n\n```toml\ndry_run = true            # log decisions only; set to false to enforce\nblock = [\"xmrig.exe\"]     # never starts at all\n\n[governor]\nhigh_cpu_percent = 90.0   # act when the system stays above this...\nsustain_secs = 5          # ...for this long\nrecover_cpu_percent = 70.0\nladder = [{ priority = \"below_normal\" }, \"eco_qos\", { cpu_cap_relative = 0.5 }]\n\n[insights]\nwindow_hours = 24\nchronic_cpu_percent = 10.0\nchronic_actions = [{ priority = \"below_normal\" }, \"eco_qos\"]\ngrowth_mb_per_hour = 200.0\ngrowth_actions = []        # report only\n\n[[rule]]\nname = \"Kill miner variants\"\nmatch = { name = \"xmrig*.exe\" }\nactions = [\"kill\"]\n```\n\nSee [docs\u002Fconfiguration.md](docs\u002Fconfiguration.md) for every option.\n\n> CPU percentages are a share of the **whole machine** (all logical\n> processors), the same scale the process list uses.\n\n## Security model\n\n- The service runs as LocalSystem. Its data directory is restricted to\n  SYSTEM and Administrators (users can read).\n- The GUI\u002FCLI talk to it over the local named pipe `\\\\.\\pipe\\RustWTM`\n  (remote clients rejected). Anyone can read status; **control requests require\n  an elevated administrator**. Detail queries run with the caller's own rights.\n- Clients verify that the pipe is served by the installed `RustWTM` service.\n- The Telegram bot token lives in `telegram.toml`, readable only by SYSTEM and\n  Administrators. The bot answers only the chat IDs on its list (Telegram\n  vouches for the sender), asks before ending anything, never ends protected\n  processes, and can be limited to reports.\n\nReport vulnerabilities as described in [SECURITY.md](SECURITY.md).\n\n## Architecture\n\n| Crate | Purpose |\n|---|---|\n| `wtm-sys` | Safe wrappers over Win32 \u002F NT APIs — the only crate with `unsafe` |\n| `wtm-core` | Process model, sampler, process tree, control actions, startup apps |\n| `wtm-policy` | Config, governor, rule engine, long-term insights (pure logic) |\n| `wtm-ipc` | Named-pipe protocol and client |\n| `wtm-service` | Windows service: engine loop, executor, history, IPC server |\n| `wtm-gui` | egui front-end (`rustwtm.exe`) |\n| `wtm-cli` | Command-line interface (`wtm.exe`) |\n\n## Development\n\n```powershell\ncargo fmt --all\ncargo clippy --workspace --all-targets -- -D warnings\ncargo test --workspace\n```\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) and the roadmap in [PLAN.md](PLAN.md).\nThe [0.13.0 system review](docs\u002F0.13.0-review.md) covers the current architecture,\nvalidation boundaries and the implemented sensors and cooling work.\nThe [0.26.2 release review](docs\u002F0.26.2-review.md) records the latest reproduced\ndefects, regression evidence, release checks and remaining hardware boundaries.\nThe [0.27.0 desktop review](docs\u002F0.27.0-review.md) describes the new process\nworkspace, column layouts, timeline interactions and focused resource views.\nThe [desktop visual language](docs\u002Fvisual-design.md) records the current shared\nsurfaces, responsive policy settings and screen review process.\n\n## License\n\n[MIT](LICENSE). Maintained by [OXOGNET OÜ](https:\u002F\u002Foxog.net), Estonia.\nSee [MAINTAINERS.md](MAINTAINERS.md) for project identity and contact details.\n","RustWTM 是一款基于 Rust 开发的 Windows 任务管理器与系统资源治理工具。它提供进程监控、CPU\u002F内存使用限制、进程暂停或终止、RAM 自动回收等核心功能，并通过后台资源管家机制保障前台应用响应性；采用 egui 构建跨主题 GUI，支持性能图表、服务\u002F启动项\u002F网络连接管理及硬件传感器（需可选硬件提供者）。适用于高负载场景下维持系统流畅性，如开发测试、多任务办公、老旧设备优化等。",2,"2026-11-24 04:41:10","CREATED_QUERY"]