Repository navigation
Accept only Orbit64 V2 token lengths - #92
Merged
Merged
Conversation
A 43-character string is no longer treated as a token, so the reader does not mention V1. The twenty 5x5 vectors are the framed V2 tokens of the same facelets.
Biome keeps a short token row on one line. The JSON rewrite had expanded those 2x2 rows, which failed format:check.
wstein
commented
Nov 28, 2026
wstein
left a comment
Owner
Author
There was a problem hiding this comment.
Review-Protokoll — CLEAR (bd572c2)
- Keine Findings. Die Eingabeerkennung verwendet die Längen des V2-Registers. Der Decoder prüft weiterhin den Farbeintrag. Eine 43-Zeichen-Eingabe wird als ungültig abgewiesen.
- Die aktualisierten 5×5-Vektoren prüfen die exakte Kodierung und Dekodierung der 42-Zeichen-Tokens. Der UI-Test deckt die Ablehnung der alten Länge ab.
- Statische Prüfung. GitHub CI war erfolgreich. Der PR ist bereits „Ready for review“.
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.
What changes for the user
A typed Orbit64 token is accepted only when its length is a V2 color entry. A 43-character string is not a token, so it is not read as a 5×5 state and the reader no longer says that V1 is unsupported.
Tests
npx vitest run test/cube/notation/orbit64Token.test.ts test/cube/notation/orbit64V2.test.ts: 2 files, 189 passed, including after the format fix.npx biome format .: 387 files, no remaining format changes. The first CI run failed because the JSON rewrite expanded the short 2×2 rows; Biome keeps those on one line.npm run typechecknpm run lintnpm testwas not run for the photo fixtures.looksLikeTokenmatches a registered V2 length only.parseCubeInputuses the generic invalid-token sentence. Twenty rows intest/cube/notation/orbit64Vectors.jsonchanged from 43 characters to the 42-character framed token of the same facelets. The 5×5 framed entry does not start at offset 0, so the vector test asserts that only for the other sizes.This does not approve Cube Assembler M2. Capture, profiles, and rendering are unchanged.