变更追踪器:监控并回滚来自 Claude/AI 助手的文档编辑(内存版本控制系统)
1 分•作者: ankit95742•9 个月前
我正在构建一个名为“Change Tracker”的小型 Java 应用程序,它就像一个内存中的超轻量级版本控制系统。
它可以自动检测文件编辑,无论这些编辑是来自您、Claude 还是任何其他 AI/代码代理,因此您无需显式“提交”,甚至不需要知道更改已经发生。
目前的功能:
* 实时监控(检测来自人类或 AI 代理的更改)
* 带有时间戳的更改历史记录
* 即时还原特定编辑
* 遵循 .gitignore 模式
* 目前是命令行界面,UI 即将推出
局限性:
* 仅限内存(停止后历史记录消失)
* 仅支持单个项目
* 简单的差异比较(不如 Git 智能)
好奇:
* 您是否遇到过 AI 助手默默更改文件的问题?
* 您是否需要持久化(跨会话保留历史记录),或者这是否与 Git 重叠太多?
* 我应该解决哪些与 AI 驱动的编辑相关的其他痛点?
查看原文
I’m building a small Java app called Change Tracker that works like a super lightweight version control system in memory.<p>It automatically detects file edits whether they come from you, Claude, or any other AI/code agent, so you don’t need to explicitly “commit” or even know a change happened.<p>Features so far:<p>Real-time monitoring (detects changes from humans or AI agents)<p>Change history with timestamps<p>Revert specific edits instantly<p>Respects .gitignore patterns<p>CLI now, UI coming soon<p>Limitations:<p>In-memory only (history disappears when you stop)<p>Single project support<p>Simple diffs (not git-level smart)<p>Curious:<p>Do you face issues with AI assistants silently changing files?<p>Would you want persistence (keep history across sessions), or would that overlap too much with git?<p>What other pain points around AI-driven edits should I solve?