Privacy Policy
Bundle ID: com.erklab.apps.smarttree · Effective date: 5 October 2026
This policy covers the SmartTree application for macOS (com.erklab.apps.smarttree), the optional smarttree command-line tool built from the same source, and its official website (smarttree.apps.erklab.com). Sections 1–14 apply to the SmartTree software; Section 15 covers this website.
The short version
SmartTree is a disk-space tool. Scanning, drawing the treemap, browsing folders and moving things to the Trash are all done on your Mac and never touch the network.
SmartTree has no accounts, no analytics, no crash reporting, no advertising SDK, no tracking, no iCloud sync and no servers of its own. It does not sell, rent or trade your data, and it never has.
Outside of fetching a model list on request, there is only one situation in which anything leaves your Mac: when you start an AI cleanup. SmartTree then sends a summary of the scan — folder and file paths with their sizes — to the planner you chose. You trigger it deliberately, every single time, and you can use the app fully without it.
1. Who we are
SmartTree is developed and published by Emircan ERKUL (erklab), who is the data controller for the processing described in this policy.
For any privacy question, request or complaint: privacy@smarttree.apps.erklab.com.
2. What SmartTree does not do
Verified against the shipped binary and PrivacyInfo.xcprivacy:
- No analytics or telemetry. The app contains no analytics, crash-reporting, metrics or telemetry code of any kind. Nothing about your usage is counted, profiled, or transmitted to us or to anyone else. The local error and timing entries described in Section 4.5 are the only things ever written, and they never leave your Mac.
- No advertising or tracking. No ad SDK, no IDFA, and no cross-app tracking.
NSPrivacyTrackingisfalse,NSPrivacyTrackingDomainsis empty, andNSPrivacyCollectedDataTypesis empty. - No account. There is no sign-up, no login, no user profile, no subscription and no server-side record of you.
- No background sync. No data is uploaded when you are not using the app, and nothing is uploaded when you close it.
- No sale or sharing of data. Your data is never sold, rented, licensed or shared with anyone for their own purposes.
- No profiling. SmartTree does not build a profile of you, your habits or your files beyond what is needed to draw the map you asked for.
- No automatic updates. SmartTree contains no auto-update or phone-home component. It contacts the network only in the situations listed in Section 5.
3. Full Disk Access
This section describes the Developer ID build. The Mac App Store build works differently, and Section 3.1 explains how.
To scan a whole disk, the Developer ID build needs macOS Full Disk Access, which you grant yourself in System Settings → Privacy & Security → Full Disk Access.
This is a blanket read permission to your disk while it is granted. SmartTree uses it for one thing only: reading folder and file names, sizes and timestamps so it can draw the map. SmartTree does not ask for camera, microphone, location, contacts, photos, calendar or Bluetooth access, and it does not read the contents of your documents.
A whole-disk scan is never started without Full Disk Access. If you decline it, SmartTree still scans the folders you pick yourself, and every other feature works. Reading your disk is local and never causes anything to be uploaded.
3.1 The Mac App Store build
The Mac App Store build runs inside the App Sandbox, which macOS requires of every Mac App Store app. Three consequences follow, and all are properties of the sandbox rather than choices SmartTree makes:
- It does not ask for Full Disk Access, and Full Disk Access would not help it. App Sandbox denies file access independently of that permission: a sandboxed process is refused even while Full Disk Access is granted to it. Asking would therefore be a request the app could never honour, so the sandboxed build does not ask.
- It reaches your files through a folder you choose. Because no entitlement can grant your home folder or another volume, the sandboxed build asks you to pick a folder — the whole disk, or your home folder — the first time you scan one of them, and remembers that choice. Until you choose, a whole-disk or home scan cannot read anything and would return an empty map, so the app asks rather than showing you nothing.
- It never runs external cleanup commands. App Sandbox forbids launching other tools, so in the Mac App Store build every cleanup item is a folder SmartTree moves to the Trash itself. Everything else — the map, the scan, the sizes, the AI planner — behaves identically.
Two macOS properties worth noting for the Developer ID build: macOS only applies Full Disk Access revocations after you quit and relaunch SmartTree, and any external cleanup command SmartTree runs during an AI cleanup inherits the app’s active OS permissions while it runs (Section 5.3 limits which commands can run).
4. What SmartTree stores on your Mac
Everything SmartTree remembers is stored locally in two macOS-provided places, plus one file an AI cleanup run needs. None of it is transmitted to us, because we have no server to receive it.
4.1 Preferences (UserDefaults, domain com.erklab.apps.smarttree)
| Preference | What it holds |
|---|---|
bz.autoScan |
Whether to scan automatically on launch |
bz.autoScanSet |
Whether you have answered the launch-scan question at all |
bz.showFree |
Whether to show the free-space block |
bz.mapStyle |
Treemap or rings view |
bz.listWidth |
Width of the outline list |
bz.scanRoot |
The folder you last scanned |
bz.scopedBookmark |
The security-scoped folder bookmark carrying sandbox access (Mac App Store build only, see Section 3.1) |
bz.trail, bz.trailIndex |
Your folder history (up to 200 paths) and your position in it |
bz.showCleanup |
Whether the Clean Up panel is open |
bz.engine |
Which AI planner you selected |
bz.providers |
Model providers you configured: display name, base URL, API protocol, and model ID |
bz.cleanupConsent |
Whether you have acknowledged the one-time AI scan-summary consent notice |
AppleLanguages |
The interface language you chose |
API keys are never stored in preferences. bz.providers holds the base URL and model name only. Because bz.scanRoot and bz.trail store paths from your disk, they can contain your user or project folder names; Section 8 explains how to delete them.
4.2 Keychain
If you connect your own model provider, your API key is stored as a macOS Keychain generic-password item under service com.erklab.apps.smarttree.<provider id>, account api-key. It is held by macOS, encrypted, protected by your login, and never written to a preference file, log or cache.
4.3 Application Support folder
SmartTree creates ~/Library/Application Support/SmartTree/ and writes only tools/package.json, containing {"name":"smarttree-cleanup","private":true} — an empty stand-in project so cleanup commands do not read settings, hooks or memory from your own projects. It contains no data about you.
4.4 Developer benchmark hook
Three preferences (bz.benchTiming, bz.benchResult, bz.benchExit) exist solely for manual benchmarking when explicitly set with defaults. Ordinary use never enables or touches them.
4.5 Diagnostics
SmartTree has no crash reporter and uploads no logs. Three local-only edge cases exist: the optional smarttree CLI outputs JSON scan results/errors only to standard output/error; a failed AI request logs [bz] provider <name> failed: <message> to your local macOS system log; and developer timing traces print locally only if BZ_TIMING or bz.benchTiming is manually set. None leaves your Mac.
4.6 Required-Reason APIs (PrivacyInfo.xcprivacy)
| Category | Reason Code | Exact Use in SmartTree |
|---|---|---|
NSPrivacyAccessedAPICategoryFileTimestamp |
3B52.1 |
Reading file/simulator modification timestamps (getattrlist, getattrlistbulk, stat) on user-granted folders; covers scan summary simulator timestamps. |
NSPrivacyAccessedAPICategoryDiskSpace |
85F4.1 |
Displaying free disk space and reclaimed cleanup figures directly to you (statfs); never sent off-device. |
NSPrivacyAccessedAPICategoryUserDefaults |
CA92.1 |
Reading and writing SmartTree’s own com.erklab.apps.smarttree preferences. |
5. What leaves your Mac — only when you ask
Nothing in this section happens unless you click a button. Each run is a deliberate choice, and you can decline all of them and use SmartTree completely offline.
5.1 AI cleanup summary
When you explicitly start an AI cleanup, SmartTree sends a text summary containing paths, names, sizes, counts and dates only — never the contents of your files:
| Included | Limit |
|---|---|
Your home folder path (for example /Users/yourname) |
— |
| The folder you scanned, or “whole disk” | — |
| Largest folder paths, each with allocated size and file count | up to 250 (100 MB+) |
| Largest file paths, each with allocated size | up to 80 (250 MB+) |
Recognised rebuildable cache folders (~/Library/Caches/pip, etc.) |
up to 120 |
| Names and bundle identifiers of currently running regular apps | all regular apps |
| Xcode simulator runtimes (identifier, platform/version, size, last-used date, path) | 100 MB+ when in scan scope |
| Xcode simulator devices (name, state, size, last-used date, UDID, folder path) | 100 MB+ when in scan scope |
Running apps are included solely so SmartTree and the planner avoid removing caches for open applications; paths are capped (~450 paths total).
5.2 Model providers and /models requests
- SmartTree sends one request (HTTPS for public hosts; HTTP permitted only for local/LAN addresses via
NSAllowsLocalNetworking) to the base URL you configured (/chat/completions,/responses, or/v1/messages) with your API key in the request header (Authorization: Bearer …orx-api-key). If you point SmartTree at a local model on your Mac or LAN, nothing leaves your machine or network. - Only when you click Fetch available models in Settings → Model Providers does SmartTree send
GET <base URL>/models. Opening Settings does not issue requests.
5.3 Execution & safety boundaries
The AI planner proposes a plan; it does not execute anything. In the Developer ID build, commands are checked against a compiled 25-entry allowlist (22 exact tool cache commands plus ollama rm <model>, xcrun simctl runtime delete <id>, xcrun simctl erase <udid>). In the Mac App Store build, no external commands run at all — SmartTree moves approved cache folders to the Trash itself.
SmartTree blocks paths under Documents, Desktop, Pictures, Movies, Music, .ssh, .gnupg, Keychain, Mail, Messages, Photos, cloud-storage folders, signed app bundles, shared cache roots (~/Library/Caches), git repositories, shell metacharacters, and projects used in the last two days. Everything proposed appears in the Clean Up panel (“Safe to remove” / “Your call”) for your explicit approval before anything is touched.
6. Everything that stays local
Scanning any volume, drawing treemap/rings/outline views, Reveal in Finder, Copy Path, Trash moves, built-in offline Clean Up cache detection, interface language switching, and the optional smarttree CLI involve zero network access.
7. Third parties
SmartTree talks to third parties only when you deliberately trigger an AI cleanup or fetch a model list against a remote endpoint you configured. Review that provider’s privacy policy before sending scan path summaries, or point SmartTree at a local model instead.
8. How long data is kept, and how to delete it
We keep no data, because we have no server. Every setting, trail, bookmark, and Keychain item lives on your Mac:
- Drag SmartTree to the Trash and empty it.
- Delete the working folder:
rm -rf ~/Library/Application\ Support/SmartTree - Delete preferences, scan root, folder history, and sandbox bookmark:
defaults delete com.erklab.apps.smarttree - Delete any stored API keys in Keychain Access (
com.erklab.apps.smarttree) or via Settings → Model Providers. - If using the Developer ID build, quit SmartTree and remove Full Disk Access in System Settings → Privacy & Security. (The Mac App Store build never requests Full Disk Access; Step 3 removes its folder bookmark.)
To delete prompts from a remote third-party AI provider you chose, manage or delete that history directly in your account with that provider.
9. Your rights
- Everyone: All local state sits on your Mac under Section 4 and can be inspected or deleted via Section 8. You are never charged more or degraded for declining optional AI cleanup.
- EU, EEA, UK & Switzerland (GDPR): Processing relies on explicit consent for any AI cleanup summary sent to your chosen endpoint (withdrawable anytime by stopping use or removing the provider) and legitimate interest solely for local on-device preferences/UI state.
- California (CCPA/CPRA): SmartTree has not sold or shared personal information or disclosed sensitive personal information in the 12 months preceding this policy’s effective date, and holds zero personal data on remote servers. Contact privacy@smarttree.apps.erklab.com with any request.
10. Children
SmartTree is a general-purpose utility and does not knowingly collect personal information from children under 13 (or equivalent local minimum age).
11. Security
API keys reside only in macOS Keychain. Network requests use Apple App Transport Security (NSAllowsLocalNetworking only — allowing HTTP strictly for local/LAN runtimes such as Ollama or LM Studio while requiring HTTPS with valid certificates for public hosts). No remote scripts, update feeds, or web views are loaded. Report vulnerabilities to security@smarttree.apps.erklab.com.
12. International transfers
We operate no server receiving your data. Only if you configure and invoke a remote AI endpoint outside your country does the scan summary in Section 5.1 transmit to your chosen provider.
13. Changes to this policy
Updates affecting behaviour will be posted here at or before release, with an updated effective date and material notices in release notes.
14. Contact
Emircan ERKUL (erklab)
| Channel | Contact |
|---|---|
| Privacy questions and requests | privacy@smarttree.apps.erklab.com |
| Security reports | security@smarttree.apps.erklab.com |
| General support | support@smarttree.apps.erklab.com |
| Bug reports and features | GitHub Issues |
15. This website (smarttree.apps.erklab.com)
When browsing this website, Cloudflare hosting and edge security infrastructure may briefly process standard request logs (requested path, timestamp, approximate region, user agent) for security and abuse prevention.
Messages submitted via the contact form are processed solely to respond to you and protected against spam via Cloudflare Turnstile. See the Cookie Policy for details.