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-3695]): fix a stale test name and a comment naming a nonexistent symbol

[._.]/ Adam Eivy3bdf5ae6a43a
diff --git a/client/src/hooks/useVideoGenForm.js b/client/src/hooks/useVideoGenForm.js
index 36fd97aeb2..09561adef3 100644
--- a/client/src/hooks/useVideoGenForm.js
+++ b/client/src/hooks/useVideoGenForm.js
@@ -68,9 +68,9 @@ export function useVideoGenForm({ models, status, availableLoras, grokEnabled })
// Per-chunk prompt beats (#3695) — one editable string per chained chunk, so
// a longer shot can progress instead of replaying the same prompt at each
// seam. Kept as a plain sparse-by-blank array (index i steers chunk i); a
- // blank entry means "use the main prompt for this chunk". Sized lazily by
- // `chunkPromptAt`/`setChunkPromptAt` rather than eagerly resized on every
- // chunk change, so lowering then raising the count doesn't lose typed text.
+ // blank entry means "use the main prompt for this chunk". Grown on demand by
+ // `setChunkPromptAt` rather than eagerly resized on every chunk change, so
+ // lowering then raising the count doesn't lose typed text.
const [chunkPrompts, setChunkPrompts] = useState([]);
const [steps, setSteps] = useState('');
const [guidanceScale, setGuidanceScale] = useState('');
diff --git a/client/src/hooks/useVideoGenForm.test.jsx b/client/src/hooks/useVideoGenForm.test.jsx
index fce81a55fc..5bcf0a2690 100644
--- a/client/src/hooks/useVideoGenForm.test.jsx
+++ b/client/src/hooks/useVideoGenForm.test.jsx
@@ -199,7 +199,7 @@ describe('useVideoGenForm', () => {
return result;
};
- it('serializes the beats as JSON, padded to the live chunk count', async () => {
+ it('serializes the beats as JSON, keeping a blank beat in position', async () => {
const result = await chained(3);
act(() => result.current.setChunkPromptAt(0, 'she opens the door'));
act(() => result.current.setChunkPromptAt(2, 'the storm breaks'));