变更跟踪器:监控并恢复来自Claude/AI代理的文件编辑(内存版本控制系统)

2作者: ankit957425 个月前原帖
我正在构建一个名为“变更跟踪器”的小型Java应用,它像一个超轻量级的内存版本控制系统。<p>它会自动检测文件的编辑,无论是来自你、Claude,还是其他任何AI/代码代理,因此你无需明确“提交”或甚至知道发生了变化。<p>目前的功能包括:<p>实时监控(检测来自人类或AI代理的变化)<p>带时间戳的变更历史<p>即时还原特定编辑<p>遵循.gitignore模式<p>目前为命令行界面,用户界面即将推出<p>限制:<p>仅限内存使用(停止时历史记录会消失)<p>支持单个项目<p>简单的差异比较(不如git智能)<p>好奇:<p>你是否遇到过AI助手悄悄更改文件的问题?<p>你希望有持久化功能(在会话之间保留历史),还是这会与git重叠太多?<p>还有哪些与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&#x2F;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?