fix: bug: architect-run.sh exits silently — runs git from baked /home/agent/disinto which is not a git repo (#569)
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/pr/ci Pipeline failed

This commit is contained in:
Claude 2026-04-10 11:10:17 +00:00
parent fda647a4d9
commit 50da3ce35f
5 changed files with 18 additions and 3 deletions

View file

@ -89,6 +89,9 @@ fi
log "sha=${CURRENT_SHA:0:8} ops=${CURRENT_OPS_SHA:0:8} unreviewed=${unreviewed_count} vision=${vision_open}"
# ── Resolve forge remote for git operations ─────────────────────────────
# Run git operations from the project checkout, not the baked code dir
cd "$PROJECT_REPO_ROOT" || exit 1
resolve_forge_remote
# ── Resolve agent identity for .profile repo ────────────────────────────