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

Adam Eivy1a73af3a573d
diff --git a/.changelog/NEXT.md b/.changelog/v2.26.0.md
similarity index 87%
rename from .changelog/NEXT.md
rename to .changelog/v2.26.0.md
index 91bcbdd7e3..7bd991cb05 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/v2.26.0.md
@@ -1,4 +1,20 @@
-# Unreleased Changes
+# Release v2.26.0
+
+Released: 2026-07-02
+
+## Highlights
+
+- **Sketch & Annotation Canvas (phase 1).** Draw and erase over any generated image, pick per-stroke color and brush size, undo/clear, then save your markup and export a flattened PNG. Works with mouse, pen, and touch down to phone widths, and is reachable from ⌘K and voice ("annotate").
+- **Tribe relationship care got proactive.** Touchpoints now log automatically from synced calendar events and messages (deterministic matching, no AI calls), a new "who needs care" surface appears as both a Proactive Alert and a dashboard widget, and the overdue-contact cadence rules are single-sourced so the page, widget, and alert can never drift.
+- **Two new dashboard widgets + an interactive architecture map.** A Feeds unread digest and a cross-domain health-logging streak join the dashboard, and a new Integration Flows doc visually maps how ~60 PortOS components talk to each other across 10 end-to-end flows.
+- **Catalog ingredient media now accepts uploads and voice memos.** Drag-and-drop or pick image/audio/video files, or record a voice memo that's transcribed and attached — all federated to sync peers as real bytes, with inline players for audio and video.
+- **Switch project workspaces from ⌘K and voice.** A new workspace-switch action snapshots the workspace you leave and reconciles the target project's git branch, shell sessions, and scoped tasks; CoS auto-snapshots a workspace before dispatching an agent to a different repo.
+- **Security: closed two DNS-rebinding TOCTOU gaps.** RSS feed fetches and catalog URL ingest (via Chrome/CDP) now pin the connection to the SSRF-vetted IP and re-verify on every redirect, so a rebinding DNS answer can't steer a fetch to the LAN or cloud-metadata after validation passes.
+- **Deep-linkable selections everywhere.** Authors, music artists/albums/tracks, sharing buckets, prompt stages/variables, and JIRA reports now encode the open record in the URL — shareable, bookmarkable, reload-safe, and reachable from ⌘K/voice/back button.
+- **Clear delete confirmations.** Destructive actions across rounds, universes, series, share buckets, issues/episodes, Writers Room, Ask, and the Universe Builder now show an explicit inline "Delete? / Cancel" prompt instead of a hidden second click, with comfortable 44px touch targets.
+- **Accessibility sweep.** ~260 config-form label/input pairs across ~80 files now flow through a shared `FormField` wrapper so clicking a label focuses its field and screen readers announce the pairing — styling preserved verbatim.
+- **UI polish.** Layout-shaped loading skeletons for the DataDog/Jira/GitHub pages, a full-width Story Builder index, design-token cleanup of the last hardcoded colors, consolidated shared formatters, and fixes for double error toasts across ~50 call sites.
+- **Reliability fixes.** CoS `/do:next --swarm` orchestrators are no longer reaped mid-merge (which left PRs half-cleaned), a POST daily-reminder false-nudge after a timezone change is fixed, and a batch of v2.25.0 release-review robustness follow-ups landed.
## Media
@@ -56,6 +72,7 @@
- **[issue-2073] Docs editorial pass: four shipped feature docs rewritten from plan-tense to current-state.** `docs/features/digital-twin.md`, `openclaw-operator-chat.md`, `post.md`, and `writers-room.md` still read as pre-build plans/specs ("Planned Phases", "Proposed capabilities", phased roadmaps) despite describing shipped features. Each was rewritten as current-state documentation with every claim verified against the code, correcting stale details along the way: digital-twin's import list (Spotify/Letterboxd/iCal, not Last.fm; transcript/image analysis, not live voice/video capture), POST's undocumented sixth Cognitive domain plus Morse training, drill cache, training log, and adaptive difficulty, writers-room's PostgreSQL-primary storage, CD-bridge-instead-of-render-plans design, story bible, and storyboard surfaces, and OpenClaw's shipped endpoint/config/degradation surface (keeping the honest list of proposed-but-unbuilt endpoints). The three digital-twin-adjacent docs (`soul-system.md` / `digital-twin.md` / `identity-system.md`) now cross-link with a note explaining which angle each covers (#2073).
- Addressed the v2.25.0 release-review robustness follow-ups (#2047). Client: the Shell restart button's deferred `startSession()` now aborts if the user switches sessions within its 1s window (generation guard, matching the page's other deferred socket emits); MusicVideo auto-arrange snapshots the board and reverts on a mid-loop PATCH failure instead of leaving the optimistic full arrangement over a server-side partial; the video timeline editor re-derives the selected clip from its stable `clipId` after a refresh so a `CONFLICT` reload no longer collapses the inspector; and MemoryPractice's chunk-/sequence-exhausted fallbacks moved their `setState` + `submitMemoryPractice()` POSTs out of the render body into a terminal-transition effect. Server: `triggerReplenish` now guards its fire-and-forget `replenishType` promise like `requestCacheFill` (a drill-cache disk-write failure no longer surfaces as an unhandled rejection); the `/post/drill` schema accepts `memoryItemId` so it reaches `generateMemoryDrill` instead of being silently stripped; `applyProjectPatch` regresses a music-video project's status to `draft` on track change (the analysis it cleared must be redone); and ~20 dead imports left over from the #1830 peerSync split were removed from `peerSyncReceive.js`.
- Deflaked the `UpdateTab reconcile flow` tests, which intermittently failed CI with "Unable to find role=button and name 'Restarting...'" (#2065). The component mirrors `updating` into `updatingRef` via a passive effect, and the disconnect handler's guard reads that ref synchronously; since `runUpdate()` calls `setUpdating(true)` outside any `act` (after awaiting the pre-update health check), the "Reconciling..." button could commit — satisfying the test's `waitFor` — a scheduler tick before the ref-sync effect ran, leaving the ref stale-false when `disconnect` fired so the confirmation timer never armed. The test now flushes pending effects (`await act(async () => {})`) before firing `disconnect`, syncing the ref to the state production always reaches over real network time. Test-only change; no product behavior touched.
+- Made the tribeCadence contract test timezone-independent: its `daysAgo()` helper built a `YYYY-MM-DD` string via `toISOString()` (UTC) while `daysSinceDate()` parses it in local time, so in the evening of a UTC-behind timezone the date rolled forward a day and the overdue/soon boundary assertions went off-by-one. The helper now builds the string from local calendar fields (it already passed in CI's UTC runner).
- Docs audit and reorganization: reclassified two non-feature docs out of `docs/features/` — the cross-domain insights design spike now lives at `docs/plans/2026-06-03-cross-domain-insights-engine.md` (it specs future work, it isn't feature documentation) and the OpenClaw pre-implementation extension-point audit at `docs/research/2026-03-31-openclaw-operator-chat-audit.md` (it's an explicitly-unmaintained investigation record). `docs/README.md` links updated. Also fixed `docs/PORTS.md` claiming the `PORTS` object is "re-exported at `server/lib/ports.js`" (it's a manually-synced mirror — the ESM server can't `require()` the CommonJS config), replaced a dead `#m7-app-templates` anchor in `docs/features/app-wizard.md` with a real pointer to `GET /api/scaffold/templates`, and refreshed the stale example model IDs in `docs/TROUBLESHOOTING.md`. The audit verified every other doc against the code: all 13 top-level guides are indexed and accurate, every feature doc's modules/routes/nav entries resolve, and plans/decisions/research/superpowers/themes/examples/media have zero orphans or broken links.
- Consolidated five component-local duration/uptime/time-until formatters onto the shared `utils/formatters.js` helpers (`formatDurationMs`, `timeUntil`), per the "do not re-define formatters inside components" convention (#2028). `formatDurationMs` gained a day bucket (`2d 3h`) so long uptimes no longer render as an unbounded hours count; ProcessesTab, CityHud, Shell session ages, the CoS QuickSummary "next job" countdown, and the Loops interval label now all route through the shared helpers, and a `console.log` in `memoryClassifier.js` was collapsed to a single interpolated line.
- Migration 155 heals `data/prompts/stages/cd-treatment.md` installs that #1808's anchor-based migration 148 left stranded (#2042). Installs seeded before the `imageStrength` scene knob (older pre-#1808 template) got the `## Cast & ingredients` list but missed the per-scene `"cast": [{ "ingredientId": … }]` field, so the Creative Director cast-threading regression test stayed red on the runtime template and migration 148 (already applied) never re-ran. The new hash-driven prompt-replace upgrades those copies (and both pristine pre-#1808 shipped versions) to the current shipped reference, leaving hand-customized copies untouched. Also folds `cd-treatment.md` into `buildPromptDriftTables` so setup-data.js's drift warning classifies a stranded copy correctly.
@@ -66,3 +83,7 @@
- Single-sourced the Tribe care-cadence rules so the page, the Care dashboard widget, and the proactive alert can no longer drift (#2060). The Tribe page's `contactStatus` (client) and the server's `personCadenceStatus`/`getCareSummary` (added in #2032) previously carried two hand-mirrored copies of the same "external-excluded / missing-vs-overdue / <=7d soon" state machine. The rules now live in one authoritative pure module, `server/lib/tribeCadence.js` (`cadenceStatus`, `daysSinceDate`), mirrored to `client/src/lib/tribeCadence.js`; `personCadenceStatus` re-exports it and the client `contactStatus` is now a thin presentation wrapper that only attaches label/tone. A cross-boundary contract test imports both copies and fails CI if they ever diverge. Semantics are unchanged — the Tribe page header counts, the widget, and the alert all compute identically to before.
- Refreshed GOALS.md status to reflect shipped Apple Health integration (#2039). The Health & Longevity status-table row said "Apple Health integration planned," but the integration shipped: `server/routes/appleHealth.js` (ingest/metrics/correlation/XML+clinical import) is wired through `apiHealth.js` into the MeatSpace Alcohol/Health/Nicotine tabs. The row now marks it shipped, and the stale "Apple Health Integration" bullet was removed from Secondary Goals. Documentation only; other status rows spot-checked against code (Sketch & Annotation Canvas confirmed genuinely unshipped, left as planned).
- Prevented CoS `/do:next --swarm` orchestrators from being reaped mid-merge as `idle-complete`, which left PRs opened-but-unmerged or merged-but-uncleaned while `state.json` recorded `status: completed` (#2074). The swarm Phase C serialized merge queue merges PRs one at a time, and each subsequent PR must rebase onto the new `main` and re-run required CI — several minutes of *silent* TUI output per PR that routinely blew past the 3-minute idle default, so the runner reaped the still-working orchestrator. The TUI idle detector (`agentTuiSpawning.js`) now latches a merge-queue flag (`createMergeQueueTracker`/`isMergeQueueSignal` in `tuiHandshake.js`) the first time it sees Phase C chrome (`gh pr merge`, `gh pr checks`, `--delete-branch`, "serialized merge queue", "Phase C") and, while latched, extends the idle grace to `MERGE_QUEUE_IDLE_TIMEOUT_MS` (15min) — comfortably covering one CI run's silent gap while still bounding a genuinely-dead orchestrator's reap. Detection is deliberately conservative (a false positive only extends the window; a false negative preserves prior behavior). As a blast-radius safety net, if the *extended* window still elapses the agent is finalized as a needs-manual-finish failure with reason `merge-queue-idle-timeout` (pointing at open/uncleaned PRs) instead of the silent `idle-complete` success that hid the half-done queue.
+
+## Full Changelog
+
+**Full Diff**: https://github.com/atomantic/PortOS/compare/v2.25.0...v2.26.0
diff --git a/package-lock.json b/package-lock.json
index ed47990f93..ecb785eb13 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "portos",
- "version": "2.25.0",
+ "version": "2.26.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "portos",
- "version": "2.25.0",
+ "version": "2.26.0",
"license": "MIT",
"devDependencies": {
"pm2": "7.0.1"
diff --git a/package.json b/package.json
index e7a90aec23..b4098745e6 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "portos",
- "version": "2.25.0",
+ "version": "2.26.0",
"private": true,
"description": "Local dev machine App OS portal",
"author": "Adam Eivy (@antic|@atomantic)",