Small uv run Python utility to inspect Argo CD Application resources and patch stale status.history[*].source.repoURL entries.
It shows a unified diff first, asks for confirmation, then applies the patch via kubectl.
After migrating a repo URL, Argo CD can still hold history entries that reference the old repo/revisions. This can lead to sync errors like not our ref / unadvertised object while Argo still tries to resolve old commits.