Customize sessions in self-hosted environments changedself-hosted-environments-configuration
Upstream edited this page at 28 Nov 2026 18:54 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 28 Nov 2026 19:07 UTC.
Upstream edited
Recorded here
Lines+3added
Lines−3removed
From line
816
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits61to this page, all time
The whole hunk
from line 816, old and new numbered
/
from line 816
816816
817817### Replace an earlier copy of the Stop hook script
818818
819Search your copy of `stop-hook-nudge.sh` for the text `checked out in the project directory`. If it's missing, you have an earlier copy. Replace it now with the [current script](#prompt-sessions-to-push-their-work) wherever you installed it, then restart the runners. Keep your Stop hook settings, except to raise `timeout` on a large checkout.
819Search your copy of `stop-hook-nudge.sh` for the text `checked out in the project directory`. If the text is missing, replace that earlier copy now with the [current script](#prompt-sessions-to-push-their-work) wherever you installed it, then restart the runners. Keep your Stop hook settings, except to raise `timeout` on a large checkout.
820820
821After you replace the script, the prompt about unpushed commits no longer includes the branch name. If your earlier copy prompted Claude about uncommitted files in a submodule, that prompt stops. For how the current script treats submodules, see [Submodules and the Stop hook](#submodules-and-the-stop-hook).
821If your checkouts have submodules, check [how the current script treats them](#submodules-and-the-stop-hook). Any prompt about uncommitted files in a submodule stops after you replace the script.
822822
823823> [!WARNING]
824824>
No line in this hunk matches that.