sync: auto-sync from GURU-KALI at 2026-05-31 09:36:59
Author: Mike Swanson Machine: GURU-KALI Timestamp: 2026-05-31 09:36:59
This commit is contained in:
@@ -97,16 +97,6 @@ if [ -z "$REPO_ROOT" ]; then
|
||||
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || true)
|
||||
fi
|
||||
|
||||
# Last resort: hardcoded paths (legacy machines)
|
||||
if [ -z "$REPO_ROOT" ]; then
|
||||
for candidate in "$HOME/ClaudeTools" "/d/ClaudeTools" "D:/ClaudeTools" "/d/claudetools" "D:/claudetools" "C:/claudetools" "/c/claudetools"; do
|
||||
if [ -d "$candidate/.git" ]; then
|
||||
REPO_ROOT="$candidate"
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if [ -z "$REPO_ROOT" ] || [ ! -d "$REPO_ROOT/.git" ]; then
|
||||
echo -e "${RED}[ERROR]${NC} Cannot locate ClaudeTools repo. Add 'claudetools_root' to identity.json"
|
||||
exit 1
|
||||
@@ -521,7 +511,14 @@ fi
|
||||
echo ""
|
||||
echo "=== Phase 7: Pending To-Dos ==="
|
||||
|
||||
COORD_API="http://172.16.3.30:8001"
|
||||
# Coord API endpoint — per-machine override in identity.json so off-network/VPN/
|
||||
# Tailscale boxes can point elsewhere. Default to the on-LAN address for backward
|
||||
# compat with existing machines that haven't been re-migrated yet.
|
||||
COORD_API=""
|
||||
if [ -f ".claude/identity.json" ]; then
|
||||
COORD_API=$($PYTHON -c "import json; d=json.load(open('.claude/identity.json')); print(d.get('coord_api',''))" 2>/dev/null || echo "")
|
||||
fi
|
||||
[ -z "$COORD_API" ] && COORD_API="http://172.16.3.30:8001" # default when identity.json doesn't define coord_api
|
||||
TODO_USER=""
|
||||
TODO_MACHINE="$MACHINE"
|
||||
if [ -f ".claude/identity.json" ]; then
|
||||
|
||||
Reference in New Issue
Block a user