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
docs([issue-1376]): log text-encoder repair UI to changelog
[._.]/ Adam Eivyc849ee7ac156
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex 1235171289..0c23122ba6 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -16,6 +16,8 @@- **[issue-1324] Catch corrupt model weights and repair them in one click.** A download that finished with the *right file size but wrong bytes* (an interrupted resumable fetch, bit-rot) silently decodes to garbled "mosaic" renders that a clean re-download fixes — a leading non-hardware cause of bad output. PortOS now checks downloaded model weights for integrity: a fast structural scan of each `.safetensors` header (catches truncation without loading any tensors) runs automatically and is surfaced on the image- and video-gen model status, plus an optional deep per-file checksum scan on demand. When the Video Gen model you've selected has damaged weight files, a **Repair model** banner appears that deletes the bad files and re-downloads clean copies with progress — no need to wipe and re-fetch the whole multi-GB model by hand. (#1324)+- **[issue-1376] Repair a corrupt text encoder, too — not just the video model.** The integrity scan already flagged a damaged shared text encoder (the Gemma encoder every video render depends on), but there was no way to fix it from the UI — the one-click Repair only covered the selected model's own weights. Now when the text encoder has damaged files, a **Repair encoder** banner appears on the Video Gen form that deletes the bad files and re-downloads clean copies with progress, exactly like the model repair — so a garbled render caused by a bad encoder is one click to fix instead of a manual cache wipe. (#1376)+- **[issue-1305] Continuity bible — an established-facts ledger for your series.** A new **Series Continuity** view (linked from the series page) builds a ledger of the concrete, *checkable* facts your story has committed to — the kind a later scene could contradict. Facts are **auto-seeded from universe canon** (each character's physical description, each place/object's description; **locked** canon is flagged as ground truth) and then **learned from the drafted prose** via an LLM extraction pass, sorted into seven buckets: physical traits, ages & birthdays, dates & elapsed time, locations & geography, possessions & wardrobe, world rules, and **who-knows-what-when**. Each fact shows its subject, the assertion, a canon/prose badge, and — for prose facts — a verbatim anchor quote and a deep-link to the issue where it was established. Generation streams live progress; the ledger flags itself **stale** when the manuscript or canon changes so you know to rebuild. This ledger is the substrate the upcoming contradiction checks (canon-contradiction, timeline, knowledge-leak, wardrobe/prop/injury) will read rather than re-deriving. New endpoints: `GET /api/pipeline/series/:id/continuity-bible` + `POST …/generate` (with SSE progress + cancel); one new stage prompt (`pipeline-continuity-bible`) shipped + migrated for existing installs. (#1305)- **[issue-1304] Read aloud — proof a manuscript section by ear with synced karaoke highlighting.** Reading prose aloud is one of the most effective proofing techniques: clunky rhythm, tongue-twisters, repeated words, and unnatural sentences are obvious to the ear and invisible to the eye. The Manuscript Editor gets a **Read aloud** button (in the header, next to Impact preview) that opens a read-along panel for the active section. It synthesizes the section's prose with the same local TTS engines that already voice storyboard dialogue (Kokoro/Piper — no new dependency, no network), splitting the text into sentence segments so it can **highlight each sentence as it's spoken** (karaoke-style) and let you click any sentence to jump there. Sync needs no word-level timestamps: the server measures each sentence's WAV duration and the client plays the segments back-to-back, driving the highlight + a progress bar from those durations. A pick-a-narrator-voice control (remembered across sessions) reuses the shared VoicePicker. Each sentence also carries a lightweight **"hard to say" scan** — over-long sentences, hard consonant clusters, alliteration runs, and a word repeated in close proximity get a wavy underline + hover tooltip so likely trouble-spots are visible before and while you listen. Narration is strictly **non-destructive** — it only reads the section's current text and never mutates the manuscript. New endpoint: `POST /api/pipeline/tts/narrate` (text → per-segment audio + duration + readability). (`server/services/pipeline/manuscriptNarration.js`, `server/services/pipeline/audio.js`, `server/routes/pipeline/audio.js`, `client/src/components/pipeline/manuscript/ManuscriptReadAloud.jsx`, `client/src/pages/PipelineManuscriptEditor.jsx`, `client/src/services/apiPipeline.js`) (#1304)