- Add fetchRemoteBranchFromGitHub() to query https://api.github.com/repos/MythEclipse/bete for actual default_branch - Add resolveBranch() tiered resolver: git CLI → GitHub API → env → error - Async post-startup branch resolution upgrades version from emergency fallback to real remote branch - normalizeBranchName() for consistent version key formatting - Emergency fallback 'v1' logged as ERROR with repo context — not a silent dummy - Removed static env-first approach; env is now tier 3 override, not tier 1 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>