Skip to content

docs(dev-docs): Document the spec lifecycle and maturity framework#18275

Open
chargome wants to merge 4 commits into
masterfrom
cg/maturity-stages
Open

docs(dev-docs): Document the spec lifecycle and maturity framework#18275
chargome wants to merge 4 commits into
masterfrom
cg/maturity-stages

Conversation

@chargome
Copy link
Copy Markdown
Member

@chargome chargome commented Jun 5, 2026

Adds a meta-spec documenting the SDK spec lifecycle framework, which until now existed only in code (specConstants.ts) with no written definition of what each status means or when a spec may advance.

The new page defines the status model (proposal, draft, candidate, stable, deprecated), the frontmatter/section structure, version semantics, and—most importantly—the implementation-based promotion criteria between statuses, aligned with the W3C Process maturity stages.

ref #16461

@chargome chargome self-assigned this Jun 5, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
develop-docs Ready Ready Preview, Comment Jun 5, 2026 9:51pm
sentry-docs Ready Ready Preview, Comment Jun 5, 2026 9:51pm

Request Review

Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2dfe814. Configure here.

### draft → candidate

- There **MUST** be at least **one** SDK implementation demonstrating the spec is feasible as written.
- The spec version **MUST** be bumped to `1.0.0` (see [Version semantics](#version-semantics)).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Section rules conflict versioning

Medium Severity

Per-section promotion is bound to the full draft → candidate checklist, including a spec_version of 1.0.0, while draft specs must remain 0.x and sections may mature independently. A section cannot move to candidate under those rules without contradicting draft versioning or independent section advancement.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 2dfe814. Configure here.


- There **SHOULD** be at least **two** independent, interoperable SDK implementations of each feature — the signal that the spec is implementable consistently across SDKs, not just in the one that shaped it.
- Where two implementations don't yet exist, the gap **SHOULD** be recorded (in the changelog summary or an open-questions note) rather than silently promoted.
- No breaking changes **SHOULD** remain outstanding.
Copy link
Copy Markdown
Contributor

@dingsdax dingsdax Jun 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"There SHOULD be at least two independent, interoperable SDK implementations" could be read as a gate on promotion (you need two before promoting), but I think the intent was that there MUST be at least one (from the draft → candidate gate) and a second is preferable?

A small rewording could make the intent clearer. Something like:

  • A second independent SDK implementation SHOULD exist to confirm the spec is
    implementable consistently across SDKs, not just in the one that shaped it.
  • If only one implementation exists at promotion time, the gap MUST be recorded
    in the changelog summary or an open-questions note.

I would use MUST on the second bullet point to strengthen the transition criteria

Copy link
Copy Markdown
Contributor

@dingsdax dingsdax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one small comment for the candidate → stable gate, otherwise big ❤️

Love the W3C alignment and the clearly defined transition criteria.

It describes very well the "implementation/evidence promotion model" that SDKs have been following implicitly anyways (more or less). Great to see that codified now 👏 and hopefully even better prevents any future specs from drifting into aspirational territory 😅. Good stuff!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sdk-develop-docs PRs touching develop-docs/sdk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants