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

feat: move Life Calendar from MeatSpace to Calendar > Lifetime tab

Adam Eivy6cbd7e7ebb85
diff --git a/PLAN.md b/PLAN.md
index 6832513159..bd8be0fe0e 100644
--- a/PLAN.md
+++ b/PLAN.md
@@ -69,7 +69,7 @@ See [GOALS.md](./GOALS.md) for project goals and direction.
- [ ] **M45**: Data Backup & Recovery - Scheduled backup of `./data/` to external drive or NAS. All persistence is JSON files with zero redundancy — one bad write or disk failure loses brain, identity, health, and memory data. Incremental backup with restore verification.
- [ ] **M47**: Push Notifications - Webhook-based alerts when agents complete tasks, critical errors occur, or goals stall. Discord/Telegram integration for mobile awareness without needing the dashboard open.
- [x] **M48 P1-P5**: Google Calendar Integration - MCP push sync, subcalendar management, goal-calendar linking, daily review with auto-progress-logging, dormancy support
-- [ ] **M48 P6**: Calendar Consolidation - Merge MeatSpace > Calendar (Life Calendar / "4000 Weeks") under top-level Calendar as a "Lifetime" sub-tab, eliminating the confusing dual-calendar navigation
+- [x] **M48 P6**: Calendar Consolidation - Moved Life Calendar from MeatSpace to Calendar > Lifetime tab
- [x] **M48 P7**: UI-Triggered Google Calendar Sync - "Sync Google" button in Sync tab + "Discover Calendars" in Config tab, both spawn headless Claude CLI with MCP to fetch events/calendar list. Works as zero-config fallback using user's existing Claude MCP auth.
- [x] **M48 P8**: Direct Google Calendar API Sync - `googleapis` npm with OAuth2 setup in Config tab, sync method selector (Claude MCP vs Google API), tokens cached in `data/calendar/google-auth/` with auto-refresh
- [x] **M48 P9**: Auto-Configure Google OAuth via CDP - "Setup with PortOS Browser" button opens Google Cloud Console, user logs in + selects project, clicks "Continue" to automate: enable Calendar API, configure Auth Platform wizard, add test user, create OAuth credentials, extract client ID + secret
diff --git a/client/src/components/Layout.jsx b/client/src/components/Layout.jsx
index 43234ba718..a541b59d2f 100644
--- a/client/src/components/Layout.jsx
+++ b/client/src/components/Layout.jsx
@@ -109,6 +109,7 @@ const navItems = [
{ to: '/calendar/agenda', label: 'Agenda', icon: CalendarDays },
{ to: '/calendar/config', label: 'Config', icon: Settings },
{ to: '/calendar/day', label: 'Day', icon: Calendar },
+ { to: '/calendar/lifetime', label: 'Lifetime', icon: Clock },
{ to: '/calendar/month', label: 'Month', icon: CalendarDays },
{ to: '/calendar/review', label: 'Review', icon: ClipboardList },
{ to: '/calendar/sync', label: 'Sync', icon: RefreshCw },
@@ -182,7 +183,6 @@ const navItems = [
{ to: '/meatspace/alcohol', label: 'Alcohol', icon: Activity },
{ to: '/meatspace/blood', label: 'Blood', icon: HeartPulse },
{ to: '/meatspace/body', label: 'Body', icon: Scale },
- { to: '/meatspace/calendar', label: 'Calendar', icon: Calendar },
{ to: '/meatspace/genome', label: 'Genome', icon: Dna },
{ to: '/meatspace/health', label: 'Health', icon: Heart },
{ to: '/meatspace/import', label: 'Import', icon: Upload },
diff --git a/client/src/components/meatspace/constants.js b/client/src/components/meatspace/constants.js
index 55aebf8e37..6600c74dcd 100644
--- a/client/src/components/meatspace/constants.js
+++ b/client/src/components/meatspace/constants.js
@@ -1,6 +1,5 @@
import {
Beer,
- Calendar,
Clock,
Dna,
HeartPulse,
@@ -17,7 +16,6 @@ export const TABS = [
{ id: 'alcohol', label: 'Alcohol', icon: Beer },
{ id: 'blood', label: 'Blood', icon: HeartPulse },
{ id: 'body', label: 'Body', icon: Scale },
- { id: 'calendar', label: 'Calendar', icon: Calendar },
{ id: 'genome', label: 'Genome', icon: Dna },
{ id: 'health', label: 'Health', icon: Stethoscope },
{ id: 'import', label: 'Import', icon: Upload },
diff --git a/client/src/pages/Calendar.jsx b/client/src/pages/Calendar.jsx
index ccbdf42e2a..729bc00a6d 100644
--- a/client/src/pages/Calendar.jsx
+++ b/client/src/pages/Calendar.jsx
@@ -1,5 +1,5 @@
import { useParams, useNavigate } from 'react-router-dom';
-import { CalendarDays, Calendar as CalendarIcon, ClipboardList, Columns, LayoutGrid, RefreshCw, Settings } from 'lucide-react';
+import { CalendarDays, Calendar as CalendarIcon, ClipboardList, Clock, Columns, LayoutGrid, RefreshCw, Settings } from 'lucide-react';
import { useState, useEffect, useCallback } from 'react';
import * as api from '../services/api';
@@ -9,6 +9,7 @@ import WeekView from '../components/calendar/WeekView';
import MonthView from '../components/calendar/MonthView';
import ConfigTab from '../components/calendar/ConfigTab';
import ReviewTab from '../components/calendar/ReviewTab';
+import CalendarLifetimeTab from '../components/meatspace/tabs/CalendarTab';
import SyncTab from '../components/calendar/SyncTab';
const TABS = [
@@ -16,6 +17,7 @@ const TABS = [
{ id: 'day', label: 'Day', icon: CalendarIcon },
{ id: 'week', label: 'Week', icon: Columns },
{ id: 'month', label: 'Month', icon: LayoutGrid },
+ { id: 'lifetime', label: 'Lifetime', icon: Clock },
{ id: 'review', label: 'Review', icon: ClipboardList },
{ id: 'sync', label: 'Sync', icon: RefreshCw },
{ id: 'config', label: 'Config', icon: Settings }
@@ -53,6 +55,8 @@ export default function Calendar() {
return <WeekView accounts={accounts} />;
case 'month':
return <MonthView accounts={accounts} />;
+ case 'lifetime':
+ return <CalendarLifetimeTab />;
case 'review':
return <ReviewTab />;
case 'config':
diff --git a/client/src/pages/MeatSpace.jsx b/client/src/pages/MeatSpace.jsx
index 2047351650..703b9efbb5 100644
--- a/client/src/pages/MeatSpace.jsx
+++ b/client/src/pages/MeatSpace.jsx
@@ -8,7 +8,6 @@ import AgeTab from '../components/meatspace/tabs/AgeTab';
import AlcoholTab from '../components/meatspace/tabs/AlcoholTab';
import BloodTab from '../components/meatspace/tabs/BloodTab';
import BodyTab from '../components/meatspace/tabs/BodyTab';
-import CalendarTab from '../components/meatspace/tabs/CalendarTab';
import GenomeTab from '../components/meatspace/tabs/GenomeTab';
import HealthTab from '../components/meatspace/tabs/HealthTab';
import ImportTab from '../components/meatspace/tabs/ImportTab';
@@ -35,8 +34,6 @@ export default function MeatSpace() {
return <BloodTab />;
case 'body':
return <BodyTab />;
- case 'calendar':
- return <CalendarTab />;
case 'genome':
return <GenomeTab />;
case 'health':