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
address review: fix dynamic Tailwind classes and use uuid for IDs
Adam Eivy26d15dd3d317
diff --git a/client/src/components/digital-twin/tabs/TasteTab.jsx b/client/src/components/digital-twin/tabs/TasteTab.jsxindex eb17e14ab9..94cf7fc161 100644--- a/client/src/components/digital-twin/tabs/TasteTab.jsx+++ b/client/src/components/digital-twin/tabs/TasteTab.jsx@@ -321,18 +321,16 @@ export default function TasteTab({ onRefresh }) {<p className="text-xs text-gray-500 mb-2">Does this summary capture your taste accurately?</p><div className="flex items-center gap-2">{[- { key: 'sounds_like_me', label: 'Sounds like me', icon: ThumbsUp, color: 'green' },- { key: 'not_quite', label: 'Not quite', icon: Minus, color: 'yellow' },- { key: 'doesnt_sound_like_me', label: 'Not me', icon: ThumbsDown, color: 'red' }- ].map(({ key, label, icon: FbIcon, color }) => (+ { key: 'sounds_like_me', label: 'Sounds like me', icon: ThumbsUp, active: 'bg-green-500/20 text-green-400 border border-green-500/30', inactive: 'text-gray-400 border border-port-border hover:text-green-400 hover:border-green-500/30 disabled:opacity-30' },+ { key: 'not_quite', label: 'Not quite', icon: Minus, active: 'bg-yellow-500/20 text-yellow-400 border border-yellow-500/30', inactive: 'text-gray-400 border border-port-border hover:text-yellow-400 hover:border-yellow-500/30 disabled:opacity-30' },+ { key: 'doesnt_sound_like_me', label: 'Not me', icon: ThumbsDown, active: 'bg-red-500/20 text-red-400 border border-red-500/30', inactive: 'text-gray-400 border border-port-border hover:text-red-400 hover:border-red-500/30 disabled:opacity-30' }+ ].map(({ key, label, icon: FbIcon, active, inactive }) => (<buttonkey={key}onClick={() => submitSummaryFeedback(reviewSection, section.summary, key)}disabled={!!summaryFeedback[reviewSection]}className={`flex items-center gap-1.5 px-3 py-1.5 min-h-[36px] rounded-lg text-xs transition-colors ${- summaryFeedback[reviewSection] === key- ? `bg-${color}-500/20 text-${color}-400 border border-${color}-500/30`- : `text-gray-400 border border-port-border hover:text-${color}-400 hover:border-${color}-500/30 disabled:opacity-30`+ summaryFeedback[reviewSection] === key ? active : inactive}`}><FbIcon size={14} />diff --git a/package-lock.json b/package-lock.jsonindex 0a947f2a71..df66408777 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "portos",- "version": "1.8.1",+ "version": "1.8.2","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "portos",- "version": "1.8.1",+ "version": "1.8.2","license": "MIT","dependencies": {"express": "^4.21.2",diff --git a/package.json b/package.jsonindex 8c0d1c43d1..3ed477602c 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "portos",- "version": "1.8.1",+ "version": "1.8.2","private": true,"description": "Local dev machine App OS portal","author": "Adam Eivy (@antic|@atomantic)",diff --git a/server/services/identity.js b/server/services/identity.jsindex e78b49e00b..2fe1d70566 100644--- a/server/services/identity.js+++ b/server/services/identity.js@@ -1,5 +1,6 @@import { readFile, writeFile } from 'fs/promises';import { join } from 'path';+import { v4 as uuidv4 } from 'uuid';import { PATHS, ensureDir, safeJSONParse } from '../lib/fileUtils.js';import { getGenomeSummary } from './genome.js';import { getTasteProfile } from './taste-questionnaire.js';@@ -682,7 +683,7 @@ export async function createGoal({ title, description, horizon, category }) {const goals = await loadJSON(GOALS_FILE, DEFAULT_GOALS);const longevity = await loadJSON(LONGEVITY_FILE, DEFAULT_LONGEVITY);- const id = `goal-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`;+ const id = `goal-${uuidv4()}`;const goal = {id,title,@@ -749,7 +750,7 @@ export async function addMilestone(goalId, { title, targetDate }) {if (!goal) return null;const milestone = {- id: `ms-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`,+ id: `ms-${uuidv4()}`,title,targetDate: targetDate || null,completedAt: null,