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: document getRecentTasks retention-limited scope
Adam Eivy333a8c06092b
diff --git a/server/services/cosReports.js b/server/services/cosReports.jsindex a62121ec52..cd5681aa20 100644--- a/server/services/cosReports.js+++ b/server/services/cosReports.js@@ -171,10 +171,12 @@ export async function getTodayActivity() {};}+// Returns recently completed tasks from in-memory state only.+// Agents older than the retention window are archived to date-bucketed dirs+// and are not included here — use getAgentsByDate() for historical lookups.export async function getRecentTasks(limit = 10) {const state = await loadState();- // Get all completed agents, sorted by completion time (newest first)const completedAgents = Object.values(state.agents).filter(a => a.status === 'completed' && a.completedAt).sort((a, b) => new Date(b.completedAt) - new Date(a.completedAt))