#!/usr/bin/env bash set -euo pipefail ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" cd "$ROOT_DIR/.." # Lint Markdown (best effort) if command -v npx >/dev/null 2>&1; then npx -y markdownlint-cli "**/*.md" --ignore "archive/**" || true fi # Agents rapides sur fichiers modifiés AUTO_FIX="${AUTO_FIX:-1}" SCOPE="${SCOPE:-changed}" scripts/agents/run.sh echo "[pre-commit] OK"