diff --git a/ai_working_help/notary-ai/notary-ai-wait-agent-then-loop-10h.sh b/ai_working_help/notary-ai/notary-ai-wait-agent-then-loop-10h.sh index 5e17339..f0c3d1a 100755 --- a/ai_working_help/notary-ai/notary-ai-wait-agent-then-loop-10h.sh +++ b/ai_working_help/notary-ai/notary-ai-wait-agent-then-loop-10h.sh @@ -12,7 +12,7 @@ # Env optionnel : # NOTARY_AI_WAIT_SKIP_DAEMON_KILL=1 — ne envoie pas SIGTERM au daemon au démarrage (défaut : tuer # le daemon pour éviter deux boucles en parallèle pendant l'attente ; l'agent CLI n'est jamais killé). -# NOTARY_AI_WAIT_HEARTBEAT_SEC — message tous les N secondes pendant l'attente (défaut : 60). +# NOTARY_AI_WAIT_HEARTBEAT_SEC — message tous les N secondes pendant l'attente (défaut : 20). # set -euo pipefail if [ -n "${HOME:-}" ] && [ -r "$HOME/.bashrc" ]; then @@ -49,7 +49,7 @@ fi LOOP_SCRIPT="${IA_DEV_ROOT}/ai_working_help/notary-ai/notary-ai-loop-n-cycles.sh" SLEEP_BETWEEN="${NOTARY_AI_LOOP_DAEMON_SLEEP_SEC:-15}" DURATION_SEC=$((10 * 3600)) -HEARTBEAT_SEC="${NOTARY_AI_WAIT_HEARTBEAT_SEC:-60}" +HEARTBEAT_SEC="${NOTARY_AI_WAIT_HEARTBEAT_SEC:-20}" # True tant qu'un composant « notary-ai » bloquant tourne encore (agent CLI, cycles, daemon). notary_ai_blocking_work_running() {