From 8e548976f9f8c8eff1696c9b35a2bb8e20c9bfe2 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Tue, 29 Sep 2026 10:38:36 +0100 Subject: [PATCH] session: propagate the canonical session-start hook (repos_sync --write, organ order) Co-Authored-By: Claude Fable 5.1 --- .claude/hooks/session-start.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.claude/hooks/session-start.sh b/.claude/hooks/session-start.sh index bd9dcd2c7..f58396f7b 100755 --- a/.claude/hooks/session-start.sh +++ b/.claude/hooks/session-start.sh @@ -130,14 +130,14 @@ marked_root() { # A directory counts as a workspace root if it holds an organ checkout. Any # organ: a remote session may hold exactly one, and it is still a root. holds_an_organ() { - [ -d "$1/PyAutoMind" ] || [ -d "$1/PyAutoBrain" ] || [ -d "$1/PyAutoHeart" ] \ - || [ -d "$1/PyAutoHands" ] || [ -d "$1/PyAutoMemory" ] || [ -d "$1/PyAutoGut" ] \ - || [ -d "$1/PyAutoNerves" ] || [ -d "$1/PyAutoCortex" ] || [ -d "$1/PyAutoEyes" ] \ - || [ -d "$1/organs/PyAutoMind" ] \ - || [ -d "$1/organs/PyAutoBrain" ] || [ -d "$1/organs/PyAutoHeart" ] \ - || [ -d "$1/organs/PyAutoHands" ] || [ -d "$1/organs/PyAutoMemory" ] \ - || [ -d "$1/organs/PyAutoGut" ] || [ -d "$1/organs/PyAutoNerves" ] \ - || [ -d "$1/organs/PyAutoCortex" ] || [ -d "$1/organs/PyAutoEyes" ] + [ -d "$1/PyAutoBrain" ] || [ -d "$1/PyAutoMind" ] || [ -d "$1/PyAutoCortex" ] \ + || [ -d "$1/PyAutoMemory" ] || [ -d "$1/PyAutoEyes" ] || [ -d "$1/PyAutoHeart" ] \ + || [ -d "$1/PyAutoHands" ] || [ -d "$1/PyAutoNerves" ] || [ -d "$1/PyAutoGut" ] \ + || [ -d "$1/organs/PyAutoBrain" ] || [ -d "$1/organs/PyAutoMind" ] \ + || [ -d "$1/organs/PyAutoCortex" ] || [ -d "$1/organs/PyAutoMemory" ] \ + || [ -d "$1/organs/PyAutoEyes" ] || [ -d "$1/organs/PyAutoHeart" ] \ + || [ -d "$1/organs/PyAutoHands" ] || [ -d "$1/organs/PyAutoNerves" ] \ + || [ -d "$1/organs/PyAutoGut" ] } # Assigns WORKSPACE_ROOT and WORKSPACE_ROOT_REASON rather than printing: one