diff --git a/.opencode/skills/cctest-recipe-upstream/SKILL.md b/.opencode/skills/cctest-recipe-upstream/SKILL.md index e087336..6d27932 100644 --- a/.opencode/skills/cctest-recipe-upstream/SKILL.md +++ b/.opencode/skills/cctest-recipe-upstream/SKILL.md @@ -56,10 +56,9 @@ operator's machine must fetch it first. Always emit this **step 0** before the p ``` # 0. On a machine WITHOUT the branch pre-fetched, get it from the autonomic mirror - # (assumes a local checkout of the recipe that already has the mirror remote; - # its name here is `gitea`): + # (fetch by URL — works regardless of what the local remotes are named): cd - git fetch gitea +refs/pull//head:refs/heads/ + git fetch https://git.autonomic.zone/recipe-maintainers/.git +refs/pull//head:refs/heads/ git checkout ``` diff --git a/scripts/gen-cctest-skills.py b/scripts/gen-cctest-skills.py index 7ef3e6f..e90c4be 100644 --- a/scripts/gen-cctest-skills.py +++ b/scripts/gen-cctest-skills.py @@ -84,10 +84,9 @@ operator's machine must fetch it first. Always emit this **step 0** before the p ``` # 0. On a machine WITHOUT the branch pre-fetched, get it from the autonomic mirror - # (assumes a local checkout of the recipe that already has the mirror remote; - # its name here is `gitea`): + # (fetch by URL — works regardless of what the local remotes are named): cd - git fetch gitea +refs/pull//head:refs/heads/ + git fetch https://git.autonomic.zone/recipe-maintainers/.git +refs/pull//head:refs/heads/ git checkout ```