Repository navigation
Conversation
Implements the artwork announce/part/cancel binary chunking protocol (spec PR #188), folds stream/request-format and per-role hello support objects into client/state (PR #195, #177), guards against advertising Opus without flac/pcm (PR #238), adds client/leave (PR #209), and fixes metadata progress extrapolation to use server-clock elapsed time instead of local-clock (PR #210). The remaining ~50 PRs in the window were verified against the current codebase: most are editorial or server-side-only, a handful (source@v1, custom roles) are for features this library doesn't implement, and a few (PR #275, most of #274, #265) depend on the client/init/server/init/ server/activate handshake that a parallel session is implementing concurrently in a sibling worktree — deferred rather than built on top of infrastructure that doesn't exist here yet. See plans/spec-catchup-193-288.md for the full PR-by-PR accounting. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Catches up
sendspin-protocolon the batch of Sendspin/spec PRs merged 2026-09-02 through 2026-09-16 (after the last sync point, PR #192), excluding the encryption/pairing/management-namespace PRs a parallel session is implementing concurrently in a sibling worktree.supported_commands, artwork channel config, and visualizertypes/rate_max/spectrumfromclient/hellointoclient/state; removesstream/request-formatin favor ofSendSpinClient.setPlayerFormatPreference().ClientPreferencesnow requires at least oneflac/pcmformat when advertising a player (Opus alone is no longer sufficient, since servers are only required to support flac/pcm).client/leave.ClockSync.toServerMicros, the inverse oftoLocalMicros).stream/end) and documented the contract explicitly onAudioPlayer.transition().The remaining ~50 PRs in the window were individually checked against the current code: most are editorial or server-side-only with no client-visible effect, a handful (
source@v1, custom/application-specific roles) are for features this library doesn't implement, and a few — notably PR #275 "Clear role state on deactivation" — depend on theclient/init/server/init/server/activatehandshake that this codebase doesn't have yet (that layer is the parallel session's in-flight work). Building any of those here would mean standing up throwaway activation machinery that conflicts with that session's changes, so they're deferred with a note for whoever integrates the two branches.Full PR-by-PR accounting, including everything verified as "no code change needed" and why, is in plans/spec-catchup-193-288.md.
Also found, spun off as a separate follow-up (not fixed in this PR, out of this window):
MessageParser.kt's audio binary parsing never picked up the 4-bytesend_aheadfield spec PR #167 added (merged in the previous sync window) — it's silently corrupting the first 4 bytes of every decoded audio chunk. Flagged as its own task rather than folded in here.Test plan
./gradlew :sendspin-protocol:test --rerun-tasks— 190 tests, 0 failures, 0 skipped (164 pre-existing + 26 new)ArtworkChunkingTest(announce+parts→current, clear, cancel, future-timestamp scheduling, malformed-sequence closes, stream/end teardown),ClientLeaveTest,PlayerFormatPreferenceTest, plus new/updated cases inSendSpinClientHelloTest,MessageParserTest,ClockSyncTest🤖 Generated with Claude Code