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: group the digital twin's 20 sections into a two-level nav (#3795)

[._.]/ Adam Eivyeed1a6c54d9e
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index e0ce56d07b..46af903711 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -101,3 +101,4 @@
- **PortOS now renders its intended typography with no route to the public internet, because the fonts ship with it.** #3808 stopped the app shell's Google Fonts stylesheet from blanking the page for ~60s on an install that can't reach Google, by loading it non-blocking — but non-blocking only meant the fonts failed *quietly*. They still never arrived, and this turned out to be broader than that fix assumed: four theme stacks in `themes/portosThemes.js` front Inter and one fronts IBM Plex Mono, so on the private-Tailscale deployment PortOS is designed for, five themes silently rendered in a system fallback and the typography was simply never seen. Both families are now vendored under `client/public/fonts/` as `woff2` and declared with `@font-face` in `client/src/index.css`, exactly as `GeistPixel-*` already was for CyberCity — scoped to the weights the stacks actually use (Inter 400/500/600/700, IBM Plex Mono 400/500/600) to keep the whole addition near 275KB. Both are SIL Open Font License 1.1, so each family's license text ships beside the files. The stylesheet `<link>`, its `<noscript>` fallback, and both `preconnect` hints are gone from `client/index.html`, which removes a third-party request from every boot; the service worker's dedicated cache for the Google font hosts went with them, since same-origin `/fonts/` was already covered by its static-asset path, and dropping it from the current-cache set means the stale one is deleted on activate. Verified in a headless browser against the built client with every external host blocked: all seven faces load, they measure differently from their fallbacks, and the page attempts zero external requests.
- **A generated Three.js model's materials are now checked against the substance they're named for.** `threejsMaterialSchema` bounds every PBR channel to what Three.js accepts, which is a much weaker claim than it looks: metalness 0.9 oak and transmission 1.0 steel both validate, both persist, and both light completely wrong — a wooden crate that reads as chrome, a window that reads as concrete — with nothing anywhere pushing back. A new material-plausibility gate keys a small per-family prior table (metal, wood, plastic, glass, fabric, ceramic, rubber, stone, leather, paper) off tokens in each material's own id and reports the channels whose values that substance doesn't support, in both directions: metal that isn't metallic and glass that doesn't transmit are as much a finding as wood that does. It is advisory by construction and never clamps, because a stylized model is entitled to break every prior in the table — and the matching is deliberately conservative to match: a material keys a prior only when its id names exactly one family, so `mat_primary` and `wood_metal_trim` produce no feedback rather than a wrong one, and a channel the material's `type` never forwards to Three.js is skipped rather than reported as a defect the user can't see. Findings land on the record, show up in a new panel on the model detail page, and an unsteered refinement now asks for values that match the substance alongside the existing coverage, depth, and penetration feedback.
- **Stitched and re-encoded video renders now carry BT.709 color tags, so they stop decoding washed-out.** Every ffmpeg re-encode in video-gen — the chained render's chunk stitch, the frame-exact trim behind its context window, and the 2× upscale export — wrote H.264 with no color metadata at all, leaving each player to guess a color space (and the common guess for HD content differs from the one for SD). The three `-color_primaries/-color_trc/-colorspace` container flags alone do not fix this on ffmpeg 8: the encoder reads its color properties off the *frames* coming down the filter graph, which inherit the decoded input's unspecified values and silently override the flags — verified locally on ffmpeg 8.1.1, where a flags-only output came back `color_primaries=unknown, color_transfer=unknown`. All three sites now emit the container flags *and* a trailing `setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709` on the video chain, which makes all three properties stick. The `setparams` filter only landed in ffmpeg 4.3 and an older build aborts the whole run on an unknown filter, so its availability is probed once per process from `-filters` and the tag is dropped (container flags only) when it isn't there — a probe that could not run is left uncached rather than remembered as "unsupported", so one transient failure can't disable tagging for the life of the server.
+- **The Digital Twin's 19 sections are grouped now, instead of one 19-wide tab strip you had to read end to end.** The strip carried every section in a single flat row with no ordering a user could infer — setup, content, output and archival tasks interleaved, `Import` sitting between `Interview` and `Avatar Bio`, and `Export`, `Legacy` and `Time Capsule` as three adjacent tabs that all mean "get data out" — so every visit started by scanning 19 labels, several of which (`Enrich` vs `Taste` vs `Personality` vs `Personas`) only tell you apart if you already know the feature. They now collapse into five groups named for what you're doing to the twin: **Profile** (who it is), **Sources** (where its material comes from), **Assessment** (whether it's actually you), **Presence** (how it shows up) and **Legacy** (how you get it out). Above `sm` that's a group row over the active group's sections — at most six at a time; on a phone the whole thing becomes one `<select>` with `<optgroup>` headers, which is the measured fix for a 375x812 screen where the strip plus the health header pushed **Analyze Traits**, **Recalculate** and **Check for Contradictions** below the fold. Nothing about addressing changed: the section id is still the route param, so every deep link, ⌘K entry and voice `ui_navigate` target resolves exactly as before, and the group is derived from the section rather than stored. The nav manifest carries the grouping as a keyword tag per section plus a `twin-<group>` alias, so "twin sources" lands somewhere sensible without inventing a group path no route serves.
diff --git a/client/src/components/digital-twin/SectionNav.jsx b/client/src/components/digital-twin/SectionNav.jsx
new file mode 100644
index 0000000000..55ded1bb3d
--- /dev/null
+++ b/client/src/components/digital-twin/SectionNav.jsx
@@ -0,0 +1,72 @@
+// Two-level section nav for /digital-twin (#3795). Nineteen sections in one
+// flat strip gave the user 19 labels to scan with no inferable ordering, so
+// they render as five groups (SECTION_GROUPS) over the sections themselves.
+//
+// The active section is the `:tab` route param — the caller passes it down and
+// `onChange` navigates. The active GROUP is derived from it, never stored, so
+// every existing deep link keeps resolving and there is no second source of
+// truth for "what is open".
+//
+// Mobile is the case the issue measured: below `sm` the whole thing collapses
+// to ONE grouped `<select>` (~40px, no horizontal scanning) instead of a
+// 19-wide scrolling strip, which is what buys the fold back. TabPills'
+// `mobileDropdown` can't serve this — it renders a flat option list, and the
+// grouping is the entire point — so the select is spelled out here with
+// `<optgroup>` headers.
+import TabPills from '../ui/TabPills';
+import { SECTION_GROUPS, groupSections, sectionGroupId } from './constants';
+
+const SELECT_ID = 'digital-twin-section-select';
+
+export default function SectionNav({ activeSection, onChange }) {
+ const activeGroupId = sectionGroupId(activeSection);
+ const activeGroup = SECTION_GROUPS.find((g) => g.id === activeGroupId);
+ const sections = groupSections(activeGroup);
+
+ // Switching group lands on its first section — the group row is navigation,
+ // not a mode toggle, so it must always resolve to a real URL.
+ const handleGroupChange = (groupId) => {
+ const group = SECTION_GROUPS.find((g) => g.id === groupId);
+ if (group && !group.sectionIds.includes(activeSection)) onChange(group.sectionIds[0]);
+ };
+
+ return (
+ <>
+ <div className="sm:hidden shrink-0 border-b border-port-border p-2">
+ <label htmlFor={SELECT_ID} className="sr-only">Digital Twin section</label>
+ <select
+ id={SELECT_ID}
+ value={activeSection}
+ onChange={(e) => onChange(e.target.value)}
+ className="w-full bg-port-card border border-port-border rounded px-3 py-2 text-white text-sm focus:outline-none focus:border-port-accent min-h-[40px]"
+ >
+ {SECTION_GROUPS.map((group) => (
+ <optgroup key={group.id} label={group.label}>
+ {groupSections(group).map((t) => (
+ <option key={t.id} value={t.id}>{t.label}</option>
+ ))}
+ </optgroup>
+ ))}
+ </select>
+ </div>
+
+ <div className="hidden sm:block shrink-0">
+ <TabPills
+ tabs={SECTION_GROUPS}
+ activeTab={activeGroupId}
+ onChange={handleGroupChange}
+ ariaLabel="Digital Twin groups"
+ />
+ <TabPills
+ tabs={sections}
+ activeTab={activeSection}
+ onChange={onChange}
+ variant="pills"
+ size="sm"
+ ariaLabel={`${activeGroup.label} sections`}
+ className="m-2"
+ />
+ </div>
+ </>
+ );
+}
diff --git a/client/src/components/digital-twin/SectionNav.test.jsx b/client/src/components/digital-twin/SectionNav.test.jsx
new file mode 100644
index 0000000000..3ddc75b488
--- /dev/null
+++ b/client/src/components/digital-twin/SectionNav.test.jsx
@@ -0,0 +1,104 @@
+import { describe, it, expect, vi } from 'vitest';
+import { render, screen, fireEvent, within } from '@testing-library/react';
+
+import SectionNav from './SectionNav';
+import { TABS, SECTION_GROUPS, groupSections, sectionGroupId } from './constants';
+
+describe('digital-twin section taxonomy', () => {
+ it('assigns every section to exactly one group', () => {
+ const grouped = SECTION_GROUPS.flatMap((g) => g.sectionIds);
+ expect([...grouped].sort()).toEqual(TABS.map((t) => t.id).sort());
+ expect(new Set(grouped).size).toBe(grouped.length);
+ });
+
+ it('names no section id that has no tab behind it', () => {
+ const ids = new Set(TABS.map((t) => t.id));
+ const orphans = SECTION_GROUPS.flatMap((g) => g.sectionIds).filter((id) => !ids.has(id));
+ expect(orphans).toEqual([]);
+ });
+
+ it('keeps every group materially shorter than the old flat strip', () => {
+ // The point of the grouping: no single row asks the user to scan 19 labels.
+ for (const g of SECTION_GROUPS) expect(g.sectionIds.length).toBeLessThanOrEqual(6);
+ expect(SECTION_GROUPS.length).toBeLessThanOrEqual(6);
+ });
+
+ it('resolves a section to its owning group', () => {
+ expect(sectionGroupId('documents')).toBe('sources');
+ expect(sectionGroupId('time-capsule')).toBe('legacy');
+ expect(sectionGroupId('personality')).toBe('assessment');
+ });
+
+ it('falls back to the first group for an unknown section', () => {
+ expect(sectionGroupId('not-a-section')).toBe(SECTION_GROUPS[0].id);
+ });
+
+ it('expands a group to its tab objects in declared order', () => {
+ const sources = groupSections(SECTION_GROUPS.find((g) => g.id === 'sources'));
+ expect(sources.map((t) => t.id)).toEqual(['documents', 'import', 'accounts', 'interview', 'autobiography', 'enrich']);
+ expect(sources.every((t) => t.label && t.icon)).toBe(true);
+ });
+});
+
+// "Legacy" names both a group and a section inside it, so every tab lookup is
+// scoped to its own row rather than searched across the whole nav.
+const groupTab = (name) => within(screen.getByRole('tablist', { name: 'Digital Twin groups' })).getByRole('tab', { name });
+
+describe('SectionNav', () => {
+ it('derives the active group from the section in the URL, with no local state', () => {
+ const { rerender } = render(<SectionNav activeSection="documents" onChange={() => {}} />);
+ expect(groupTab('Sources').getAttribute('aria-selected')).toBe('true');
+ const sourcesRow = screen.getByRole('tablist', { name: 'Sources sections' });
+ expect(within(sourcesRow).getByRole('tab', { name: /^Documents/ }).getAttribute('aria-selected')).toBe('true');
+
+ // Changing only the prop (i.e. the route param) moves the group with it.
+ rerender(<SectionNav activeSection="time-capsule" onChange={() => {}} />);
+ expect(groupTab('Legacy').getAttribute('aria-selected')).toBe('true');
+ expect(groupTab('Sources').getAttribute('aria-selected')).toBe('false');
+ });
+
+ it('shows only the active group’s sections, not all 19', () => {
+ render(<SectionNav activeSection="voice" onChange={() => {}} />);
+ const sectionRow = screen.getByRole('tablist', { name: 'Presence sections' });
+ expect(within(sectionRow).getAllByRole('tab').map((b) => b.textContent)).toEqual(['Voice', 'Appearance', 'Avatar Bio']);
+ expect(within(sectionRow).queryByRole('tab', { name: 'Documents' })).toBeNull();
+ });
+
+ it('navigates to a group’s first section when the group changes', () => {
+ const onChange = vi.fn();
+ render(<SectionNav activeSection="overview" onChange={onChange} />);
+ fireEvent.click(groupTab('Assessment'));
+ expect(onChange).toHaveBeenCalledWith('test');
+ });
+
+ it('does not re-navigate when the active section already lives in the clicked group', () => {
+ const onChange = vi.fn();
+ render(<SectionNav activeSection="taste" onChange={onChange} />);
+ fireEvent.click(groupTab('Profile'));
+ expect(onChange).not.toHaveBeenCalled();
+ });
+
+ it('reports the picked section id when a section is clicked', () => {
+ const onChange = vi.fn();
+ render(<SectionNav activeSection="documents" onChange={onChange} />);
+ const sourcesRow = screen.getByRole('tablist', { name: 'Sources sections' });
+ fireEvent.click(within(sourcesRow).getByRole('tab', { name: /^Interview/ }));
+ expect(onChange).toHaveBeenCalledWith('interview');
+ });
+
+ it('collapses to one labelled, grouped select on mobile that reaches every section', () => {
+ const onChange = vi.fn();
+ render(<SectionNav activeSection="overview" onChange={onChange} />);
+ const select = screen.getByLabelText('Digital Twin section');
+ expect(select.tagName).toBe('SELECT');
+ expect(select.value).toBe('overview');
+
+ const optgroups = [...select.querySelectorAll('optgroup')];
+ expect(optgroups.map((g) => g.label)).toEqual(SECTION_GROUPS.map((g) => g.label));
+ expect([...select.querySelectorAll('option')].map((o) => o.value).sort())
+ .toEqual(TABS.map((t) => t.id).sort());
+
+ fireEvent.change(select, { target: { value: 'legacy' } });
+ expect(onChange).toHaveBeenCalledWith('legacy');
+ });
+});
diff --git a/client/src/components/digital-twin/constants.js b/client/src/components/digital-twin/constants.js
index 9d3389b2d1..adf77ce5b1 100644
--- a/client/src/components/digital-twin/constants.js
+++ b/client/src/components/digital-twin/constants.js
@@ -33,29 +33,67 @@ import {
UserRound
} from 'lucide-react';
-// Main navigation tabs
+// Main navigation sections, ordered by the group they belong to (see
+// SECTION_GROUPS below). This array stays FLAT and stays the single registry of
+// section ids: `server/lib/navManifest.test.js` scrapes `id:` out of it to prove
+// every section is addressable as `/digital-twin/<id>` from ⌘K and voice, and
+// its extractor stops at the first `];` — so a nested array here would silently
+// truncate the guard. Grouping therefore lives in a separate constant.
export const TABS = [
+ // Profile
{ id: 'overview', label: 'Overview', icon: Heart },
- { id: 'documents', label: 'Documents', icon: FileText },
- { id: 'test', label: 'Test', icon: CheckCircle },
- { id: 'personality', label: 'Personality', icon: Brain },
- { id: 'enrich', label: 'Enrich', icon: Sparkles },
- { id: 'taste', label: 'Taste', icon: Palette },
- { id: 'accounts', label: 'Accounts', icon: Globe },
{ id: 'identity', label: 'Identity', icon: Fingerprint },
{ id: 'personas', label: 'Personas', icon: Drama },
{ id: 'goals', label: 'Goals', icon: Target },
+ { id: 'taste', label: 'Taste', icon: Palette },
+ // Sources
+ { id: 'documents', label: 'Documents', icon: FileText },
+ { id: 'import', label: 'Import', icon: Upload },
+ { id: 'accounts', label: 'Accounts', icon: Globe },
{ id: 'interview', label: 'Interview', icon: MessageSquare },
+ { id: 'autobiography', label: 'Autobiography', icon: PenLine },
+ { id: 'enrich', label: 'Enrich', icon: Sparkles },
+ // Assessment
+ { id: 'test', label: 'Test', icon: CheckCircle },
+ { id: 'personality', label: 'Personality', icon: Brain },
+ // Presence
{ id: 'voice', label: 'Voice', icon: Mic },
{ id: 'appearance', label: 'Appearance', icon: Camera },
- { id: 'autobiography', label: 'Autobiography', icon: PenLine },
- { id: 'import', label: 'Import', icon: Upload },
{ id: 'avatar-bio', label: 'Avatar Bio', icon: UserRound },
+ // Legacy
{ id: 'export', label: 'Export', icon: Download },
{ id: 'legacy', label: 'Legacy', icon: Package },
{ id: 'time-capsule', label: 'Time Capsule', icon: Archive }
];
+// Two-level nav taxonomy (#3795). 19 sections in one flat strip stopped working
+// as navigation, so they collapse into five groups keyed on what the user is
+// doing to the twin — the only axis inferable without already knowing the
+// feature names. The group is always DERIVED from the section id in the URL
+// (`sectionGroupId`), never stored, so `/digital-twin/:tab` deep links, ⌘K, and
+// voice `ui_navigate` keep addressing sections directly.
+export const SECTION_GROUPS = [
+ { id: 'profile', label: 'Profile', icon: Fingerprint, sectionIds: ['overview', 'identity', 'personas', 'goals', 'taste'] },
+ { id: 'sources', label: 'Sources', icon: FileText, sectionIds: ['documents', 'import', 'accounts', 'interview', 'autobiography', 'enrich'] },
+ { id: 'assessment', label: 'Assessment', icon: CheckCircle, sectionIds: ['test', 'personality'] },
+ { id: 'presence', label: 'Presence', icon: Mic, sectionIds: ['voice', 'appearance', 'avatar-bio'] },
+ { id: 'legacy', label: 'Legacy', icon: Archive, sectionIds: ['export', 'legacy', 'time-capsule'] }
+];
+
+const TABS_BY_ID = new Map(TABS.map((t) => [t.id, t]));
+
+// The group's sections as full tab objects, in group order.
+export function groupSections(group) {
+ return group.sectionIds.map((id) => TABS_BY_ID.get(id)).filter(Boolean);
+}
+
+// Which group owns a section id. Falls back to the first group so an unknown or
+// stale `:tab` still renders a coherent nav (the page itself falls back to the
+// Overview body for the same input).
+export function sectionGroupId(sectionId) {
+ return SECTION_GROUPS.find((g) => g.sectionIds.includes(sectionId))?.id ?? SECTION_GROUPS[0].id;
+}
+
// Document category configurations
export const DOCUMENT_CATEGORIES = {
core: {
diff --git a/client/src/pages/DigitalTwin.jsx b/client/src/pages/DigitalTwin.jsx
index 6a64157371..f3ac2522b3 100644
--- a/client/src/pages/DigitalTwin.jsx
+++ b/client/src/pages/DigitalTwin.jsx
@@ -4,11 +4,11 @@ import * as api from '../services/api';
import { Heart } from 'lucide-react';
import BrailleSpinner from '../components/BrailleSpinner';
import PageSkeleton from '../components/ui/PageSkeleton';
-import TabPills from '../components/ui/TabPills';
import { useAutoRefetch } from '../hooks/useAutoRefetch';
import { sameJsonShape } from '../lib/sameJsonShape';
-import { TABS, getHealthColor, getHealthLabel } from '../components/digital-twin/constants';
+import SectionNav from '../components/digital-twin/SectionNav';
+import { TABS, SECTION_GROUPS, getHealthColor, getHealthLabel } from '../components/digital-twin/constants';
// Lazy-load tab bodies so opening any one tab doesn't pull in all 17 — a user
// typically views 1–2 of them. The page itself is already a lazy route chunk.
@@ -35,7 +35,10 @@ const TimeCapsuleTab = lazy(() => import('../components/digital-twin/tabs/TimeCa
export default function DigitalTwin() {
const { tab } = useParams();
const navigate = useNavigate();
- const activeTab = tab || 'overview';
+ // A stale/unknown `:tab` already fell through to the Overview body; resolve it
+ // to `overview` up front so the nav agrees with what's rendered instead of
+ // showing no section selected under the first group.
+ const activeTab = TABS.some((t) => t.id === tab) ? tab : 'overview';
// Let errors throw — `useAutoRefetch` preserves the last-good data on
// transient failures. `silent: true` keeps the 30s poll from spamming
@@ -116,8 +119,7 @@ export default function DigitalTwin() {
bodyClassName="p-4"
titleWidthClass="w-40"
showSubtitle
- subtitleOnMobile
- tabs={TABS.length}
+ tabs={SECTION_GROUPS.length}
cards={3}
sidebar={false}
/>
@@ -128,12 +130,15 @@ export default function DigitalTwin() {
return (
<div className="absolute inset-0 flex flex-col">
{/* Header */}
- <div className="flex flex-col sm:flex-row sm:items-center sm:justify-between p-4 gap-3 border-b border-port-border">
+ {/* The header and nav together used to eat the whole first screen at
+ 375x812 (#3795), so below `sm` the padding tightens and the subtitle
+ drops — it's decoration, and the actions below it are not. */}
+ <div className="flex flex-col sm:flex-row sm:items-center sm:justify-between px-4 py-2 sm:p-4 gap-1 sm:gap-3 border-b border-port-border">
<div className="flex items-center gap-3">
- <Heart className="w-8 h-8 text-pink-500 shrink-0" />
+ <Heart className="w-6 h-6 sm:w-8 sm:h-8 text-pink-500 shrink-0" />
<div>
- <h1 className="text-xl font-bold text-white">Digital Twin</h1>
- <p className="text-sm text-gray-500">Identity scaffold for AI interactions</p>
+ <h1 className="text-lg sm:text-xl font-bold text-white">Digital Twin</h1>
+ <p className="hidden sm:block text-sm text-gray-500">Identity scaffold for AI interactions</p>
</div>
</div>
@@ -158,13 +163,7 @@ export default function DigitalTwin() {
)}
</div>
- <TabPills
- tabs={TABS}
- activeTab={activeTab}
- onChange={handleTabChange}
- hideLabelOnMobile
- ariaLabel="Digital Twin sections"
- />
+ <SectionNav activeSection={activeTab} onChange={handleTabChange} />
{/* Tab content */}
<div className="flex-1 overflow-auto p-4">
diff --git a/server/lib/navManifest.js b/server/lib/navManifest.js
index 5c6ec1adea..f43441fb23 100644
--- a/server/lib/navManifest.js
+++ b/server/lib/navManifest.js
@@ -129,34 +129,41 @@ export const NAV_COMMANDS = [
{ id: 'nav.devtools.video-download', path: '/devtools/video-download', label: 'Video Downloader', section: 'Dev Tools', aliases: ['video-download', 'video-downloader', 'download-video'], keywords: ['youtube', 'x.com', 'twitter', 'yt-dlp', 'download', 'clip'] },
{ id: 'nav.workspace-contexts', path: '/workspace-contexts', label: 'Workspaces', section: 'Dev Tools', aliases: ['workspaces', 'workspace-contexts', 'project-contexts', 'project-switcher'], keywords: ['project', 'context', 'switch project', 'branch', 'shell', 'tasks', 'restore', 'working context'] },
- { id: 'nav.twin.overview', path: '/digital-twin/overview', label: 'Overview', section: 'Identity', aliases: ['digital-twin', 'twin'] },
- { id: 'nav.twin.accounts', path: '/digital-twin/accounts', label: 'Accounts', section: 'Identity', aliases: ['twin-accounts'] },
- { id: 'nav.twin.appearance', path: '/digital-twin/appearance', label: 'Appearance', section: 'Identity', aliases: ['twin-appearance', 'appearance', 'photo'], keywords: ['image', 'photo', 'vision', 'face', 'identity', 'presentation', 'look', 'avatar'] },
+ // Digital Twin's 19 sections render as five groups in-page — Profile,
+ // Sources, Assessment, Presence, Legacy (see
+ // client/src/components/digital-twin/constants.js SECTION_GROUPS, #3795).
+ // Each section keeps its own entry so ⌘K and voice still address it directly;
+ // the grouping shows up here as a `keywords` group tag on every section plus a
+ // `twin-<group>` alias on one member of each group, so "twin sources" lands
+ // somewhere sensible without adding a group-only path that no route serves.
+ { id: 'nav.twin.overview', path: '/digital-twin/overview', label: 'Overview', section: 'Identity', aliases: ['twin-profile', 'digital-twin', 'twin'], keywords: ['profile'] },
+ { id: 'nav.twin.accounts', path: '/digital-twin/accounts', label: 'Accounts', section: 'Identity', aliases: ['twin-accounts'], keywords: ['sources'] },
+ { id: 'nav.twin.appearance', path: '/digital-twin/appearance', label: 'Appearance', section: 'Identity', aliases: ['twin-appearance', 'appearance', 'photo'], keywords: ['presence', 'image', 'photo', 'vision', 'face', 'identity', 'presentation', 'look', 'avatar'] },
{ id: 'nav.ask', path: '/ask', label: 'Ask Yourself', section: 'Identity', aliases: ['ask', 'ask-yourself', 'twin-chat'], keywords: ['chat', 'twin', 'conversation', 'advise', 'draft'] },
- { id: 'nav.twin.autobiography', path: '/digital-twin/autobiography', label: 'Autobiography', section: 'Identity', aliases: ['twin-autobiography', 'autobiography'] },
- { id: 'nav.twin.avatar-bio', path: '/digital-twin/avatar-bio', label: 'Avatar Bio', section: 'Identity', aliases: ['avatar-bio', 'twin-avatar-bio', 'avatar', 'live-avatar'], keywords: ['heygen', 'tavus', 'simli', 'elevenlabs', 'persona', 'bio', 'voice', 'live avatar', 'who i am', 'how i speak', 'what i know'] },
+ { id: 'nav.twin.autobiography', path: '/digital-twin/autobiography', label: 'Autobiography', section: 'Identity', aliases: ['twin-autobiography', 'autobiography'], keywords: ['sources'] },
+ { id: 'nav.twin.avatar-bio', path: '/digital-twin/avatar-bio', label: 'Avatar Bio', section: 'Identity', aliases: ['avatar-bio', 'twin-avatar-bio', 'avatar', 'live-avatar'], keywords: ['presence', 'heygen', 'tavus', 'simli', 'elevenlabs', 'persona', 'bio', 'voice', 'live avatar', 'who i am', 'how i speak', 'what i know'] },
{ id: 'nav.character', path: '/character', label: 'Character', section: 'Identity', aliases: ['character'] },
- { id: 'nav.twin.documents', path: '/digital-twin/documents', label: 'Documents', section: 'Identity', aliases: ['twin-documents'] },
- { id: 'nav.twin.enrich', path: '/digital-twin/enrich', label: 'Enrich', section: 'Identity', aliases: ['twin-enrich'] },
- { id: 'nav.twin.export', path: '/digital-twin/export', label: 'Export', section: 'Identity', aliases: ['twin-export'] },
- { id: 'nav.twin.legacy', path: '/digital-twin/legacy', label: 'Legacy Bundle', section: 'Identity', aliases: ['legacy-export', 'legacy-bundle', 'legacy'], keywords: ['legacy', 'bundle', 'backup', 'portable', 'pdf', 'archive', 'time capsule', 'export'] },
+ { id: 'nav.twin.documents', path: '/digital-twin/documents', label: 'Documents', section: 'Identity', aliases: ['twin-sources', 'twin-documents'], keywords: ['sources'] },
+ { id: 'nav.twin.enrich', path: '/digital-twin/enrich', label: 'Enrich', section: 'Identity', aliases: ['twin-enrich'], keywords: ['sources'] },
+ { id: 'nav.twin.export', path: '/digital-twin/export', label: 'Export', section: 'Identity', aliases: ['twin-export'], keywords: ['legacy'] },
+ { id: 'nav.twin.legacy', path: '/digital-twin/legacy', label: 'Legacy Bundle', section: 'Identity', aliases: ['twin-legacy', 'legacy-export', 'legacy-bundle', 'legacy'], keywords: ['legacy', 'bundle', 'backup', 'portable', 'pdf', 'archive', 'time capsule', 'export'] },
{ id: 'nav.goals', path: '/goals/list', label: 'Goals', section: 'Goals', aliases: ['goals'] },
{ id: 'nav.goals.tree', path: '/goals/tree', label: 'Goals Tree', section: 'Goals', aliases: ['goals-tree', 'goal-tree'], keywords: ['hierarchy', 'decomposition', 'subgoals', 'breakdown'] },
- { id: 'nav.twin.goals', path: '/digital-twin/goals', label: 'Twin Goals', section: 'Identity', aliases: ['twin-goals'] },
- { id: 'nav.twin.identity', path: '/digital-twin/identity', label: 'Identity', section: 'Identity', aliases: ['twin-identity', 'identity'] },
- { id: 'nav.twin.import', path: '/digital-twin/import', label: 'Import', section: 'Identity', aliases: ['twin-import'] },
+ { id: 'nav.twin.goals', path: '/digital-twin/goals', label: 'Twin Goals', section: 'Identity', aliases: ['twin-goals'], keywords: ['profile'] },
+ { id: 'nav.twin.identity', path: '/digital-twin/identity', label: 'Identity', section: 'Identity', aliases: ['twin-identity', 'identity'], keywords: ['profile'] },
+ { id: 'nav.twin.import', path: '/digital-twin/import', label: 'Import', section: 'Identity', aliases: ['twin-import'], keywords: ['sources'] },
{ id: 'nav.insights', path: '/insights/overview', label: 'Insights', section: 'Identity', aliases: ['insights'] },
{ id: 'nav.insights.genome-health', path: '/insights/genome-health', label: 'Genome-Health', section: 'Identity', aliases: ['genome-health', 'insights-genome-health'], keywords: ['genome', 'dna', 'health', 'longevity', 'genetic'] },
{ id: 'nav.insights.taste-identity', path: '/insights/taste-identity', label: 'Taste & Identity', section: 'Identity', aliases: ['taste-identity', 'insights-taste-identity'], keywords: ['taste', 'identity', 'preferences', 'aesthetic'] },
{ id: 'nav.insights.cross-domain', path: '/insights/cross-domain', label: 'Cross-Domain Patterns', section: 'Identity', aliases: ['cross-domain', 'insights-cross-domain', 'cross-domain-patterns'], keywords: ['cross domain', 'patterns', 'correlations', 'connections'] },
{ id: 'nav.insights.goal-scorecard', path: '/insights/goal-scorecard', label: 'Goal Scorecard', section: 'Identity', aliases: ['goal-scorecard', 'insights-goal-scorecard', 'scorecard'], keywords: ['goal', 'scorecard', 'time allocation', 'effectiveness', 'goal alignment', 'time vs goals'] },
- { id: 'nav.twin.interview', path: '/digital-twin/interview', label: 'Interview', section: 'Identity', aliases: ['twin-interview'] },
- { id: 'nav.twin.personality', path: '/digital-twin/personality', label: 'Personality', section: 'Identity', aliases: ['twin-personality', 'personality', 'model-personality'], keywords: ['llm', 'model', 'traits', 'radar', 'alignment', 'self-profile', 'compare', 'sycophancy'] },
- { id: 'nav.twin.personas', path: '/digital-twin/personas', label: 'Personas', section: 'Identity', aliases: ['twin-personas', 'personas', 'persona'], keywords: ['context', 'professional', 'casual', 'voice', 'mode'] },
- { id: 'nav.twin.taste', path: '/digital-twin/taste', label: 'Taste', section: 'Identity', aliases: ['twin-taste'] },
- { id: 'nav.twin.test', path: '/digital-twin/test', label: 'Test', section: 'Identity', aliases: ['twin-test'] },
+ { id: 'nav.twin.interview', path: '/digital-twin/interview', label: 'Interview', section: 'Identity', aliases: ['twin-interview'], keywords: ['sources'] },
+ { id: 'nav.twin.personality', path: '/digital-twin/personality', label: 'Personality', section: 'Identity', aliases: ['twin-personality', 'personality', 'model-personality'], keywords: ['assessment', 'llm', 'model', 'traits', 'radar', 'alignment', 'self-profile', 'compare', 'sycophancy'] },
+ { id: 'nav.twin.personas', path: '/digital-twin/personas', label: 'Personas', section: 'Identity', aliases: ['twin-personas', 'personas', 'persona'], keywords: ['profile', 'context', 'professional', 'casual', 'voice', 'mode'] },
+ { id: 'nav.twin.taste', path: '/digital-twin/taste', label: 'Taste', section: 'Identity', aliases: ['twin-taste'], keywords: ['profile'] },
+ { id: 'nav.twin.test', path: '/digital-twin/test', label: 'Test', section: 'Identity', aliases: ['twin-assessment', 'twin-test'], keywords: ['assessment'] },
{ id: 'nav.twin.time-capsule', path: '/digital-twin/time-capsule', label: 'Time Capsule', section: 'Identity', aliases: ['time-capsule', 'twin-time-capsule', 'capsule'], keywords: ['legacy', 'archive', 'snapshot'] },
- { id: 'nav.twin.voice', path: '/digital-twin/voice', label: 'Voice', section: 'Identity', aliases: ['twin-voice', 'voice-style', 'spoken-written'], keywords: ['speech', 'spoken', 'written', 'transcript', 'style', 'comparison', 'communication'] },
+ { id: 'nav.twin.voice', path: '/digital-twin/voice', label: 'Voice', section: 'Identity', aliases: ['twin-presence', 'twin-voice', 'voice-style', 'spoken-written'], keywords: ['presence', 'speech', 'spoken', 'written', 'transcript', 'style', 'comparison', 'communication'] },
{ id: 'nav.identity.privacy-overview', path: '/privacy/overview', label: 'Privacy', section: 'Identity', aliases: ['privacy', 'privacy-center', 'my-data'], keywords: ['pii', 'privacy', 'personal data', 'identity facts', 'who has my data'] },
{ id: 'nav.identity.privacy-vault', path: '/privacy/vault', label: 'Vault', section: 'Identity', aliases: ['vault', 'pii-vault', 'privacy-vault'], keywords: ['pii', 'vault', 'encrypted', 'ssn', 'address', 'passport', 'identity'] },
{ id: 'nav.identity.privacy-organizations', path: '/privacy/organizations', label: 'Organizations', section: 'Identity', aliases: ['organizations', 'orgs', 'trusted-orgs'], keywords: ['organizations', 'banks', 'utilities', 'who holds my data', 'registry', 'holdings'] },