Repository navigation
refactor: make the binary message ID table normative, drop bit-layout prose - #160
Merged
Merged
Conversation
… prose The "Binary Message ID Structure" section gave a bit layout (bits 7-2 role / bits 1-0 slot) that contradicted itself: the slot field width depends on the role, and the visualizer allocation (IDs 16-23) does not fit the stated layout at all. No part of the spec derives a role from an ID by bit mask - each role names its exact IDs - so the prose, the role-number labels, and the "Message slots" list are replaced by a normative assignment table. Also drops the now-meaningless "(Artwork role, slot N)" annotations in roles/artwork/v1.md, keeping the channel numbers. Editorial only: all IDs stay the same, and nothing links to this section's anchor. Fixes #144
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.
Fixes #144.
Applies the replacement text from the issue verbatim: the self-contradictory bit-layout prose (bits 7-2 / bits 1-0, contradicted by the per-role slot widths and by the visualizer's 8-ID allocation) and the redundant "Message slots" list are replaced by the normative assignment table. Nothing in the spec decodes a role from an ID by bit mask; each role's binary message definitions name their exact IDs, and the table is now the single source.
The related
roles/artwork/v1.mdchange is applied to all four channel lines, generalizing the issue'sType 8example:(and likewise types 9-11). The two remaining uses of "slot" in the spec (
management.mdstorage units,pairing.mddigit-entry UI) are unrelated senses and untouched.Verification
#binary-message-id-structure, as the issue states.python3 tools/build-readme.py --checkpasses.