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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: suppress stale asset recovery links (#3228)
[._.]/ Adam Eivyac385dcb9e93
diff --git a/client/src/components/games/GameBindings.jsx b/client/src/components/games/GameBindings.jsxindex 2592bf9366..b279d0cbbd 100644--- a/client/src/components/games/GameBindings.jsx+++ b/client/src/components/games/GameBindings.jsx@@ -26,6 +26,7 @@ const missingHelp = {SPRITE_MISSING: 'This Sprite Manager record was deleted. Unbind it from this game to clear the blocker.',TRACK_MISSING: 'This music track was deleted. Unbind it from this game to clear the blocker.',};+const sourceIsMissing = (issue) => issue?.code === 'SPRITE_MISSING' || issue?.code === 'TRACK_MISSING';function BindingRow({label,@@ -206,7 +207,9 @@ export default function GameBindings({detail={sprite ? `${sprite.kind} · ${sprite.status}` : 'Record unavailable'}health={spriteIntegrity.get(binding.spriteId)}issue={issue}- manageTo={sprite ? `/sprites/${encodeURIComponent(binding.spriteId)}` : null}+ manageTo={sprite && !sourceIsMissing(issue)+ ? `/sprites/${encodeURIComponent(binding.spriteId)}`+ : null}manageLabel="Open in Sprite Manager"disabled={busy}onUnbind={() => onUnbindSprite(binding.spriteId)}@@ -246,7 +249,9 @@ export default function GameBindings({detail={track?.audioFilename ? 'Audio attached' : 'No audio yet'}health={musicIntegrity.get(binding.id)}issue={issue}- manageTo={track ? `/music/tracks/${encodeURIComponent(binding.trackId)}` : null}+ manageTo={track && !sourceIsMissing(issue)+ ? `/music/tracks/${encodeURIComponent(binding.trackId)}`+ : null}manageLabel="Open in Music"disabled={busy}onUnbind={() => onUnbindMusic(binding.id)}diff --git a/client/src/components/games/GameBindings.test.jsx b/client/src/components/games/GameBindings.test.jsxindex e8a65ea05a..dcb923f91e 100644--- a/client/src/components/games/GameBindings.test.jsx+++ b/client/src/components/games/GameBindings.test.jsx@@ -12,7 +12,12 @@ const renderBindings = () => render(spriteBindings: [{ spriteId: 'deleted-sprite' }],musicBindings: [{ id: 'binding-1', trackId: 'theme/one' }],}}- sprites={[]}+ sprites={[{+ id: 'deleted-sprite',+ name: 'Stale Deleted Sprite',+ kind: 'character',+ status: 'ready',+ }]}tracks={[{id: 'theme/one',title: 'Example Theme',@@ -56,7 +61,7 @@ const renderBindings = () => render();describe('GameBindings', () => {- it('explains a missing source without linking to its deleted record', () => {+ it('explains a missing source without trusting a stale catalog entry enough to link it', () => {renderBindings();expect(screen.getByText(diff --git a/client/src/components/games/GameCompilePanel.jsx b/client/src/components/games/GameCompilePanel.jsxindex c7de07a586..1cf9af78cf 100644--- a/client/src/components/games/GameCompilePanel.jsx+++ b/client/src/components/games/GameCompilePanel.jsx@@ -45,6 +45,7 @@ const statusStyle = {};const manageSource = (issue, spriteIds, trackIds) => {+ if (issue.code === 'SPRITE_MISSING' || issue.code === 'TRACK_MISSING') return null;if (issue.assetType === 'sprite' && spriteIds.has(issue.assetId)) {return {label: 'Open in Sprite Manager',diff --git a/client/src/components/games/GameCompilePanel.test.jsx b/client/src/components/games/GameCompilePanel.test.jsxindex 483eef7ec0..4dd096f146 100644--- a/client/src/components/games/GameCompilePanel.test.jsx+++ b/client/src/components/games/GameCompilePanel.test.jsx@@ -148,7 +148,7 @@ describe('GameCompilePanel', () => {<GameCompilePanelgame={game}sprites={[{ id: 'hero/one' }]}- tracks={[]}+ tracks={[{ id: 'deleted-track' }]}integrity={{readyToCompile: false,canLaunch: false,