-
在 runtime 層擋住 coding agent 偷改單元測試:三層防線實戰
agent 把測試改綠不是提示詞沒寫好,是目標函數長出來的行為。這篇給三層可以直接抄的 runtime 防線:permission deny 與 PreToolUse hook、pytest/vitest 的 runne...
agent 把測試改綠不是提示詞沒寫好,是目標函數長出來的行為。這篇給三層可以直接抄的 runtime 防線:permission deny 與 PreToolUse hook、pytest/vitest 的 runne...