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
Release v1.14.4 - Changelog
Released: 2026-02-27
Overview
Genome migration cleanup — completed the meatspace data migration so genome, ClinVar, and epigenetic services read/write from the correct data/meatspace/ directory, with all stale path references updated across services, routes, client navigation, and documentation.
Features
Apple Health ingest pipeline —
POST /api/health/ingestaccepts Health Auto Export JSON, validates with Zod, deduplicates by metric+timestamp, and persists to day-partitioned files atdata/health/2026-02-27.jsonApple Health query service —
GET /api/health/metrics/:name/dailyreturns aggregated daily values,GET /api/health/metrics/:namereturns summary stats,GET /api/health/rangereturns available data rangeApple Health correlation endpoint —
GET /api/health/correlationmerges HRV, steps, alcohol, and blood test data for cross-domain health analysisSystem health namespace relocation — moved system health endpoints from
/api/healthand/api/health/systemto/api/system/healthand/api/system/health/detailsto free the/api/healthnamespace for Apple Health dataData backup engine — rsync-based incremental backup from
./data/to a configured external drive path, with SHA-256 manifest generation for integrity verification after each snapshotBackup REST API —
GET /api/backup/status,POST /api/backup/run,GET /api/backup/snapshots,POST /api/backup/restorewith Zod request validationBackup cron scheduler — daily backup at 2 AM (configurable via
settings.backup.cronExpression), registered with the existing eventScheduler and started at server bootBackup client API —
getBackupStatus,triggerBackup,getBackupSnapshots,restoreBackupadded toclient/src/services/api.jsfor widget consumptionBackupWidget dashboard component — health status indicator (green/yellow/red), manual "Backup Now" trigger with toast feedback, expandable snapshot list, inline restore panel with dry-run preview and selective subdirectory filter
Cross-domain insights engine —
insightsService.jswith 5 exported functions: genome-health correlations (rule-based, groups markers by clinical category and matches blood test values), taste-identity theme generation (LLM, cached todata/insights/themes.json), and cross-domain narrative (LLM, cached todata/insights/narrative.jsonwith previousText for diff)Insights REST API —
GET /api/insights/genome-health,GET /api/insights/themes,POST /api/insights/themes/refresh,GET /api/insights/narrative,POST /api/insights/narrative/refresh— all endpoints degrade gracefully with{ available: false, reason }when source data is missingInsights client API —
getGenomeHealthCorrelations,getInsightThemes,refreshInsightThemes,getInsightNarrative,refreshInsightNarrativeadded toclient/src/services/api.jsInsights dashboard UI — tabbed page at
/insights/:tabwith four deep-linked views: Overview (3 clickable domain summary cards), Genome-Health (category-grouped marker cards with confidence badges, blood value matching, collapsible provenance), Taste-Identity (LLM theme cards with evidence lists and refresh), Cross-Domain (narrative with ReactDiffViewer diff toggle on refresh)Insights shared components —
ConfidenceBadge(color-coded strong/moderate/weak/significant),InsightCard(shared card shell with badge and source tags),ProvenancePanel(collapsible references),EmptyState(guided empty states with nav links)Insights navigation — "Insights" sidebar entry with Lightbulb icon, alphabetically positioned between Instances and MeatSpace
Unified search API —
GET /api/search?q=<query>fans out keyword search to Brain (inbox/people/projects/ideas/links), CoS Memory (BM25), Apps, History, and Health metrics in parallel via Promise.allSettled for fault isolation. Returns{ query, sources }with categorized results, each including id/title/snippet/url/type fields. Sources with zero results are omitted.Search client function —
search(q)added toclient/src/services/api.jsfor use by the overlay componentCmd+K search overlay — Spotlight-style modal mounted in Layout, available from every page; Cmd+K/Ctrl+K opens overlay with debounced search-as-you-type (300ms), results grouped by source with Lucide icons and highlighted keyword snippets, full keyboard navigation (arrows/Enter/Escape), deep-link navigation on selection, body scroll lock, and React portal for z-index isolation
MeatSpace Import tab — wired existing ImportTab component into MeatSpace page routing, sidebar nav, and tab bar at
/meatspace/importHealth JSON import UI — added JSON file upload section to ImportTab for Health Auto Export JSON files, with success/error display showing metrics processed, records ingested/skipped, and days affected
Fixes
- HRV metric name mismatch — Health Auto Export JSON uses
heart_rate_variabilitybut queries expectedheart_rate_variability_sdnn; added metric name normalization on JSON ingest and query-time alias fallback so existing imported data displays correctly - Claude Code nesting detection in agent spawner — strip
CLAUDECODEenv var from child processes so CoS agents, Brain, Runner, and Digital Twin CLI spawns don't fail with "cannot be launched inside another Claude Code session" when PortOS server runs within a Claude Code terminal
Improvements
- Genome migration: service data paths — updated
genome.js,clinvar.js, andepigenetic.jsservices to usePATHS.meatspaceinstead ofPATHS.digitalTwin, completing the migration from digital-twin to meatspace storage - Genome migration: route comments — updated all 18 JSDoc comments in
server/routes/genome.jsto reference/api/meatspace/genome(was/api/digital-twin/genome) - Genome migration: client navigation — IdentityTab "View Full Genome" button now navigates to
/meatspace/genome(was broken/digital-twin/genomedead link) - Genome migration: documentation — updated
docs/API.mdanddocs/features/identity-system.mdto reflect meatspace paths for genome data files and API routes - Genome migration: data files — moved
genome.json,genome-raw.txt,clinvar-index.json,clinvar-meta.jsonfromdata/digital-twin/todata/meatspace/so the server reads them correctly