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: sync birthDate input on load, guard appendChanges, optional taskResult.id
Adam Eivy16ef14b18b27
diff --git a/client/src/components/meatspace/tabs/AgeTab.jsx b/client/src/components/meatspace/tabs/AgeTab.jsxindex f0a7288fa3..51b169965c 100644--- a/client/src/components/meatspace/tabs/AgeTab.jsx+++ b/client/src/components/meatspace/tabs/AgeTab.jsx@@ -8,6 +8,10 @@ function BirthDateSection({ birthDate, onUpdate }) {const [input, setInput] = useState(birthDate || '');const [saving, setSaving] = useState(false);+ useEffect(() => {+ if (!editing) setInput(birthDate || '');+ }, [birthDate, editing]);+const handleSave = async () => {if (!input) return;setSaving(true);diff --git a/server/routes/cos.js b/server/routes/cos.jsindex 9daf09909e..0ce8ae7a09 100644--- a/server/routes/cos.js+++ b/server/routes/cos.js@@ -918,7 +918,7 @@ router.post('/jobs/:id/trigger', asyncHandler(async (req, res) => {approvalRequired: false}, 'internal');- res.json({ success: true, type: 'agent', taskId: taskResult.id });+ res.json({ success: true, type: 'agent', taskId: taskResult?.id });}));// DELETE /api/cos/jobs/:id - Delete a jobdiff --git a/server/services/brainSyncLog.js b/server/services/brainSyncLog.jsindex b560ba7fbe..709c8bc2d3 100644--- a/server/services/brainSyncLog.js+++ b/server/services/brainSyncLog.js@@ -82,7 +82,7 @@ export async function appendChange(op, type, id, record, originInstanceId) {* Append multiple change entries in a single mutex-guarded batch (reduces lock contention)*/export async function appendChanges(entries) {- if (!entries.length) return [];+ if (!entries?.length) return [];return withLock(async () => {await ensureDir();const startSeq = currentSeq;