Files
neuron-tai/scripts/ralph-gitea-run.sh
2026-07-16 23:37:03 +03:00

13 lines
398 B
Bash

#!/usr/bin/env bash
# Run one or more supervised Ralph iterations with Gitea state reconciliation.
# The canonical PRD remains authoritative; Gitea is updated before and after Ralph.
set -u
ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)
cd "$ROOT"
python3 scripts/ralph_gitea_sync.py sync
ralph_status=0
"$@" || ralph_status=$?
python3 scripts/ralph_gitea_sync.py sync
exit "$ralph_status"