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
feat(nav): reorganize sidebar navigation for clarity and density
Adam Eivyda56feea3e5c
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex 1a16c61e6e..d442c977b7 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -22,6 +22,7 @@- Personal Goals dashboard widget: shows top-level goals with progress bars, category icons, horizon labels, and stall detection (14+ days idle) — replaces broken CoS task-based goal widget that never rendered## Changed+- Sidebar navigation reorganized: Review Hub promoted to top section, standalone items (Feature Agents, Loops, Shell, Instances, Security, Uploads) consolidated into parent groups (Dev Tools, Chief of Staff, Settings), AI Config dissolved into Settings, Ambient moved to footer icon button- Release-check scheduled task now discovers the project's release process from CLAUDE.md, README.md, CONTRIBUTING.md, docs/, CI workflows, and changelog docs instead of hardcoding dev→main- Exported `cleanupAgentWorktree` from `subAgentSpawner.js` with dedicated test file covering the openPR completion path (push, PR creation, failure preservation, auto-merge fallback)- Exported `isTruthyMeta` from `subAgentSpawner.js` and `applyAppWorktreeDefault` from `cos.js`; tests now import production helpers instead of duplicating their logic inlinediff --git a/client/src/components/Layout.jsx b/client/src/components/Layout.jsxindex f71e769d22..2b43aa9706 100644--- a/client/src/components/Layout.jsx+++ b/client/src/components/Layout.jsx@@ -82,17 +82,9 @@ import socket from '../services/socket';const navItems = [{ to: '/', label: 'Dashboard', icon: Home, single: true },+ { to: '/review', label: 'Review Hub', icon: ClipboardList, single: true },{ to: '/city', label: 'CyberCity', icon: Building2, single: true },{ separator: true },- { to: '/ambient', label: 'Ambient', icon: Monitor, single: true },- {- label: 'AI Config',- icon: Bot,- children: [- { to: '/prompts', label: 'Prompts', icon: FileText },- { to: '/ai', label: 'Providers', icon: Bot }- ]- },{ label: 'Apps', icon: Package, dynamic: 'apps', children: [] },{label: 'Brain',@@ -133,6 +125,7 @@ const navItems = [{ to: '/cos/gsd', label: 'GSD', icon: Compass },{ to: '/cos/health', label: 'Health', icon: Activity },{ to: '/cos/learning', label: 'Learning', icon: GraduationCap },+ { to: '/loops', label: 'Loops', icon: RefreshCw },{ to: '/cos/memory', label: 'Memory', icon: Brain },{ to: '/cos/schedule', label: 'Schedule', icon: Clock },{ to: '/cos/scripts', label: 'Scripts', icon: Terminal },@@ -151,10 +144,13 @@ const navItems = [{ to: '/browser', label: 'Browser', icon: Globe },{ to: '/devtools/runner', label: 'Code', icon: Code2 },{ to: '/devtools/datadog', label: 'DataDog', icon: Dog },+ { to: '/feature-agents', label: 'Feature Agents', icon: Wand2 },{ to: '/devtools/github', label: 'GitHub', icon: Github },{ to: '/devtools/history', label: 'History', icon: History },+ { to: '/instances', label: 'Instances', icon: Network },{ to: '/devtools/jira', label: 'JIRA', icon: Ticket },{ to: '/devtools/processes', label: 'Processes', icon: Activity },+ { to: '/shell', label: 'Shell', icon: SquareTerminal },{ to: '/devtools/usage', label: 'Usage', icon: BarChart3 }]},@@ -176,11 +172,8 @@ const navItems = [{ to: '/digital-twin/test', label: 'Test', icon: CheckCircle }]},- { to: '/feature-agents', label: 'Feature Agents', icon: Wand2, single: true },{ to: '/goals/tree', label: 'Goals', icon: Target, single: true },{ to: '/insights/overview', label: 'Insights', icon: Lightbulb, single: true },- { to: '/instances', label: 'Instances', icon: Network, single: true },- { to: '/loops', label: 'Loops', icon: RefreshCw, single: true },{label: 'MeatSpace',icon: Skull,@@ -218,20 +211,20 @@ const navItems = [{ to: '/post/wordplay', label: 'Wordplay', icon: MessageCircle },]},- { to: '/review', label: 'Review Hub', icon: ClipboardList, single: true },- { to: '/security', label: 'Security', icon: Camera, single: true },{label: 'Settings',icon: Settings,children: [{ to: '/settings/backup', label: 'Backup', icon: Download },{ to: '/settings/database', label: 'Database', icon: Database },- { to: '/settings/telegram', label: 'Telegram', icon: MessageSquare }+ { to: '/prompts', label: 'Prompts', icon: FileText },+ { to: '/ai', label: 'Providers', icon: Bot },+ { to: '/security', label: 'Security', icon: Camera },+ { to: '/settings/telegram', label: 'Telegram', icon: MessageSquare },+ { to: '/uploads', label: 'Uploads', icon: Upload }]},- { to: '/shell', label: 'Shell', icon: SquareTerminal, single: true },- { to: '/agents', label: 'Social Agents', icon: Users, single: true },- { to: '/uploads', label: 'Uploads', icon: Upload, single: true }+ { to: '/agents', label: 'Social Agents', icon: Users, single: true }];const SIDEBAR_KEY = 'portos-sidebar-collapsed';@@ -609,6 +602,18 @@ export default function Layout() {v{__APP_VERSION__}</span><div className="flex items-center gap-1">+ <NavLink+ to="/ambient"+ className={`p-1.5 rounded-lg transition-colors ${+ isActive('/ambient')+ ? 'text-port-accent'+ : 'text-gray-500 hover:text-white'+ }`}+ title="Ambient"+ aria-label="Ambient display"+ >+ <Monitor size={18} />+ </NavLink><ThemeSwitcher /><NotificationDropdownnotifications={notifications}@@ -640,6 +645,17 @@ export default function Layout() {<span className="font-bold text-sm text-port-accent">PortOS</span></div><div className="flex items-center gap-1">+ <NavLink+ to="/ambient"+ className={`p-1.5 rounded-lg transition-colors ${+ isActive('/ambient')+ ? 'text-port-accent'+ : 'text-gray-500 hover:text-white'+ }`}+ aria-label="Ambient display"+ >+ <Monitor size={16} />+ </NavLink><ThemeSwitcher position="below" /><NotificationDropdownnotifications={notifications}