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

chore: add missing PR #224 changelog entries

[._.]/ Adam Eivy3c02e0275349
diff --git a/.changelog/v1.53.0.md b/.changelog/v1.53.0.md
index 7f554d2d10..e8e85eefca 100644
--- a/.changelog/v1.53.0.md
+++ b/.changelog/v1.53.0.md
@@ -32,6 +32,16 @@ Released: 2026-05-12
- **Writers Room ↔ Pipeline bridge.** A "Promote to pipeline" action on a Writers Room work creates a Pipeline series + first issue in one call, carrying over the active draft prose, all three bibles (characters/settings/objects), and the latest script-analysis scenes as fully-populated storyboards. The two systems record each other's ids so the menu flips to "Open in pipeline" on subsequent visits, and the Pipeline series page surfaces a "Writers Room" badge linking back. Idempotent — re-promoting a linked work returns the existing pair instead of duplicating. Backed by `server/services/writersRoom/promoteToPipeline.js` and `POST /api/writers-room/works/:id/promote-to-pipeline`. Step 6 of the Writers Room ↔ Pipeline DRY unification.
- **Pipeline page** under Create — a series-production workflow that chains a rough idea seed through prose → comic-book script + TV teleplay (parallel) → comic pages + storyboards (image gen) → episode video. Each Series carries a shared bible (logline, premise, characters, optional World Builder ref, style notes) that every issue/episode inherits into its stage prompts so identity stays consistent across the run. The "Auto-run text" button kicks off the LLM chain end-to-end with SSE progress; the visual stages (comic pages, storyboards) hand off to the existing image-gen queue.
- **Pipeline episode video** now wired end-to-end to Creative Director. The Episode Video stage on a Pipeline issue creates a CD project from the storyboards scenes (series style notes auto-prepended, i2v continuation from scene 2 onward, audio disabled, scenes auto-accepted — no LLM evaluator round-trip since the human already vetted storyboards), persists the `cdProjectId` on the stage, polls render progress, and renders the final stitched mp4 inline when complete. A second "Run everything (incl. video)" button on the issue page extends auto-run past the text stages — text chain → episode-video kickoff in one click.
+
+- **Pipeline — live per-panel/scene thumbnails during diffusion.** Comic Pages and Storyboards stages now show the in-progress preview inline as each panel/scene renders, then the final image (or `<video>` with poster for video kind) once complete. A new `useMediaJobProgress` hook subscribes to socket `image-gen:*` / `video-gen:*` events filtered by jobId and hydrates from `GET /api/media-jobs/:id` on mount. Canceled jobs render an obvious terminal state (Ban icon) instead of falling through to a stuck running spinner. Speculative `getMediaJob` lookups for expired job ids return `severity: 'warning'` 404s so the global error toast stays quiet.
+
+- **Pipeline — single-scene storyboard video render.** New "Scene video" button on every storyboard scene enqueues a single t2v clip via `mediaJobQueue` (`POST /api/pipeline/issues/:id/stages/storyboards/scenes/:index/video`). Aspect-ratio dims pull from the shared `ASPECT_PRESETS` table so the picker matches Episode Video. The scene record persists a `sceneVideoJobId`; the inline `MediaJobThumb` ties to the new field and surfaces live progress + final video. `modelId` is validated against `getVideoModels()` before enqueue so unknown ids fail-fast with `PIPELINE_UNKNOWN_VIDEO_MODEL` instead of leaving a doomed entry in the queue.
+
+- **Pipeline — voice stage navigation.** Three new voice tools (`pipeline_next_stage`, `pipeline_prev_stage`, `pipeline_open_stage`) parse the current `/pipeline/issues/:id/:stage` route and push a navigate side effect for stage transitions. New `pipeline` group in `TOOL_GROUPS` + `GROUP_INTENT` regex routes phrasings like "next stage", "back to prose", "open storyboards", "go to teleplay", "comic pages" (and singular variants), "scenes", "episode video". Stage list imported from `issues.js#STAGE_IDS` to avoid drift; aliases table handles spoken variants. Canonical lookup is case-insensitive so "Prose" with capital P resolves.
+
+- **Pipeline — dynamic sidebar.** Layout fetches `GET /api/pipeline/issues/recent?limit=10` on mount + on focus (30s debounce, signature-guard against no-op re-renders) and renders recent issues as one-level grandchildren under Create > Pipeline. The signature fingerprint includes display fields (`number`, `title`, `seriesName`) so a series rename refreshes child labels even though the issue's `updatedAt` doesn't bump. `activePathPrefix` keeps the row highlighted across stage tabs. Backed by a new `listRecentIssues()` service that sorts the full issue set by `updatedAt` desc before slicing — so as the dataset grows past `ISSUES_PER_RESPONSE_MAX` (1000) the sidebar still surfaces the latest items.
+
+- **Pipeline — AI prompt refine for comic panels + storyboard scenes.** "AI: refine" button on every comic panel and storyboard scene routes through `runStagedLLM` (JSON-out) against two new templates (`pipeline-comic-panel-image-prompt.md`, `pipeline-storyboard-image-prompt.md`) registered in `stage-config.json`. The model rewrites just the panel/scene description with surrounding bible + style-notes context loaded by a shared slim `loadRefineContext`. Concurrent refines on different rows are serialized via the single in-flight tracker — disabling all refine buttons during any in-flight one — to prevent issues.json read-modify-write races. Same serialization applies to per-scene video render clicks.
- Codex image gen: hi-res resolution presets (1024×1536, 1536×1024, 1536×1536) — gpt-image-2's native hi-res tier. Picking any ≥1536 size automatically appends a `(high quality)` hint to the codex prompt so the model renders at full fidelity instead of its 1024 default.
- Image Gen batch mode: a `× N` count input next to the Generate button (async modes only — local + codex) queues N renders of the same prompt+resolution in a single submit. The first job streams its progress live; the remaining N-1 land in the server queue and surface as `+N queued`. Each job gets a fresh random seed by default so the batch produces variations, not duplicates.
- Media Lightbox full-screen mode (`F` key or top-right toggle): drops the modal's rounding and padding and lets the image fill the viewport. Swipe left/right (or arrow keys) navigates between gallery items; tap reveals the settings as a slide-in drawer. Layered Escape closes drawer → exits full-screen → closes the lightbox. The Seed row in the settings pane is now copyable for easy reuse in a remix.