#!/usr/bin/env bash # Weekday 08:23 Europe/Berlin — Binky daily rhythm via agent-harness. set -euo pipefail # shellcheck disable=SC1091 source "$(dirname "$0")/run-common.sh" require_repo require_llm_connect log "START daily-rhythm (llm-connect path when available; else fail until BINKY-WP-0006)" # Prefer dedicated command once implemented; fall back message if only Claude runner exists. if agent-harness brief-daily --help >/dev/null 2>&1; then agent-harness brief-daily --target-repo "${BINKY_REPO}" \ 2>&1 | tee -a "${LOG_DIR}/daily.log" else log "ERROR: brief-daily not implemented yet (needs llm-connect structured apply — BINKY-WP-0006-T05)" exit 3 fi log "END daily-rhythm rc=${PIPESTATUS[0]}"