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
chore: release v2.24.0
Adam Eivy6daaae9b1fb3
diff --git a/.changelog/NEXT.md b/.changelog/v2.24.0.mdsimilarity index 94%rename from .changelog/NEXT.mdrename to .changelog/v2.24.0.mdindex 0ce8fee6ab..ab27cc6ab4 100644--- a/.changelog/NEXT.md+++ b/.changelog/v2.24.0.md@@ -1,4 +1,21 @@-# Unreleased+# Release v2.24.0++Released: 2026-06-29++## Highlights++- **Music Video production mode — a full director's board (new).** Create a Music Video project from any track and PortOS analyzes its BPM, beat grid, downbeats, and sections **entirely offline** (no new dependency, no model download). Storyboard the video as beat-aligned scenes, generate a reference still for each shot, turn that still into a moving clip (image-to-video), and render the whole thing to one MP4 with your track as a single master audio bed — lightly cut-to-the-beat. Long renders complete durably in the background, and projects (plus their audio and rendered clips) federate across your machines.+- **Creative pipeline — your Catalog now feeds your stories.** Multi-select catalog ingredients and **Remix into** Story Builder or the Creative Director, where they arrive as a pre-cast set the director grounds the story in. The Creative Director can **Auto-cast** a project by searching your whole Catalog from its brief, and an ingredient's image is generated from an editable, canon-grounded prompt. A new **Start a Story** front door routes you into the right tool, and Brain notes can flow into the Catalog as reusable ingredients.+- **Catalog, grown up.** Universe / series / tag filters, real pagination past the old 200-item cap, and a new **Albums** grouped view (with Unsorted and Orphaned buckets) — all reflected in the URL so a filtered catalog is shareable.+- **A new tier of editorial story-craft checks.** Arc regression, series-wide pacing/escalation curve, POV economy, scene interiority balance, object weight-proportionality, hedge/weasel words, and dialogue-on-the-nose sub-classification — plus per-series severity tuning, a clickable health-trend drill-down, per-check maturity badges, and one-click canon links from findings into the universe.+- **Run agent tasks on a local model.** New **Claude Ollama** (CLI + TUI) and **OpenCode Ollama** providers run the full file-editing agent harness on top of your local Ollama models, so an Ollama/LM-Studio-only machine can finally do file-writing CoS tasks. "Test" now finds your CLI provider on Windows.+- **Local model stack & LoRA training.** The Local LLMs page tells you when Ollama is out of date and updates it in one click; LoRA captioning keeps a subject's signature look out of the captions (and blocks training when identity is still leaking); and the M5 Max GPU-watchdog kernel-panic during training is fixed and documented (pinned mlx trio + auto display-sleep).+- **Federation reach.** Music Video projects and media, the live Chief-of-Staff task list and completed-agent history (newest-edit-wins, claim-aware so two machines never double-spawn), and Writers Room folders / writing-sprint exercises all now replicate across full-sync peers.+- **Chief of Staff safety & smarts.** Issue-claiming now defaults to a `--self` boundary (only issues you filed are auto-claimed), model-tier routing prefers the lightest tier that succeeds, reference-repo watches file proposals into the app's real tracker (GitHub/GitLab/JIRA, not just PLAN.md), and a federated peer's claimed task can no longer starve this machine's queue.+- **Install out-of-sync detection.** Pull new code by hand without `./update.sh` and PortOS now warns you distinctly — spelling out exactly what's stale (code, deps, client build, pending migrations) — with a one-click **Reconcile Now**.+- **Performance.** Tabbed pages (Digital Twin, MeatSpace, Brain) lazy-load their tab bodies, `/apps` and `/ambient` left the eager bundle, pipeline series views read only their own issues via a new index, and assorted per-render/per-frame allocations and N+1 I/O were collapsed.+- **Scene-render reliability.** Canceling or early-failing a scene render now clears its spinner cleanly everywhere (Writers' Room, catalog portraits, Music Video board), and a late older render can't overwrite a newer frame.+- **Quality-of-life.** A Daily POST dashboard widget, Pinterest board import into mood boards, a fixed-height app shell that stops phantom body-scroll, Messages promoted to its own **Comms** section, larger mobile tap targets on `/apps`, a day-theme-aware Tribe map, a composable no-size-cap Image Cleaner, and Windows setup fixes (esbuild rebuild, UTF-8 BOM PowerShell scripts).## Setup@@ -151,3 +168,7 @@- **[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`)- **[issue-1803] Dedup the orphan-terminal race-buffer eviction behind a shared `boundedMap` helper.** Three client race-buffers hand-rolled the same "stash an unmatched event in a `jobId → …` Map, evict the oldest when it overflows 64" idiom (`useSceneRenderLifecycle`, `useImageGenQueue`, `clientErrorReporter`). Extracted `evictOldest(map, max, onEvict?)` and the shared `ORPHAN_BUFFER_MAX` cap into `client/src/lib/boundedMap.js` (barrel + README + unit tests), then routed all three call sites through it — the eviction logic and the magic `64` for the two orphan buffers now live in one place. The error-dedup cache keeps its own `MAX_RECENT` (a separate tuning knob) but shares the eviction primitive. Behavior is unchanged. (`client/src/lib/boundedMap.js`, `client/src/hooks/useSceneRenderLifecycle.js`, `client/src/hooks/useImageGenQueue.js`, `client/src/lib/clientErrorReporter.js`)- **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)++## Full Changelog++**Full Diff**: https://github.com/atomantic/PortOS/compare/v2.23.0...v2.24.0diff --git a/package-lock.json b/package-lock.jsonindex 0e07568350..641218d61d 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "portos",- "version": "2.23.0",+ "version": "2.24.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "portos",- "version": "2.23.0",+ "version": "2.24.0","license": "MIT","devDependencies": {"pm2": "7.0.1"diff --git a/package.json b/package.jsonindex 005b04199f..83194c0718 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "portos",- "version": "2.23.0",+ "version": "2.24.0","private": true,"description": "Local dev machine App OS portal","author": "Adam Eivy (@antic|@atomantic)",