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
address review (codex): preserve memory list when post-delete reload fails
[._.]/ Adam Eivy28a336d84fa5
diff --git a/client/src/components/meatspace/post/MemoryBuilder.jsx b/client/src/components/meatspace/post/MemoryBuilder.jsxindex b729e1fb20..c30e718933 100644--- a/client/src/components/meatspace/post/MemoryBuilder.jsx+++ b/client/src/components/meatspace/post/MemoryBuilder.jsx@@ -32,8 +32,13 @@ export default function MemoryBuilder({ onBack, onNavigateElements }) {}, []);async function loadItems() {- const data = await getMemoryItems().catch(() => []);- setItems(data || []);+ // null = fetch failed (request() already toasts the error) — keep the+ // known-good list rather than blanking it; a real empty server response+ // is `[]` and still clears. Distinguishing the two matters most after a+ // delete, where a transient reload failure would otherwise wipe every+ // remaining item (including the built-in) off the screen.+ const data = await getMemoryItems().catch(() => null);+ if (Array.isArray(data)) setItems(data);}function handleSelect(item) {