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.3.0

[._.]/ Adam Eivy7dfe8604c7f4
diff --git a/.changelog/NEXT.md b/.changelog/v2.3.0.md
similarity index 99%
rename from .changelog/NEXT.md
rename to .changelog/v2.3.0.md
index 7b13699e12..222c3be396 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/v2.3.0.md
@@ -1,4 +1,6 @@
-# Unreleased
+# Release v2.3.0
+
+Released: 2026-05-19
## Features
@@ -73,3 +75,7 @@
- **`findBibleEntryByName(list, name)`** added to `server/lib/storyBible.js` for the "match name OR aliases case-insensitively" predicate. Replaces the inlined `.find(...)` in `universeBuilderPromote.js`'s duplicate-collision check. (`foldRetiredCharactersBucket` keeps its O(1) `Set` index over normalized names+aliases — a per-iteration live-array lookup would be O(n*m) when folding a large retired bucket against a large canon.)
- **`updateUniverse(id, mutator)` callback overload** (`server/services/universeBuilder.js`). `updateUniverse` now also accepts an async `mutator(latest) => patch | null` callback that runs INSIDE `queueUniverseWrite` against the freshest persisted record. `autoSortOtherBuckets` and `promoteVariationToCanon` route their read-modify-write through it — closes the narrow race where a concurrent edit landing between the LLM call and the persist could be silently dropped. Promote's variation removal now re-locates by label inside the queue (the pre-LLM `sourceIdx` is stale by write time) and re-checks the duplicate-name 409 against the latest canon, surfacing `UNIVERSE_PROMOTE_CATEGORY_GONE` / `UNIVERSE_PROMOTE_VARIATION_GONE` when the bucket/variation disappears mid-flight. Duplicate-collision detection lives in a single `findCanonCollision(canon, label, targetKind, secondarySlug?)` helper used by both the pre-LLM short-circuit and the in-queue re-check. +6 server tests pinning the overload contract (happy path, null short-circuit, throw propagation, non-object validation, array rejection, queue-ordering against a parallel literal-patch write).
- **Universe Builder — flush dirty draft before LLM-driven mutators.** `handleAutoSort` / `handlePromoteVariation` / `handleGenerateInCategory` previously operated against the server-persisted universe; if the user had unsaved local edits when they clicked, the server's stale copy got merged back into the draft and silently discarded the pending edits. The page now tracks a `savedDraftSnapshotRef` baseline (via a `markDraftSaved` helper, computed by `draftSnapshotForDirty`) and each LLM handler awaits `handleSave()` first when the draft is dirty, aborting on save failure. `useUniverseAction` gained an optional `preflight` callback that runs AFTER the ref/savedId guards so double-clicks short-circuit before flushing. +4 client tests covering the preflight contract (returns-false abort, throw-as-false, returns-true continue, post-ref-guard ordering).
+
+## Full Changelog
+
+**Full Diff**: https://github.com/atomantic/PortOS/compare/v2.2.0...v2.3.0
diff --git a/package-lock.json b/package-lock.json
index 8484824713..5a0c7c353e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "portos",
- "version": "2.2.0",
+ "version": "2.3.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "portos",
- "version": "2.2.0",
+ "version": "2.3.0",
"license": "MIT",
"devDependencies": {
"pm2": "7.0.1"
diff --git a/package.json b/package.json
index 352917d18d..cb3fa632fa 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "portos",
- "version": "2.2.0",
+ "version": "2.3.0",
"private": true,
"description": "Local dev machine App OS portal",
"author": "Adam Eivy (@antic|@atomantic)",