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 PR review feedback (round 6)
Adam Eivyb87c6ead1d09
diff --git a/client/src/components/FolderPicker.jsx b/client/src/components/FolderPicker.jsxindex 179cf2cbbb..50a0edce6c 100644--- a/client/src/components/FolderPicker.jsx+++ b/client/src/components/FolderPicker.jsx@@ -71,6 +71,7 @@ export default function FolderPicker({ value, onChange }) {onClick={() => setIsOpen(true)}className="px-3 py-3 bg-port-border hover:bg-port-border/80 text-white rounded-lg transition-colors"title="Browse folders"+ aria-label="Browse folders"><Folder size={20} /></button>@@ -93,6 +94,7 @@ export default function FolderPicker({ value, onChange }) {type="button"onClick={() => setIsOpen(false)}className="p-1 text-gray-400 hover:text-white"+ aria-label="Close folder picker"><X size={20} /></button>diff --git a/client/src/components/digital-twin/SoulWizard.jsx b/client/src/components/digital-twin/SoulWizard.jsxindex 33a5d9f39d..67286b1bf5 100644--- a/client/src/components/digital-twin/SoulWizard.jsx+++ b/client/src/components/digital-twin/SoulWizard.jsx@@ -141,16 +141,21 @@ ${boundaries.irritant ? `- **Pet Peeve**: ${boundaries.irritant}` : ''}setSaving(true);const content = generateSoulDocument();- await api.createSoulDocument({- filename: 'SOUL.md',- title: 'Soul',- category: 'core',- content- });+ try {+ await api.createSoulDocument({+ filename: 'SOUL.md',+ title: 'Soul',+ category: 'core',+ content+ });- toast.success('Soul document created!');- setSaving(false);- onComplete();+ toast.success('Soul document created!');+ onComplete();+ } catch (error) {+ toast.error('Failed to create soul document. Please try again.');+ } finally {+ setSaving(false);+ }};return (diff --git a/docs/features/digital-twin.md b/docs/features/digital-twin.mdindex 1e2604ce53..4af4b0b512 100644--- a/docs/features/digital-twin.md+++ b/docs/features/digital-twin.md@@ -9,7 +9,7 @@ Transform the Digital Twin from a document capture system into a quantitative pe## Architecture- **Digital Twin Service** (`server/services/digitalTwin.js`): Trait analysis, confidence scoring, gap recommendations-- **Digital Twin Routes** (`server/routes/digitalTwin.js`): REST API endpoints+- **Digital Twin Routes** (`server/routes/digital-twin.js`): REST API endpoints- **Digital Twin Validation** (`server/lib/digitalTwinValidation.js`): Zod schemas for trait data## Featuresdiff --git a/server/cos-runner/index.js b/server/cos-runner/index.jsindex f8e98e1338..3430412765 100644--- a/server/cos-runner/index.js+++ b/server/cos-runner/index.js@@ -39,12 +39,17 @@ const ALLOWED_COMMANDS = new Set([/*** Validate that a command is in the allowlist.* Extracts the base command name from the full path using path.basename for cross-platform support.+ * Handles Windows .exe extensions by stripping them before checking.*/function isAllowedCommand(command) {if (!command || typeof command !== 'string') return false;// Extract base command name from full path (e.g., /usr/bin/claude -> claude)// Uses path.basename for correct handling on both Unix and Windows- const baseName = basename(command);+ let baseName = basename(command);+ // Normalize for Windows: strip trailing .exe (case-insensitive)+ if (baseName.toLowerCase().endsWith('.exe')) {+ baseName = baseName.slice(0, -4);+ }return ALLOWED_COMMANDS.has(baseName);}diff --git a/server/index.js b/server/index.jsindex 64de10d3e0..c24b62eca9 100644--- a/server/index.js+++ b/server/index.js@@ -106,7 +106,7 @@ const aiToolkit = createAIToolkit({duration: metadata.duration,workspacePath: metadata.workspacePath,workspaceName: metadata.workspaceName,- errorDetails: errorMessage+ errorDetails: errorMessage,// Note: promptPreview and outputTail intentionally omitted to avoid leaking sensitive data}});