Skip to content

Cursor hooks not firing on Windows 11 (Scoop install)Β #1424

@Jay-Prajapati-IT

Description

@Jay-Prajapati-IT

What happened?

     I'm on Windows 11 using Cursor and installed Entire CLI via Scoop. The package installed as cli instead of entire, which caused --absolute-git-hook-path to fail with "failed to resolve symlinks for C:\Users\admin\scoop\apps\cli\current\entire.exe: The system cannot find the path specified."

    I manually fixed the git hooks (post-commit, prepare-commit-msg) and .cursor/hooks.json to use the full absolute path /c/Users/admin/scoop/apps/cli/current/entire.exe. Everything looks correctly configured β€” entire status shows enabled, git hooks exist, hooks.json has correct entries with no BOM. However entire session list and entire checkpoint list always show 0 after Cursor agent sessions and commits. The Cursor agent hooks (sessionStart, stop, etc.) do not appear to be firing at all. Root cause seems to be Scoop naming the package cli instead of entire, breaking Entire's internal symlink resolution on Windows.

Steps to reproduce

Environment

  • OS: Windows 11
  • Shell: Git Bash (MINGW64)
  • Agent: Cursor
  • Install method: Scoop
  • Entire version: 0.7.5

Problem

Cursor agent hooks are not firing. entire session list and entire checkpoint list
always show 0 after Cursor agent sessions and commits.

Root Cause

Scoop installs the package as cli instead of entire, so the binary lives at:
C:\Users\admin\scoop\apps\cli\current\entire.exe

This breaks Entire's internal symlink resolution. Every time any command tries to
resolve the path, it fails with:

failed to resolve symlinks for C:\Users\admin\scoop\apps\cli\current\entire.exe:
The system cannot find the path specified.

This affects:

  • entire configure --absolute-git-hook-path β€” fails completely
  • entire enable --agent cursor --force β€” fails to install git hooks
  • entire agent add cursor β€” fails to install git hooks

What I Tried

  • Manually rewrote .git/hooks/post-commit and .git/hooks/prepare-commit-msg
    to use the full absolute path
  • Manually rewrote .cursor/hooks.json with full path and correct UTF-8 encoding
    (no BOM)
  • Set ENTIRE_BIN environment variable to the full path
  • entire status shows Enabled, git hooks exist, hooks.json is correct

Despite all of this, no sessions or checkpoints are ever recorded.

Expected Behavior

Entire should either:

  1. Detect the correct binary path regardless of Scoop package name, or
  2. Document a manual workaround for Windows + Scoop users

Possible Fix

Allow users to manually set the binary path via an env variable like ENTIRE_BIN
that Entire respects internally when resolving symlinks.

Entire CLI version

Entire CLI 0.7.5

OS and architecture

Windows-11 pro 64 bit

Agent

cursor

Terminal

WIndows Terminal

Logs / debug output

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions