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 v1.53.0
[._.]/ Adam Eivyc94fc5b676a5
diff --git a/.changelog/NEXT.md b/.changelog/v1.53.0.mdsimilarity index 94%rename from .changelog/NEXT.mdrename to .changelog/v1.53.0.mdindex 0c2adc30bb..7f554d2d10 100644--- a/.changelog/NEXT.md+++ b/.changelog/v1.53.0.md@@ -1,4 +1,9 @@-# Unreleased Changes+# Release v1.53.0++Released: 2026-05-12++**Full Diff**: https://github.com/atomantic/PortOS/compare/v1.52.0...v1.53.0+## Tests@@ -85,3 +90,11 @@- Render Queue UI now lists jobs in execution order (running first, then queue position ascending) instead of mixing a long-running job into the middle of newer queued batches. The route was sorting all jobs by `startedAt || queuedAt` DESC, which slotted an active job below a fresher batch.- CoS agent dedup race in `spawnAgentForTask` — under sustained scheduler tick load, two parallel `task:ready` emissions for the same task id could both pass the dedup-has-check because `spawningTasks.delete(task.id)` ran BEFORE the agent was queued to the runner. A second spawn would slip through the window and produce a duplicate agent. The delete now lives inside a `try { spawnViaRunner|spawnDirectly } finally { spawningTasks.delete }` block so the guard outlives the spawn call. New behavioral race-repro test in `agentLifecycle.test.js` proves the contract.+- **Proactive TTS no longer round-trips through the mic as user input.** `speakProactive` broadcasts via `io.emit('voice:speak', ...)` with no per-socket context, so proactive lines were never written into `state.recentTts` — the echo-suppression buffer the pipeline checks before forwarding a transcript to the LLM. On a laptop with built-in mic + speakers, a proactive briefing playing aloud would round-trip through the mic on the next turn and the bot would reply to its own voice. A new module-scope echo-buffer registry in `server/services/voice/echo.js` solves it: each socket registers its `state.recentTts` array on connect and unregisters on disconnect; `speakProactive` calls `rememberTtsForAllSockets(trimmed)` just before the broadcast, so every connected socket's buffer sees the proactive line and the next turn's echo gate flags it. Surfaced by the pre-release /do:review pass.++- **`civitaiSuggestions.js` uses canonical `RUNNER_FAMILIES`.** Hand-rolled bare-string list `['mflux', 'flux2', 'z-image', 'ernie']` shadowed the new `Object.freeze({...})` constant in `server/lib/runners.js` introduced specifically to lock typo-prone runner ids in one place. Now imports the canonical map and uses `Object.values(RUNNER_FAMILIES)` so a future runner id change ripples through suggestion fetches automatically.++- **`messageEvaluator.js` routes through shared `extractJson` helper.** Email triage was still using a greedy `text.match(/\[[\s\S]*\]/)` extractor that throws raw `SyntaxError` on Codex CLI banner output or trailing-comma model emissions. Now routes through `server/lib/jsonExtract.js` (same path as world-builder expand, media prompt refiner, and stage runner) so banner stripping + trailing-comma repair + `[...]` placeholder elision apply to triage runs too.++- **`deepMerge` skips prototype-pollution keys.** The shared helper in `server/lib/objects.js` (used by voice config, loras Civitai-key, meatspace-post) now rejects `__proto__` / `constructor` / `prototype` as patch keys. Every current call site gates through Zod (which strips unknown keys), but the helper backs three routes and a future direct caller handing it `req.body` or an LLM tool-call payload could otherwise pollute `Object.prototype`. Defense in depth; no behavior change for valid input.+diff --git a/package-lock.json b/package-lock.jsonindex 39498954e5..804a880f72 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "portos",- "version": "1.52.0",+ "version": "1.53.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "portos",- "version": "1.52.0",+ "version": "1.53.0","license": "MIT","devDependencies": {"pm2": "7.0.1"diff --git a/package.json b/package.jsonindex 4228dc998b..bc972a60f9 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "portos",- "version": "1.52.0",+ "version": "1.53.0","private": true,"description": "Local dev machine App OS portal","author": "Adam Eivy (@antic|@atomantic)",