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

8.0 KB
Raw Blame

Release v2.19.0

Released: 2026-06-09

Added

  • Song piano-roll (Synthesia) view: the Song reader's layered MIDI player now has a Staff ↔ Piano toggle. Piano mode renders every selected layer as colored notes falling onto a piano keyboard and lights up each key as its note crosses the hit line — the aggregate of all checked voices played "on the piano" at once. Each layer gets a stable color shared by the falling notes, the keyboard glow, and a swatch on its layer checkbox; the fall stays sample-aligned to the audio by reading the player's live position. The keyboard geometry and per-note MIDI mapping live in a pure, unit-tested helper (pianoKeyboard.js); the multi-score player gained position()/duration() accessors.
  • CyberCity town redesign (part 2): exploration mode now has a playable character — a theme-tinted articulated cyber-runner (two-segment limbs, emissive visor/core/soles, jet vents) with idle/walk/run animations, turning toward movement, banking into turns, and a hover pose during flyover. Third person is the new default exploration camera: a damped follow boom that shortens when it would clip a building; V (or city settings) swaps to the classic first-person view. Grounded movement now stops at the bay shoreline while the Data Harbor piers stay walkable. All the math lives in a pure, fully unit-tested rig module (cityPlayerRig.js).
  • CyberCity town redesign (part 1): the city is now a coherent game town built from a master plan (cityPlan.js — single source of every district's parcel, with invariant tests). The north edge is a bay: animated water, a shoreline that clips the ground grid, and a new Data Harbor pier district visualizing the install's storage — one disk-stack silo per PostgreSQL table (height = rows, radius = size, orbiting ring on pgvector tables, migration obelisk) and one container rack per data/ domain (lit slats = disk usage), with clickable holographic detail cards and a distinct "DB OFFLINE" state, fed by a new GET /api/city/introspection endpoint. Town fabric: an octagonal ring road with spokes to every district and a grand avenue to the harbor, an elevated transit loop with orbiting trams, instanced street lamps with light pools, plaza holo-trees, and deterministic per-app rooftop fixtures. Everything follows the existing theme-driven day/night system and quality presets.

Changed

  • Shell page: The claude quick-launch button now starts Claude with a blank system prompt (--system-prompt .), skipping the heavyweight default harness prompt for interactive sessions. A new claude (full) button preserves the previous behavior (Claude's default system prompt) for when it's wanted.
  • 2026-06-09 DevSecOps audit sweep — a full-codebase audit landed as a set of focused PRs. Highlights: crash-safe (atomic) writes for a dozen state files (memory index/embeddings, backup scheduler, calendar/message accounts, activity logs); timeouts on local-LLM and provider model-list requests so a stalled endpoint can't hang the server; guards on background timer callbacks that could previously crash the process on a rejected write; the Templates page is now reachable from ⌘K and voice navigation; faster first loads on Goals, Brain, Chief of Staff, and CoS Memory (their 3D views now load on demand instead of riding in the main bundle); the bulky googleapis package replaced by the scoped Calendar/Gmail/auth packages (~190 MB less on disk); screen-reader labels on icon-only buttons and form fields across settings tabs; agent World-tab history now reloads when switching agents; and ~120 new tests covering previously untested services.
  • [issue-1081] Maintenance: Split the pipeline API's single 2,500-line route file into domain-grouped sub-routers (audio, series, arcs, manuscript, covers, issues, editorial) — no behavior change, every endpoint keeps its exact path.
  • Docs: Split the AI Toolkit and Dashboard Widgets sections out of the root CLAUDE.md into directory-scoped server/lib/aiToolkit/CLAUDE.md and client/src/components/dashboard/CLAUDE.md files (load on demand when working in those subtrees), leaving discovery pointers at root. Trims root context with no loss of guidance.
  • [issue-1082] Maintenance: Decomposed the Chief-of-Staff task-evaluation engine's monolithic spawn loop into one named function per priority tier — no behavior change, making each tier independently testable.
  • [issue-1083] Maintenance: Split the 2,600-line task-prompt module into a pure data leaf (the default-prompt catalog) and a thin getter layer, removing a circular import between the prompt and schedule services — no behavior change.
  • [issue-1084] Maintenance: AI provider/run/prompt API errors now report the same structured shape (with an error code and timestamp) as the rest of PortOS, so error-handling UI behaves consistently across every API.
  • [issue-1085] Maintenance: The AI run executors now take a single named-options argument instead of long positional parameter lists, making their call sites less order-fragile — no behavior change.
  • [issue-1086] Maintenance: Extracted the sidebar's apps/series/universes data-fetch loops into dedicated, independently-tested hooks — no behavior change.
  • [issue-1087] Maintenance: Extracted the duplicated install-progress streaming logic shared by the FLUX.2 and video-runtime installer dialogs into one tested hook — no behavior change.
  • [issue-1088] Maintenance: Added behavioral tests for the Backup settings tab covering settings save, the database restore confirmation gate, and backup-status rendering — no behavior change.
  • [issue-1089] Repo detection path scoping: The "import a repo" detector now documents its single-user trust model and, when you set PORTOS_WORKSPACE_ROOTS, confines detection to those directories — pointing it elsewhere returns an invalid-path result instead of reading the directory. Unset (the default), detection stays unrestricted as before.

Fixed

  • [issue-1090] Git tab dialogs are now screen-reader friendly — the diff and release-confirmation pop-ups announce themselves as dialogs, their close buttons are labeled, and pressing Escape (or clicking outside) dismisses them.
  • [issue-1091] Cleared two dependency security advisories — pinned patched versions of two transitive packages to resolve a pair of moderate denial-of-service advisories flagged by npm audit, with no breaking changes. A couple of remaining advisories stay blocked on upstream projects publishing compatible major releases.
  • Tests no longer write to a developer's real Postgres (and federate fixtures to live peers). memoryBackend.getBackend() selected the file backend under NODE_ENV=test only when Postgres was unreachable — so on any dev machine with a healthy local portos DB the suite wrote hundreds of fixture universes/series/works straight into the real database, fanned them out to live Tailscale peers via autoSubscribeRecordToAllPeers, and let test-cleanup tombstones delete the user's real records. Test mode now short-circuits to the file backend before the health probe, so a running dev DB is never touched (an explicit MEMORY_BACKEND=postgres still opts a suite into the PG path). Adds a regression test asserting test mode bypasses a healthy Postgres, plus a one-off recovery script (scripts/recover-synced-test-fixtures.mjs) that restores tombstoned-real records, purges fixtures, and prunes the peer-subscription ledger.
  • Sync/Share peer dropdowns no longer render behind the next card. The "Subscribe to peer" (cloud) and "Share to bucket" popovers on series/universe cards were absolutely positioned inside each card, so they were painted under the following card's stacking context. Both dropdowns now portal to document.body with fixed positioning anchored to their trigger (re-anchored on scroll/resize), and a peer missing its name shows a sensible fallback instead of the literal "undefined".

Full Changelog

Full Diff: https://github.com/atomantic/PortOS/compare/v2.18.0...v2.19.0