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

fix(catalog): fallback to rowUpdatedAt if entry.updatedAt is omitted (#4006)

[._.]/ Adam Eivye44ef865fb20
diff --git a/server/services/catalogCanonProjection.js b/server/services/catalogCanonProjection.js
index af001b9ccc..a37ecf2573 100644
--- a/server/services/catalogCanonProjection.js
+++ b/server/services/catalogCanonProjection.js
@@ -217,7 +217,7 @@ export async function projectToCatalog(universeId, canonArrays, { guardToken = n
{ name: entry.name, payload: entryToPayload(entry) },
{ source: 'sync', actor: 'canon-projection' },
);
- appliedTimestamps.set(ingredientId, entry.updatedAt);
+ appliedTimestamps.set(ingredientId, entry.updatedAt || rowUpdatedAt);
stats.written++;
} catch (err) {
console.error(`🔁 projectToCatalog: ingredient ${ingredientId} update failed: ${err.message}`);