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

address review (codex): survive app-list blips and hide live telemetry during playback

[._.]/ Adam Eivy3fe4aac3e41f
diff --git a/client/src/components/openworld/Building.jsx b/client/src/components/openworld/Building.jsx
index fc29cc2dc9..6ddd4f82b1 100644
--- a/client/src/components/openworld/Building.jsx
+++ b/client/src/components/openworld/Building.jsx
@@ -845,6 +845,7 @@ export default function Building({ app, position, agentCount, onClick, playSfx,
agentCount={agentCount}
position={[0, height + 1.8, 0]}
expanded={isProximity || focused}
+ playback={playback}
/>
)}
</group>
diff --git a/client/src/components/openworld/HolographicPanel.jsx b/client/src/components/openworld/HolographicPanel.jsx
index 1fc77661dd..cc3665325f 100644
--- a/client/src/components/openworld/HolographicPanel.jsx
+++ b/client/src/components/openworld/HolographicPanel.jsx
@@ -19,7 +19,7 @@ const TONE_CLASSES = {
hot: 'text-red-400',
};
-export default function HolographicPanel({ app, agentCount, position, expanded = false }) {
+export default function HolographicPanel({ app, agentCount, position, expanded = false, playback = false }) {
// Live per-process PM2 telemetry already riding the app payload (roadmap 1.1) —
// aggregated once per payload change, rendered only when there is something to show.
const metrics = useMemo(() => computeAppMetrics(app), [app]);
@@ -72,7 +72,10 @@ export default function HolographicPanel({ app, agentCount, position, expanded =
<span className="opacity-50">| {agentCount} AGENT{agentCount > 1 ? 'S' : ''}</span>
)}
</div>
- {metrics.hasMetrics && metrics.onlineProcs > 0 && (
+ {/* Live telemetry is suppressed during history playback: pm2Status is always
+ the live snapshot, and showing current CPU beside a historical building
+ status would contradict the playback contract. */}
+ {!playback && metrics.hasMetrics && metrics.onlineProcs > 0 && (
<div className="flex items-center gap-2 text-[9px] font-pixel tracking-wide mt-1">
<span className={TONE_CLASSES[cpuTone(metrics.cpuPercent)]}>CPU {metrics.cpuPercent}%</span>
<span className="opacity-50">|</span>
@@ -91,7 +94,7 @@ export default function HolographicPanel({ app, agentCount, position, expanded =
)}
</div>
)}
- {metrics.unstableRestarts > 0 && (
+ {!playback && metrics.unstableRestarts > 0 && (
<div className="font-pixel text-[8px] text-red-400 tracking-wider mt-1">
{'\u21BB'} {metrics.unstableRestarts} UNSTABLE RESTART{metrics.unstableRestarts > 1 ? 'S' : ''}
</div>
diff --git a/client/src/hooks/useOpenWorldData.js b/client/src/hooks/useOpenWorldData.js
index 3c1c6b8aa2..e1df33fac1 100644
--- a/client/src/hooks/useOpenWorldData.js
+++ b/client/src/hooks/useOpenWorldData.js
@@ -47,8 +47,10 @@ export const useOpenWorldData = () => {
aiActivityRef.current = aiActivity;
const fetchApps = useCallback(async () => {
- const data = await api.getApps().catch(() => []);
- setApps(data);
+ // Silent + last-good preservation: this now doubles as the 30s telemetry poll,
+ // so a transient /api/apps blip must blank neither the city nor toast repeatedly.
+ const data = await api.getApps({ silent: true }).catch(() => null);
+ if (data) setApps(data);
return data;
}, []);