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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: document CTC runtime and guard canceled saves (#10611)
[._.]/ Adam Eivy939d585b342a
diff --git a/.env.example b/.env.exampleindex dd554f020d..71cbf629d5 100644--- a/.env.example+++ b/.env.example@@ -322,6 +322,10 @@ PGPASSWORD=portos# (services/musicVideo/vocalSeparation.js; default: ~/.portos/venvs/demucs).# PORTOS_DEMUCS_VENV_DIR=/path/to/venvs/demucs+# Music Video stem lyric alignment installs MMS_FA dependencies on first use+# (default: ~/.portos/venvs/lyric-align; Python 3.10–3.13, up to 3.12 on Intel Macs).+# PORTOS_LYRIC_ALIGN_VENV_DIR=/path/to/venvs/lyric-align+# Signal Desktop install directory read by Signal sync (signalSync.js; default:# ~/Library/Application Support/Signal). SIGNAL_CONFIG_PATH and SIGNAL_DB_PATH are# derived from it, so relocating a Signal install usually only needs this one.diff --git a/server/services/musicVideo/lyricAlign.js b/server/services/musicVideo/lyricAlign.jsindex b52b91f967..b86cf29da6 100644--- a/server/services/musicVideo/lyricAlign.js+++ b/server/services/musicVideo/lyricAlign.js@@ -151,6 +151,7 @@ export async function alignProjectLyrics(projectId, options = {}) {throw new ServerError('The lyric lines changed while they were aligning. Run Align words again.', { status: 409, code: 'LYRIC_ALIGN_TEXT_CHANGED' });}+ checkCancel();onProgress({ stage: 'saving', percent: 100 });const align = (entries) => {if (!forcedWords) return alignDirectorWords(entries, recognized);@@ -175,10 +176,9 @@ export async function alignProjectLyrics(projectId, options = {}) {// re-aligned line leaves the other lines' timings as stale as they were.const patch = { lyricCues: nextCues, ...(cueId ? {} : { lyricAlignSource: source }) };if (source === 'vocal-stem') {- const silentWords = findSilentWords(nextCues, vocalPcm(wav)).length;- patch.lyricAlignSilentWords = silentWords;- const checkedCues = cueId ? nextCues.filter((entry) => entry.id === cueId) : nextCues;- if (findSilentWords(checkedCues, vocalPcm(wav)).length > 0) {+ const silentWords = findSilentWords(nextCues, vocalPcm(wav));+ patch.lyricAlignSilentWords = silentWords.length;+ if (silentWords.some((word) => !cueId || word.cueId === cueId)) {throw new ServerError('Some lyric words aligned to silence. Check that the lyrics match the vocal, then re-align.',{ status: 422, code: 'LYRIC_ALIGN_SILENT_WORDS' });}