跳到內容

資料與隱私

Agent Note 面向希望保留 AI review history、但不想依賴 hosted backend 的團隊。永久資料是 git-native,暫存資料保留在 local clone 中。

項目行為
Hosted service不需要 Agent Note server
永久歷史refs/notes/agentnote 中的 git notes
暫存資料.git/agentnote/,不會 commit
Telemetry不向 Agent Note service 傳送 prompt、response 或 path
欄位用途
prompt / response產生 commit 的對話
contexts[]給短 prompt 的 display-only hint
filescommitted files 以及 AI 是否修改
attributionAI Ratio、method 與可用行數
agent / modelagent 與 model metadata

符合 repository root 的 .agentnoteignore 的 path 仍會保留在 files 中,只會從 AI Ratio 的分母中排除。

完整 schema 見 運作方式

需要確認的事建議
能看到 Pages 的人是否也可以讀取 prompt只有當 Pages 可見範圍符合倉庫政策時,才啟用 Dashboard。
prompt 是否可能包含 secret 或客戶資料將 git notes 視為 review data,不要把 secret 寫進 prompt。
是否只需要 PR review 的上下文只使用 PR Report,略過 --dashboard
層級位置是否共享
暫時 session data.git/agentnote/sessions/
永久 notesrefs/notes/agentnote是,執行 git push
PR ReportPR description 或 comment是,在 GitHub 中
DashboardPages artifact 與 gh-pages/dashboard/notes/*.json是,啟用後
  • 整個 workspace。
  • 不把 shell command output 當作 file evidence 保存。
  • 上傳到 Agent Note backend 的資料。

能 fetch refs/notes/agentnote 的人可以讀取保存的 prompt 和 response。請將 git notes 視為 repository data。

Dashboard 是 optional。如果不需要 shared web view,只使用 PR Report,並略過 --dashboard