NoStash Hook

During a sprint the NoStash hook blocks every writing call of git stash; git stash list and git stash show stay allowed. The stash belongs to the whole repository: a stash from one worktree is visible to, and can be popped by, every parallel agent.

Why it matters

Each worktree is isolated - there is no reason for stashing. All progress must be committed. WIP commits can be cleaned up after the ticket is complete. No data loss possible.

Git protection during a sprint

The same hook protects worktrees from bulk staging: git add -A without a path is blocked. In your own ticket worktree, git add -u is allowed since v6.9.6 (only changes to already tracked files), as is git add . from a subfolder. The check applies at the command's actual target directory (cd, git -C).

Full documentation included with purchase

The detailed configuration reference, troubleshooting guide, and hook documentation are included as PDF in the download.

Buy now →