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

43.6 KB
Raw Blame

Release v2.15.0

Released: 2026-06-04

Added

  • [issue-708] Per-context voice calibration for Digital Twin personas — a persona can now dial how your twin actually sounds in its context, not just what it's told to do. A new "Voice calibration" section on each persona lets you nudge formality and verbosity up or down, override emoji usage and tone, and lean its personality (warmer, more reserved, more spontaneous, and so on) — with a live preview of the resulting voice. Your CoS agents adopt that calibrated voice when acting as the active persona, blended on top of your base personality; personas with no calibration set keep behaving exactly as before.
  • [issue-730] Turn cross-machine resume on per session, right in the Story Builder — each Story Builder session now has a "Cross-machine resume" toggle in its header, so you can opt a single session into syncing across your machines without leaving the wizard. Once it's on, a Reconcile button appears that adopts this machine's current universe/series records as the session's new staleness baseline — and it lights up only when those records have actually drifted from what the session last synced, so you know when reconciling will change something. Sessions stay private to one machine by default.
  • [issue-730] Story Builder sessions can sync across your machines — a Story Builder session you mark for cross-machine resume now travels to your sync peers, so you can pick up the same wizard (its step locks, progress, and provider choice) on another machine. Sessions stay private to one machine by default; only the ones you explicitly opt in are shared, via a new "Story Builder" sync category you enable per peer on the Instances page. Local-only sessions are never pushed.
  • Local LLM Playground: live streaming, HTML preview, and mobile layout — chat runs now stream the model's output token-by-token as it generates instead of waiting for the whole reply, so you see progress immediately. Code blocks render in their own panels, and any HTML/SVG block gets a Code / Preview toggle that runs the markup in a sandboxed iframe right inline — handy for "generate a web page" prompts you want to actually see. The page is now phone-friendly too: the model list collapses behind a tap on small screens so the prompt and controls stay above the fold.
  • [issue-735] AudioLDM2 long-form music backend — the pipeline audio stage can now generate background music with a second local engine, AudioLDM2, alongside MusicGen. Pick the engine in the Generate panel: MusicGen for short clips (up to 30s) or AudioLDM2 for longer pieces (up to two minutes), each with its own model choices. Both run entirely on your machine with no API key; install AudioLDM2's runtime with INSTALL_AUDIOLDM2=1 bash scripts/setup-image-video.sh and the panel shows an install hint until it's ready.
  • [issue-863] Arc-driven episode soundtracks — an episode's audio can now follow its own narrative arc instead of looping a single track. Generate a set of music cues — one per act/beat, each with its own AI-written prompt — then render any cue with your chosen music engine. At final-cut time the cues are laid across the episode in story order with smooth fades between them and ducked under any voice-over. A per-episode audio mode picks the strategy: generated cues, a single uploaded track, each clip's own soundtrack (today's default), or fully silent.
  • [issue-863] Whole-episode audio controls in the Audio stage — the pipeline's Audio stage now has the controls to drive all of this: pick the episode audio mode, derive the cue list from your beats, edit each cue's music prompt, and render cues one at a time or all at once. When the chosen music engine isn't installed, the render buttons explain why and stay disabled while you can still edit prompts.
  • Shell arrow-key hot buttons — the Shell page's quick-command toolbar now has touch-friendly Up / Down / Left / Right / Enter buttons that send the matching key to the terminal. Handy on phones and tablets where the on-screen keyboard hides the arrow keys, for scrolling command history, and for driving TUI apps without a hardware keyboard.
  • [issue-827] Clinician export for blood and lifestyle data — MeatSpace gains an Export tab that builds a one-page, doctor-ready summary of your blood panels and lifestyle. Each blood test is laid out as a clean table with reference ranges and out-of-range markers flagged, and your lifestyle factors (sex, smoking, exercise, sleep, diet, stress, BMI, and any chronic conditions) are summarized above them. Print it or save it as a PDF straight from the browser, or copy the whole thing as markdown to paste into a message or note. Genome and longevity context are intentionally left out of this view.
  • Optional login password — a new Settings → Security tab lets you set a single shared password that gates the PortOS UI, API, asset routes, and Socket.IO behind a sign-in screen. Off by default, so nothing changes if you don't enable it. Useful when other people, devices, or sidecars share your tailnet. Sessions last 30 days, persist across server restarts, and can be revoked by changing or clearing the password.
  • [issue-781] Writers Room live director — turn on "Live Director" for a work and, whenever you pause while writing, the Creative Director offers a few short ways to continue from your cursor: a beat to take, a ready-to-insert line of prose, or a bit of dialogue. It's off by default and opt-in per work, waits until you stop typing before asking, and respects a daily suggestion budget so it never runs away with your AI usage.
  • [issue-841] Live render previews in the Writers Room — with Live Director on, a "Render scene" button now renders a quick reference image for the scene your cursor sits in, shown in the same render dock as your storyboard renders and attached back to the scene. It has its own daily render budget, separate from the text-suggestion budget, since renders cost more.
  • [issue-710] Health insight provenance chips — longevity and health views now label how each number was derived, the way Ask tags its sources. A small chip on your death-clock estimate, LEV tracker, epigenetic age, chronological age, and genome markers marks it as data-backed, inferred, experimental, or speculative — tap it for a plain-language explanation of how it was figured and what would change it. So a modeled projection never reads as a measured fact.
  • [issue-709] Review Hub "Needs Attention" queue — the Review Hub now opens with a cross-domain queue that pulls everything currently waiting on you into one list: Brain inbox items that need classifying, Ask answers ready to promote, CoS tasks awaiting approval, unsent message drafts, critical/high health anomalies, and failed backups. The most urgent items sort to the top, each row opens straight to where you handle it, and you can dismiss anything you don't want to act on right now. A slow or unavailable source is noted instead of blocking the rest.
  • [issue-709] Review Hub queue refreshes itself — the "Needs Attention" queue now updates the moment you handle something anywhere: resolve a CoS task, send or approve a message draft, or classify an inbox item on its own page and the matching row disappears (or a new one appears) without waiting for a reload. A failed or finished backup updates its row the same way. Anything you've dismissed this session stays dismissed.
  • [issue-709] Act on Review Hub items in place — rows in the "Needs Attention" queue now carry an inline action so you can clear them without leaving the page: mark a Brain inbox item done, or approve a waiting CoS task or message draft. The row drops away the moment it's handled. Items that need a choice or have no one-click resolution (promoting an Ask answer to a note/task/goal, health anomalies that clear when the condition does, a failed backup retried from Backup settings) keep their open-and-dismiss controls.
  • [issue-709] Richer triage context in the Review Hub queue — "Needs Attention" rows now show at-a-glance context so you can decide without opening them: a HIGH/MEDIUM/LOW badge on CoS approvals, the turn count on Ask answers, the recipient and channel on message drafts, where a Brain inbox item was captured from, and the category of a health anomaly. Each chip only appears when that detail exists, so nothing is invented to fill space.
  • [issue-709] Promote an Ask answer straight from the Review Hub — Ask rows in the "Needs Attention" queue now offer inline "→ Brain" and "→ Task" buttons that save the conversation's latest answer as a Brain note or a CoS task in one click, then clear the row. Promoting to a Goal still opens the conversation, since it needs you to pick which goal.
  • [issue-709] Promote an Ask answer into a goal from the Review Hub — Ask rows now also carry a "→ Goal…" picker: choose one of your active goals and the conversation's latest answer is logged as a progress entry on that goal, then the row clears — no need to open the conversation. The picker only appears when you have an active goal to promote into.
  • [issue-708] Digital Twin personas — give your twin named contexts — Professional, Casual, Family, or your own — each with instructions for how it should modulate voice and behavior. Activate one from the new Personas tab and your CoS agents adopt that context when they act on your behalf, while building your base identity stays unaffected. Create, edit, switch, and clear personas at any time.
  • [issue-708] Digital Twin values-alignment tests — the Digital Twin's Test tab gains a second test mode: instead of only checking whether your twin sounds like you, it poses ethical dilemmas and grades whether the twin's choice is consistent with your ranked values. Each dilemma names the values at stake and ships an "aligned" and "misaligned" reference, and runs score against the values hierarchy from your Identity tab — so you can see, per model, where your twin holds your values and where it drifts. Ships a starter dilemma suite you can customize.
  • [issue-708] Test your twin as a persona — the Digital Twin's Test tab can now run both the behavioral and values-alignment suites as a chosen persona instead of only the base twin: pick "Professional", "Casual", or any persona you've created and the suite embodies that context's instructions before answering. Each run is tagged in the history with the persona it used, so you can compare how the same model behaves across contexts. With no personas defined, the picker stays hidden and nothing changes.
  • [issue-708] Digital Twin adversarial boundary tests — the Test tab gains a third mode that actively tries to manipulate your twin into crossing a line: each scenario applies a pressure tactic — authority pressure, flattery, guilt-tripping, incremental escalation, or reframing harm as help — and grades whether your twin held its boundary, wavered, or breached it. Per model you can see where it stays firm under pressure and where it folds. Runs as the base twin or any persona, tags each run with its score, and ships a starter scenario suite you can customize to the tactics that matter to you.
  • [issue-708] Digital Twin multi-turn conversation tests — the Test tab gains a fourth mode that grades your twin across a whole conversation instead of a single reply: each scenario plays out its messages in order — the twin sees its own earlier answers as the thread continues — and scores whether it stayed consistent, contradicted itself, caved to repeated pushback, or forgot a constraint it agreed to a turn ago. Per model you can read the full transcript and see where consistency held or broke. Runs as the base twin or any persona, and ships a starter conversation suite you can customize.
  • [issue-704] Writers Room synced review — a new Review view shows a work's prose, its generated script scenes, and the images rendered from them side by side, with the links between them. Click a passage to highlight the scenes and media it became; click a scene to jump back to its source prose and see the image, prompt, and render details. Each media card carries its provenance, and the script is flagged as stale when the draft has changed since it was generated. Pick which of the three panes to show.
  • /claim --issues — the claim workflow can now pull its work queue from GitHub issues instead of PLAN.md, auto-picking the oldest open issue filed by the repo owner and filing any major code-review findings as new issues. Developer tooling only — no app-facing change.
  • Episode video model picker — the pipeline's Episode Video stage now lets you choose which video model renders each scene, alongside the aspect-ratio and quality controls. Leave it on "Default model" to follow your video settings, or pin a specific model; the choice is remembered when you restart a render.
  • [issue-732] Multi-reference editing on Flux 2 Klein 9B (bf16) — the full-quality bf16 Flux 2 Klein 9B model now accepts reference images for multi-reference editing. When you supply references it loads the FLUX.2-klein-9B-kv repo (tuned for reference editing) instead of the base 9B; plain text and image-to-image renders stay on the base repo. Needs ~64+ GB RAM and the FLUX.2-klein license accepted on Hugging Face.
  • [issue-705] CyberCity activity timeline — the CyberCity intel panel gains a TIMELINE tab: a ten-minute activity-density bar over time-bucketed events (just now, last 5 minutes, last 15 minutes, earlier), so you can see at a glance when bursts of system activity happened instead of scrolling a flat log.
  • [issue-716] Empty states that show you the next step — pages new users hit first no longer just say "Nothing here." The Providers, Goals, Genome Health, Notes, and Apps screens now explain what to do to unlock the feature — configure a provider to enable autonomous CoS, connect your calendar for schedule-aware goals, add a genome file for longevity estimates — with a button that takes you straight there.
  • [issue-705] CyberCity agents leave motion trails — active agents in CyberCity now orbit their building and trail a glowing comet tail that fades behind them, so a busy building reads as moving energy at a glance instead of a static marker. The trail's length follows the graphics quality dial and turns off on the lowest setting.
  • [issue-705] CyberCity flow lines follow real activity — the data streams between buildings now trace your live system instead of being random decoration: they only connect buildings that are running, and a link glows brighter and carries more, faster packets when either end has a working agent — so at a glance you can see where work is actually flowing.
  • [issue-705] CyberCity federation horizon — your sync peers now appear as distant towers on the city's horizon: each lights up brighter when it's reachable and dims when it goes offline, with a link line reaching toward the city that's solid while syncing and dashed when the connection drops. A "VOID" marker for the primary instance is always there, so the horizon stays meaningful even when you run a single machine.
  • [issue-705] CyberCity backup vault — a vault landmark now stands west of downtown and tells you your backup health at a glance: its seal glows green when a recent snapshot is protecting you, ambers as it ages, and turns red and reads "STALE" once a backup is overdue — pulsing blue while one is running. The label shows how long it's been since the last snapshot.
  • [issue-705] CyberCity task-queue warehouse — a warehouse east of downtown now shows your Chief-of-Staff backlog as a stack of crates: one per pending task, piling up as work queues and clearing as it completes, with a capstone marker when there's more waiting than fits. Its roof light glows green while an agent is working a task and amber when a task is blocked, so you can read queue depth and state at a glance.
  • [issue-705] CyberCity voice marker — a small beacon now stands north of downtown and mirrors your voice agent at a glance: its orb sits calm slate on standby, glows green while you're dictating, flashes red when a voice turn fails, and barely lights when voice mode is off — pulsing live so you can tell from across the city whether voice is awake, working, or asleep.
  • [issue-705] CyberCity health vitals tower — a stacked vitals tower now rises in a wellness district southeast of downtown, showing your latest health at a glance: one glowing tier each for heart rate, steps, active calories, and sleep, each one taller and brighter the closer you are to its daily target. The heart-rate tier pulses like a heartbeat — faster as your rate climbs — and any metric with no data reads as a dim disc so you can tell "nothing tracked yet" from a genuinely low day.
  • [issue-705] CyberCity character XP badge — a floating badge in CyberCity now shows your adventurer's current level and a progress bar toward the next one, with current HP when known. When you earn XP it flashes briefly, and a louder celebratory flash marks a level-up — so the city reflects your progress at a glance. Click it to jump to your character sheet.
  • [issue-705] CyberCity AI Core — a central spire now rises above downtown and lights up with live AI activity: every model call makes its apex glow and fan out energy beams, colored by the model's tier (cyan for fast models, blue for standard, violet for the heavy ones) and brighter the more calls are running at once. When nothing's calling, it rests as a dim spire — so you can tell at a glance whether the AI is busy.
  • [issue-705] CyberCity productivity district — a streak monument now rises in a district southwest of downtown: a glowing obelisk that grows taller the longer your current task-completion streak runs, capped so a long streak still fits the skyline. Its color reads your recent pace at a glance — green when you're surging ahead, blue on pace, amber slowing, red when idle — and a ground readout shows how many tasks you finished today. With no productivity history yet it stands as a dim stub marked "NO DATA", so you can tell a fresh install from a genuine zero-streak day.
  • [issue-817] CyberCity productivity heatmap and task-flow river — the productivity district gains two more elements: a GitHub-style contribution grid laid out as a field of glowing ground tiles around the streak monument, each day lit brighter the more tasks you finished and today picked out in accent blue; and an animated river running from the task-queue warehouse to the district, widening with your live backlog and flowing faster as work drains, so you can read throughput and queue pressure together at a glance. Both fade their motion on the lowest graphics preset while keeping the static glow.
  • [issue-705] CyberCity mini-map — a top-down mini-map now sits in the CyberCity HUD's bottom-left corner, plotting every building as a status-colored dot at its real city position (so the map can't drift from the actual layout). Click a dot to jump straight to that app. It shows the building count and hides on small screens to keep phone views uncluttered.
  • [issue-705] CyberCity goal monuments — your life goals now stand as a row of monuments in a district northeast of downtown: each active goal is a construction site whose tower fills in as you make progress, completed goals become polished monuments that shimmer, and goals that have gone quiet or been abandoned dim into the background. The district label shows how many goals you've achieved, and if you have more than fit the row the rest fold into a "+N MORE" marker — so your ambitions read at a glance from across the city.
  • [issue-819] CyberCity goal monuments show milestones and goal trees — a goal with milestones now builds its monument floor by floor: each milestone is a stacked segment that turns solid when you complete it and stays a translucent scaffold rung until then, with a "done/total steps" readout — so a half-built tower tells you which steps are finished. And when your goals nest under one another, the district rearranges into a goal tree: each top-level goal becomes a taller central spire with its sub-goals clustered around it and a glowing link drawn up to the parent, so you can see at a glance how your ambitions roll up.
  • [issue-705] CyberCity energy overlay — the city now breathes with your daily rhythm: it warms and brightens during your peak focus hours and quietly dims through your wind-down and recovery hours, following your chronotype. It's pure atmosphere, so a city with no chronotype set looks exactly as before.
  • [issue-824] CyberCity seasonal decorations — the city now dresses itself for the time of year: a glowing ring of accent props and a banner that follow the current season, switching to a special palette during holiday windows like New Year, the winter holidays, spring bloom, midsummer, and Halloween. Pure atmosphere that turns over with the calendar.
  • [issue-824] CyberCity easter eggs — rare hidden emblems now appear in a quiet corner of the city when you hit a special condition — a developer's date, reaching a "leet" or famously-answered level, a palindrome best-streak, or a clean sweep with every goal completed. They're meant to be discovered, not announced, and disappear again when the condition passes.
  • [issue-705] CyberCity earned artifacts — a "Hall of Achievements" now appears east of downtown as a cluster of trophies on glowing pedestals — but only for milestones you've actually earned: leveling up your adventurer, completing life goals (your 1st, 5th, 10th), and building your best task-completion streak (3, 7, 30 days). Each trophy reads bronze, silver, or gold for how big the milestone is, and the whole cluster shimmers; nothing shows until you've earned your first, so the hall fills in as you make progress.
  • [issue-705] CyberCity memory district — your long-term memory now crystallizes into a quiet quarter northwest of downtown: each memory category becomes a cluster of glowing crystals, taller and brighter the more (and more important) the memories it holds, and categories that link to each other arc together with light bridges — so the shape of how your knowledge connects is legible at a glance. A glowing well at the district's heart pulses with your Brain inbox backlog, brightening and beating faster the more captures are waiting to be sorted, and calming once the inbox is clear. The district stays hidden until you've recorded your first memory.
  • [issue-705] CyberCity photo mode — a new camera button drops the city into a cinematic photo mode: the HUD clears, letterbox bars frame the view, and you can cycle through framing presets (establishing shot, downtown, skyline, overhead, horizon, low angle) with the on-screen arrows or ←/→ keys, each a smooth camera fly. Hit Capture to grab a "city postcard" — your screenshot with a CYBERCITY title and a snapshot of your headline stats (systems online, active agents, linked peers, level, streak) baked along the bottom — then preview it and save it as a PNG. Press Esc to fly back out.
  • [issue-705] CyberCity ambient soundscape — the city's background music now responds to what's happening in your system (when music is enabled in the city settings). A healthy, quiet system stays calm and bright; as CPU/memory climb or health degrades the music darkens to a tenser chord set with a muffled, anxious tone; and the more agents are actively working, the livelier and busier the lead becomes. A bright chime plays whenever a Chief-of-Staff task completes, so finishing work is something you can hear.
  • [issue-705] CyberCity JIRA sprint district — if you've connected JIRA to any of your apps, your current-sprint tickets now build a construction yard in the city: each ticket is a structure that reads its workflow state at a glance — to-do tickets are dim stacked crates waiting to be built, in-progress tickets are under-construction frames with a breathing scaffold, and done tickets are finished, lit buildings. Bigger tickets (more story points) stand taller, tickets are gathered across every JIRA-enabled app and deduped, and the district label shows your sprint progress (done / total). It only appears when you have JIRA wired up.

