Skip to content

Commit 094cb44

Browse files
chrisutheclaude
andcommitted
Finish the field test: 13/13 commands confirmed acting
The remainder of the surface, driven against the live server with the volume up and a human listening. vol and mute confirmed by ear -- alternating 12/50 twice with a mute between, loudness tracking the value and mute silencing it. Done audibly on purpose: the reported number is exactly what had been lying earlier, so confirming it against itself would have proved nothing. stop differs from pause in a way only the stream line shows. Both leave state: paused, but pause keeps stream: receiving while stop drops it to idle -- the server tears the stream down. That is the clearest justification yet for reporting the group's transport state and this endpoint's stream state as two separate lines: without the second, pause and stop are indistinguishable. switch acts, visible in the log as Stream ended followed by Stream started and a fresh codec header. With one group available the cycle returns where it began, so nothing else changes -- which is what the spec's switch cycle should do. And the three failure modes were exercised against real daemons rather than only unit-tested: all twelve transport commands return 4 against a daemon that is up and has never reached a server, each naming the connection rather than the command, while status on that same daemon returns 0 and prints what it knows locally -- the whole point of exempting it. 3 against a socket with no daemon. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent d5d8ce9 commit 094cb44

1 file changed

Lines changed: 21 additions & 2 deletions

File tree

‎docs/ROADMAP.md‎

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -762,8 +762,27 @@ human listening:
762762
walked the album in order; with it on, `next` produced tracks from four different albums.
763763
- **`repeat one` works**: seeking to eight seconds before a track's end and letting it run past the
764764
boundary left the same track playing instead of advancing.
765-
- **`next`/`prev`** walk a real queue in both directions, and `play`, `pause`, `seek` and `mute`
766-
were already confirmed.
765+
- **`next`/`prev`** walk a real queue in both directions.
766+
- **`vol` and `mute` were confirmed by ear**, alternating 12/50 twice and muting between: loudness
767+
tracked the value and mute silenced it. Worth doing audibly rather than from the reported number,
768+
since the reported number was exactly what had been lying earlier.
769+
- **`stop` differs from `pause` in a way only the `stream` line shows.** Both leave
770+
`state: paused`, but `pause` keeps `stream: receiving` while `stop` drops it to `idle` -- the
771+
server tears the stream down. That is the clearest justification for reporting the group's
772+
transport state and this endpoint's stream state as two separate lines: without the second,
773+
`pause` and `stop` are indistinguishable in the output.
774+
- **`switch` acts**, visible in the player log as `Stream ended` followed by `Stream started` and a
775+
fresh codec header -- the stream is re-established, which is what re-homing a client between
776+
groups requires. With a single group available the cycle returns to where it began, so nothing
777+
else in `status` changes, which is what the spec's switch cycle should do.
778+
779+
So all thirteen subcommands are confirmed to act, `status` included.
780+
781+
**The three distinct failure modes were exercised against real daemons too**, not just unit-tested.
782+
All twelve transport commands returned **4** against a daemon that was up but had never reached a
783+
server (`-s` pointed at an address nothing answers), each naming the connection rather than the
784+
command -- while `status` on the same daemon returned **0** and printed what it knew locally, which
785+
is the whole point of exempting it. And **3** against a socket with no daemon behind it.
767786

768787
**What is really missing is the server's reporting, and `status` now says so.** Three fields are the
769788
server's word and can silently lag what is true:

0 commit comments

Comments
 (0)