You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CONTRIBUTING.md: record the editorial rules for the split spec files #153
The spec has editorial rules that the files obey, but CONTRIBUTING.md does not give them. Thus a contributor cannot see the rule, and proposes a change against it.
One rule is important: each role file must be self-contained. A person who implements the visualizer role and the metadata role must not read the PCM rules. For this reason the PCM byte layout and the codec framing rules occur two times, in roles/player/v1.md and in roles/source/v1.md.
This duplication looks like an error. Issue #90 proposed a shared section for these two blocks, and #90 was wrong for this reason. See the discussion in that issue.
Change
Add a short section to CONTRIBUTING.md with the editorial rules. Give at least this rule:
Each role file must be self-contained. A reader who implements one role must not read another role file. Thus text that applies to more than one role can occur more than one time. Do not combine such text into a shared section.
Add the other rules that the files obey today. Possible examples:
README.md is a generated file. Change the source files only.
Each heading must have a unique anchor, because the build script tests this.
Where a term has more than one name, use the name in the Definitions section.
Result
A contributor sees the rules before the work starts. A reviewer can also point to a rule, and does not repeat the explanation.
Good rule to also add to CONTRIBUTING.md:
Anything that can state dynamically should be in client/state.
If something doesn't change during runtime, it lands in client/hello.
See #142 (comment)
Activity
maximmaxim345 commentedon Aug 19, 2026
Good rule to also add to CONTRIBUTING.md:
Anything that can state dynamically should be in
client/state.If something doesn't change during runtime, it lands in
client/hello.See #142 (comment)