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

docs([issue-1851]): log issue #1851 to changelog

[._.]/ Adam Eivy266254050a67
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index 240e7ad56a..c506822a4e 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -34,6 +34,10 @@
- Catalog "Appears in" panel no longer renders dangling chips that deep-link to soft-deleted universe/series/creative-director targets — the detail page filters refs to live targets only (the orphan stays recoverable via the "Orphaned" album). Also fixed a stale resolver bug where soft-deleted Creative Director projects (#1564) wrongly resolved as live, and extended orphan-bucket detection so a deleted CD project's ex-cast surfaces as orphaned rather than unlinked. (#1812)
- **[issue-1836] Avatar GLB stream errors now return the standard error envelope** — when `GET /api/avatar/model.glb` hits a read error mid-stream (e.g. the file is removed after the existence check), the 404/500 JSON response carried a bare `{ error }` instead of the `{ error, code, timestamp }` shape every other PortOS endpoint stamps via `errorMiddleware`. Since the stream `error` event fires outside the request promise chain (where a throw would crash the process), the handler now stamps `code` + `timestamp` directly, so clients see a consistent error shape. (#1836)
+## UX & Theming
+
+- **[issue-1851] Charts, button hovers, and terminal panels now follow the active theme** — several of the most-visible colors were hardcoded and stayed put when you switched themes. The health/meatspace charts (alcohol consumption, metric trend cards) drew their bars, gridlines, axes, reference lines, and tooltips with fixed hex values because chart SVG props can't read CSS variables; a new `useChartColors()` hook resolves the theme's `--port-*` tokens at render and re-resolves on theme switch, so charts now recolor with the rest of the app. The 13 primary call-to-action buttons across Goals, Story Builder, and Jira Reports used a hardcoded blue hover (`hover:bg-blue-600`) that diverged from a non-blue accent theme; they now hover as a shade of the active accent. The Chief-of-Staff terminal panel and the GSD/app document editors that hardcoded near-black backgrounds now use the theme's terminal-background token, and the Writers Room reading-mode ink color is centralized. (A broader sweep of the remaining ~900 off-token color utilities and a semantic purple token are tracked separately in #1909.) (#1851)
+
## Internal
- **[issue-1841] Stopped silently swallowing errors** — replaced `.catch(() => {})` / bare `catch {}` swallows that discarded failures with no log or user signal. The recovery-critical completion writes in `cos-runner/index.js` (output.txt + completion metadata) now log a `console.error` on failure instead of silently dropping a finished task, and `telegramClient.js`'s poll loop logs non-abort errors (JSON/Type errors that were previously retried blind) before retrying. On the client, the silent initial-load `.catch(() => {})` swallows in `ToolsTab.jsx` (rate-limit / submolt / draft refreshes), the `loraTraining/*` pickers (`CharacterLoraChip`, `TrainingPanel`, `LiveSampleGallery`, `CheckpointPicker`, `ImportGalleryDialog`, `UniverseCharacterPicker`), and `meatspace/post/*` (`MemoryBuilder`, `MemoryPractice`, `PostHistory`, `PostDrillConfig`, `PostSessionLauncher`, `ElementsSong`) now `console.warn` the error while keeping their zero-state fallbacks, so a failed load is visible in the console instead of a silent empty state. (#1841)