Summary
The repository's two release tags (v0.1.0, v0.1.1) are lightweight tags, and v0.1.0 points to a commit (0fc4675) that is not reachable from the main branch. This creates confusion for anyone cloning or forking the repo.
Issue 1: Lightweight tags lack provenance
Both v0.1.0 and v0.1.1 are lightweight tags — they are bare SHA pointers with no tagger identity, no creation date, no message, and no GPG signature. For a public release from an organization like Xiaomi, this matters:
- No way to verify who created the tag. Anyone with push access can move a lightweight tag to a different commit, and there is no audit trail.
- No tag message. Release tags should carry a message describing what changed (e.g., "Initial open-source release", "Bug fix release").
- No GPG signature. Annotated tags can be signed, giving downstream users a way to verify the tag's authenticity.
The fix is straightforward:
# Delete the lightweight tag and create an annotated replacement
git tag -d v0.1.0
git tag -a v0.1.0 -m "Initial open-source release of MiMo Code" <target-commit>
git push origin v0.1.0 --force
(Note: force-pushing a tag is different from force-pushing a branch — it only affects the tag reference, not any commit history.)
Issue 2: v0.1.0 is detached from main
The v0.1.0 tag points to commit 0fc4675, which is not an ancestor of main's current tip. Running git log --oneline main does not include this commit. The tag is only reachable via the v0.1.0 ref itself.
This means:
git checkout v0.1.0 works, but the resulting HEAD is not on any branch.
git log main..v0.1.0 shows commits that appear unreachable from main, which is confusing for contributors and CI.
- Anyone bisecting or walking history from
main will never encounter the v0.1.0 tag.
The initial commit on main is 7233b71 ("Initial open-source release of MiMo Code"), while 0fc4675 is a rewritten version of that commit (with an added Co-Authored-By trailer). Moving v0.1.0 to point to 7233b71 — the commit actually in main's history — would make the tag reachable from the default branch:
git tag -d v0.1.0
git tag -a v0.1.0 -m "Initial open-source release of MiMo Code" 7233b71
git push origin v0.1.0 --force
Recommendation
- Convert both release tags to annotated tags with descriptive messages and, ideally, GPG signatures.
- Move
v0.1.0 to 7233b71 so the tag is reachable from main's history.
- Consider enabling the GitHub repository setting "Do not allow tag updates" under branch protection to prevent tags from being silently moved in the future.
Summary
The repository's two release tags (
v0.1.0,v0.1.1) are lightweight tags, andv0.1.0points to a commit (0fc4675) that is not reachable from themainbranch. This creates confusion for anyone cloning or forking the repo.Issue 1: Lightweight tags lack provenance
Both
v0.1.0andv0.1.1are lightweight tags — they are bare SHA pointers with no tagger identity, no creation date, no message, and no GPG signature. For a public release from an organization like Xiaomi, this matters:The fix is straightforward:
(Note: force-pushing a tag is different from force-pushing a branch — it only affects the tag reference, not any commit history.)
Issue 2: v0.1.0 is detached from main
The
v0.1.0tag points to commit0fc4675, which is not an ancestor ofmain's current tip. Runninggit log --oneline maindoes not include this commit. The tag is only reachable via thev0.1.0ref itself.This means:
git checkout v0.1.0works, but the resulting HEAD is not on any branch.git log main..v0.1.0shows commits that appear unreachable from main, which is confusing for contributors and CI.mainwill never encounter the v0.1.0 tag.The initial commit on
mainis7233b71("Initial open-source release of MiMo Code"), while0fc4675is a rewritten version of that commit (with an addedCo-Authored-Bytrailer). Movingv0.1.0to point to7233b71— the commit actually inmain's history — would make the tag reachable from the default branch:git tag -d v0.1.0 git tag -a v0.1.0 -m "Initial open-source release of MiMo Code" 7233b71 git push origin v0.1.0 --forceRecommendation
v0.1.0to7233b71so the tag is reachable frommain's history.