disinto/dev
openhands ac5448323b fix: dev-agent worktree pushes to origin (Codeberg) instead of forgejo (local) — PR creation fails (#653)
Detect which git remote matches FORGE_URL by comparing the host portion
of FORGE_URL against remote push URLs.  Store the result in FORGE_REMOTE
(defaults to "origin" when no match — preserving existing behavior for
Codeberg-direct setups).

Replace every hardcoded "origin" in fetch, push, worktree-add, and
prompt-injection commands across:
- dev/dev-agent.sh (worktree setup, phase protocol prompt)
- dev/phase-handler.sh (CI retrigger, review feedback, rebase instructions)
- review/review-poll.sh (review feedback injection)
- action/action-agent.sh (worktree setup, push instructions)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 06:17:34 +00:00
..
AGENTS.md chore: gardener housekeeping 2026-03-25 2026-03-25 00:07:52 +00:00
dev-agent.sh fix: dev-agent worktree pushes to origin (Codeberg) instead of forgejo (local) — PR creation fails (#653) 2026-03-25 06:17:34 +00:00
dev-poll.sh fix: feat: active-state files — per-cron guard with self-off semantics (#622) 2026-03-23 21:46:59 +00:00
phase-handler.sh fix: dev-agent worktree pushes to origin (Codeberg) instead of forgejo (local) — PR creation fails (#653) 2026-03-25 06:17:34 +00:00
phase-test.sh fix: Duplicate read_phase definition in phase-test.sh (#179) 2026-03-23 08:30:13 +00:00