Skip to content

docs(websocket): mark sharpapi-v1.5 as internal-only#204

Merged
Mlaz-code merged 1 commit into
mainfrom
docs/internal-only-subprotocols
May 3, 2026
Merged

docs(websocket): mark sharpapi-v1.5 as internal-only#204
Mlaz-code merged 1 commit into
mainfrom
docs/internal-only-subprotocols

Conversation

@Mlaz-code
Copy link
Copy Markdown
Collaborator

Summary

  • Removes sharpapi-v1.5 from the public subprotocol table in public/asyncapi.yaml
  • Replaces the explanatory paragraph with a note that additional subprotocols exist but are reserved for first-party SDKs / internal services
  • Public clients should always negotiate sharpapi-v1

Why

The MessagePack subprotocol is internal-only — only /root/sharp-lines/ (our sister product) negotiates it, and the cross-repo audit on 2026-04-22 explicitly tagged it NOT APPLICABLE for public docs. Today a customer-support agent (Maya) recommended it to a customer debugging unrelated 60s WS disconnects (already fixed server-side in sharp-api-go PR #177 / SHA-2188), citing this asyncapi spec as the source. Removing the public reference closes the leak.

No code change in sharp-api-go — the server still accepts both subprotocols on the wire (and will continue to, for the internal SDK and SharpLines). This is a docs-only correction.

Test plan

  • Vercel preview renders the subprotocol table correctly (single row, sharpapi-v1)
  • No broken anchor links from other doc pages referring to v1.5

🤖 Generated with Claude Code

The MessagePack subprotocol is reserved for first-party SDKs and SharpLines
— it isn't part of the documented public API. Listing it in the public
asyncapi spec led a customer-support agent to recommend it to a customer
debugging unrelated 60s WS disconnects (already fixed server-side in
sharp-api-go PR #177).

Removes v1.5 from the public table and replaces the explanatory paragraph
with a note that additional subprotocols exist but are not public.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 3, 2026

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

Project Deployment Actions Updated (UTC)
docs.sharpapi.io Ready Ready Preview, Comment May 3, 2026 2:02am

Request Review

@Mlaz-code Mlaz-code merged commit c5cd4e3 into main May 3, 2026
2 checks passed
@Mlaz-code Mlaz-code deleted the docs/internal-only-subprotocols branch May 3, 2026 02:10
Mlaz-code added a commit that referenced this pull request May 7, 2026
The MessagePack subprotocol is reserved for first-party SDKs and SharpLines
— it isn't part of the documented public API. Listing it in the public
asyncapi spec led a customer-support agent to recommend it to a customer
debugging unrelated 60s WS disconnects (already fixed server-side in
sharp-api-go PR #177).

Removes v1.5 from the public table and replaces the explanatory paragraph
with a note that additional subprotocols exist but are not public.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant