Harden MoGe mirror staging - #806
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Verified: 49 tests passed, 1 Windows symlink-privilege skip; Ruff, format, diff check, and Greptile passed.
Not verified: no 2B weight was downloaded, converted, benchmarked, staged, or uploaded.
Code provenance
Ruicheng/moge-2-vitb-normal@54ad3a693e61907ea4633d13dec6ee682fa09419; legal attribution is pinned tomicrosoft/MoGe@925b8ed835a7a9cdb7578ba15c658a0afc969030(MIT). The upstream card/license support bytes are fetched verbatim and SHA-256 verified.Greptile Summary
The PR adds disabled MoGe-2B source metadata and hardens MoGe mirror staging with pinned support artifacts, descriptor-bound validation, byte caps, and create-only publication.
Confidence Score: 5/5
The PR appears safe to merge.
No blocking failure remains.
Important Files Changed
Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD A[Parse requested sizes] --> B[Require approved converted digest] B --> C[Open and hash source checkpoint] C --> D[Fetch and verify pinned support artifacts] D --> E[Create private staging directory] E --> F[Copy, hash, and load-validate checkpoint] F --> G[Write five-file mirror contract] G --> H[Validate directory binding and inventory] H --> I[Atomic create-only publication] I --> J[Final binding and content validation]Reviews (2): Last reviewed commit: "Seal Windows mirror staging directory" | Re-trigger Greptile