Skip to content

feat(cli): refresh gander-skill during gander --upgrade - #88

Merged
scott merged 1 commit into
mainfrom
feat/87-upgrade-refresh-skill
Aug 31, 2026
Merged

feat(cli): refresh gander-skill during gander --upgrade#88
scott merged 1 commit into
mainfrom
feat/87-upgrade-refresh-skill

Conversation

@scott

@scott scott commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • gander --upgrade still updates the CLI from GitHub Releases (or reports already current).
  • If ~/.gander/skill or a dest symlink is already present, the same command then pulls latest gander-skill and re-links agent dests — equivalent to gander skill.
  • Users who never installed the skill are left alone. A skill-step failure does not undo a successful CLI replace; the process exits non-zero with a skill: error.
  • "Already on the latest version" no longer returns before the skill refresh.

Related Issue

Closes #87

Testing

go test ./...
go vet ./...
go build ./...

All three were clean.

Notes

Skill presence is ~/.gander/skill/SKILL.md or any dest path that isOurSkillLink recognizes. Refresh reuses runSkillInstall.

If ~/.gander/skill is already installed, --upgrade also pulls the
latest gander-skill and re-links agent dests. Already-current CLI
builds still refresh the skill.

Closes #87
@scott
scott merged commit 3036aa4 into main Aug 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: gander --upgrade should also refresh gander-skill if installed

1 participant