From 7660cf219b1a9cbcb6a65e922440ca52c671a711 Mon Sep 17 00:00:00 2001 From: Duncan Tourolle Date: Sun, 23 Aug 2026 11:08:36 +0200 Subject: [PATCH] docs(specs): restore the stream-selection spec dropped by the squash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CI caught this, which is what it is for: `check-doc-links.sh` failed because media-player-controller.md links to backend-owned-stream-selection.md twice and the file was not on master. My fault, and worth recording how. That spec was written and committed directly on master early on, before the work moved into a worktree. Squashing the branch began with `git reset --hard` back to the merge base, which dropped those early master-only commits — and the squash then brought in a document referencing one of them. Nothing was lost: the commits are still reachable, and the file is restored from 1d56517f along with its index entries in docs/specs/README.md and the docs site. The lesson is narrower than "be careful with reset": a squash whose base is chosen by hand silently drops anything committed outside the branch being squashed. Only the link checker noticed, because it is the one gate that reads across files rather than within them — and it is also the one gate I had not run locally before pushing. All CI checks now pass locally: boundary, doc links, tooling, format, lint at the 158 ceiling, traces validate, coverage 90%. --- docs-site/SUMMARY.md | 1 + docs/specs/README.md | 1 + docs/specs/backend-owned-stream-selection.md | 242 +++++++++++++++++++ 3 files changed, 244 insertions(+) create mode 100644 docs/specs/backend-owned-stream-selection.md diff --git a/docs-site/SUMMARY.md b/docs-site/SUMMARY.md index bdaebfa1..733ff7b8 100644 --- a/docs-site/SUMMARY.md +++ b/docs-site/SUMMARY.md @@ -33,6 +33,7 @@ - [Spec Review Checklist](specs/SPEC-REVIEW-CHECKLIST.md) - [Playback Backend Unification](specs/playback-backend-unification.md) - [Linux Native Video Spike](specs/linux-native-video-spike.md) +- [Backend-Owned Stream Selection](specs/backend-owned-stream-selection.md) - [Player Facade Enforcement](specs/player-facade-enforcement.md) - [Windows Native Audio Backend](specs/windows-native-audio-backend.md) - [libmpv2 Migration](specs/libmpv2-migration.md) diff --git a/docs/specs/README.md b/docs/specs/README.md index 7bd49e24..3a954be4 100644 --- a/docs/specs/README.md +++ b/docs/specs/README.md @@ -45,6 +45,7 @@ taken by other work; each carries a ⚠️ note at the top. | Spec | Blocked on / note | |---|---| | [desktop-native-video.md](desktop-native-video.md) | mpv draws video on every desktop platform, then the webview `