fix: fix: cron agents (gardener, planner, architect, predictor) never set FORGE_REMOTE (#278)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful

This commit is contained in:
Agent 2026-04-06 09:26:18 +00:00
parent b23bb9f695
commit 0098695644
6 changed files with 41 additions and 7 deletions

View file

@ -53,6 +53,9 @@ check_memory 2000
log "--- Predictor run start ---"
# ── Resolve forge remote for git operations ─────────────────────────────
resolve_forge_remote
# ── Resolve agent identity for .profile repo ────────────────────────────
if [ -z "${AGENT_IDENTITY:-}" ] && [ -n "${FORGE_PREDICTOR_TOKEN:-}" ]; then
AGENT_IDENTITY=$(curl -sf -H "Authorization: token ${FORGE_PREDICTOR_TOKEN}" \