Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

docs: point the acceptsLyrics overlap shim at its retirement issue (#4850)

[._.]/ Adam Eivyf6e443a63446
diff --git a/client/src/components/music/MusicGenPanel.test.jsx b/client/src/components/music/MusicGenPanel.test.jsx
index 51543045ca..48b8489280 100644
--- a/client/src/components/music/MusicGenPanel.test.jsx
+++ b/client/src/components/music/MusicGenPanel.test.jsx
@@ -291,10 +291,10 @@ describe('MusicGenPanel', () => {
},
});
- // The mixed-version case, and the reason `acceptsLyrics` exists at all: this
- // peer's MODEL sings (`lyrics: true`) but its build predates lyrical
- // federation and never publishes `acceptsLyrics`. Absent must read as false,
- // or the panel offers a render the peer answers with a 400.
+ // One end of the mixed-version window: this peer's MODEL sings
+ // (`lyrics: true`) but its build predates lyrical federation, so it publishes
+ // neither the `lyrics` feature nor the legacy `acceptsLyrics`. Absent must
+ // read as false, or the panel offers a render the peer answers with a 400.
it('falls back to an instrumental remote render when the peer build cannot carry lyrics', async () => {
api.listMusicEngines.mockResolvedValue({ defaultEngine: 'musicgen', engines: [engine({ ready: true })] });
api.getInstances.mockResolvedValue({ peers: [lyricCapablePeer()] });
diff --git a/docs/FEDERATED_MEDIA_PROVIDERS.md b/docs/FEDERATED_MEDIA_PROVIDERS.md
index d7a378482e..b440f2ce6e 100644
--- a/docs/FEDERATED_MEDIA_PROVIDERS.md
+++ b/docs/FEDERATED_MEDIA_PROVIDERS.md
@@ -431,7 +431,7 @@ rather than invalidating the payload, so a newer provider stays readable.
Consumers ask `federatedMediaSupports(status, feature, capability)` rather than
testing the list inline, which is also where the overlap fallback to the legacy
per-capability `acceptsLyrics` lives — one place to retire it from once no
-supported peer sends it.
+supported peer sends it (#4850).
CUDA has three states: `available`, `absent`, and `unknown`. A CUDA model is ready only when the state is positively `available`; a failed or ambiguous probe blocks admission. Runtime, host-platform, exact fixed-checkpoint readiness, and queue capacity are similarly fail-closed.
diff --git a/server/lib/federatedMediaWire.js b/server/lib/federatedMediaWire.js
index 73c0d195c5..ce1f91c8d2 100644
--- a/server/lib/federatedMediaWire.js
+++ b/server/lib/federatedMediaWire.js
@@ -295,6 +295,7 @@ export const federatedMediaCapabilitySchema = z.object({
// sender rather than of any one engine. Read it only through
// `federatedMediaSupports`, never directly. Do not add a second field in
// this shape — a new per-field wire capability belongs in `features`.
+ // Retirement tracked in #4850.
acceptsLyrics: z.boolean().optional(),
autoDuration: z.boolean(),
frameStride: z.number().int().min(1).max(64).nullable().optional(),
diff --git a/server/routes/music.test.js b/server/routes/music.test.js
index 7d7ba7343b..d8d5a766d8 100644
--- a/server/routes/music.test.js
+++ b/server/routes/music.test.js
@@ -681,9 +681,9 @@ describe('music routes', () => {
const peer = { id: '00000000-0000-4000-8000-000000000001', enabled: true };
remoteProvider.peers = [peer];
// A provider predating lyrical federation: the MODEL sings, so `lyrics` is
- // true, but it never publishes `acceptsLyrics` and rejects the field on
- // submit. Absent must read as false or every such render is a hard 400 from
- // the peer that the user cannot act on.
+ // true, but it publishes neither the `lyrics` feature nor the legacy
+ // `acceptsLyrics`, and rejects the field on submit. Absent must read as
+ // false or every such render is a hard 400 the user cannot act on.
remoteProvider.resolve.mockResolvedValueOnce({
peer, capability: remoteLyricCapability({ lyrics: true }),
});