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: address streak cleanup review findings
[._.]/ Adam Eivy1e90b214cb94
diff --git a/client/src/components/CosDashboardWidget.jsx b/client/src/components/CosDashboardWidget.jsxindex 414929f888..1e4a66a0e7 100644--- a/client/src/components/CosDashboardWidget.jsx+++ b/client/src/components/CosDashboardWidget.jsx@@ -196,7 +196,7 @@ const CosDashboardWidget = memo(function CosDashboardWidget() {</div>{/* Stats Grid */}- <div className="grid grid-cols-1 sm:grid-cols-3 gap-3">+ <div className="grid grid-cols-2 sm:grid-cols-3 gap-3">{/* Today's Progress */}<div className="bg-port-bg/50 rounded-lg p-3"><div className="flex items-center gap-2 mb-1">diff --git a/client/src/pages/OpenWorld.jsx b/client/src/pages/OpenWorld.jsxindex af1eb644e5..db304516d5 100644--- a/client/src/pages/OpenWorld.jsx+++ b/client/src/pages/OpenWorld.jsx@@ -524,7 +524,7 @@ function OpenWorldInner() {peers: (instances?.peers || []).filter(p => p.status === 'online').length,level: character?.level,};- }, [apps, cosAgents, instances, character, productivityData]);+ }, [apps, cosAgents, instances, character]);// In playback mode, overlay the current snapshot frame's data onto the props// the scene consumes. mergeFrameIntoOpenWorldProps returns ONLY the props the framediff --git a/client/src/utils/openWorldRegions.js b/client/src/utils/openWorldRegions.jsindex d68de6d875..2a3aa9cfd0 100644--- a/client/src/utils/openWorldRegions.js+++ b/client/src/utils/openWorldRegions.js@@ -32,7 +32,7 @@ export const OPEN_WORLD_REGIONS = [{ id: 'wellness', parcel: 'health', label: 'Wellness Tower', blurb: 'System vitals — CPU, memory, disk.', appPath: '/system-resources/overview', aliases: ['wellness tower', 'health tower', 'vitals tower'] },{ id: 'archive', parcel: 'warehouse', district: 'warehouse', label: 'Archive District', blurb: 'Cold storage for archived apps.', appPath: '/apps', aliases: ['archive district', 'warehouse', 'cold storage'] },{ id: 'quiet-corner', parcel: 'easterEggs', label: 'Quiet Corner', blurb: 'The odd little things the world keeps to itself.', appPath: null, aliases: ['quiet corner', 'easter eggs'] },- { id: 'productivity', parcel: 'productivity', label: 'Productivity Terrace', blurb: 'Throughput, pace, and the activity heatmap.', appPath: '/insights/overview', aliases: ['productivity terrace', 'productivity', 'throughput district'] },+ { id: 'productivity', parcel: 'productivity', label: 'Productivity Terrace', blurb: 'Throughput, pace, and the activity heatmap.', appPath: '/insights/overview', aliases: ['productivity terrace', 'productivity', 'throughput district', 'streak district'] },{ id: 'backup-vault', parcel: 'backupVault', label: 'Backup Vault', blurb: 'The sealed door — last backup and its health.', appPath: '/settings/backup', aliases: ['backup vault', 'the vault'] },{ id: 'memory', parcel: 'memory', label: 'Memory Quarter', blurb: 'Crystal clusters of long-term memory and the inbox well.', appPath: '/brain/inbox', aliases: ['memory quarter', 'memory district', 'knowledge district'] },{ id: 'sprint-yard', parcel: 'jira', label: 'Sprint Yard', blurb: 'The current sprint, laid out as a yard of tickets.', appPath: '/devtools/jira', feature: 'jira', aliases: ['sprint yard', 'jira yard', 'sprint district'] },diff --git a/scripts/migrations/309-remove-activity-streak-widget.js b/scripts/migrations/310-remove-activity-streak-widget.jssimilarity index 93%rename from scripts/migrations/309-remove-activity-streak-widget.jsrename to scripts/migrations/310-remove-activity-streak-widget.jsindex b0d3c70c5e..770ec399eb 100644--- a/scripts/migrations/309-remove-activity-streak-widget.js+++ b/scripts/migrations/310-remove-activity-streak-widget.js@@ -5,7 +5,7 @@import { readLayoutsDoc, writeLayoutsDoc } from './_lib.js';-const LABEL = 'migration 309';+const LABEL = 'migration 310';const WIDGET_ID = 'activity-streak';function removeFromLayout(layout) {@@ -17,7 +17,7 @@ function removeFromLayout(layout) {if (!changed) return false;layout.widgets = widgets;- layout.grid = grid.map((item, order) => ({ ...item, order }));+ layout.grid = grid;return true;}diff --git a/scripts/migrations/309-remove-activity-streak-widget.test.js b/scripts/migrations/310-remove-activity-streak-widget.test.jssimilarity index 88%rename from scripts/migrations/309-remove-activity-streak-widget.test.jsrename to scripts/migrations/310-remove-activity-streak-widget.test.jsindex cd5e0b3d85..cf74b56d72 100644--- a/scripts/migrations/309-remove-activity-streak-widget.test.js+++ b/scripts/migrations/310-remove-activity-streak-widget.test.js@@ -2,17 +2,17 @@ import { describe, it, expect, beforeEach, afterEach } from 'vitest';import { mkdtempSync, rmSync, writeFileSync, readFileSync, mkdirSync } from 'fs';import { tmpdir } from 'os';import { join } from 'path';-import migration from './309-remove-activity-streak-widget.js';+import migration from './310-remove-activity-streak-widget.js';const writeJson = (path, value) => writeFileSync(path, `${JSON.stringify(value, null, 2)}\n`);const readJson = (path) => JSON.parse(readFileSync(path, 'utf8'));-describe('migration 309 — remove activity streak dashboard widget', () => {+describe('migration 310 — remove activity streak dashboard widget', () => {let rootDir;let layoutsPath;beforeEach(() => {- rootDir = mkdtempSync(join(tmpdir(), 'migration-309-'));+ rootDir = mkdtempSync(join(tmpdir(), 'migration-310-'));mkdirSync(join(rootDir, 'data'), { recursive: true });layoutsPath = join(rootDir, 'data', 'dashboard-layouts.json');});@@ -40,7 +40,7 @@ describe('migration 309 — remove activity streak dashboard widget', () => {expect(after.layouts[0].widgets).toEqual(['quick-task', 'daily-post']);expect(after.layouts[0].grid).toEqual([{ id: 'quick-task', x: 0, w: 6, order: 0, h: 5 },- { id: 'daily-post', x: 9, w: 3, order: 1, h: 3 },+ { id: 'daily-post', x: 9, w: 3, order: 2, h: 3 },]);expect(after.layouts[1].widgets).toEqual(['tribe-care']);});diff --git a/server/lib/navManifest.js b/server/lib/navManifest.jsindex 2b72eeb08e..16a68cf4dd 100644--- a/server/lib/navManifest.js+++ b/server/lib/navManifest.js@@ -35,7 +35,7 @@ const OPEN_WORLD_REGION_COMMANDS = [['wellness', 'Wellness Tower', ['wellness tower', 'health tower', 'vitals tower']],['archive', 'Archive District', ['archive district', 'warehouse', 'cold storage']],['quiet-corner', 'Quiet Corner', ['quiet corner', 'easter eggs']],- ['productivity', 'Productivity Terrace', ['productivity terrace', 'productivity', 'throughput district']],+ ['productivity', 'Productivity Terrace', ['productivity terrace', 'productivity', 'throughput district', 'streak district']],['backup-vault', 'Backup Vault', ['backup vault', 'the vault']],['memory', 'Memory Quarter', ['memory quarter', 'memory district', 'knowledge district']],['sprint-yard', 'Sprint Yard', ['sprint yard', 'jira yard', 'sprint district'], 'jira'],@@ -171,7 +171,7 @@ const RAW_NAV_COMMANDS = [// visualization + inline schedule editor). The `workflow` aliases are kept// for muscle memory; the bare `timeline` alias stays with /media/timeline.{ id: 'nav.cos.workflow', path: '/cos/workflow', label: 'Timeline', section: 'Chief of Staff', aliases: ['workflow', 'cos-workflow', 'cos-timeline', 'schedule-timeline'], keywords: ['timeline', 'schedule', 'launch order', 'run order', 'gantt', 'upcoming runs', 'overlap', 'dependencies'] },- { id: 'nav.cos.productivity', path: '/cos/productivity', label: 'Productivity', section: 'Chief of Staff', aliases: ['cos-productivity', 'work-patterns'] },+ { id: 'nav.cos.productivity', path: '/cos/productivity', label: 'Productivity', section: 'Chief of Staff', aliases: ['cos-productivity', 'work-patterns', 'streaks'] },{ id: 'nav.messages.inbox', path: '/messages/inbox', label: 'Inbox', section: 'Comms', aliases: ['messages', 'comms', 'comms-inbox'], keywords: ['comms', 'email', 'inbox'] },{ id: 'nav.messages.drafts', path: '/messages/drafts', label: 'Drafts', section: 'Comms', aliases: ['drafts', 'comms-drafts'], keywords: ['comms'] },