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

chore: sync Settings branch with main

[._.]/ Adam Eivy19072885557a
diff --cc docs/UX_DESIGN_AUDIT.md
index 58a93840f8,f33402fe82..4bc12fa1a0
--- a/docs/UX_DESIGN_AUDIT.md
+++ b/docs/UX_DESIGN_AUDIT.md
@@@ -8,7 -8,7 +8,7 @@@ Date: 2026-09-21. Scope: a representati
- Performance: live 1,280px-wide browser screenshot/rendered content and checkout component review.
- Runtimes: live browser screenshot, checkout component review, and the synthetic validation record in [the Runtimes pilot](validation/7795-runtimes-workspace.md).
- CoS Tasks: live browser screenshot and checkout page/task component review.
- - Settings General and Backup, Brain Threads and Notes, and the Apps list and detail: source and rendered-test review only; #7858 now has a synthetic validation record, while complete browser geometry and accessibility certification remain out of scope.
-- Settings General and Backup, and Brain Threads and Notes: current source and rendered-test review only; observations about their rendered behavior remain hypotheses to validate. The Apps list/detail slice now also has source and synthetic rendered-test evidence in [#7860](https://github.com/atomantic/PortOS/issues/7860), but its viewport behavior remains unverified.
++- Settings General and Backup, Brain Threads and Notes, and the Apps list and detail: current source and rendered-test review only; #7858 and #7860 have synthetic validation evidence, while complete browser geometry and accessibility certification remain out of scope.
- The live application displayed a client/server build mismatch. Its visual evidence and the current checkout are complementary snapshots; no runtime reconciliation or model actions were performed.
- These are heuristic findings. No user task timings, complete accessibility audit, or production responsive test pass has been performed.
@@@ -95,12 -95,23 +95,23 @@@ This is a bounded source-and-test audi
| Surface and evidence | Page family and three primary tasks | Before → after content map | Navigation, scroll, and state contract | Error boundary and follow-up |
| --- | --- | --- | --- | --- |
-| Settings General — `client/src/pages/Settings.jsx`, `client/src/components/settings/GeneralTab.jsx` | Configuration. Set timezone; set or clear location; choose interface theme. | Three independent cards are already bounded by the Settings shell → group timezone and location as the recurring configuration work, with theme as a secondary preference that does not compete with save feedback. | `/settings/general` stays canonical, with the Settings icon from `NAV_PRESENTATION` and legacy tab redirects. The Settings content region owns the normal scroll. Independent saves, dirty indicators, and the unsaved-changes guard remain visible. | Load failure currently toasts and establishes empty baselines; field validation and save failure must keep the affected group dirty and actionable. Follow-up: [#7858](https://github.com/atomantic/PortOS/issues/7858). |
-| Settings Backup — `client/src/pages/Settings.jsx`, `client/src/components/settings/BackupTab.jsx` | Operations + Configuration. Inspect backup health; configure schedule/destination/excludes; run or restore a backup. | A long form already contains status, schedule, disclosures, snapshots, and restore controls → put health and the next safe action first, with configuration and recovery detail disclosed below. | `/settings/backup` stays canonical with the Download icon. The Settings content region remains the primary scroll owner; the action bar may stay sticky without covering errors. Saved destination/schedule state, Run Now gating, dry-run restore, and destructive-action confirmation remain unchanged. | `loadFailed` already has an explicit unavailable panel; degraded database status, invalid restore input, and failed restore must remain distinct from an empty snapshot list. Follow-up: [#7858](https://github.com/atomantic/PortOS/issues/7858). |
+| Settings General — `client/src/pages/Settings.jsx`, `client/src/components/settings/GeneralTab.jsx` | Configuration. Set timezone; set or clear location; choose interface theme. | Before: three independent cards compete equally for attention → after: timezone and location share a responsive recurring-configuration grid, theme follows as a secondary instant preference, and save errors remain beside their field group. | `/settings/general` stays canonical, with the Settings icon from `NAV_PRESENTATION` and legacy tab redirects. The Settings content region owns the normal scroll. Independent saves, dirty indicators, and the unsaved-changes guard remain visible. | Load failure still establishes an empty baseline and toasts; validation and save failures now also render inline, while the affected group stays dirty. Implemented in #7858; synthetic evidence: [validation/7858-settings-workspace.md](validation/7858-settings-workspace.md). |
+| Settings Backup — `client/src/pages/Settings.jsx`, `client/src/components/settings/BackupTab.jsx` | Operations + Configuration. Inspect backup health; configure schedule/destination/excludes; run or restore a backup. | Before: status, schedule, exclusions, snapshots, and recovery controls form one long sequence → after: health and saved schedule lead, destination/schedule and saved-state actions follow, and exclusions plus snapshot history are named disclosures. | `/settings/backup` stays canonical with the Download icon. The Settings content region remains the primary scroll owner; the action bar stays sticky without covering errors. Saved destination/schedule state, Run Now gating, dry-run restore, and destructive-action confirmation remain unchanged. | `loadFailed` remains an explicit unavailable panel; degraded database status, invalid restore input, and failed restore remain distinct from an empty snapshot list. Implemented in #7858; synthetic evidence: [validation/7858-settings-workspace.md](validation/7858-settings-workspace.md). |
| Brain Threads — `client/src/pages/Brain.jsx`, `client/src/components/brain/tabs/ThreadsTab.jsx` | Collection. Capture an open loop; triage by status/tag/search; edit, link, or complete a selected thread. | The collection and URL-backed drawer are an adopted pattern → retain the full-bleed collection, add an explicit unavailable/retry state, and keep the drawer as the selected record's task surface. | `/brain/threads` remains a direct icon destination using ListTodo and `TabPills mobileCompact`. Threads owns its full-bleed scroll. `status`, `tag`, `q`, `thread`, and `threadTab` remain URL-backed; drafts/save/delete and browser Back remain observable. | List failure currently falls through to the same empty copy as “Nothing tracked yet”; a failed refresh must preserve the distinction and offer retry. Follow-up: [#7859](https://github.com/atomantic/PortOS/issues/7859). |
| Brain Notes — `client/src/pages/Brain.jsx`, `client/src/components/brain/tabs/NotesTab.jsx` | Document or canvas. Switch vault/folder; search and open a note; edit, create, delete, and save. | A local split pane provides vault/list/editor work → retain independent editor and list scrolling while making vault/note selection URL-shareable and keeping the active note visible on narrow screens. | `/brain/notes` remains a direct FileText destination with `TabPills mobileCompact`. The full-bleed shell owns the workspace; list and editor panes keep their own scroll only because this is a genuine list/detail editor. Note drafts, force-save, and request-lifetime behavior remain. | Vault, scan, and read failures currently become empty or stale state; delete failure can also report success after a swallowed request. Follow-up: [#7859](https://github.com/atomantic/PortOS/issues/7859) captures the deep-link and truthful-state repair. |
- | Apps list — `client/src/pages/Apps.jsx`, `client/src/lib/layoutRoutes.js` | Collection. Inspect health; start/stop/restart or launch; open Manage/archive. | Rows currently mix collection identity/actions with repository, configuration, PM2, and board detail → keep identity, health, primary lifecycle actions, and Manage in the collection; route deep diagnostics to the detail workspace. | `/apps` remains the collection route with archive state in `?view=archived`, existing operation banners, and normal Layout scrolling. Keep lifecycle feedback, overflow confirmation, and feature-aware action availability. | `getApps` failure currently renders `No apps registered`, which is indistinguishable from a genuine empty collection. Follow-up: [#7860](https://github.com/atomantic/PortOS/issues/7860) separates unavailable, empty, and loaded states. |
- | App detail — `client/src/pages/AppDetail.jsx`, `client/src/components/apps/AppDetailView.jsx` | Operations + Workbench. Identify status and execute lifecycle/build/launch; inspect task, Git, quality, and configuration tabs. | The route-backed detail workspace already gives deep work a home → preserve its header, contextual lifecycle action, edit drawer, and feature-gated tabs while making unavailable distinct from missing. | `/apps/:id/:tab` and its aliases remain shareable. `TabPills mobileCompact`, unique tab icons, full-width detail scrolling, and `?edit=1`/`appTab` drawer state remain. No provider work starts from navigation. | Any failed detail request currently becomes “App not found”; a transport/server failure needs retry while a confirmed 404 keeps recovery to Apps. Follow-up: [#7860](https://github.com/atomantic/PortOS/issues/7860). |
+ | Apps list — `client/src/pages/Apps.jsx`, `client/src/lib/layoutRoutes.js` | Collection. Inspect health; start/stop/restart or launch; open Manage/archive. | Implemented in [#7860](https://github.com/atomantic/PortOS/issues/7860): rows keep identity, health, primary lifecycle actions, and Manage; repository, configuration, PM2, and board detail stay in the detail workspace. | `/apps` remains the collection route with archive state in `?view=archived`, existing operation banners, and normal Layout scrolling. Lifecycle feedback, overflow confirmation, and feature-aware action availability remain intact. | Collection failures now render an unavailable/retry state; a successful empty array remains `No apps registered`; a failed refresh keeps the last loaded rows visible with a stale warning. |
+ | App detail — `client/src/pages/AppDetail.jsx`, `client/src/components/apps/AppDetailView.jsx` | Operations + Workbench. Identify status and execute lifecycle/build/launch; inspect task, Git, quality, and configuration tabs. | Implemented in [#7860](https://github.com/atomantic/PortOS/issues/7860): the route-backed detail workspace owns deep work while preserving its header, contextual lifecycle action, edit drawer, and feature-gated tabs. | `/apps/:id/:tab` and its aliases remain shareable. `TabPills mobileCompact`, unique tab icons, full-width detail scrolling, and `?edit=1`/`appTab` drawer state remain. No provider work starts from navigation. | Non-404 detail failures now render a retryable unavailable state; a confirmed 404 remains “App not found” with recovery to Apps. |
+
+ ### Apps follow-up verification (#7860)
+
+ The Apps slice is implemented in [#7860](https://github.com/atomantic/PortOS/issues/7860):
+
+ - `/apps` is collection-first: identity/health, primary lifecycle and launch controls, Manage, archive, and removal remain; repository/configuration/PM2/JIRA detail is reached through the detail workspace.
+ - Collection load failures are explicit and retryable, remain distinct from a successful empty collection, and preserve a previously loaded list with a stale warning when a refresh fails.
+ - `/apps/:id/:tab` keeps route, tab, feature, and drawer contracts; non-404 detail failures are retryable unavailable states and 404 is confirmed missing.
+ - Synthetic rendered coverage is in `client/src/pages/Apps.test.jsx` and `client/src/components/apps/AppDetailView.test.jsx`.
+
+ This verifies source and rendered-test contracts only; the 1,920/1,440/1,024/390/320 viewport matrix still requires browser validation and is not claimed here.
### Adopted lessons from the pilots
@@@ -113,19 -124,8 +124,19 @@@
| Issue | Bounded slice | Current status |
| --- | --- | --- |
-| [#7858](https://github.com/atomantic/PortOS/issues/7858) | Settings General and Backup composition, save/error evidence, and responsive validation. | Open; follows this audit. |
+| [#7858](https://github.com/atomantic/PortOS/issues/7858) | Settings General and Backup composition, save/error evidence, and responsive validation. | Implemented; synthetic evidence is recorded in [validation/7858-settings-workspace.md](validation/7858-settings-workspace.md). |
| [#7859](https://github.com/atomantic/PortOS/issues/7859) | Brain Notes deep links plus Threads/Notes unavailable and empty-state truthfulness. | Open; follows this audit. |
- | [#7860](https://github.com/atomantic/PortOS/issues/7860) | Apps collection-first hierarchy plus truthful list/detail unavailable states. | Open; follows this audit. |
+ | [#7860](https://github.com/atomantic/PortOS/issues/7860) | Apps collection-first hierarchy plus truthful list/detail unavailable states. | Implemented; source/rendered tests updated; viewport matrix remains open. |
The [synthetic validation record](validation/7797-settings-brain-apps-audit.md) lists the existing test evidence, remaining viewport checks, and compatibility checklist. These follow-ups are deliberately implementation slices; #7797 is complete when the audit and evidence register are published, not when those later UI changes merge.
+
+## Settings implementation follow-up (#7858)
+
+The implementation keeps the existing Settings shell, section navigator, routes, and feature visibility. It changes content order within the two named tabs:
+
+| Surface | Before | After | Evidence boundary |
+| --- | --- | --- | --- |
+| General | Timezone, location, and theme were three equal stacked cards. | Timezone and location are adjacent at usable container widths and stack below that threshold; theme is a clearly labeled secondary preference. Validation and request failures stay beside the affected save-backed group. | Rendered interaction tests observe the two independent save baselines, dirty guards, failure paths, and the responsive class contract. Exact geometry still needs a browser pass. |
+| Backup | Health, configuration, exclusions, snapshots, and restore lived in one long form with the action bar at the end. | Health and saved schedule lead; destination/schedule editing and the saved-state Save/Run actions come before detail; exclusions and snapshot history are named disclosures. The restore dry-run/confirmation remains inside snapshot history. | Rendered interaction tests observe saved-state Run Now gating, degraded status, restore safety, resolved schedules, and the collapsed/expanded snapshot disclosure. Exact sticky-bar geometry still needs a browser pass. |
+
+The [synthetic validation record](validation/7858-settings-workspace.md) separates observed rendered-test facts from hypotheses that require live browser geometry or a full accessibility audit. It uses only invented settings, paths, backup statuses, and snapshot identifiers.