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([story-builder-import-partial-commit]): remove from PLAN.md and log to changelog
[._.]/ Adam Eivy31964f06d3f0
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex a238c3fd6f..f06b28721b 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -82,6 +82,7 @@## Fixed+- **[story-builder-import-partial-commit] A failed import in Story Builder can now be retried without duplicating issues.** When importing a finished work, if the universe, arc, and characters saved but creating the issues failed partway, the rolled-back issues used to be re-sent in full on the next click — risking duplicate issues and overwriting the arc you'd just imported. The "Import & start building" button now recognizes that case, flips to "Retry issues & start building", and re-creates only the issues — leaving the already-saved arc, seasons, and canon untouched — matching how the standalone Importer already recovers.- **[story-builder-goto-step-gate-divergence] Story Builder no longer jumps to a step it didn't actually switch to.** If switching steps (clicking the step rail, or the "Lock & continue" auto-advance) failed on the server, the builder used to land on the target step anyway while the saved position stayed behind — so reopening the story dropped you back where you started. Both paths now stay put on a failed switch, show a brief notice, and resync the step rail to your real position.- **[story-builder-create-rollback] Starting a new Story Builder session that fails partway no longer leaves a stray, empty universe behind.** When seeding a fresh session, the universe shell is created just before the series; if the series creation failed, that orphan universe used to linger in your Universes list (and on synced machines) with nothing pointing at it. The half-created universe is now cleaned up automatically when the session can't finish — a universe you picked yourself is never touched.- **[comic-allcaps-continuation-vs-cue] Importing a comic script no longer splits a balloon when a character shouts a one-word line in all caps.** A short all-caps line like "STOP" or "NO" at the end of someone's dialogue used to be mistaken for a new speaker, breaking the balloon in two; it now stays with the original speaker when nothing follows it but the next panel (or the end of the script).diff --git a/PLAN.md b/PLAN.mdindex 9c97359fb5..20a0af43a5 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.-- [ ] [story-builder-import-partial-commit] **Import flow doesn't handle a partial commit.** `ImportPanel.importAndBuild` calls `commitImport` once; if it fails after the universe/arc/canon persist but the issue-create rolls back, it just toasts a generic error. Re-clicking re-sends the full payload — a retry could duplicate issues. The standalone `Importer.jsx` guards this with the `arcAlreadyPersisted` retry (sends `arc:null, seasons:[]`). Either reuse that path or surface a "open in the Importer to recover" link.- [ ] [arccanvas-sync-shared-hook] **Cleanup: extract the ArcCanvas host-wiring into a shared hook.** `client/src/pages/PipelineSeries.jsx` and `client/src/pages/StoryBuilder.jsx` (the `StoryBuilderDetail` wiring added by `story-builder-embed-arccanvas`) both hand-roll the same `lastSavedRef` + `updateSeriesFromServer` + `handleIssuesUpdate` + `flushPending` contract ArcCanvas expects. The two `flushPending` field-sets diverge (PipelineSeries flushes 10 bible fields + cover/style overrides; StoryBuilder only 6 and treats it as a near-no-op), and PipelineSeries also carries `patchSeries`/`handleSave`. Extract `useArcCanvasSync({ series, setSeries, setIssues, flushFields })` → `{ updateSeriesFromServer, handleIssuesUpdate, flushPending }` in `client/src/hooks/` and migrate both callers. Deferred from the embed PR because it's a 2-file refactor (touches PipelineSeries) with its own review surface.- [ ] [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-returns-provider] **`refineStep('readerMap')` drops `providerId`/`model` from the conductor's return.** Every other refine branch surfaces them so the route/UI can show which model ran; the readerMap branch destructures `runId` only. Two-line fix (local-review SC-6, 2026-05-27).