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([story-builder-refine-fallback-changes]): remove from PLAN.md and log to changelog

[._.]/ Adam Eivyd5264a71f1df
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index 17aace0f2a..c6b7acaab1 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -41,6 +41,7 @@
- **[extract-use-universe-load-hook] Internal refactor: the duplicated "load the linked universe" logic in pipeline stages now sits behind one reusable hook.** No user-visible change.
- **[series-llm-override-resolution-helper] Internal refactor: the series provider/model fallback that three pipeline LLM actions each inlined now lives in one shared helper.** No user-visible change.
- **[season-continuity-extract-honors-series-llm] Committing a season's episodes now extracts continuity canon with the series' chosen model.** When you accept a season breakdown, the automatic bible/continuity extraction uses the LLM pinned to that series (and honors a per-run model override) instead of falling back to your global active provider — matching how on-demand canon and scene extraction already behave.
+- **[story-builder-refine-fallback-changes] Refining a reader map no longer reports edits it didn't make.** When a reader-map refinement comes back empty and your existing map is kept unchanged, the builder now reports no changes instead of listing the edits the discarded attempt had described.
- **[conflict-journal-issues] Sync conflicts on individual issues are now captured and restorable, like universes and series.** When two of your machines independently edit the same issue while offline and then sync, the older edit is no longer silently overwritten — it's archived in Sharing → Conflicts where you can review what differs and restore your version (covering the issue's title, status, arc placement, length, and stage content such as prose and comic pages). Previously only universe and series conflicts were journaled; child issues rode last-write-wins silently.
- **[manuscript-editorial-jump-pinned-overlay] Jumping to an editorial comment in the Manuscript editor now keeps that comment on screen.** Clicking "Jump" (or the issue link) on an editorial feedback item still scrolls the manuscript to its anchor, but the comment is now also pinned as a floating, dismissable overlay over the manuscript — so its note, suggestion, and Generate-fix/Accept/Dismiss actions travel with the scroll instead of being lost off-screen (previously the sidebar card stayed put on desktop and was pushed far below the fold on mobile's stacked layout). The overlay reuses the existing comment card, auto-closes when the comment is accepted or dismissed, and dismisses on Escape or its close button.
diff --git a/PLAN.md b/PLAN.md
index 3c5d0b76c8..b0f56d3502 100644
--- a/PLAN.md
+++ b/PLAN.md
@@ -7,7 +7,6 @@ For project goals, see [GOALS.md](./GOALS.md). For completed work, see [.changel
Claimable, well-specified, no decision needed — `/claim`-able. Unordered.
- [ ] [story-builder-extract-image-render-hook] **Cleanup: the image-render lifecycle is duplicated 5×.** `StepCharacters` (StoryBuilder.jsx) + `StyleProbeImage.jsx` each re-implement `getSettings → readPipelineImageSettings → imageCfg` + a single-render jobId lifecycle, and `StepCharacters` near-verbatim copies `UniverseCanonSection`'s styled-render-and-persist routine. Extract a `useImageRenderSettings()` + `useSingleImageRender({ buildPrompt, onComplete })` hook and a shared canon styled-render helper. Also: `ProviderModelPicker` (StoryBuilder.jsx) duplicates the Importer's `LlmPicker` + `SeriesLlmPicker`/`FeatureProviderPicker`/`StagePromptModelPicker` — promote one shared provider/model picker.
-- [ ] [story-builder-refine-fallback-changes] **`refineReaderMap` returns `changes`/`rationale` describing a refine attempt that was discarded in favor of the existing map.** When the LLM payload is empty, the function falls back to `arc.readerMap` but still surfaces the change list the LLM described. Fix: when falling back, clear `changes` and `rationale`. (local-review SC-7, 2026-05-27).
- [ ] [story-builder-hash-shape-vs-derivation-tests] **storyBuilder.test.js asserts `upstreamHash` is a 64-char hex string but never that it equals `hashUpstream(stepId, inputs)`.** A buggy implementation that always stamped `hashUpstream('idea', null)` would also pass. Import `hashUpstream` and assert exact equality so future input-set drift surfaces as a test failure. (local-review SC-8, 2026-05-27).
- [ ] [llm-playground-shared-target-key] **The `${backend}\n${modelId}` compare-target key is hand-inlined ~5×.** It appears in `LocalLlmTab.jsx` (compareTargetKeys, toggleCompareTarget, the delete-prune, the checkbox `checked`) and is re-implemented as `targetKey()` in `LocalLlmPlayground.jsx`. Extract a single `localLlmTargetKey({backend, modelId})` helper both files import, so the URL round-trip can't desync on a delimiter change. Deferred only because a new `client/src/lib` module triggers the barrel + README maintenance rule; fold it in next time either file is touched. (local-review SQ, 2026-05-31).
- [ ] [hidream-qwen-loras-runner-consumers] **Wire HIDREAM/QWEN through `client/src/pages/Loras.jsx`.** `imageGenResolutions.js` was extended on 2026-05-28 (`compatibilityKey` now returns HIDREAM/QWEN as their own keys). Still pending: `client/src/pages/Loras.jsx` `RUNNER_LABELS` / `RUNNER_BG_COLORS` / Top-LoRA section list omit HIDREAM/QWEN so the LoRA picker shows them as unlabeled / no badge color.