News for hackers. Stuff that matters.
Re:Claude Session URL appended to commit messages and PR des... by smartbit on Monday August 31, 2026 @08:48AM (#49509075)
Extend the cleanup period to 2 years in ~/.claude/settings.json with

  "cleanupPeriodDays": 720
and for personal projects move all Claude Code memory to the repo, then add a symlink eg

  PROJ="$HOME/.claude/projects/-$(echo "${PWD#/}" | tr '/' '-')"
  DST="$PWD/.claude/memory"

  [ -d "$PROJ" ] || { echo "No project dir: $PROJ" >&2; exit 1; }; mkdir -p "$DST"
  if [ -d "$PROJ/memory" ] && [ ! -L "$PROJ/memory" ]; then mv "$PROJ/memory"/* "$DST"/; rmdir "$PROJ/memory"; fi
  ln -sfn "$DST" "$PROJ/memory"

There are no comments on this comment yet.