fix: satellites gracieux — setup.sh crée les dossiers, CLAUDE.md pointe coach-boot

This commit is contained in:
2026-03-20 21:05:58 +01:00
parent f7134d5e52
commit ed9e40296a
2 changed files with 32 additions and 3 deletions

View File

@@ -24,7 +24,31 @@ else
echo "✅ brain-compose.local.yml existe deja"
fi
# 2. Build dashboard
# 2. Satellites — creer les dossiers de base si absents
echo ""
echo "=== Satellites ==="
SATELLITES="todo toolkit progression reviews claims handoffs workspace"
for sat in $SATELLITES; do
if [ ! -d "$BRAIN_ROOT/$sat" ]; then
mkdir -p "$BRAIN_ROOT/$sat"
echo "# $sat" > "$BRAIN_ROOT/$sat/README.md"
echo "$sat/ cree (vide)"
fi
done
# focus.md — fichier critique pour helloWorld
if [ ! -f "$BRAIN_ROOT/focus.md" ]; then
cat > "$BRAIN_ROOT/focus.md" << 'FOCUSEOF'
# Focus
> Direction actuelle du brain. Mis a jour par le scribe en fin de session.
Aucun focus defini — c'est un fresh fork. Lance `brain boot` pour commencer.
FOCUSEOF
echo " → focus.md cree"
fi
echo "✅ Satellites prets"
# 3. Build dashboard
echo ""
echo "=== Dashboard ==="
if [ -d "$BRAIN_ROOT/brain-ui/dist" ]; then