Skip to content

CONTRIBUTING.md: record the editorial rules for the split spec files #153

Closed

Description

@balloob

Problem

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.


This issue comes from the discussion in #90.

Activity

  1. maximmaxim345 commented on Aug 19, 2026

    @maximmaxim345
    Member

    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)

  2. moved this from Next to In Progress in Sendspin Project Boardon Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions