๐คฏ LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
Worked example โ Settings area (่ฎพ็ฝฎๅบ) systemic audit
A real run of this skill against the whole settings area (personal /settings/* +
workspace /:slug/settings/*), 2026-07. Unlike the per-page examples, this is a
systemic / IA-level pass: it audits the shared shell and cross-tab consistency rather
than one surface. Use it as the template for a "audit an area as a system" run; per-tab
deep-dives are separate runs (see ยง6).
Layers run: L1 (static / code) โ โ everything below. L2 / L3 โณ not run.
Scope & blind spot: personal 26 + workspace 15 = 41 surfaces. Business-injected tabs
are empty stubs in this OSS repo (return null): workspace general / members / audit-log / plans / billing / credits / usage, personal notification / plans / credits / billing / referral / usage (src/business/client/BusinessSettingPages/*). L1 from this
repo cannot audit them โ they need the cloud build (L2/L3) or the business package.
Findings below cover the shared shell + the ~17 code-readable tabs.
Surface map (load-bearing files)
- Personal shell:
src/routes/(main)/settings/_layout/index.tsx(SideBar + Outlet),_layout/Body/index.tsx(accordion nav),_layout/Header.tsx(breadcrumb),features/SettingsContent.tsx(tab dispatch +SettingContainerwrap), tab cataloghooks/useCategory.tsx. - Workspace shell:
src/features/WorkspaceSetting/Layout.tsx,SideBar/Body.tsx,Container/index.tsx, cataloghooks/useCategory.tsx. - Mobile catalog (3rd copy):
src/routes/(mobile)/me/settings/features/useCategory.tsx. - Tab enums:
SettingsTabs(src/store/global/initialState.ts),WorkspaceSettingsTabs(src/types/workspaceSettings.ts).
1 โ Patterns in use (systemic)
| Pattern (family) | Where | Rating | Note |
|---|---|---|---|
| Global Navigation / Fat Menu | sidebar Accordion, 4 groups (_layout/Body/index.tsx) |
โ | grouped, default-expanded |
| Deep-linking | /settings/:tab, :tab/:sub (messenger/discord) |
โ | URL restores tab |
| Visual Framework | SettingContainer maxWidth=1024, personal + workspace |
โ | consistent chrome |
| Breadcrumbs | _layout/Header.tsx โ single "่ฎพ็ฝฎ" level |
โ ๏ธ | doesn't deepen per tab |
| Search / Jump-to-setting | โ | โ abs. | ~25 tabs, no search (gap โค) |
| Titled Sections / FormGroup | per-tab Form / FormGroup |
โ | |
| Good / Smart Defaults | autosave-on-change is the dominant model | โ | no explicit Save button |
| Failure + Retry | โ | โ abs. | area-wide (gaps โ โก) |
| Loading Skeleton | most tabs skeleton; Creds / Profile use antd Spin |
โ ๏ธ | ยง4.1 (gap โฅ) |
| Empty-state as onboarding | Devices / Creds / Messenger have CTA empties | โ | highlight |
| Entity lifecycle | Devices / APIKey / Creds full CRUD, Devices bulk-select | โ |
Read: navigation / layout / defaults are mature; data-tab empty states are good. Weakness clusters hard in Feedback (failure + autosave feedback) and cross-tab consistency / IA.
2 โ Strengths / good cases (don't regress)
The settings area is strong where it counts โ these are the โ half of the ๅ็ loop and the "don't regress" baseline for each per-tab deep-dive:
- โ
ไบฎ็น โ Grouped accordion nav over consistent chrome. The sidebar
Accordionsplits ~25 tabs into 4 default-expanded groups (_layout/Body/index.tsx) over aSettingContainer maxWidth=1024shell shared by both personal and workspace, so every tab wears the same chrome. Navigation / layout / defaults are the mature core the rest hangs off. - โ ไบฎ็น โ CTA-carrying empty states on the data tabs. Devices / Creds / Messenger render their "nothing here yet" branch as onboarding with a next-step CTA, not a dead end โ the empty state doubles as the entry point to configure the feature.
- โ
ไบฎ็น โ Full entity lifecycle with bulk-select. Devices / APIKey / Creds ship complete
CRUD, and Devices adds bulk-select for mass management (
DeviceManager.tsx), the excellent empty + bulk-select combo the per-tab pass called out. - โ
ไบฎ็น โ Storage import path is well-built. The import flow is a proper state machine
(preview + progress), the one pocket of resilience craft in a tab whose destructive clear-all
is otherwise the audit's biggest stakes (
Advanced.tsx). - โ
ไบฎ็น โ Creds secret-masking + 2-variant empty. Credentials mask secrets and carry a
2-variant empty state (
CredsList.tsx) โ the right handling for sensitive values, and the โ half of a tab whose error-as-empty leg still needs fixing. - โ
ไบฎ็น โ Workspace Body validates the tab enum.
SideBar/Body.tsx:25validates the active tab againstWorkspaceSettingsTabsโ the โ contrast to personal's silent-Appearance fallback for unknown deep-links (SettingsContent.tsx:40, gap โง).
3 โ Experience gaps (ranked)
โ No error/retry anywhere in the settings area โ ux ยง4.2 ๐ด Not one tab has a terminal
failure + retry. Two failure modes: (a) init-flag set only on success โ permanent
skeleton: Storage (storage/index.tsx:18), Memory (memory/features/Memory.tsx:28),
ServiceModel (features/ServiceModel/ModelAssignmentsForm.tsx:64), Profile
(profile/index.tsx composite isLoading); (b) SWR/Query error swallowed โ empty or
infinite spinner: Devices (features/DeviceManager/DeviceManager.tsx:331), Messenger,
Creds, Stats, APIKey. Only recovery is a full app reload. The single biggest, most uniform
issue.
โก Autosave failures are silently swallowed โ ux ยง4.2 / ยง3.5 ๐ด Dominant save model is
Form onValuesChange โ setSettings. Appearance, Advanced, Hotkey (Essential/Conversation)
give no success and no failure feedback โ a toggle that failed to persist looks
identical to one that succeeded (config-loss / trust). Profile / Desktop-hotkey / Proxy do
surface an error but offer no retry.
โข Save feedback is fragmented across tabs โ Certainty (consistency is semantic) ๐ Same
intent ("change a setting") โ different feedback: silent (Appearance/Advanced/hotkey-
essential), inline message.success (Desktop hotkey), notification.success (Profile
password), toast on test not save (Proxy). Form / SettingContainer / FormGroup
provide layout but no save-state affordance, so nothing forces convergence.
โฃ Error indistinguishable from empty โ ux Read ยง1.1 ๐ Stats, Messenger, Creds render
their "no data" branch on a failed fetch (data === undefined), so "load failed"
masquerades as "nothing configured" (Messenger noPlatformsConfigured, Stats empty charts).
โค No settings-wide search โ surface-class benchmark ๐ ~25 personal tabs in 4 groups; mature settings surfaces (VSCode / Slack / GitHub / macOS) ship settings search / jump-to-setting. The shell has only accordion nav + breadcrumb โ no search input. A class- norm gap a code-only read is structurally blind to. (pending L2 to confirm none elsewhere.)
โฅ antd Spin where the design system forbids it โ ux ยง4.1 ๐ก Profile rows
(UsernameRow.tsx:5,95, FullNameRow, AvatarRow) and CredsList.tsx:6,77,97 use antd
Spin instead of NeuralNetworkLoading / skeleton.
โฆ Tab catalog hand-duplicated 3ร and drifted โ Certainty / maintainability ๐ก Defined
independently in hooks/useCategory.tsx (desktop personal),
WorkspaceSetting/hooks/useCategory.tsx, and
(mobile)/me/settings/features/useCategory.tsx. Already diverged: mobile omits Devices,
Notification, Messenger, Hotkey, Proxy, SystemTools โ a phone user cannot reach
Devices / Messenger / Notification settings at all. Three parallel copies guarantee
future drift (same class the desktopRouter.sync.test guards for routes).
โง Unknown /settings/<garbage> silently renders Appearance โ ux Read ยง1.1 / Certainty
๐ก SettingsContent.tsx:40 falls back to componentMap.appearance for any unrecognized
tab; personal active-tab detection (Body/index.tsx:20, pathParts[2], no enum
validation) highlights nothing. A bad deep-link shows Appearance with no nav highlight
instead of a not-found. Workspace Body does validate (SideBar/Body.tsx:25) โ the two
halves are inconsistent.
โจ Security is a dead redirect still carried as a tab โ Growth / cleanliness ๐ก
security/index.tsx is only <Navigate to="/settings">, yet Security remains in the
SettingsTabs enum, componentMap, and SettingsContent's mobile-prop list. Real content
moved into Profile (PasswordRow / SSO / Email). Dead surface to prune.
4 โ Skill feedback
- Validated existing rules (โ examples to cite): ยง4.2 (โ โก, incl. init-flag-success- gated permanent skeleton), ยง4.1 (โฅ), Read ยง1.1 (โฃโง), ยง3.5 (โก).
- Landed as new / strengthened
uxitems from this audit:- Feedback ยง4.4 Autosave feedback & one save convention per surface (gaps โกโข).
- Read ยง1.8 Search / filter a config surface at scale (gap โค).
- Read ยง1.1 strengthened โ error must be checked before the empty branch; a failed
fetch never renders as empty (
data ?? [] โ Emptytrap; 7 settings tabs). - Act ยง3.7 Irreversible / high-blast-radius actions need elevated confirmation (type-to-confirm + report partial failure; Storage clear-all).
- Act ยง3.8 Secrets revealed once, stored hashed, masked thereafter (APIKey class norm).
- Grow ยง5.3 Close the config โ manage loop with a near entry point โ a config surface
for a feature with its own data/management area must link to it in-context, not just
promise it in copy. โ example: Memory settings has no link to
/memory. Also patched the L1 procedure (layer-1-static.mdstep 3) to ask this cross-surface check on every surface โ this gap was under-framed as "dead copy" in the first pass because L1 is structurally blind to an entry point that was never built (nofile:line). - deep-review
reuse-architecturedimension "single-source the nav/tab catalog" (gap โฆ).
- Noted, not yet landed: breadcrumb that doesn't deepen per tab (โง-adjacent) โ promote if a second surface repeats it.
5 โ Pending: L2 visual + L3 dynamic
- L2 โ confirm no settings search is rendered anywhere (gap โค); confirm the antd
Spinrows read visually off from the rest (โฅ); check dark-mode + narrow-width of the accordion sidebar; confirm empty vs error render differences (โฃ). - L3 โ force each store/SWR fetch offline to confirm gaps โ โกโฃ live (permanent skeleton; silent autosave failure; error-as-empty); walk mobile to confirm the missing Devices/Messenger/Notification tabs (โฆ); measure settings-tab-switch INP.
6 โ Phase B: per-tab deep-dive queue (sub-issues under LOBE-11078)
The systemic ๐ด (โ โกโข) are cross-cutting โ file as ONE "settings resilience" issue, not
per tab. Then deep-audit each tab (/ux-audit <tab>), priority by user-path heat:
| Prio | Surface | Why deep-audit |
|---|---|---|
| P0 xcut | settings error/retry + autosave feedback | โ โกโข one systemic fix |
| P1 | Provider (full-bleed, biggest) | not covered this pass; model/key core path |
| P1 | Profile (entry tab) | autosave rows + antd Spin + composite isLoading |
| P2 | Skill (full-bleed marketplace) | multiple antd Spin |
| P2 | ServiceModel | model assignment core + init-flag skeleton |
| P3 | Appearance / Advanced | silent autosave-failure exemplars |
| P3 | Devices / Creds / APIKey / Messenger / Stats / Storage / Memory / Hotkey / Proxy / SystemTools / About | state-handling covered; finish full pattern/i18n/hierarchy pass |
7 โ Per-tab L1 deep-dive findings (2026-07, all 17 code-readable tabs)
Each tab was re-audited full-depth (patterns + all ux modules). Severity-tagged one-liners
with file:line; the recurring systemic roots (ยง4.2 success-only skeleton, ยง4.4 silent
setSettings/mutation with no catch, error-rendered-as-empty, antd Spin) are marked
[sys]. Verdicts about the render are pending L2.
Provider ๐ด๐ด๐ด โ every mutation in aiInfra/slices/{aiProvider,aiModel}/action.ts has no
try/catch: config autosave swallowed + spinner hangs (aiProvider/action.ts:345), toggles
don't roll back on failure (:315, aiModel/action.ts:137); list/model init success-only โ
permanent skeleton (:444, aiModel/action.ts:172) [sys]; model fetch error โ misleading
EmptyModels; create/update/delete modals catch{console.error} no in-modal error. Strong
patterns (Overview+Detail, search, source-gated CRUD). Needs issue.
Skill ๐ด๐ด๐ด โ 4 list SWR returns discarded, no error/loading on the left list
(SkillList.tsx:124) [sys]; empty state has no CTA + goes fully blank on the wrong
view-tab (SkillList.tsx:324-338); install/connect errors โ console.error, no save-state
(AgentSkillItem.tsx:130, ComposioSkillItem.tsx:176); sync error โ "no permissions"
(SkillDetail/index.tsx:240); no search/virtualization (marketplace at scale). Needs issue.
ServiceModel ๐ด๐ด โ success-only init skeleton (ModelAssignmentsForm.tsx:64) [sys];
autosave no-catch + optimistic value persists on failure (:76-94 + settings/action.ts:189)
[sys]; ๐ capability machinery (requiredAbilities) exists but every ModelSelect passes
showAbility={false} โ assign an incapable model, no warning (ยง4.3); no no-models state. Needs issue.
Profile ๐ด๐ด โ antd Spin in UsernameRow.tsx:95, FullNameRow.tsx:43, AvatarRow.tsx:90
(ยง4.1); composite isLoading success-only โ whole tab permanent skeleton if authProviders/
composio fetch fails (profile/index.tsx:56) [sys]; ๐ 5 rows confirm 5 different ways;
optimistic interests can diverge silently (InterestsRow.tsx:31); password/email use transient
toast not persistent state (ยง3.5); ๐ก hardcoded 'Failed to change email' (EmailRow.tsx:52). Needs issue.
Appearance ๐ด โ canonical ยง4.4 exemplar: 3 different save mechanisms
(Common.tsx:179, Appearance/index.tsx:58, ChatAppearance/index.tsx:35), all silent, all
no try/catch/finally โ failed save hangs spinner + loses config [sys]; ๐ success-only
skeleton [sys]; strong Illustrated Choices + live Preview. Needs issue.
About ๐ก โ healthy. Only gap: version/update check has no onError โ a failed check is
silent / looks "up to date" (general.ts:189,214, Version.tsx). Titled sections, external-link
affordances, Button loading (no Spin), clean i18n. Low โ fold into systemic or skip.
Advanced ๐ด โ autosave + lab toggles silent no-catch โ spinner hangs, silent loss
(advanced/index.tsx:265, preference/action.ts:39) [sys]; ๐ success-only skeleton [sys];
๐ก Labs (Fleet/iMessage/Connect-Agent) applied instantly with no "experimental" risk framing
(ยง4.3/ยง3.4). Needs issue.
Proxy ๐ด๐ด โ the one explicit-Save tab, and Save gives neither success nor failure feedback:
proxy.saveSuccess locale key is dead/unused and handleSave has an empty catch{}
(ProxyForm.tsx:156-166); ๐ no draft-loss guard on navigate-away (useBlocker absent, ยง2.1);
๐ error never read from SWR โ no load-error state. Needs issue.
Hotkey ๐ด๐ด โ ยง4.4 twice: 3 save conventions on one page (Desktop toast vs Essential/
Conversation silent, Desktop.tsx:42 vs Essential.tsx:83/Conversation.tsx:83) [sys] +
silent autosave failure; ๐ Desktop group alone lacks client-side conflict detection
(Desktop.tsx:56, others pass hotkeyConflicts); ๐ success-only skeleton [sys]. Needs issue.
SystemTools ๐ด๐ด โ owns BinaryStatus.error from the IPC contract but throws it away: per-tool
detection failure renders identical to "not installed" (ToolDetectorSection.tsx:76-124), and a
whole detectAll rejection โ silent all-"Not detected" (:136) [sys, error-as-empty]; ๐
undetected tools dead-end with no install path (ยง3.1). Read-only otherwise (healthy structure). Needs issue.
Storage ๐ด๐ด โ clear-all data (agents/files/messages/skills) has no try/catch + a plain
one-click danger confirm with no type-to-confirm for an unrecoverable wipe (Advanced.tsx:46-65);
partial-failure โ half-deleted data, modal open, zero feedback; ๐ success-only skeleton [sys];
๐ telemetry toggle silent-fail + snap-back (:156); ๐ก export fire-and-forget. Import path is
well-built (state machine + preview + progress). Needs issue (highest destructive stakes).
Devices ๐ด โ SWR error never read โ a failed load renders the onboarding "connect your
first device" empty, falsely telling the user they own none (DeviceManager.tsx:304โ310โ334)
[sys, error-as-empty]; ๐ bulk-delete = mass device revocation with no "this is your current
session" warning though isCurrent is computed (ยง3.6); ๐ bulk/per-row delete has no error leg
(Promise.all no catch). Excellent empty state + bulk-select. Needs issue.
Stats ๐ด๐ด โ every widget success-only + loading={isLoading || !data} โ any fetch failure =
permanent skeleton (ModelsRank.tsx:50, etc.) [sys]; ยง1.5 number trap: formatTokenNumber
caps at M (packages/utils/src/format.ts:91) โ 5000M/12000M, and formatNumber doesn't
abbreviate at all; ๐ antd Spin in shared StatisticCard (components/StatisticCard/index.tsx:166);
๐ก hardcoded 'ID'/'Chat' table strings. Needs issue.
Creds ๐ด๐ด โ 4 bare antd <Spin/> (CredsList.tsx:77,97, EditKVForm.tsx:127,
OAuthCredForm.tsx:79, ยง4.1); list query error never read โ failure renders as "no credentials"
(CredsList.tsx:47,100) [sys, error-as-empty]; ๐ no create/edit/delete mutation has an
onError leg; ๐ก edit decrypt failure swallowed โ blank overwrite (EditKVForm.tsx:75); ๐ก
hardcoded English placeholders. Good secret-masking + 2-variant empty. Needs issue.
APIKey ๐ด๐ด โ inverts the API-key class norm: query() decrypts + returns full plaintext on
every list fetch (packages/database/src/models/apiKey.ts:93), masked client-side only with an
eye-toggle (ApiKeyDisplay/index.tsx:32); no one-time create reveal โ modal just closes,
mutation result discarded (ApiKey.tsx:49, Content.tsx:36); ๐ no error/retry on failed request;
๐ inline edit/toggle silent-fail; antd default empty. Needs issue (security + UX).
Memory ๐ด โ inherits silent-autosave no-catch (Memory.tsx:63,91 + settings/action.ts:189)
[sys]; ๐ success-only skeleton [sys]; ๐ capability-gated feature with no warning when no
memory model is configured (set on a different tab, ยง4.3); ๐ copy promises "view/edit/clear memory
anytime" but renders no link to /memory (dead promise); ๐ก dead empty tooltips (usePermission
stub). Small clean form otherwise. Needs issue.
Messenger ๐ด โ platform-list error never read โ failure renders "noPlatformsConfigured"
(Messenger/index.tsx:118,135) [sys, error-as-empty]; ๐ detail panes success-only โ permanent
skeleton on error (shared.tsx:386, Slack.tsx:58) [sys]; ๐ OAuth connect is a bare link โ
toast-only outcome, no in-progress/done machine (ยง3.1/ยง3.5, partly mitigated by list refetch); ๐ก
Slack pending state strands vs Discord's CTA. Needs issue.
Cross-tab tally
- error-rendered-as-empty [sys] (highest-frequency): Devices, Messenger, Creds, Stats, Skill, SystemTools, Provider (model list). 7 tabs render a failed fetch as "nothing here".
- success-only init skeleton [sys]: Storage, Memory, ServiceModel, Profile, Appearance, Advanced, Hotkey, Provider, Stats. 9 tabs.
- silent autosave / mutation no-catch [sys]: Appearance, Advanced, Memory, ServiceModel, Hotkey, Provider, Profile, Devices-detail, APIKey, Creds, Storage-telemetry. ~11 surfaces.
- antd
Spin(ยง4.1): Profile (3), Creds (4), Stats (StatisticCard). 3 tabs. - class-norm gaps (code-blind, benchmark-only): APIKey one-time-reveal ๐ด, Stats ยง1.5 rollover ๐ด, settings-wide search โค, Storage type-to-confirm, Memory capability warning, SystemTools install path.
- Healthy: About (1 low gap). SystemTools structurally healthy bar the error-state gap.