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
docs([health-test-updatesettingswith-mock]): remove from PLAN.md and log to changelog
[._.]/ Adam Eivy989c557872a4
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex d87f42983e..8befbad497 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -73,6 +73,7 @@- **[create-issue-preload-series-for-batch]** Seeding a whole season's episodes into issues now reads the series record once for the batch instead of once per episode (no user-facing change).- **[prune-orphan-subscriptions-for-deleted-records] Deleting a synced record no longer leaves a dead sharing subscription behind.** Once a deleted universe, series, or collection is finally cleaned up, its leftover per-peer sharing subscriptions are swept away with it — so the sync logs stop reporting phantom "pending pushes" for records that no longer exist. Internal housekeeping with no change to what you share.- **[shared-optional-provider-picker]** The Importer and Universe Builder now render the same shared provider/model picker as the rest of the app instead of each hand-rolling their own inline copy. Same controls and behavior; the two selectors pick up the app's standard dropdown styling, so they look consistent with every other provider picker.+- **[health-test-updatesettingswith-mock]** Restored the system-health route test suite after a settings-helper migration left its mock incomplete (test-only fix, no user-facing change).## Fixeddiff --git a/PLAN.md b/PLAN.mdindex 38188ad983..9eb30a1c22 100644--- a/PLAN.md+++ b/PLAN.md@@ -6,7 +6,6 @@ For project goals, see [GOALS.md](./GOALS.md). For completed work, see [.changelClaimable, well-specified, no decision needed — `/claim`-able. Unordered.-- [ ] [health-test-updatesettingswith-mock] **`routes/health.test.js` fails: settings mock is missing `updateSettingsWith`.** The `vi.mock('../services/settings.js', …)` at ~line 30 stubs only `getSettings` + `updateSettings`, but `systemHealth.js` (`PUT /health/thresholds`, ~line 282) was migrated to `updateSettingsWith` — so the route throws `No "updateSettingsWith" export is defined on the mock` and returns 500, failing "clamps and persists valid thresholds". Pre-existing on `main` (surfaced during [importer-progress-reconnect]); unrelated to that change so not fixed there. Fix: add `updateSettingsWith: vi.fn(async (fn) => fn({}))` (or a stub that runs the mutator against a fake current-settings object and returns the result) to the mock so the route's read-modify-write resolves.- [ ] [importer-retry-arcsummary-empty] **Retry's `arcSummary` uses `||` truthiness, dropping an intentionally-cleared summary.** `runRetryIssues` in `Importer.jsx` builds `arcDraft?.summary || arcDraft?.logline || ''`, so clearing the summary in Review falls back to the logline rather than sending none — violates the absent-vs-intentionally-empty rule. Non-fatal. Fix: treat `summary === ''` as an intentional clear (`summary == null ? logline : summary`).- [ ] [comic-allcaps-continuation-vs-cue] **`normalizeBareComicScript` in `server/lib/comicScriptParser.js` (~line 193) can misread a short all-caps continuation line (e.g. a bare `STOP` mid-balloon) as a new speaker cue.** The continuation branch's `!BARE_SPEAKER_LINE.test(t)` guard exists so a genuine second speaker opens a new balloon — but an all-caps shouted continuation with no punctuation matches the same shape. A proper fix needs one-line lookahead (a real cue is followed by its own dialogue line; a trailing shout is followed by a marker/EOF) — which means converting the `for…of` line loop to indexed iteration. Deferred as IMPROVEMENT: flipping the heuristic instead would regress the more-common multi-speaker case.- [ ] [voice-taskcomplete-announce-once-guard] **`onTaskUpdated` in `server/services/voice/proactiveTriggers.js` (~line 193) re-announces if an already-completed voice-dispatched task is updated again.** The spoken "your coding task is done" line keys on `tasks:changed action:'updated'` + terminal status + `voiceDispatch`, with no record of already-announced task ids — so a future caller that runs `updateTask` on an already-completed voice-dispatched task would re-fire the announcement. Fix: track announced task ids in a `Set` in the closure (clear on unwire), OR gate on the previous→terminal status *transition*. Low severity — deferred per YAGNI since the re-update path doesn't exist today.