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
Release v0.15.15 - Changelog
Released: 2026-02-19
Overview
Plan cleanup and documentation reorganization.
Fixes
CI: Release date placeholder not substituted
- Fixed
2026-02-19never replaced in release notes -- therelease.ymlworkflow substituted version placeholders but not the date placeholder - Added date substitution to both the release body generation and the archived changelog file
- Backfilled 4 releases (v0.11.17, v0.12.48, v0.13.20, v0.14.21) with correct dates
CI: Recurring changelog merge conflicts on every release
- Fixed cherry-pick divergence in
release.yml-- the workflow was archiving the changelog ondevthen cherry-picking tomain, creating parallel commit histories that caused merge conflicts on the next PR - Changed to archive on
mainfirst, then merge main into dev -- this creates a shared commit ancestor, eliminating the divergent histories
Hardening: Safe JSON parsing & output redaction
- Replaced raw
JSON.parsewithreadJSONFileinapps.js,socialAccounts.js,scriptRunner.js-- corrupted data files no longer crash the server - Added null guard on
data?.apps?.[id]inapps.jsto prevent undefined access - Added
.catch()handler on fire-and-forgetcloneRepoInBackground()inbrain.jsto prevent unhandled promise rejections - Added sensitive output redaction in
scriptRunner.js-- env vars containing keys, tokens, passwords, and secrets are now[REDACTED]before persisting toscripts-state.json
Bugs Fixed
- Fixed index out of bounds in
agents.jsWindows process parsing -- checkedparts.length >= 6but accessedparts[6](needs>= 7) - Fixed non-unique React keys in
UpcomingTasksWidget--task.taskTypeisn't unique, now uses compound keys - Fixed missing optional chaining in
agentTools.js--commentsResponse.commentswould throw if null - Fixed falsy value bug in
apps.jsroutes -- used||instead of??for PM2 process fallback - Fixed unsafe
JSON.parseinpm2.jslistProcesses-- now usessafeJSONParsewith fallback - Fixed silent error swallowing in
cos.jsactionable insights --Promise.allcatches now log errors - Fixed missing date validation in
formatters.js--formatTime()now guards against null/invalid timestamps - Fixed hardcoded localhost in
vite.config.jsproxy -- now configurable viaVITE_API_HOSTenv var - Fixed dependency version mismatches -- aligned Express, PM2, and portos-ai-toolkit between root and server
package.json - Removed forbidden
pm2:killnpm script that violated project rules
DRY Refactors
- Extracted
spawnPm2Clihelper inpm2.js-- eliminated 3x duplicated spawn+stderr+close blocks for stop/restart/delete - Extracted
loadAppmiddleware inapps.jsroutes -- eliminated 11 repeatedgetAppById+ null check patterns - Used existing
extractJSONArray/safeJSONParseinpm2.js-- removed duplicated JSON extraction logic - Created
useAutoRefetchhook -- consolidated identical fetch+intervaluseEffectpattern across 4 dashboard widgets - Extracted
pickScheduleSettingsincos.js-- eliminated duplicatedif (X !== undefined)settings pattern - Removed duplicate
.pm2entry from.gitignore
YAGNI Cleanup
- Deleted 3 dead
.old.jsroute files --prompts.old.js,providers.old.js,runs.old.js - Removed unused
addAllowedCommand/removeAllowedCommandfromcommands.js-- never called from any route
Improvements
Plan & Documentation Cleanup
- Extracted M42 spec to
docs/features/identity-system.md-- removed ~600 lines from PLAN.md - Extracted M40 summary to
docs/features/agent-skills.md-- completed milestone moved to feature docs - Moved M40 to Completed -- all 4 phases (skill templates, context compaction, negative routing, deterministic workflows) were done
- Removed external project content (M44) -- belongs in its own repo, not PortOS
- Removed orphaned research docs -- external project docs were for other projects
- Added Scope Boundary rule to CLAUDE.md -- CoS agents must write research/plans/docs for managed apps in those apps' repos, not PortOS
- Updated Next Actions -- focused on M42 Identity System, M7 App Templates, M34 behavioral feedback