Introduction

How ClearKun Works

3 min read•Verified for Windows 10 & 11

An architectural overview of how ClearKun scans, categorizes, and safely frees up disk space on Windows.


The 4-Phase Storage Engine

ClearKun processes your drives through four distinct, non-destructive phases:

text
[ Discovery & Traversal ] ──> [ Metadata Classification ] ──> [ Safety Scoring ] ──> [ Verified Action ]

Phase 1: High-Performance Traversal

ClearKun queries the Windows filesystem using optimized Win32 APIs (FindFirstFileExW, GetFileInformationByHandleEx) with multi-threaded worker pools.

  • Traversing 500,000 files takes approximately 3 to 8 seconds on modern SSDs.
  • Low CPU footprint prevents freezing or impacting your background tasks.

Phase 2: Metadata Classification

Rather than inspecting file bytes, ClearKun inspects file attributes:

  • File path patterns (e.g., AppData\Local\Temp, node_modules, AppData\Local\Google\Chrome\User Data\Default\Cache)
  • File extensions (.iso, .vmdk, .mp4, .zip, .log, .dmp)
  • Timestamps (Creation date, Last accessed time, Last written time)
  • File size on disk vs logical file size

Phase 3: Safety Classification Matrix

Every discovered folder and file is evaluated against our 5-Tier Safety Classification Matrix:

Safety TierDescriptionClearKun Action
Tier 1: Safe to CleanTemporary system cache, browser cache, obsolete log files, crash dumpsPre-checked for one-click removal
Tier 2: User ReviewOld downloads, unused zip archives, duplicate documentsUnchecked by default; user inspection advised
Tier 3: Developer Artifactsnode_modules, build output folders (dist, target, .gradle), package cachesIsolated developer category with project context
Tier 4: System SensitiveApplication settings, profile configurations, database filesStrict warning required before selection
Tier 5: Protected SystemWindows, System32, WinSxS, Boot partitions, Registry filesPermanently locked; cannot be deleted

Phase 4: User-Controlled Action

No file is ever deleted without your explicit confirmation.

  • Recycle Bin Integration: By default, deletions move items into the Windows Recycle Bin for instantaneous recovery.
  • Permanent Deletion Toggle: For large files exceeding Recycle Bin thresholds, permanent deletion requires manual confirmation.
  • Audit Logging: ClearKun keeps a local record of cleaned items so you can review previous actions.

Local-Only Execution Guarantee

ClearKun runs entirely within your Windows client environment:

  • No File Uploads: File contents, filenames, and folder structures are processed in memory on your PC.
  • No Cloud Indexing: All scan databases and cache files reside in your local %LOCALAPPDATA%\ClearKun directory.
  • Offline Capable: Storage analysis, search, categorization, and cleanup work without an internet connection.

Next Steps

Recommended Next Reads

Was this article helpful?

Your feedback helps us refine ClearKun's technical documentation.