一龍馬/AI 情報站讀懂消息背後的脈絡
星期三
搜尋

passproof 是一個 GitHub 上的新工具

中文摘要

README 將用途說得很窄:它不會幫你跑測試,而是阻擋 AI agent 在同一輪對話中沒有測試 runner 輸出時宣稱「All tests passed」。安裝方式是 `npx passproof install`,會把檔案複製進 repo,並接上 Cursor 的 stop/afterShellExecution hooks 與 Claude Code 的 Stop/PostToolUse on Bash hooks;也支援全域安裝與 uninstall。專案 README 明確說它不是 donegate、不會在 agent 停止時重跑測試,也不是 prompt;目前證據顯示 repo 只有 2 個 commits、MIT 授權,成熟度與實戰覆蓋範圍仍有限。

一龍馬判讀

它針對的是 AI coding agent 常見的「沒跑測試卻說通過」問題,把規範從提示詞移到 hook 層。限制是它只檢查同輪是否有 pytest、jest、vitest、cargo、go 等 runner 輸出,不等於驗證測試完整性或程式正確性。

原文節錄

Hacker News

GitHub - AziizBg/passproof: If it says the tests passed, the runner output has to be in the same turn.

取得部分原文 · 不代表內容已獨立查證

查看原文 閱讀社群討論
完整收錄文字與來源

Npx passproof install: agent can't say tests passed unless the runner printed

收錄日期
2026-08-19
來源
官方 RSS+Hacker News Algolia API
抓取時間
2026/08/19 06:00(台北)