Background
ganda repo check-version has been implemented as a shared cross-repo version-check command with two strategies:
--strategy git-tag — for GitHub releases (compares version to git tag)
--strategy nuget-search --package <id> — for NuGet releases (checks NuGet.org via dotnet package search)
Required changes for this repo
- Replace the inline
check-version implementation (currently uses an HTTP call to v3-flatcontainer) with a thin delegation to ganda repo check-version:
int exitCode = await Shell.Builder("ganda")
.WithArguments("repo", "check-version", "--strategy", "nuget-search",
"--package", "TimeWarp.Terminal")
.RunAsync(ct);
if (exitCode != 0) Environment.Exit(exitCode);
return Unit.Value;
-
Remove the inline HttpClient NuGet check and any RepoRootFinder/AppContext.BaseDirectory fallback root discovery.
-
Use Git.FindRoot() with no fallback anywhere root discovery is still needed.
Why
- Replaces the fragile HTTP
v3-flatcontainer check with the standardized dotnet package search approach
- Eliminates divergent implementations across repos
- Single place to fix/improve the check logic
Reference
- ganda implementation:
source/timewarp-ganda/endpoints/repo/repo-check-version-command.cs
- Analysis: timewarp-ganda
.agent/workspace/2026-02-24T00-00-00_check-version-duplication-analysis.md
Background
ganda repo check-versionhas been implemented as a shared cross-repo version-check command with two strategies:--strategy git-tag— for GitHub releases (compares version to git tag)--strategy nuget-search --package <id>— for NuGet releases (checks NuGet.org viadotnet package search)Required changes for this repo
check-versionimplementation (currently uses an HTTP call tov3-flatcontainer) with a thin delegation toganda repo check-version:Remove the inline
HttpClientNuGet check and anyRepoRootFinder/AppContext.BaseDirectoryfallback root discovery.Use
Git.FindRoot()with no fallback anywhere root discovery is still needed.Why
v3-flatcontainercheck with the standardizeddotnet package searchapproachReference
source/timewarp-ganda/endpoints/repo/repo-check-version-command.cs.agent/workspace/2026-02-24T00-00-00_check-version-duplication-analysis.md