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

[._.]/ Adam Eivy0c654661be4c
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index 5633d1f8b7..cba37a9ee4 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -2,6 +2,7 @@
## Added
+- **[story-builder-arc-refine-feedback] You can now refine a Story Builder plot arc with a note instead of regenerating it from scratch.** Once an arc exists, the plot-arc step shows an AI-feedback box (like the aesthetic, reader-map, and character steps): type what you want changed and it rewrites the logline, summary, protagonist arc, and themes accordingly — keeping your chosen story shape, reader map, and season breakdown intact — and reports what it changed.
- **[pipeline-audio-phase-4c-2-4c-3-4d-2-local-oss] The pipeline audio stage can now generate background music locally, and voice-over lines are mixed into the final episode.** Background Music gains a "Generate (MusicGen)" option that renders a text-prompted track on-device via MusicGen on Apple Silicon — pick a model tier (Small / Medium / Large) and a clip length, and the result lands in your music library attached to the issue, no upload or API key needed (one-time setup: `INSTALL_MUSICGEN=1 bash scripts/setup-image-video.sh`; until then the panel shows an install hint). Each voice-over line also gets a "Start (s)" field that places it on the episode timeline, and when the final cut is stitched those rendered lines are now mixed in at their offsets — with any background music automatically ducked beneath the dialogue so speech stays clear. (Commercial music engines like Suno are intentionally not wired up yet.)
- **[vo-mux-preserve-clip-audio-under-ducked-vo] Episode clips that carry their own audio now keep that soundtrack under voice-over.** When a stitched episode's video has its own sound (e.g. from audio-capable AI video models) and you've placed voice-over lines, that clip audio is now preserved and automatically ducked beneath the dialogue — alongside any background music — instead of being silently replaced by the voice-over mix. Silent clips are unaffected.
- **[importer-screenplay-teleplay-seed] Importing a screenplay now keeps your script verbatim as the episode's teleplay.** A screenplay import seeds each issue's teleplay stage with your original text (ready to render) instead of routing it through prose and regenerating it — matching how comic-script imports already preserve the verbatim comic script. The Review panel names the teleplay stage so it's clear where the text lands.
diff --git a/PLAN.md b/PLAN.md
index 4a67ca2f69..4e8daca3e5 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-arc-refine-feedback] **AI refine-with-feedback for the plot-arc step.** `refineStep` supports `universeAesthetic`, `readerMap`, and `characters`, but `plotArc` only offers full regenerate (`generateArcOverview`) — there's no "refine the arc against this note" path. Add an arc-refine prompt + `refineArc` in `arcPlanner.js` and wire it into `refineStep`'s `plotArc` branch + the `StepPanel` plotArc RefineBox.
- [ ] [story-builder-embed-arccanvas] **Embed `ArcCanvas` / `StoryShapes` inline instead of read-only field blocks.** The plotArc + readerMap steps currently render read-only `FieldBlock`s + a deep-link to the Pipeline for editing. Reuse `client/src/components/pipeline/ArcCanvas.jsx` and the Vonnegut `StoryShapes` sparkline inline (and a beat timeline for the reader map) so editing happens in-builder. Deferred because `ArcCanvas` has a wide prop surface; the deep-link covers editing for v1.
- [ ] [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.