Skip to content

Troubleshooting

Start here when Agent Note does not show the data you expected. Most issues come from one of three places: local git hooks, missing git notes, or GitHub Pages deploy settings.

  1. Check local setup:

    Terminal window
    npx agent-note status
  2. Confirm the commit has a note:

    Terminal window
    npx agent-note show
  3. Confirm notes were pushed:

    Terminal window
    git fetch origin refs/notes/agentnote:refs/notes/agentnote
    git notes --ref=agentnote show HEAD
SymptomStart here
PR Report is emptyConfirm notes were pushed and the workflow fetched full git history
A prompt you expected is not shownCompare compact and full prompt detail
Dashboard opens but the PR has no dataCheck whether that PR’s notes have been published
Plain git commit does not create notesRe-run init and inspect the git: line in status
Line Estimate is missingCheck whether the agent can provide enough edit evidence

Check these first:

  • The PR branch was pushed after Agent Note was enabled.
  • refs/notes/agentnote exists on the remote.
  • The workflow uses actions/checkout with fetch-depth: 0.
  • The PR contains commits with AI-authored files.

Agent Note skips commits where it cannot find any committed file touched by the agent. That keeps human-only commits from looking AI-generated.

If the header says Total AI Ratio: — and Agent Note data: No tracked commits, the PR has commits but no Agent Note data was found for them. That is different from a real 0% AI Ratio.

Prompt selection is scoped to the commit window, not the whole chat session.

  • compact keeps the report focused by showing the prompts that explain the commit.
  • full shows every stored prompt.
  • Older task prompts are trimmed when this commit already has its own explanation.
  • Short prompts can get 📝 Context when Agent Note finds file names or code identifiers that explain what the prompt refers to.

To see everything stored for a PR Report, set:

with:
prompt_detail: full

Check the Dashboard workflow run and Pages settings.

  • GitHub Pages source should be GitHub Actions.
  • The workflow must run with dashboard: true.
  • The first successful deploy creates the shared /dashboard/ URL.
  • If GitHub environment protection blocks PR deploys, open PR data appears after merge.

The Dashboard home should show the shared history without forcing a ?pr= redirect. PR Report links add the matching ?pr=<number> so reviewers land on the current PR.

If an older Pages deploy still redirects, rerun the Dashboard workflow or wait for the next successful deploy from main.

Run status and check the git: line.

Terminal window
npx agent-note status

If git hooks are missing, run init again:

Terminal window
npx agent-note init --agent claude

Git hooks live inside .git/, so every clone needs local setup even when the agent config files are committed.

This is usually expected.

  • Claude Code usually provides enough edit evidence for Line Estimate.
  • Codex CLI can estimate lines only when transcript patch counts match the final commit diff.
  • Cursor can estimate lines only when edit counts match and the final file still matches the latest AI edit.
  • Gemini CLI currently reports file-level AI Ratio only.

When evidence is incomplete, Agent Note falls back instead of guessing.