Skip to content

SweepX先看清,再决定

可运行的开发版磁盘分析 CLI/TUI,并提供显式确认的系统回收站预览。

SweepX

CAUTION

SweepX 的真实变更能力目前仅限 development Trash preview。 它只移动单个已重验对象到系统回收站,不支持永久删除或批量计划执行。P3 中的计划、授权、durable audit 和 executor 仍是 library-only 的确定性模拟。

现在能做什么

能力当前状态
Linux 目录扫描development-grade、read-only、degraded
macOS 目录扫描development-grade、read-only、handle-bound degraded
Windows 目录扫描development-grade、read-only、handle-relative degraded
statusLinux journal-first 读取 terminal snapshot,并支持 degraded 的 sweepx --format ndjson status --operation-id ID --watch [--after SXCUR1] completed replay;macOS 读取 legacy snapshot;Windows durable state disabled、默认 state_dir=None,且显式 --state-dir fail-closed
cancel命令存在,但 live cancellation disabled
explain从有界 scan JSON 生成 report-only 解释
cache statusLinux/macOS:preview cache 只读诊断;Windows:disabled
Cleaner只读 list/show 元数据,带版本兼容门;cargo-detect 有固定输入读取和 typed evidence,但仍是 hint/report-only
CLI/TUI单一 sweepx 入口;默认终端表格,scan --tui 先进入界面再渐进扫描;当前层行有界保留,递归大小由 30 s deadline 的 single-flight 后台任务聚合
Trash / Permanent当前主机可体验单对象 Trash preview;Permanent 不存在

CLI 与 TUI 自动检测 zh-CN / en-US,也接受显式 --locale 覆盖。当前 scan 机器输出使用 JSON,scan --format ndjson 仍 disabled。cache status 只支持 human/JSON;NDJSON 是 usage error。缺失 state/cache 返回 absent 且不创建目录;检查范围只限 preview-cache/current.json、current generation、generations/quarantine/ 的浅层结构和健康,不 scan、不 repair、不 quarantine,也不暴露 cache 条目或 path 内容。Linux 的 status --watch --format ndjson 只重放已完成且已持久化的 stream:先做一次同 snapshot 全量校验,再按每页最多 1024 条事件续读;unknown 但语法有效的 cursor 返回 stream.reset_required,malformed cursor/usage 返回 usage error。由于事件仍在 scan 后批量构造,它不是 live stream,不等待新事件,不创建后台 operation,也不支持 cancel。 发布基础设施会构建五个目标归档、checksum 与安装器,并发布本站到 GitHub Pages;稳定 release 尚未发布。

按你的问题阅读

你想了解页面
项目现在到底实现了什么介绍
如何运行当前只读命令CLI 与只读扫描
为什么导入报告不能执行安全模型
Cleaner 是规则还是脚本Cleaner 概念
Agent 被允许做什么Agent 边界
crates 如何分层架构
P3 与未来 mutation 在哪里分界路线图

一句话结论

SweepX 已经从纯设计进入可运行的开发预览阶段:扫描/TUI 与单对象 Trash preview 可体验;planapproveexecute 和 Permanent 仍只是未来提案。

Development documentation. Destructive features remain unavailable or unqualified.