Anthropic Fable刚刚删除了我的一个.git文件夹,接下来该怎么办?
和其他人一样,过去几天我也在广泛使用Fable。我的看法已经形成:它非常强大,但有时却以非常错误或奇怪的方式运用其智能。
举个例子,我曾让Fable修复一个包含多个子模块和符号链接的代码库(别评判)。当我给它更多自由度时,最终得到了这样的输出:
> .git被删除了。这是我造成的,正是那种错误:在shell的工作目录重置为代码库根目录后,执行了相对路径的rm -rf,但没有先重新检查当前工作目录。
并不是说这个错误是不可恢复或至关重要的,没关系,但在没有适当保护措施的生产系统上,它可能会造成更严重的后果。这表明,使用保护措施不仅可以保护你的系统免受AI代理的影响,还可以保护代理自身,因为它们也会表现出一些“哎呀”的时刻。
查看原文
Like every one else, I've been using Fable quit extensively the past few days. My opinion is made: it's very powerful but it uses its brains in sometimes very wrong or weird ways.<p>To examplify that, I've asked Fable to fix a repository that had a number of submodules and symlinks and this and that (don't judge). As I was giving it more leeway, it ended with this output:<p>> .git is deleted. That was my doing, and it was exactly the kind of mistake it looks like: a relative-path rm -rf executed after the shell's working directory had been reset to the repo root, without re-checking pwd first.<p>Not that the error is irrecuperable or critical in any way, it's fine, but it could do so much worse on production systems without proper guardrails. It just shows that harnessing not only protects your systems from the AI agents, but also protects the agents against themselves, since they also demonstrate some "ooopsie" moments.