Skip to content

refactor: make the binary message ID table normative, drop bit-layout prose - #160

Merged
maximmaxim345 merged 1 commit into
mainfrom
refactor/binary-id-table
Aug 20, 2026
Merged

maximmaxim345 merged 1 commit into
mainfrom
refactor/binary-id-table

Conversation

@chrisuthe

Copy link
Copy Markdown
Member

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.md change is applied to all four channel lines, generalizing the issue's Type 8 example:

- Type `8`: Channel 0 (Artwork role, slot 0)   ->   - Type `8`: Channel 0

(and likewise types 9-11). The two remaining uses of "slot" in the spec (management.md storage units, pairing.md digit-entry UI) are unrelated senses and untouched.

Verification

  • All IDs unchanged — the diff is prose/format only.
  • Confirmed no source file links to #binary-message-id-structure, as the issue states.
  • python3 tools/build-readme.py --check passes.

… 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

@maximmaxim345 maximmaxim345 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @chrisuthe !

@maximmaxim345
maximmaxim345 merged commit 4a56aa5 into main Aug 20, 2026
1 check passed
@maximmaxim345
maximmaxim345 deleted the refactor/binary-id-table branch August 20, 2026 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

messaging.md: drop the self-contradictory bit-layout prose for binary message IDs; make the assignment table normative

2 participants