freedom-intelligence/scripts/railiance-rhythm/install-on-railiance.sh
tegwick 46cfcd7a51 Align FI recurrence with activity-core + rein-aharness (drop workstation cron).
Document the three-layer model, add railiance-rhythm executor install, and
point playbooks at rein-aharness fi-research-brief instead of local crontab.
2026-08-03 17:53:07 +02:00

23 lines
1.1 KiB
Bash
Executable file

#!/usr/bin/env bash
# Install host-side FI research brief timer on railiance01 (user systemd).
# Run ON railiance01 from a freedom-intelligence checkout:
# ./scripts/railiance-rhythm/install-on-railiance.sh
#
# Prerequisites:
# - activity-core definition fi-daily-research-brief enabled (cluster)
# - rein-aharness installed with fi-research-brief command
# - freedom-intelligence clone with write access for brief commits
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/../.." && pwd)"
UNIT_DIR="${HOME}/.config/systemd/user"
mkdir -p "${UNIT_DIR}"
chmod +x "${ROOT}/scripts/railiance-rhythm/"*.sh
cp -f "${ROOT}/scripts/railiance-rhythm/systemd/fi-research-brief-daily.service" "${UNIT_DIR}/"
cp -f "${ROOT}/scripts/railiance-rhythm/systemd/fi-research-brief-daily.timer" "${UNIT_DIR}/"
systemctl --user daemon-reload
systemctl --user enable --now fi-research-brief-daily.timer
systemctl --user list-timers --all | grep fi-research || true
echo "Installed. Logs: ~/.cache/freedom-intelligence/rhythm/"
echo "Cadence truth: activity-core (07:30). Executor: this timer (07:35) → rein-aharness."