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-create-rollback]): remove from PLAN.md and log to changelog

[._.]/ Adam Eivy3d7d5f98ecc5
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index 5944d6d5d8..5f520d0848 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -81,6 +81,7 @@
## Fixed
+- **[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).
- **[importer-retry-arcsummary-empty] Clearing an imported story's arc summary before retrying the issue split now sticks.** If you blanked the arc summary in the import Review panel and hit "retry issue split", the importer used to quietly fall back to the logline as the summary; it now respects the cleared field and lets the split proceed without it.
- **[importer-progress-reconnect] The importer's analyze checklist no longer gets stuck on "Starting…" after a brief network blip.** If your connection drops and reconnects while an import is being analyzed (a multi-minute, multi-pass step), the live stage checklist now catches back up to where the analysis actually is — showing which passes finished and which is running — instead of sitting on "Starting…" until the whole analysis returns. Opening the page mid-analysis in another tab shows the live progress too.
diff --git a/PLAN.md b/PLAN.md
index 94e0a4b90d..b0c12f0671 100644
--- a/PLAN.md
+++ b/PLAN.md
@@ -6,7 +6,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-create-rollback] **`createStorySession` seed mode leaves an orphan universe if `createSeries` throws.** `server/services/storyBuilder.js` creates the universe shell, then the series shell, with no rollback — a `createSeries` failure leaves a stray universe (which also fired peer auto-subscribe) with no session pointing at it. Wrap the two creates so a series failure deletes the just-created universe, or create the series first.
- [ ] [story-builder-goto-step-gate-divergence] **Two `setStoryCurrentStep` paths swallow a rejection and navigate anyway.** (a) `goToStep` in `client/src/pages/StoryBuilder.jsx` (~line 769) on a manual step click and (b) the `lock.toggle` `onSuccess` auto-advance (~line 754). If the server re-gate rejects the move while the client's `staleSteps` is stale, the UI lands on the target step but the persisted `currentStep` pointer stays behind. Either toast + revert nav on rejection, or refetch on failure. Both paths share the fix.
- [ ] [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.