Quickstart Guide
Welcome to ContextWarden! This professional macOS utility is engineered natively in Swift to monitor, throttle, and optimize high-demand developer environments running compiler tasks, local Docker stacks, or heavy AI workflows.
1. Installation
Double-click the downloaded ContextWarden_Installer.dmg and drag the application icon directly into your /Applications directory.
2. Opening for the First Time
Launch ContextWarden from your Applications directory. The app is fully signed and notarized via Apple's official developer program. It will launch immediately, sitting quietly in your macOS top Menu Bar as an electric-shield icon.
💡 Quick Tip: Click the Menu Bar icon to trigger a sleek compact dropdown HUD showing active stats and presets. Click "Preferences & Settings" to unlock the full multi-pane dashboard window.
Performance Presets
ContextWarden features four pre-configured modes designed to modify system execution curves instantly for your active work:
🔥 1. Inference Max
Configured for running large language models (LLMs) or heavy stable diffusion inference runs.
- Triggers low-level memory cache purges to maximize unified VRAM block availability.
- Saves your Apple Silicon memory bus from paging data onto the solid-state drive.
- Triggers manual turbofan curves (100% full speed cooling) if Manual override is toggled.
⚡ 2. Local Training
Designed for prolonged compilations, Xcode builds, node_modules updates, or training workloads.
- Dispatches sleep prevention assertions (macOS
caffeinate) so compilations never halt if you walk away from your desk. - Boosts scheduling hierarchy for active IDE task cycles.
🍃 3. Eco Dev
Maximizes your Mac's battery runtime when working on the go or away from a charger.
- Enforces macOS native Low Power Mode parameters.
- Suspends CPU-intensive background local AI daemons (Ollama, LM Studio, Docker) safely without quitting or losing state.
🍏 4. Vanilla Mac
Restores default macOS dynamic power management, releases active priority schedules, and frees orphan background tasks.
Privileged Helper Daemon
To access low-level SMC hardware keys (for manual turbofan overrides) and monitor real-time process socket connections, ContextWarden utilizes a privileged helper daemon.
To securely install the daemon on your system, execute the setup shell script included in the bundle:
sudo /Applications/ContextWarden.app/Contents/Resources/Scripts/setup_daemon.sh
This script registers a lightweight, sandboxed launchd plist (com.enpremium.macwatchdog.plist) that operates strictly on local Unix sockets, guaranteeing absolute security and 100% telemetry-free system controls.
Unified VRAM Purging
Because Apple Silicon utilizes a unified memory architecture, heavy LLMs pool VRAM directly from the shared RAM. When you terminate a model run, macOS frequently preserves the inactive memory context inside cache allocations, preventing other apps from utilizing the memory bandwidth.
To force-reclaim unified RAM instantly:
- Navigate to the **Memory** monitor panel in the primary dashboard window.
- Audit the real-time Memory pressure indicators.
- Click **"Purge Inactive RAM & Caches"** to safely release the cached blocks back to the system.
Network Sentinel & Socket Terminate
The **Network Sentinel** panel monitors incoming and outgoing network data pipelines to detect background telemetry trackers, rogue Docker nodes, or excessive bandwidth hogs.
When you see a high-bandwidth TCP socket connection that you want to drop:
- Identify the connection in the Sentinel active connection table.
- Click the red **"Kill Process"** button on the far right.
- ContextWarden will dispatch a localized Unix signal (
SIGKILL) directly to the parent Process ID (PID), dropping the socket immediately and freeing up your pipeline latency.
Troubleshooting FAQ
Q: Why is turbofan override greyed out?
A: This requires SMC interface authorization. Please ensure you have run the privileged helper daemon script as outlined in the Daemon section above.
Q: Does this work on Intel-based Macs?
A: Yes, the application is packaged as a Universal Binary containing both arm64 and x86_64 architectures, compatible with Intel Core and Apple Silicon processors running macOS 13.0 Sonoma or later.
Q: Can I verify my license code offline?
A: Yes. Simply input your offline key in the Settings screen. Admin copies bypass remote verification instantly.