#!/usr/bin/env bash set -e cd "$(dirname "$0")/.." if git submodule update --init --recursive 2>/dev/null && [ -d private/contexts ]; then echo "private content available: using real persona and contexts" else echo "private content not accessible: generating placeholders" mkdir -p private/contexts private/data/{heartbeat,memory} private/data/memory/{daily,monthly} # create dummy persona file touch private/CLAUDE.md # contexts/ stays empty; directory just needs to exist for the mount fi echo "setup complete. run 'docker compose -f docker/compose.yml build' next."