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.7.0
Adam Eivyb00e8e94262f
diff --git a/.changelog/NEXT.md b/.changelog/v2.7.0.mdsimilarity index 99%rename from .changelog/NEXT.mdrename to .changelog/v2.7.0.mdindex fd09f92c16..e5b1d73ba8 100644--- a/.changelog/NEXT.md+++ b/.changelog/v2.7.0.md@@ -1,4 +1,10 @@-# Unreleased Changes+# Release v2.7.0++Released: 2026-05-23++## Full Changelog++**Full Diff**: https://github.com/atomantic/PortOS/compare/v2.6.0...v2.7.0## Added- Peer-sync coverage for **media collections**, closing the gap where per-universe and per-series image/video buckets (the `data/media-collections.json` records that drive the "Universe: X" galleries with 74 / 124 / etc items) never propagated to peers. The file sat outside every sync category, and the per-record push pipeline couldn't help either: collection item adds emit `recordEvents.updated('universe', id)`, but the universe record itself doesn't move, so the `lastPushedHash` short-circuit treated every push as `unchanged` and the receiver's collection diverged permanently. Fix is in three layers — (1) new `mediaCollections` snapshot category in `server/services/dataSync.js` with a `mergeMediaCollectionsFromSync` entrypoint that LWWs scalars and **unions items by `kind:ref`** so neither side ever loses a render to a collection-level updatedAt race; the per-collection write goes through the same `serializeFileWrite` tail every other mediaCollections mutator uses. (2) The universe / series push payload in `server/services/sharing/peerSync.js` now bundles the linked collection (`findCollectionByUniverseId` / `findCollectionBySeriesId`) and the asset manifest includes each item's `ref` so image bytes flow through the existing receiver-side asset-pull worker — `simplePayloadHash` covers `linkedCollection` so the short-circuit can no longer collapse a collection-only edit. Tombstone pushes deliberately skip the collection bundle so a deleted universe doesn't re-create an empty bucket on the peer. (3) `applyIncomingPush` routes the bundled `linkedCollection` through `mergeMediaCollectionsFromSync` so the receiver's JSON converges atomically with the record merge. `DEFAULT_SYNC_CATEGORIES` in `services/instances.js`, the route enum in `routes/dataSync.js`, AND the `syncCategoriesSchema` Zod in `routes/instances.js` all gain `mediaCollections` (Zod's default object parsing strips unknown keys, so PATCH `syncCategories.mediaCollections` would otherwise silently no-op — same regression class the universe + pipeline schema fix patched earlier). The client's `SYNC_CATEGORY_META` adds the row.diff --git a/package-lock.json b/package-lock.jsonindex cadda56501..b42a71a353 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "portos",- "version": "2.6.0",+ "version": "2.7.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "portos",- "version": "2.6.0",+ "version": "2.7.0","license": "MIT","devDependencies": {"pm2": "7.0.1"diff --git a/package.json b/package.jsonindex 5a97fda16a..443dc837a5 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "portos",- "version": "2.6.0",+ "version": "2.7.0","private": true,"description": "Local dev machine App OS portal","author": "Adam Eivy (@antic|@atomantic)",