コンテンツにスキップ

はじめに

Agent Note は、AI と進めた実装の「なぜ」を code review に残すための tool です。prompt、response、触った file、model、attribution の手がかりを commit に紐づけます。

このページは全体の地図です。いきなり細かい option に入るのではなく、fresh repository から最初の PR Report までの流れを短く確認できます。

Local capture

作業中の prompt、response、file edit、attribution の手がかりを agent hook で集めます。

Git-native history

各 commit に refs/notes/agentnote の git note を付けます。branch の中身は汚しません。

Pull Request context

GitHub Action が git notes を読み、reviewer 向けの PR Report を作ります。

Optional Dashboard

チームで 1 つの履歴ページを見たい場合は、GitHub Pages に Dashboard を公開できます。

Agent Note Dashboard showing Pull Request history, commits, prompts, and diffs
Dashboard は optional ですが、通常の commit と Pull Request からどんな review history を作れるかを確認できます。
  1. repository に Agent Note をインストールします。

    実際に npx agent-note init を実行する段階になったら インストール に進んでください。

  2. 生成された agent config と workflow を commit します。

    team で共有する設定は repository に残し、local git hook は clone ごとに入れます。

  3. Pull Request を開きます。

    生成された GitHub Action が refs/notes/agentnote を読み、PR Report を書き込みます。

  4. 必要な場合だけ Dashboard を追加します。

    多くの team は PR Report だけで十分です。open / merged PR の履歴を 1 つの画面で見たい場合に Dashboard を使います。

やりたいこと読むページ
いま Agent Note を入れるインストール
Pull Request の report を設定するGitHub Action
team 共有の画面を公開するDashboard
agent ごとの取得範囲を確認するエージェント対応
保存される data と見える範囲を知るデータとプライバシー
notes や prompt が出ない問題を直すTroubleshooting

セットアップ後は、通常の git commitgit push で十分です。Pull Request には Agent Note section が入り、AI Ratio、model、commit table、各 commit を説明する prompt が表示されます。

まず raw data を確認したい場合:

Terminal window
npx agent-note status
npx agent-note show