Skip to content

fix(spec): remove §26 Library API Surface + add protocol-only guard#66

Merged
brandon-fryslie merged 3 commits into
masterfrom
fix-spec-remove-library-section
May 28, 2026
Merged

fix(spec): remove §26 Library API Surface + add protocol-only guard#66
brandon-fryslie merged 3 commits into
masterfrom
fix-spec-remove-library-section

Conversation

@brandon-fryslie

Copy link
Copy Markdown
Contributor

Summary

  • Removes ## 26. Library API Surface (§26.1–§26.4) added by the x5u.5 audit under the wrong mandate
  • Adds a prominent guard at the top of SPEC.md making the protocol-only scope explicit

Why

SPEC.md is a tmux wire protocol reference. §26 described the library's public API — method signatures, exports, event names. That is library documentation, not protocol documentation, and has no place here.

The guard note explicitly addresses the most common misreading: "not described in this spec" does not mean "should be removed from the library." The spec is a floor, not a ceiling.

§26 was added by the x5u.5 audit under the wrong mandate — that SPEC.md
should document the library's API. SPEC.md is a tmux wire protocol
reference; library API surface has no place here.

Also adds a prominent guard at the top of the file stating the same.
Copilot AI review requested due to automatic review settings May 28, 2026 05:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR clarifies that SPEC.md is intended to be a tmux wire-protocol reference (not library API documentation) by adding an explicit “protocol-only” guard at the top and removing the previously-added Library API Surface section.

Changes:

  • Adds a prominent protocol-only scope guard at the start of SPEC.md.
  • Removes “§26. Library API Surface” (library exports/methods/events documentation) from SPEC.md.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread SPEC.md
Comment thread SPEC.md
- Remove dangling §26.2 reference from wait-exit flag row; describe the
  unblocking behavior in protocol terms instead of pointing at a deleted
  library section
- Acknowledge legacy library notes in guard header; they are tracked for
  removal by tmux-audit-q17, not added to by this PR

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Comment thread SPEC.md Outdated
Comment thread SPEC.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@brandon-fryslie brandon-fryslie merged commit efe2345 into master May 28, 2026
2 checks passed
@brandon-fryslie brandon-fryslie deleted the fix-spec-remove-library-section branch May 28, 2026 05:46
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.

2 participants