Repository navigation
docs: record the editorial rules in CONTRIBUTING.md - #165
Merged
Merged
Conversation
Adds an "Editorial rules" section so contributors see the rules the source files obey before proposing a change, and reviewers can point to a rule instead of re-explaining it: - each role file is self-contained (deliberate duplication across role files is not an error) - edit the sources, never the generated README.md - headings need unique anchors (build-enforced) - one canonical name per defined term, agreeing with the wire identifiers - **Note:** blocks are non-normative; uppercase BCP 14 requirements belong in body text Fixes #153
…` and `client/state`
maximmaxim345
approved these changes
Aug 24, 2026
maximmaxim345
left a comment
Member
There was a problem hiding this comment.
Thanks @chrisuthe !
I also added another rule to decide if something belongs into client/hello or client/state.
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 #153.
Adds an Editorial rules section to
CONTRIBUTING.md, placed between the source-files section and the pre-commit hook. Six rules:roles/player/v1.mdandroles/source/v1.mdnamed explicitly so the duplication stops looking like an error (the Document PCM byte layout as its own subsection, de-duplicated across the player and source roles #90 trap).README.md— the issue's first example.Sendspin clientvs the WebSocket client).**Note:**blocks are non-normative — the mechanical rule from Make**Note:**non-normative: relocate the 14 Notes carrying BCP 14 keywords into body text #147: uppercase BCP 14 requirements belong in body text.client/helloandclient/state: @maximmaxim345's rule from the CONTRIBUTING.md: record the editorial rules for the split spec files #153 comment, with the boundary set at the connection's lifetime rather than permanence.Rules 4 and 5 now describe
mainas it stands. Rule 6 does not yet:supported_commandssits in both messages until #142 consolidates it.No source spec file changes;
python3 tools/build-readme.py --checkstill passes (CONTRIBUTING.md is not part of the README build).