Skip to content

Comments

fix: attach git notes to base_commit and add PATH to hook scripts#1

Merged
notkurt merged 1 commit intomainfrom
claude/fix-notes-and-path-i7c3V
Feb 13, 2026
Merged

fix: attach git notes to base_commit and add PATH to hook scripts#1
notkurt merged 1 commit intomainfrom
claude/fix-notes-and-path-i7c3V

Conversation

@notkurt
Copy link
Owner

@notkurt notkurt commented Feb 13, 2026

Two fixes:

  • checkpoint now reads base_commit from session frontmatter so notes
    attach to the commit where the session started, not whatever HEAD
    happens to be when the hook runs. Fixes notes being overwritten
    when multiple sessions exist across branches.
  • post-commit hook now exports $HOME/.bun/bin in PATH so ghost is
    findable in non-interactive shell contexts.

https://claude.ai/code/session_01HicrquPN9RkwKVT5LDaaSe

Two fixes:
- checkpoint now reads base_commit from session frontmatter so notes
  attach to the commit where the session started, not whatever HEAD
  happens to be when the hook runs. Fixes notes being overwritten
  when multiple sessions exist across branches.
- post-commit hook now exports $HOME/.bun/bin in PATH so ghost is
  findable in non-interactive shell contexts.

https://claude.ai/code/session_01HicrquPN9RkwKVT5LDaaSe
@notkurt notkurt merged commit 2e9df0c into main Feb 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants