2026-07-21 23:51:43 +02:00
|
|
|
#!/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
|
2026-07-22 00:00:04 +02:00
|
|
|
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
|
2026-07-21 23:51:43 +02:00
|
|
|
log "END daily-rhythm rc=${PIPESTATUS[0]}"
|