Document the RFC 2119 keyword rule (attribution lost in docs rebuild) and its clarification update RFC 8174

Open Beginner friendly
#2,200 5 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@sofiaali1521-cloud is already working on this.

Since Nov 27, 2026.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
88/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Domain
documentation

Research direction

Read docs-lab/README.md and the two named files: docs-lab/reference/schemas/spec-driven/index.md near line 218 and docs-lab/reference/glossary.md near line 28. Compare their guidance with the RFC references in openspec/specs/cli-validate/spec.md and the old docs/ citations. Add the RFC 2119 and RFC 8174 attribution and explain that the defined meanings apply to all-capital keywords; done when both live docs pages make this clear.

Written by the indexing model from the issue text.

Description

documentation needs-triage
Where

https://openspec.dev/docs/schemas/spec-driven, https://openspec.dev/docs/glossary

What is wrong or missing

The Issue is that the live docs pages teach keyword usage but cite no source for the keywords. Verified at current main (2026-11-02, 2bd5bc3):

Both RFC 2119 and Updated RFC 8174 Should be Documented

To align to cli-validate spec.md, as well as defining a stronger specification matching IETF documents, which openspec/specs already follows.

The abstract of RFC 2119 originally said its key words "are often capitalized" — which RFC 8174 §1 notes "has caused confusion about how to interpret non-capitalized words such as 'must' and 'should'". RFC 8174 §2 (BCP 14, Updates: 2119) replaced that clause — in its === NEW === block:

In many IETF documents, several words, when they are in all capitals as shown below, are used to signify the requirements in the specification. These capitalized words can bring significant clarity and consistency to documents because their meanings are well defined.

o The words have the meanings specified herein only when they are in all capitals.

In short: RFC 8174 clarifies that words have the meanings specified in RFC 2119 only when they are in all capitals, thus - should not retry is descriptive text; - SHOULD NOT retry makes it a specification.

What it should say instead
  1. docs-lab/reference/schemas/spec-driven/index.md#L218 (line 218): change the guidance line to cite the standard — e.g. "Use the RFC 2119 keywords (as updated by RFC 8174, BCP 14) for normative requirements; they carry their defined meaning only in ALL CAPS — lowercase should/may are ordinary prose."
  2. docs-lab/reference/glossary.md#L28 (line 28): add an "RFC 2119 keywords" entry (mirroring what the old docs/ glossary had) with the ALL-CAPS condition made explicit.
Dominant language
TypeScript
Stars
76k
Forks
5.2k
Avg merge
1d 5h
Merged PRs (30d)
58

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Fission-AI/OpenSpec

All issues in Fission-AI/OpenSpec

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.