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

chore: release v2.25.0

[._.]/ Adam Eivy509dcb216543
diff --git a/.changelog/NEXT.md b/.changelog/v2.25.0.md
similarity index 96%
rename from .changelog/NEXT.md
rename to .changelog/v2.25.0.md
index 83dc7ad549..4168a38984 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/v2.25.0.md
@@ -1,3 +1,23 @@
+# Release v2.25.0
+
+Released: 2026-07-01
+
+## Highlights
+
+- **MeatSpace POST — a full cognitive-training overhaul.** Six new deterministic drills (N-Back, Digit Span, Stroop, Schulte Table, Mental Rotation, Reaction Time), spaced-repetition scheduling that resurfaces memory items when they're due, opt-in adaptive difficulty for mental-math, a Morse trainer with a new Head Copy mode that logs to your training streak, an at-a-glance progress strip (current streak, 7-day trend, weakest-domain focus), a responsive analytics History dashboard, all 14 LLM drill types exposed in a domain-grouped config, and an optional daily reminder that follows timezone changes and catches up after a restart.
+- **Music Video production mode grew up.** Import a track's audio straight from a YouTube URL, a beat-quantized timeline arranger that drag-snaps scenes to the beat grid, auto-arrange scenes across song sections by energy, an autonomous shot planner that proposes a scene per song section, and deep-linkable project scene boards.
+- **Creative Director autonomy.** Auto-cast can now optionally write a first-pass treatment + scene plan, queue on-model portrait renders for newly-cast members, and generate a first-pass background-music bed — all grounded in your Catalog, and never clobbering work you already have.
+- **Security hardening.** Closed a DNS-rebinding TOCTOU in the SSRF guard (the vetted IP is now pinned at connect time), fixed three arbitrary-file-read paths in the vision/run endpoints, hardened backup restore/delete path validation, stopped the Settings API returning HuggingFace/Civitai tokens, and resolved active npm-audit CVEs in the protobufjs and ws chains.
+- **App-wide theme consistency.** A large sweep moved charts, button hovers, terminal panels, and AI-feature accents onto the theme's `--port-*` tokens across Digital Twin, Chief of Staff, Brain, Goals, Messages, Agents, MeatSpace, the CyberCity HUD, shared UI primitives, and most pages — plus a new `--port-accent-2` (purple/violet) semantic token. Charts now recolor live when you switch themes.
+- **Config drawers, tabbed.** Edit App, the Chief-of-Staff task config, Media Generation Settings, and the pipeline image-gen drawers are now organized into deep-linkable tabs (shareable via URL, with a mobile `<select>` fallback) instead of one page-length scroll — codified as a project-wide convention.
+- **Self-update & restart reliability.** The in-app update/reconcile no longer strands PortOS stopped (it now survives PM2's tree-kill via a double-fork), the self-restart no longer hangs at "stopping apps" and leaves the server down, and the Windows updater no longer aborts on normal git/npm progress output.
+- **Chief of Staff — swarm claiming.** Scheduled claim-issue tasks can now run in swarm mode: partition up to six mutually-independent open issues, fan out one worktree agent per issue, and serialize only the merges.
+- **Federation reach.** Music-video projects now ship their linked track (audio bytes + record) to a Music-Videos-only peer so remote renders no longer fail for missing audio, with the bundled track tombstone ack-tracked to close a narrow garbage-collection strand window.
+- **Performance & hot-path hygiene.** Removed blocking sync I/O from live SSE/socket paths, added timeouts to external model/metadata fetches so a hung endpoint can't stall callers, stopped global keydown/click listeners thrashing on every render, and wrapped unguarded async child-process handlers so a failed write can't crash the server.
+- **Accessibility & mobile.** Hover-only image/file actions are now reachable on touch devices, calendar and message action buttons meet the 44px minimum touch target, and content no longer clips behind the mobile browser's URL bar (dynamic-viewport `dvh` sizing).
+- **Brain & CoS pagination + Windows CLI providers.** The Brain and CoS-task list endpoints gained opt-in `limit`/`offset` pagination without breaking existing clients, and npm-installed CLI providers (OpenCode, Codex, Claude Code) now resolve and launch correctly on Windows — with process-tree kills so Stop actually stops them.
+- **Docs, deps & internals.** A full documentation audit fixed drift across the README and `docs/`; CI and releases moved to Node 24; the default Claude tier is now `claude-sonnet-5`; and a wave of refactors trimmed roughly 5,000 lines (shared stage-seed migration helpers, dropped the `three-fenestra` and `sax` dependencies, and declared toolkit extension points replacing runtime monkey-patching).
+
## Self-Update
- **The in-app update/reconcile no longer strands PortOS stopped.** `updateExecutor` launched `update.sh` with a plain `spawn(..., { detached: true })`, assuming it would survive the restart phase — but PM2's TreeKill walks PPID, not the process group, so the moment the script's own `pm2-stop` step ran `pm2 delete ecosystem.config.cjs`, the script (still a PPID-child of portos-server) was killed along with the server. Every app was stopped and the only process that would have run the final `pm2 start` was dead — the "update/reconcile shuts everything down but never comes back" failure. On POSIX the script now launches through `spawnDetached()`'s double-fork (the same reparent-to-init machinery LoRA training uses to survive PM2 restarts, #1332), with `STEP:` progress streamed via the control-dir log tailer, so the update runs to completion and restarts PortOS even after the server dies mid-script. Windows keeps its prior plain-spawn behavior (PM2 there is taskkill-based; detached survival is a POSIX-only guarantee). (`server/services/updateExecutor.js`)
@@ -188,3 +208,7 @@
- **[issue-1967] The slide-in `Drawer` primitive gained a tabbed, wider, deep-linkable layout** — the shared right-side config drawer (`client/src/components/Drawer.jsx`) was a single flat scroll in a fixed ~520px panel, so large config surfaces (Edit App, Media Generation Settings, CoS task config) became page-length scrolls. It now takes a `size` prop (`sm`/`md`/`lg`/`xl`, the last two using more of a wide viewport via extra breakpoints; the old `widthClass` stays as a back-compat escape hatch), an optional `tabs` layout that renders a sticky `TabPills` bar under the header (collapsing to a `<select>` on mobile) with a per-tab scroll region that resets on switch, and a `bodyClassName` hook for multi-column tab bodies. A new `useDrawerTab(paramName, defaultTab, tabIds?)` hook backs the active tab with a caller-named URL search param so the open section is shareable/bookmarkable and degrades to the default on a stale link. Fully back-compat — omit `tabs` and it's the original flat drawer (existing EditAppDrawer/SyncDetailDrawer tests unchanged). This is the foundation for the drawer-UX epic (#1966); the per-surface migrations (#1968–#1973) build on it. (Closes #1967)
- **[issue-1972] SyncDetailDrawer now renders through the shared Drawer primitive** — the per-peer sync-status/detail panel (`client/src/components/sync/SyncDetailDrawer.jsx`) hand-rolled the exact drawer shell (its own backdrop, `fixed inset-y-0 right-0` `<aside>`, header/close button, Esc listener, and body scroll-lock) instead of reusing `client/src/components/Drawer.jsx`. It was the only hand-rolled clone left after the #1967 foundation, so it couldn't inherit future width/animation/a11y/mobile changes. It now mounts as `<Drawer open onClose title="Sync Details" size="sm" closeLabel="Close sync details">`, deleting the duplicated markup plus its own Esc/scroll-lock effects and the now-unused `X` import. Adopting the shared `size="sm"` (520px) replaces the old hand-rolled 480px so the drawer family stays consistent. To preserve its two-line header, the `Drawer` primitive gained an optional `subtitle` prop (rendered under the title in the header) — so the record-name stays a header concern instead of being nudged into the scrollable body with a fragile negative margin. Content, action buttons, and behavior are otherwise identical (all existing SyncDetailDrawer/SyncView/Drawer tests pass). (Closes #1972)
- **[media-gen-drawer-width] The "Media Generation Settings" drawer now opens wide and the tab strip lost its stray scrollbar.** The three drawers that host the image/video generation settings (Image Gen, Video Gen, and the Storyboard panel) opened at the narrow default width, so the 7-section tabbed surface was crammed into a ~520px column with the tabs overflowing behind an ugly horizontal scrollbar and a lot of empty space. They now open at the `lg` width (up to 880px) so the tabs fit on one row and the content uses the space, and the shared `TabPills` pills variant now hides its horizontal scrollbar to match the underline variant. (`client/src/pages/ImageGen.jsx`, `client/src/pages/VideoGen.jsx`, `client/src/components/writers-room/StoryboardPanel.jsx`, `client/src/components/ui/TabPills.jsx`)
+
+## Full Changelog
+
+**Full Diff**: https://github.com/atomantic/PortOS/compare/v2.24.0...v2.25.0
diff --git a/package-lock.json b/package-lock.json
index 641218d61d..ed47990f93 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "portos",
- "version": "2.24.0",
+ "version": "2.25.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "portos",
- "version": "2.24.0",
+ "version": "2.25.0",
"license": "MIT",
"devDependencies": {
"pm2": "7.0.1"
diff --git a/package.json b/package.json
index f9288edfbc..e7a90aec23 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "portos",
- "version": "2.24.0",
+ "version": "2.25.0",
"private": true,
"description": "Local dev machine App OS portal",
"author": "Adam Eivy (@antic|@atomantic)",