chore(wallet): ajoute prepush local et rapports agents

This commit is contained in:
Debian 2025-08-28 11:39:43 +00:00
parent b2c80be2c7
commit 26740ba4cc
3 changed files with 23 additions and 1 deletions

20
scripts/local/prepush.sh Executable file
View File

@ -0,0 +1,20 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$ROOT_DIR/.."
# Agents complets
AUTO_FIX="${AUTO_FIX:-1}" SCOPE="${SCOPE:-all}" scripts/agents/run.sh
# Audit sécurité (best effort)
if [ -f scripts/security/audit.sh ]; then
bash scripts/security/audit.sh || true
fi
# Release guard (dry-run logique)
if [ -f scripts/release/guard.sh ]; then
bash scripts/release/guard.sh || true
fi
echo "[pre-push] OK"

View File

@ -4,3 +4,4 @@
- Tous les fichiers requis sont présents.
## Contrôles automatiques (besteffort)
- Shell: shellcheck non disponible

View File

@ -1,3 +1,4 @@
# Agent Runner
- Docker non détecté sur l'hôte. Impossible de gérer le runner.
- Fichier runner/docker-compose.yml introuvable; aucun démarrage effectué.
- Rapports: tests/reports/agents/runner_agent.md