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([issue-1798]): log the useSceneRenderLifecycle extraction to changelog

[._.]/ Adam Eivyefdff72264f8
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index c15e5f6080..f262f2df93 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -138,4 +138,5 @@
- **[issue-1627] Editorial checks can now share findings within a single run.** An editorial check may declare `dependsOn: [<checkId>...]`; the runner topologically orders the pass so declared dependencies run first and injects their findings into the dependent's `ctx.priorFindings` (+ `ctx.findingsByCheck(id)`), scoped to declared deps and frozen. This is the architecture for compound signals (a finding that references another check's finding); no check uses it yet, and a pass where nothing declares a dependency keeps the exact prior run order. Checks that declare no dependency stay pure functions of their `sources`. (`server/services/pipeline/editorial/checkRunner.js`, `server/lib/editorial/checkRegistry.js`)
- **[issue-1628] Editorial checks can now declare more than one scope.** A check meaningful at multiple granularities may set `scope: ['series','issue']` instead of being split into two near-duplicate checks; the single-string form keeps working. `normalizeCheckScopes`/`primaryCheckScope` normalize either form, the load-time registry guard validates every member (rejecting empty arrays, unknown members, and duplicates), and `resolveCheckState` exposes both a primary `scope` string (for single-value consumers) and the full `scopes` array — so the catalog grouping and dry-run plan list a dual-scope check under each of its scopes. No built-in check is multi-scope yet; this is the architecture. (`server/lib/editorial/checkRegistry.js`, `server/services/pipeline/editorial/checkRunner.js`, `client/src/lib/editorialChecks.js`)
- **[issue-1544] Dedup the arc-planner's season-tree grouping and episode-match logic.** Extracted `groupIssuesBySeasonTree` (backs both the arc-verify and beat-continuity context builders) and `seasonIdByNumberOf` + `matchIssueForEpisodeEdit` (back both the arc-resolve and beat-continuity episode-correction passes) into `arcPlanner/context.js`. Pure refactor — prompt output and match semantics are unchanged. (`server/services/pipeline/arcPlanner/`)
+- **[issue-1798] Dedup the Music Video board's image/video render socket effects behind one hook.** The reference-frame and i2v scene-clip lanes had two near-verbatim socket-lifecycle `useEffect`s plus duplicated spinner state, pending/orphan refs, and orphan-reconcile callbacks — they differed only in event names, the apply callback, and the failure-toast string. Extracted a `useSceneRenderLifecycle` hook (the client-side analog of #1791's server `createMediaJobImageHook` unification) that owns a lane's `genScenes` spinner state, job-id→scene correlation, orphan-terminal reconcile, and the durable-attach + `*-gen:completed/failed/canceled` subscription (with the running-cancel toast disambiguation preserved); each lane is now one `useSceneRenderLifecycle({...})` call plus a `trackJob(jobId, sceneId)` in its generate handler. Behavior is unchanged; covered by a new `renderHook` test. (`client/src/hooks/useSceneRenderLifecycle.js`, `client/src/pages/MusicVideo.jsx`)
- **Bump bundled slashdo to v3.19.0 — `/do:next --self` restricts issue work to issues you filed.** A new `--self`/`--no-self` security gate (and saved `self` default) filters auto-pick, swarm batches, and explicit `#<num>` claims to issues authored by the running `gh`/`glab` account (`@me`) — an explicit number for someone else's issue is refused, not overridden — so a shared tracker never auto-feeds third-party issues (and the instructions embedded in them) into an agent. Builds on v3.18.0's `--swarm` (parallel multi-issue draining, each in its own worktree, merge-gated on CI) and v3.17.2's dependency-/priority-aware backlog ordering. (`lib/slashdo` submodule)