Changed

  • [issue-880] React 19 + react-three stack upgrade — upgraded the web UI to React 19 (react / react-dom 18 → 19) and brought the 3D stack current: @react-three/fiber 8 → 9, @react-three/drei 9 → 10, and three 0.182 → 0.184. drei 10 hard-requires fiber 9 + React 19, so this is one coupled, app-wide bump rather than a drei-only update. The react-three packages consume the single direct [email protected] as a peer, so the code paths the app actually uses share one three instance — which is what clears the dual-three mismatch that previously crashed the CyberCity canvas whenever a drei <Line> mounted (drei's bundled three-stdlib had reconciled Line2 against a different three). An overrides.three pin additionally collapses an otherwise-unused nested copy a drei transitive dep (stats-gl) pulls, so the tree can't reintroduce a second instance. Internal maintenance change with no user-visible behavior difference.

  • [issue-760] Standardized how the API reports errors so every failure now carries a consistent machine-readable code alongside its message — internal maintenance change with no user-visible behavior difference.

  • [issue-726] Documented the storage layer's per-collection config slot convention so future features reuse a consistent shape — internal maintenance change with no behavior difference.

  • [issue-730] Groundwork for cross-machine Story Builder sessions — Story Builder sessions stay private to one machine, but the staleness model that powers the "needs another look" warnings on locked steps is now sync-safe: when a session opts into cross-machine resume, those warnings follow a snapshot the session carries with it instead of re-checking the live world, so a change another of your machines makes to the same universe won't make every locked step look stale once the session can travel between machines. Internal foundation — the cross-machine sync itself lands in a follow-up.

  • [issue-736] Whole-episode audio strategy design — design groundwork for driving an episode's soundtrack from its narrative arc instead of a single looped clip, introducing a user-selectable audio mode (per-clip, silent, generated, or uploaded track) with per-arc generated cues; ships as a design record only, no behavior change yet.

  • [issue-863] Whole-episode audio data foundation — the data groundwork for the per-arc soundtrack feature: episodes now record an audio mode and an ordered list of generated cues, with existing episodes carried forward to the mode that matches their current setup. Internal foundation with no behavior change yet — the cue generation and playback land in follow-ups.

  • [issue-738] Cross-Domain Insights Engine design — design groundwork for narrative insights connecting genome, health, taste, and creative output, including a dismissable/acceptable insight model and a structured facts table feeding the LLM.

  • [issue-727] Abandoned imports no longer leave empty universes lying around — starting an import and walking away before you commit it used to leave a blank universe and series behind in your library. Those scratch records are now hidden from sync and automatically cleaned up after a week if you never finish the import, while committing one keeps it for good.

  • Codex TUI runs fully bypassed — Codex now launches in TUI mode with --dangerously-bypass-approvals-and-sandbox (the same full-yolo posture the headless CLI path already used), instead of only --ask-for-approval never. The previous flag suppressed approval prompts but kept Codex's sandbox on, so tool calls that needed real file or network writes still got blocked. Provider configs that pin their own --ask-for-approval / --sandbox policy are left untouched.

  • [issue-733] "Finish the draft" editorial findings now carry an explicit marker for whether their suggestion is delta advice or a full page replacement, so comic-script panel rewrites and ordinary prose suggestions are handled by the right fix path. Internal maintenance change with no behavior difference.

  • [issue-832] The Review Hub's draft lookup now asks the data layer for just the unsent drafts it needs instead of loading every draft and filtering them in memory. Internal performance change with no behavior difference.

  • [issue-813] CyberCity AI Core beams aim at the originating building — when a model call is made on behalf of one of your apps, the AI Core spire now shoots its activity beam straight at that building instead of fanning out at a fixed angle, and the beam thickens with how fast the call is producing tokens. Calls with no building behind them (most internal work) keep the generic radial glow, so the core still reads as busy without pointing nowhere.

  • [issue-705] CyberCity now coalesces bursts of agent spawn/complete events into a single refresh instead of refetching once per event, so a wave of agents starting no longer fans out redundant requests. Internal performance change with no behavior difference.

  • [issue-805] Removed ~470 lines of dead, never-called self-improvement task-generation code left behind by an earlier rewrite. Internal cleanup with no behavior difference.

  • [issue-741] Extracted the CoS daemon health monitor (PM2/memory checks and errored-process auto-restart) out of the 3300-line cos.js into a dedicated cosHealthMonitor.js behind an unchanged public API. First slice of the cos.js split. Internal refactor with no behavior difference.

  • [issue-741] Extracted the CoS task store (task create/read/update/delete, reorder, approve, and queue persistence) out of cos.js into a dedicated cosTaskStore.js behind an unchanged public API; the store now signals task changes by event so the scheduler stays decoupled. Next slice of the cos.js split. Internal refactor with no behavior difference.

  • [issue-741] Extracted the CoS task-generation engine — the evaluation loop that decides what to spawn each cycle, the self-improvement / managed-app / idle-review task generators, and the PLAN.md in-flight pick helpers — out of cos.js into a dedicated cosTaskGenerator.js behind an unchanged public API; the spawn-side scheduler stays in cos.js. Next slice of the cos.js split, taking it from ~2800 to ~1200 lines. Internal refactor with no behavior difference.

  • [issue-741] Extracted the CoS autonomous-job and improvement-check timer machinery (per-job cron/interval scheduling, the spawning-guard that prevents duplicate fires, and the improvement-check cadence) out of cos.js into a dedicated cosJobScheduler.js behind an unchanged public API. Final slice of the cos.js split — the 3115-line god file is now ~930 lines of daemon lifecycle and task-spawn wiring. Internal refactor with no behavior difference.

  • [issue-744] Extracted the scheduled-task prompt catalog and prompt getters out of the 3500-line taskSchedule.js into a dedicated taskPromptService.js; the prompt defaults and auto-upgrade machinery are moved verbatim and re-exported, so behavior is unchanged. Internal refactor with no behavior difference.

  • [issue-742] Split the 1744-line agentLifecycle.js into focused modules — provider/model resolution, workspace + worktree provisioning, worktree cleanup, and post-completion cleanup each moved to their own file behind the unchanged spawnAgentForTask / handleAgentCompletion orchestrators (now ~850 lines); moved functions are re-exported so import sites are unchanged. Internal refactor with no behavior difference.

  • [issue-790] Unified the duplicated buffered-spawn and Windows kill-tree logic shared by the app build and update flows into one helper. Internal refactor with no behavior difference.

  • [issue-751] Collapsed the repeated AppleScript builders in server/services/xcodeScripts.js into a shared xcodeScriptBuilders.js; the emitted take_screenshots_macos.sh is byte-for-byte unchanged. Internal refactor with no behavior difference.

  • [issue-748] Extracted the pure command-arg builders and output parsers from server/services/git.js into focused server/lib/git* modules. Internal refactor with no behavior difference.

  • [issue-750] Split server/services/memory.js into a memoryStore.js persistence/cache layer plus a pure server/lib/memoryQuery.js (index projection, filter/sort, search/hybrid meta filters, RRF fusion); memory.js re-exports so import sites are unchanged. Internal refactor with no behavior difference.

  • [issue-718] The duplicated optimistic canon-patch handler in the universe canon and Nouns stage editors now lives in one shared useCanonPatch hook. Internal refactor with no behavior difference.

  • [issue-721] Goal detail badges now use the shared pill component, keeping their look consistent with the rest of the app. Internal maintenance change with no behavior difference.

  • [issue-755] Split the 1252-line GoalDetailPanel.jsx god component into a thin composition shell over focused subcomponents and a useGoalDetail state hook. Internal refactor with no behavior difference.

  • [issue-759] The autofixer UI's large inline HTML document moved out of autofixer/ui.js into a sibling ui.template.html, leaving the route handler as logic only. Internal refactor with no behavior difference.

  • [issue-747] Split the 2200-line voice Chief-of-Staff tool registry into per-domain modules (brain, meatspace, goals, system, daily log, UI, ask, vision, calendar/weather, timer, media, pipeline, code, catalog) behind a thin orchestrator; the command palette and voice agent keep the exact same tool set. Internal refactor with no behavior difference.

  • [issue-734] The reference-watch scheduled task now guards its read/write default against silent drift when its prompt is revised. Internal maintenance change with no behavior difference.

  • [issue-722] Prompt-template migrations now scan their files concurrently, so future multi-file updates apply faster.

  • [issue-720] Shared popover positioning — the theme switcher and collection pickers now share one placement engine, so their pop-up menus stay anchored to their button and on-screen consistently. Internal maintenance change with no behavior difference.

  • [issue-754] Extracted the init-image and FLUX.2 multi-reference uploaders from client/src/pages/ImageGen.jsx into focused InitImagePicker / ReferenceImagePicker components. Internal refactor with no behavior difference.

  • [issue-752] Extracted the app build/npm-install orchestration out of the apps route handler into a dedicated appBuilder service. Internal refactor with no behavior difference.

  • [issue-758] Split the 1199-line Writers Room StoryboardPanel.jsx into a lean orchestrator over per-tab subcomponents (bible, scenes, boards render dock, banners, config). Internal refactor with no behavior difference.

  • [issue-753] Extracted the per-mode control panels (image/FFLF frame picker, multi-keyframe picker, audio-to-video upload, extend picker) from client/src/pages/VideoGen.jsx into focused FramePanel / KeyframePanel / AudioPanel / ExtendPanel components. Internal refactor with no behavior difference.

  • [issue-757] Split the 1088-line ScheduleTab.jsx into a thin orchestrator over focused subcomponents in a new cos/tabs/schedule/ directory (schedule editor, pipeline-stage config, per-app override rows, task-type section). Internal refactor with no behavior difference.

  • [issue-749] Split the 1100-line CoS agent runner into focused state, stream-parsing, and process-stats modules, leaving the runner entrypoint to own only its IPC and agent-lifecycle wiring. Internal refactor with no behavior difference.

  • [issue-756] Split the 1269-line MeatSpace Life Calendar tab into a thin orchestrator over focused modules — the grid renderer, time-stats sidebar, activity and life-event panels, and a now-unit-tested pure date/grid math layer. Internal refactor with no behavior difference.

  • [issue-746] Split the 1611-line autonomous-jobs service into focused modules behind an unchanged public API — script handlers, default-job catalog, persistence/migration, scheduling, CRUD, skill templates, and direct script/shell execution. Internal refactor with no behavior difference.

  • [issue-745] Split the 1939-line task-learning service into focused modules — a shared store, metrics aggregation, heuristic routing, duration estimates, insights, prompt recommendations, and lifecycle wiring — behind a barrel that keeps every import site unchanged. Internal refactor with no behavior difference.

  • [issue-743] Split the 1917-line identity service into focused submodules (shared store, genomic markers, chronotype, longevity, goals, todos, cross-insights, status) behind a thin barrel that preserves the exact public API. Internal refactor with no behavior difference.

  • /claim --issues marks issues in progress while it works them — claiming an issue now assigns it to you (and labels it in-progress) before any code is written, so a /claim --issues running on another machine sees it as taken instead of grabbing it too; the marker is released if a claim is abandoned, and the issue is closed once its PR merges. Developer tooling only — no app-facing change.

  • $claim (Codex) and /claim (Claude Code) now share one procedure — the Codex claim skill was collapsed to a thin adapter over the slash command's procedure, so Codex inherits --issues mode, the in-progress marker, and the multi-reviewer loop instead of running a stale copy that had drifted behind. Developer tooling only — no app-facing change.

  • [issue-740] Optional faster text-to-video renders (experimental) — an opt-in switch routes plain (no-CFG) text-to-video Standard renders through the two-stage pipeline for a predicted ~30–35% faster render, trading a touch of quality. Off by default, so your renders are unchanged unless you turn it on to A/B it.

Fixed

  • Processes tab and CoS insight "unblock" no longer crash — two components had been migrated to the shared auto-refetch hook but kept calling functions the migration removed (loadProcesses, setData), so the Processes devtools tab crashed on open and unblocking a task from the Chief-of-Staff insights banner threw. Both now use the hook's refetch. A new CI step lints the client (the missing-symbol check that would have caught both) so this class of regression fails the build instead of reaching the UI.

  • [issue-883] Cleared a HIGH react-router security advisory — bumped react-router-dom 7.5.2 → 7.16.0, which resolves a HIGH-severity advisory class affecting react-router 7.0.0–7.14.2 (CSRF, several XSS / open-redirect vectors, and a vendored turbo-stream deserialization RCE). PortOS only uses the declarative router API, so most of these never applied, but the dependency is now off the flagged range. No behavior change.

  • [issue-705] CyberCity no longer crashes when a sync peer's link is on screen — the federation-horizon sync link called computeLineDistances() on a geometry object, but that method lives on the line itself; the bad call threw and crashed the whole CyberCity canvas for anyone with a sync peer configured (the link always renders for each peer). It's now computed on the line, only for the dashed "connection dropped" state that needs it.

  • [issue-705] CyberCity light connectors hardened against a 3D-stack mismatch — the memory district's category bridges and the goal-tree links previously rendered through a line primitive that depended on a fat-line geometry method (computeLineDistances) missing from this build's 3D stack. Those connectors now draw as native glowing tubes — no dependency on that method — so they can't reintroduce the crash, with a bit more presence to the links as a bonus.

  • Security settings reachable from the sidebar — the Settings → Security tab now has its own entry in the sidebar's Settings group, so you can open it without typing the URL or going through ⌘K. The tab, its route, and command-palette/voice navigation already existed; only the sidebar link was missing.

  • [issue-729] Style-probe renders stay put across federated machines — a universe's base style-probe images are now kept local to each machine, so syncing with an older peer no longer wipes them and a probe render no longer surfaces a phantom sync conflict.

  • [issue-717] No stray React warnings when you navigate away mid-action — buttons that run an async task (save, generate, sync) no longer log an "update on an unmounted component" warning if you leave the page before the task finishes.

  • [issue-719] Steadier media galleries during live note/star sync — incoming annotation broadcasts that match what a view already shows no longer trigger a needless re-render of the media cards.

  • [issue-724] Local video renders no longer hang after finishing — if a local video model finishes writing its file but its process refuses to exit (a known teardown stall on some Apple-silicon runtimes), PortOS now force-stops it after a short grace period instead of leaving the render — and the next one in line — wedged indefinitely.

  • [issue-766] Episode Video renders cleanly when a remembered model is gone — if the video model you previously pinned for an episode has since been removed, the render now quietly falls back to your default model instead of failing partway through.

  • [issue-728] Imported stories no longer fake a "Ready" aesthetic or reader map — when you start a Story Builder session from an import, only the steps the importer actually fills (idea, plot arc, characters, issues) open as "Ready" to review. The Universe Aesthetic and Reader Map steps now start "pending" instead of showing an empty step under a misleading "Ready" badge, so you generate them like you would in a from-scratch build.

  • Self-update no longer crashes at the "Rebuilding esbuild" step — the updater rebuilt esbuild via a hardcoded node_modules/esbuild/install.js path that assumed esbuild was hoisted to the top of each dependency tree. It no longer is (esbuild nests under Vite/Vitest, and the server dropped its esbuild dependency entirely with Vitest 4 → Vite 8), so the path 404'd and aborted the whole update with exit code 1. The updater now uses npm rebuild esbuild, which finds esbuild wherever it lives and skips cleanly when absent; the same fix lands in npm run install:all and the Windows updater.

  • [issue-796] Agent CPU/memory readouts work on Windows — on Windows installs, the live CPU and memory stats for running agents always read as zero. The stats reader expected Unix ps output but was being handed Windows tasklist's comma-quoted format, so it never found the numbers. It now reads the Windows format correctly, reporting real memory usage and marking a finished agent as done rather than leaving it in an unknown state.

  • [issue-731] Locked Story Builder steps flag stale when their own content is edited elsewhere — locking a step (e.g. Universe Aesthetic) only gates the Story Builder wizard; the underlying universe and series records stay editable in Universe Builder, Arc Planner, and the cast editor. Editing a locked step's own content out-of-band — changing the universe logline, rewriting the arc, or adding a character — now marks that step stale so you re-review and re-lock it, instead of silently trusting a lock whose content has since changed.

  • [issue-851] An import-draft universe starts syncing once real work lands in it — if you began an import (which creates a hidden draft universe) but attached a real, committed series to it without finishing the import, the universe could stay invisible to your other machines forever. Linking committed work to it now promotes it to a normal, syncing universe automatically — so it reaches your sync peers like any other.

Full Changelog

Full Diff: https://github.com/atomantic/PortOS/compare/v2.14.0...v2.15.0