fix: fix: cron agents (gardener, planner, architect, predictor) never set FORGE_REMOTE (#278)

This commit is contained in:
Agent 2026-04-06 09:26:18 +00:00 committed by Smoke Test
parent 59b10e27de
commit 6181e4349a
6 changed files with 41 additions and 7 deletions

View file

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