Repository navigation
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
BenCodez
marked this pull request as ready for review
November 24, 2026 23:59
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
The positional inventory encoder can map armour/offhand values onto occupied main-inventory positions and decode equipment under nonnegative keys. This gives negative slots distinct appended positions and records their original keys in an optional SLT1 suffix, preventing collisions and preserving placement identity on new round trips.
Legacy positional payloads remain readable with every surviving value and its existing nonnegative key, including positive slots above 35. The reader does not guess missing equipment identity or recover values already overwritten by older writes. It also reads the historical header-only empty payload and rejects partial, unknown or invalid suffix metadata instead of silently returning incorrect keys.
The payload gains an additive suffix; Java signatures, YAML/SQL columns, configuration, storage callers and runtime dependencies remain unchanged. There is no stored-data migration or rewrite. Older readers retain every value from new output but do not restore negative identities; rewriting through an older reader loses that placement information.
Validation at exact head
4e4833b9: deterministic regressions failed before the fix, and all 12 final tests pass. Maven package and shaded-artifact checks pass; exact-head hosted Maven CI is successful. CodeRabbit was skipped. Fresh independent source-read-only review approved the complete three-file snapshot after the malformed-suffix finding was corrected. Tests use synthetic serializable ItemStack labels through real Bukkit streams; live item metadata and live YAML/SQL restart behavior were not tested.This is separate from #84 and #93. Existing corrupt-input caller fallback and broad persistence durability are outside this focused correction.