Skip to content

Releases: wxy/poolproblem

The Pool Problem v1.2.0 — Growth Insights & Project Directory Monitoring

Choose a tag to compare

@wxy wxy released this 21 Aug 00:21
b352a31

What's New

  • Growth Insights: track disk growth over time, surface cleanup recipe suggestions, and drill down uncovered space to find the directories that are actually growing.
  • Project directory monitoring: the app discovers your dev directories, groups all node_modules / build outputs into one cleanable entry per type, and only suggests cleaning artifacts that are truly idle — build output after ~1 day, node_modules after 30 days (with a 72-hour write-activity safety window).
  • FSEvents incremental monitoring: disk changes are detected and rescanned without waiting for a full scan.
  • Sharper waterline ruler: 5 GB marks (2× finer), unified E-block style, and a larger usable scale while the deep sediment is shown only partially.
  • Polished visuals: new rising-bubble indicator on the menu-bar icon while scanning/cleaning, arc-following pipe elbow shading, opaque pool wall, and pipes that butt flush against it.

Fixes & Engineering

  • Growth Insights now hides entries under already-monitored dev roots and recipe-covered paths, so no more dead-end "project exists" rows.
  • Per-artifact idle windows: build outputs can be cleaned after a short idle; node_modules is protected longer because rebuilding requires re-downloading dependencies.
  • CLI honors POOLPROBLEM_HOME for testability; CI is test-only, skips expensive simulator-runtime scans, and caches SwiftPM builds (runs in ~1 minute).
  • Waterline scale algorithm keeps cleanable / manual / trash fully visible with a sediment peek instead of forcing the whole used range on screen.

Deployment Notes

  • macOS 14 or later.
  • Signed with Developer ID and Hardened Runtime.

Verification

  • Tests: 134 Core/CLI tests pass.
  • Builds: Release build succeeds; DMG codesign verification passes.

更新内容

  • 增长洞察:追踪磁盘空间随时间的变化,给出清理配方建议,并可下钻“未覆盖空间”定位真正增长的目录。
  • 项目目录监控:自动发现你的开发目录,把全部项目的 node_modules / 构建产物按类型聚合为一个清理条目,只建议清理真正闲置的产物——构建产物闲置约 1 天即可清理,node_modules 需要 30 天(并保留 72 小时写活动保护)。
  • FSEvents 增量监控:磁盘变化即时检测并增量重扫,无需等待全量扫描。
  • 更清晰的水位尺:5GB 一格(密度翻倍)、统一的 E 字块样式、可用比例更大,深部沉淀只显示一部分。
  • 视觉打磨:菜单栏图标在扫描/清理时显示上升气泡;水管弯角改为沿弧线的径向高光;池壁不透明,管道与池壁齐平。

修复与工程

  • 增长洞察排除已监控开发目录子树与配方覆盖路径,不再出现无法操作的“项目存在”记录。
  • 按产物类型区分活跃窗口:构建产物短期闲置即可清理,node_modules 因重建需重新下载依赖而保护更久。
  • CLI 支持 POOLPROBLEM_HOME 便于测试;CI 只跑测试、跳过昂贵的模拟器扫描并缓存 SwiftPM 构建(约 1 分钟完成)。
  • 水位尺算法保证可清理/手动/废纸篓完整可见并保留沉底窥视,不再强制显示全部已用空间。

部署说明

  • 需要 macOS 14 或更高版本。
  • 已使用 Developer ID 与 Hardened Runtime 签名。

验证

  • 测试:134 个 Core/CLI 测试通过。
  • 构建:Release 构建成功,DMG 签名校验通过。

The Pool Problem v1.1.0 — Proactive Auto-Clean & Cleanup History

Choose a tag to compare

@wxy wxy released this 16 Aug 10:08
5d83f8a

What's New

  • Proactive auto-clean driven by disk headroom and per-item growth rate.
  • Cleanup history grouped by batch, with per-item undo when still in Trash.
  • Revised pool gauge with mirrored E capacity blocks and waterline marker.

Fixes & Engineering

  • Fixed weekly growth and fill-prediction calculations to use real elapsed time.
  • Added minimum auto-clean size so tiny KB/MB cleanups no longer run.
  • Guarded login-item status checks to avoid debug-build service errors.

Deployment Notes

  • No CloudKit or data-schema changes. No additional deployment steps required.

Verification

  • Tests: swift test — 59 passed
  • Build: xcodebuild -project PoolProblem/PoolProblem.xcodeproj -scheme PoolProblem -configuration Debug -derivedDataPath .build/xcode-derived build — succeeded

Links

  • Release branch: release/v1.1.0

更新内容

  • 新增基于磁盘余量和单项增速的主动清理。
  • 清理历史按批次分组,并支持在回收站仍存在时逐项撤销。
  • 重新设计水池标尺,使用镜像 E 容量块和水线标记。

修复与工程优化

  • 修复每周增长和满盘预测未按真实时间计算的问题。
  • 为自动清理增加最小清理量,避免 KB/MB 级小任务。
  • 保护登录项状态查询,避免 Debug 构建下触发服务错误。

部署说明

  • 无 CloudKit 或数据模型变更,无需额外部署步骤。

验证

  • 测试:swift test — 59 个通过
  • 构建:xcodebuild App 目标构建成功

The Pool Problem 1.0.0

Choose a tag to compare

@wxy wxy released this 10 Aug 14:59
969cd3a

The Pool Problem 蓄水池 v1.0.0

菜单栏磁盘空间管理应用:蓄水池心智模型,自动/手动清理、可用空间预测与趋势。

功能

  • 菜单栏蓄水池面板:E 字型水位标尺、分层水位、可用空间主读数
  • 智能清理(进回收站可恢复)+ 自动清理规则
  • 可用空间预测与趋势图(含清理事件记录)
  • 状态栏图标水位实时反映磁盘占用
  • 英文 / 简体中文双语

安装

下载 PoolProblem-1.0.0.dmg,打开后把 PoolProblem.app 拖入 Applications。

已通过 Apple 公证(Notarized),Developer ID 签名 + Hardened Runtime,首次打开无需额外操作。