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

140 KB
Raw Blame

Release v2.39.0

Released: 2026-08-05

Highlights

Image-to-3D runs on NVIDIA GPUs, not just Apple Silicon. TRELLIS.2 shipped with a single processing target; the 3D page now generates on CUDA hardware too, and a machine that genuinely can't run it gets told why in English instead of a bare reason code.

Character LoRA training works on an NVIDIA GPU. The torch/diffusers trainer — the path every non-Apple machine takes — had only ever been exercised on a 128 GB Mac, where two memory faults did no visible harm. On a 24 GB card they were fatal: dataset preparation exhausted the card before training began, and each checkpoint preview took over eighteen minutes to decode. A run that previously never finished now trains, checkpoints, previews, resumes and produces an adapter that loads cleanly.

Generated 3D models now audit themselves. A model says which of its own promised features it did not actually build, flags parts fused into a single lump (including ones hiding behind a second part id), and warns when it looks perfect head-on but like cardboard the moment you orbit it. You can also take a model apart and click any piece to find out what it is, and narrow generation to a subject family so the model is judged against a checklist it didn't write itself.

Three new editorial checks read for craft, not just correctness. Editorial review now catches a pivotal moment that got narrated instead of played out, a line a character should have said out loud, and interiority that sounds written rather than thought. The drafting prompt gained a matching "Zoom into the moment" section, so the checks teach the construction rather than only scoring the result.

The Writers Room works on a phone. The synced review's Script and Media panes were unreachable below desktop widths and now show one pane at a time; the prose editor starts above the fold again; the live panels say what their buttons do and how much daily budget is left in visible text instead of a hover tooltip; and the library, bible and toolbar controls all clear the 44px tap-target floor. The synced review also finally shows which card you actually clicked, rather than styling it identically to the cards it links to.

Opening a page stops reading your whole disk. Eleven separate paths were loading and re-parsing every record on hand to answer one question — ⌘K search, Brain graph search and its embedding badge, Bookmarks, the Daily Log, daily agent reports, agent transcripts, and the Chief of Staff's task lists and cooldown sweep. Background scheduler ticks also stopped firing a network git fetch and a gh process at GitHub on every pass.

Dashboard widgets are sized by their content and work on a phone. Cells float up into the space above them instead of sitting in fixed rows, "Add widget?" suggestions produce a visible result, and widgets can be reordered on mobile — where dragging previously did nothing at all.

Deleting something in your Digital Twin makes it stay deleted. Peer sync merged identity documents, personas, social accounts and life stories add-only, so whichever machine still had a record put it back on the next sync. Twin evaluation history was worse: syncing two machines collapsed it to a single run.

Quota Burn spends the window it's aimed at. It was watching the 5-hour window while calling it the weekly one, stopping after the first family it dispatched, and queueing tasks that were never picked up. Dispatch cap now defaults to unlimited, so a plan stops when the quota says so rather than when a tally runs out; the two free-text override boxes that only invited misconfiguration are gone.

Scheduled Chief of Staff tasks got the controls the manual ones already had. Each card on CoS → Schedule carries its own provider, model and effort pins, and a scheduled task can say what happens after it opens its PR. A perpetual task with a daily recheck now wakes the daemon at its recheck time instead of running up to an hour late, and lengthening a recheck cadence no longer delays work that was already due.

184 icon-only buttons gained accessible names, and 62 close buttons gained a fingertip. Alongside that sweep: content cards now have real surface elevation in every theme (they were nearly invisible against the page, and dissolved entirely at reduced opacity), and Brain's RSS feeds, Daily Log, Bookmarks, Notes header and Trust Panel were each unusable on a phone in their own way.

A real tailnet identity was scrubbed from tracked files, with a guard so it can't come back — and the guard's own bypass on exactly the leak class it exists to catch was closed. The ignore-scripts supply-chain guard, silently inactive for every workspace install including CI, now actually applies; the client's ESLint was replaced with Biome, dropping 110 packages including the keyv chain named in the August 2026 npm compromise.

Tests that re-implemented the code they claimed to test now import the real thing — which immediately exposed a NaN bug and a timezone mismatch. The cron core beneath every scheduler, the production Postgres/pgvector memory backend, and the boot ordering every install depends on had all been executed by zero tests.

YouTube videos can be ingested into the Brain. Paste a single-video link into Quick Capture and the transcript lands in your Obsidian vault with an agent queued to act on it.

Full Changelog

Full Diff: https://github.com/atomantic/PortOS/compare/v2.38.0...v2.39.0

Added

  • The 3D page can now generate on an NVIDIA GPU, not just on Apple Silicon. Image-to-3D shipped with a single processing target — TRELLIS.2 running through the Apple Silicon (Metal) port — so a machine with a 24 GB NVIDIA card had nothing to select, even though the page had always described a CUDA lane as a thing it supported. There is now a second target, TRELLIS.2 (CUDA), built on Microsoft's own upstream release: it installs the upstream repo and its GPU extensions, and renders a single image into the same PBR-textured GLB the Apple Silicon lane produces, with the same live progress and the same Install / Ready / cancel behaviour on the card. The export quality scales to the card rather than being fixed — a 24 GB GPU (the supported floor, and what upstream requires) renders at the proven settings, and a card with real headroom automatically gets the larger texture atlas and finer mesh that upstream's own reference settings use. Nothing about the Apple Silicon lane changes, and it remains the default, so an existing Mac install renders exactly as before.

    PortOS now actually looks at your GPU instead of assuming there isn't one: it reads the installed NVIDIA driver for each card and its memory, and that reading is what decides whether the CUDA target appears and which quality lane it uses. The check distinguishes three states rather than two, which is what keeps the card honest — "this machine has no NVIDIA GPU", "it has one, here's how much memory", and "the driver is installed but wouldn't answer" (a driver mid-update, most often). Only the first hides the target; the last says "Could not detect this host's GPU" rather than claiming you don't have one. On a machine with no NVIDIA hardware at all the CUDA target simply isn't listed, so a Mac's 3D page looks exactly as it does today rather than gaining a permanently-red card for hardware it will never have.

    Because upstream TRELLIS.2 builds its GPU extensions from source and supports Linux only, the target reports "Requires a Linux host (use WSL2 on Windows)" on a Windows machine that does have a qualifying card — a blocker worth naming, since it's one you can act on, unlike missing hardware. A Windows user reaches this lane by running PortOS inside WSL2, and a federated Linux + NVIDIA peer gets it directly. The same GPU reading also now drives the FLUX.2 image-gen installer's choice between the CUDA and CPU builds of PyTorch, so the two features can no longer disagree about what hardware is in the machine.

Changed

  • Dashboard widgets are sized by their content and float up into the space above them, and the "MODULE.04 // ALERTS" tabs are gone. The grid used to lay every cell out at the row count stored in the layout, so a card with two lines in it still reserved five 80px rows and left the rest as dead space — with more of it wherever a gated widget dropped out or a hand-arranged row was uneven. Cells now measure their widget and pack in pixels: each one drops as high as it can go without landing on an already-placed cell that shares a column, which is what lets the space a short card doesn't use get reclaimed by whatever sits beneath it. Reading order (stored y, then x) still decides the packing order, so the result matches the arrangement that was saved rather than reshuffling to whatever fits best. Nothing gets clipped on the way in either — a widget taller than its declared rows used to be cut off by the cell's overflow-hidden, and now grows. A widget that renders nothing (several self-hide on empty data without carrying a gate, so a fresh install hits this as the normal state) now takes up nothing rather than reserving its declared slot — a measured 0 is a real height, distinct from "hasn't measured yet," which is the difference the cell keys on. Arrange mode floors those to a grabbable 48px so the handles have somewhere to sit.

    Heights are still adjustable, they're just opt-in: dragging the ↘ handle's vertical axis pins that cell (fixedH: true on the grid item), and a ⌃⌄ handle appears on pinned cells in Arrange mode to hand the height back to the content. Stored h survives as the first-paint fallback and is refreshed from the measurement on every commit, which is also what a client too old to know about fixedH renders from — an install that hasn't updated yet reads a layout saved by one that has and lays it out close to right. The drag math moved into the pack's coordinate space along with it, because once heights are measured, stored y describes an ordering and not a position: reasoning in stored rows would have moved the cursor and the card at different speeds.

    The micrographic schematic tabs came off the eight widgets that carried them (and off the Apps empty state). They were pinned to the top border of the cell and the widget reserved a header strip to clear them, which is a fixed cost in the exact dimension this change is trying to reclaim — and a "MODULE.01 // HEALTH" label above a card already titled "System Health" is chrome, not information. SchematicLabel itself stays; the Chief of Staff task lists still use it.

  • Quota Burn's per-family "Provider ID" and "Window scope" boxes are gone. Both were free-text overrides for decisions the page already makes correctly on its own: the family match already prefers the watchable TUI provider over the headless CLI (a hand-typed id could only ever pick a worse one), and window targeting already reads every window on the card — the broadest one as the target the reset horizon and dispatch cap key on, the narrowest as the one that will refuse first, the tightest as the one the reserve guards. Scope was a free-text filter over that, so its realistic uses were "type the same thing the classifier already picked" or "type a word this provider doesn't publish and silently never burn." A job still carries its own optional providerId, which is the level where naming a specific provider actually means something. Configs written before this load unchanged — the normalizer drops both keys on the next save — and migration 221 no longer carries them over from the retired per-app shape.

  • Quota burn's dispatch cap is now opt-in — -1 (unlimited) is the default, so a plan stops when the quota says so rather than when a tally runs out. maxDispatchesPerWindow counted how many burns one target window could spend, and at its old default of 5 it was routinely the first gate to close: a weekly window with days left and headroom above the reserve would sit idle at "dispatch cap reached (5/5)" — the exact "allowance expires unused" outcome the feature exists to prevent. It read as a safety property, but the gates that actually bound spend all measure live numbers: the reset horizon (resetWithinHours), the reserve (reservePercent, checked against the tightest window on the card), and the provider's own refusal, which blocks the family outright when the short window empties underneath a weekly plan. A count stacked on top of those adds no protection they don't already give. A hard ceiling is still available — set 1–50 on the family card — and the window is charged either way, so the card still shows how many burns it has spent (with no denominator when uncapped). 0 is deliberately not accepted: "never burn" is what switching the family off means, and the client's number field collapses anything below 1 to the sentinel so stepping the spinner down can't 400. Migration 226 lifts an existing plan that still carries the old default of 5 — a changed default reaches nobody otherwise, since the normalizer has written that 5 into every install's quota-burn.json — while any other stored value is a number the user chose and is left alone.

  • Retargeting a scheduled task at a different model no longer costs a trip through the config drawer. Each card on CoS → Schedule now carries the provider, model and effort pins inline, right above its Run button — so the common loop of "point this task at a stronger model and run it on one app" is three clicks on the card instead of opening the drawer, scrolling to the provider block, changing it, and closing again. The pins write immediately, exactly as they do in the drawer (picking a provider clears the model and effort with it, since a model from the previous provider wouldn't resolve), and a failed write rolls the select back to what is actually stored rather than leaving the card claiming a setting the server never took. Run stays disabled while a pin is still being saved: the run reads the server-side config, not the inputs on screen, so triggering mid-write would quietly run the previous model — the failure this repo's "in-flight saves must gate dependent actions" rule exists to prevent, and one a tooltip would not have stopped. Leaving the provider on Default no longer means the model and effort selects have nothing to offer: Default now names the provider it currently resolves to and lists that provider's catalog, so "same provider, higher effort" doesn't require pinning the provider first — the same fallback the pipeline's LLM pickers already use. Effort only appears for providers that actually have a ladder, and it is narrowed by the picked model, so an Antigravity model with no tiers doesn't offer one. A pipeline task, whose provider and model are resolved per stage, gets a link to the stage config instead of a card-level pin that its runs would ignore. The card's three selects are the shared ProviderModelSelector rather than a fourth hand-rolled copy, so they inherit what that component exists to guarantee: a disabled provider isn't offered (unless the task is already pinned to it), and a task pinned to a local model that can't call tools says so — a scheduled task IS an agent run, and a non-tool-calling model narrates instead of working. Card and drawer share one implementation of the select/write/rollback trio (useTaskModelPins), so the two surfaces can't drift; the drawer's own Run button picked up the same in-flight gate on the way past, which it had been missing. And the Run button's disable is now one disabledReason string instead of a boolean per reason — the shape that let the first gate reach only one of the two call sites.

  • The cosAgents.js barrel is gone, so an agent function no longer arrives from a specifier that says nothing about which layer it lives in. The #2530 decomposition split a ~1090-line module into four focused siblings — cosAgentIndex.js (date-bucket index + on-disk archive layout), cosAgentLifecycle.js (register / update / complete / output / terminate), cosAgentFeedback.js (capture + classifier), cosAgentArchive.js (state-eviction sweeps) — then put an export * wall back in front of all four so no import path had to change. Three years of imports later, updateAgent and getAgentsByDate came from the same specifier despite sitting in different layers, and the wall is what made cos.js a two-hop forwarder of a lifecycle transition, which is the shape #3450's guard exists to delete. All ~20 production importers and ~14 vi.mock targets now name the module that declares what they asked for — several of which turn out to want only the index (cosReports.js, the peer cos-history merge) or only the lifecycle layer (the runner sync, the TUI output spooler, the completion cleanup), so the graph gets narrower as well as flatter. The four leaf modules are unchanged; the two test files that only ever exercised one of them are renamed to sit beside it (cosAgentLifecycle.test.js, cosAgentIndex.merge.test.js). The forwarder guard in agentImportCycles.test.js — which walks re-export edges rather than naming barrels, so a new one is covered the day it is written — now asserts cos.js is the only module forwarding a transition, and was bypass-probed both ways: planting a fresh export * barrel turns it red, and so does routing a production import of completeAgent back through cos.js. Its two module-loading assertions also take an explicit timeout: they transform cos.js's whole service graph, which lands at 5–10s and straddles Vitest's 10s default, so the guard was one busy machine away from failing for a reason that had nothing to do with the invariant (#3450).

  • The agent lifecycle has a named entry point instead of seven mutually-recursive modules. The cos.js → cosAgents.js → cosAgentLifecycle.js → agentManagement.js → agents.js → subAgentSpawner.js → agentLifecycle.js cluster has no owner, so reasoning about one transition — pause, kill, complete, spawn — means holding all seven files in mind, and several of the back-edges are await import(...) calls that exist only to dodge a load-time cycle. server/services/agentOrchestrator.js is the facade above that cluster: it imports the transition owners one-directionally, carries the transition-vs-leaf classification in its header so later passes start from it, and renames apart the two different functions both called terminateAgent — requestAgentTermination only emits the event and returns, while terminateAgent keeps the name for the real SIGTERM/SIGKILL sequence. The four agent routes (terminate, pause, kill, stats) now go through it, one hop instead of three. agentImportCycles.test.js gains a guard that fails if anything reachable from the facade imports it back, statically or via import(...) — the dynamic form matters because reaching across a blocked layer that way is exactly this cluster's habit, and the forbidden set is derived from the graph rather than listed so it can't fall behind. Widening that suite's graph builder to walk subdirectories closed a hole in the pre-existing cycle guard too: it read only top-level server/services/*.js, so a cycle routed through one subdirectory hop (agentTuiSpawning/outputSpooler.js already imports back up to ../cosAgents.js) was invisible to it. The remaining call sites and the dynamic-import workarounds follow in later PRs (#3450).

  • The agent-lifecycle cluster lost the deferred imports it used to reach across its own layering. cosAgentLifecycle.js carried three await import('./agentManagement.js') forwarders — pauseAgent, killAgent, getAgentProcessStats — that existed purely so a caller holding a cos.js handle could reach the process layer from the agent state layer, which cannot import it statically without inverting the layering. Their only consumer was cos.js's own re-export block, so both are gone: those three transitions come from agentOrchestrator.js now. agents.js moved onto the facade too, which needed an actual structural fix rather than an import swap — it was stuck reaching killAgent through await import('./subAgentSpawner.js') because agentManagement.js imported unregisterSpawnedAgent back out of it, and that same back-edge put agents.js inside the facade's closure where importing the facade was forbidden. Pushing the pid map both sides wanted down into agentState.js — the import-free leaf they already shared other agent state through — deleted the edge; agents.js fell out of the closure and took a plain static import. subAgentSpawner.js's event wiring (task:ready → spawn, agent:terminate → terminate, runner-error → complete) now asks the facade for those transitions instead of three separate leaves. agentImportCycles.test.js gains a guard for each half, each verified to fail on a planted violation: no new deferred import from the state layer into the process layer, no process-layer transition back in cos.js's re-export block (derived from the facade's own export blocks rather than a hand-listed set, minus the one genuine name collision), agentState.js stays import-free, and agents.js reaches the facade statically. The facade header now describes that extract-a-leaf move as the shape every remaining migration takes, rather than carrying a call-site inventory that would go stale (#3450).

  • The agent cluster's back-compat re-export barrel is retired, so a lifecycle transition has one address instead of three. subAgentSpawner.js re-exported ~40 symbols from nine sibling modules "for backward compatibility" — a second, partial view of the cluster layered over cosAgents.js and cos.js's agent block, including the same three process-layer transitions (pauseAgent / killAgent / getAgentProcessStats) that agentOrchestrator.js owns. That overlap is why the previous PR's "no module may re-export a facade transition" guard had to be narrowed to cos.js: stating the rule generally would have failed on the barrel. The barrel had almost no consumers left — telegram.js reaching getActiveAgents, two await import('./subAgentSpawner.js') calls in cos.js for cleanupOrphanedAgents / handleOrphanedTask, and three test files — and all of them now name the module that actually defines what they want, which also deletes the last two cos.js → subAgentSpawner.js edges from the seven-module chain. agentLifecycle.js's pass-through re-exports of the leaves extracted out of it (finalizeAgent, extractFinalSummary, syncRunnerAgents, the worktree-cleanup cluster) went with it: the barrel was their last consumer, and an orchestrator re-exporting the leaves beneath it is what made "where does finalizeAgent live" a three-answer question. What remains in subAgentSpawner.js is what it actually does — initSpawner()'s runner connection and event wiring. Two guards in agentImportCycles.test.js hold the line, both bypass-probed: the transition re-export rule now runs over cos.js and subAgentSpawner.js, and a new one asserts each cluster orchestrator declares everything it exports, comparing the module's live key list against its own declarations so export *, export { x } from …, and import + a bare export { x } all fail identically rather than each needing its own regex (#3450).

  • Every view that used to show a bare "Loading…" text node now uses the shared loading affordances. ~35 views across Music, MeatSpace, Media, Pipeline, Sprites, Writers Room, Sync, Catalog and a dozen pages rendered unstyled text while fetching, which read as broken content rather than a deliberate loading state. Small inline loads (buttons, side lists, drawer subtitles, popover menus) now render BrailleSpinner; full-page and card-grid loads render PageSkeleton, which reserves the eventual content's dimensions so the first paint doesn't reflow and announces itself via role="status"/aria-busy. Several hand-rolled Loader2 + animate-spin one-offs collapsed onto the same two components, and the pipeline audio music-library panel lost its duplicate second spinner.

  • Three structural cleanups that each removed a way to get something silently wrong. buildReviewWithArgs took seven positionals, with two same-shaped reviewer-name arrays adjacent to each other and two same-shaped per-reviewer lookup maps adjacent to each other — transposing either pair produced a plausible-looking flag string and no error; everything past the reviewer list is now a named options object. The ecosystem-config branch of streamDetection nested eight levels deep to probe each PM2 process's vite config, duplicating that loop byte-for-byte in parseEcosystemFromPath; both now call the exported resolveViteConfigPortForProcess, which owns the gate and the candidate order and has its own tests (the "stray closing brace" flagged in that block turned out to be mis-indentation, not a structural bug). And client/src/utils/fileUpload.js no longer re-exports the four network-calling upload helpers it handed off to services/apiMedia.js — the real call sites import them from the services module directly, so the pure-helpers module has no reach into the network layer again (#3452).

  • The root pm2 dependency moved out of the dev-only bucket, because npm start launches the production process with it. The root start, pm2:* and dev:stop scripts all invoke ./node_modules/pm2/bin/pm2, so an install run with --omit=dev (or NODE_ENV=production) would have left every one of them with no binary to run. Nothing in the repo installs that way today and server/package.json already declares pm2 as a normal dependency, so this was a latent footgun rather than a live break — but it would have cost someone an afternoon the first time a slimmed Docker or CI install path appeared. The lockfile change is limited to the bucket rename and dropping "dev": true from pm2 and its transitives; no versions moved. scripts/root-runtime-deps.test.js now derives the rule from the manifest instead of hardcoding pm2 — every package a root script reaches into via ./node_modules/<pkg>/… has to be a real dependency — so the next root script wired to a dev-only binary fails the suite rather than waiting for a production install path to expose it.

  • Replaced ESLint with Biome in the client, dropping 110 net packages including the keyv chain named in the August 2026 npm compromise. keyv, flat-cache, and file-entry-cache were hit by the Shai-Hulud supply-chain attack. PortOS was never exposed — it held [email protected] / [email protected] / [email protected] while the malicious releases were the next major in each line, unreachable from the caret ranges in the lockfile, with no install hook anywhere in the tree (npm has since unpublished all three). They were not direct dependencies either: they arrived as a single chain under one root, eslint → file-entry-cache → flat-cache → keyv, dev-only and client-only. Since [email protected] hard-requires file-entry-cache and no release drops it, the only way to shed the chain was to stop using ESLint — so this is a maintenance win, not a security fix. An overrides pin would have been a no-op, because every range was already at the top of its published major.

    @biomejs/[email protected] replaces the stack: a native binary with no regular dependencies and 8 platform optionals, of which one installs. The client lockfile goes 447 → 337 packages. That count includes typescript, which the migration orphaned — it was a client devDependency purely to satisfy @eslint-react/eslint-plugin's peer dep, and with the client holding no tsconfig, no .ts/.tsx sources, no tsc script, and nothing peer-depending on it, it came out too (retiring a Dependabot ignore rule and issue #3351 with it). Parity was proven with fixtures rather than inferred from a clean run — a linter with no rules also reports zero problems — and npm run lint still covers the same 1859 files with 0 problems. The swap was cheap largely because exhaustive-deps was already deliberately disabled, which is the rule that usually makes linter migrations painful.

    The crypto.randomUUID ban is preserved as a GritQL plugin, and it matters: that call is undefined on insecure origins, and PortOS is routinely reached over plain HTTP via Tailscale. It matches on the syntax-tree node kind rather than code snippets, so it still catches crypto., globalThis.crypto., window., self., optional chaining, bare typeof references, and assignment targets — while continuing to ignore crypto['randomUUID'] exactly as the old rule did. Its exemptions for src/lib/uuid.js and test files are written as negated globs because a Biome override's plugins list is additive, so an empty list does not disable an inherited plugin.

    Deliberately kept narrow: Biome's formatter and assist actions are off (turning them on would rewrite all 1859 files in one unreviewable diff), and the rule set is an explicit list rather than Biome's broader recommended preset, so this is a tooling swap and not a silent change to lint policy. Adopting more of Biome's rules is a separate decision.

  • A scheduled Chief of Staff task can now say what happens after it opens its PR, the same way a manually-entered task already could. The task-entry form has carried an "After opening PR" choice — review then merge, merge on green CI, or leave the PR open for you — but the Schedule tab's per-task config only had the Open PR toggle, so every scheduled task was stuck on whatever its target app defaulted to. Not every recurring task wants a reviewer chain (a dependency refresh or a catalog sync is fine merging on green CI), and some you'd rather look at yourself before they land. The same three choices now sit under Agent Options on each scheduled task, alongside a fourth "App default" that leaves the decision to the target app exactly as it works today — so nothing changes for a task you don't touch, and PortOS's own self-improvement runs, which have no app, keep falling back to merging on green CI. Each app's row in the same drawer gets the same choice as an "Inherit (…)" override, next to the ones it already has for issue-author filter and swarm mode — so one app that wants review doesn't force review on every app the task runs against. The reviewer picker follows the choice rather than the Open PR toggle: it stays visible for review-then-merge and for the inherited default (an app may well default to review), and disappears for the two policies that never run a reviewer, where it was previously offering a reviewer list nothing would read. A task carrying the legacy reviewLoop bit — the pre-prCompletion spelling of the same decision — now shows "Review then merge" rather than claiming to be unpinned, and picking any policy retires the old bit so it can't outvote what you just chose.

Fixed

  • A perpetual scheduled task with a daily recheck (e.g. claim-issue set to perpetual with a 0 9 * * * recheck) no longer runs up to an hour late — or reads as "didn't run at all." Perpetual tasks record their "parked until the next recheck" state PER-APP, but the wake-up timer that decides when the daemon next checks for eligible work (scheduleNextImprovementCheck) reads only the global shouldRunTask, which never carries a per-app park — so a parked perpetual task always looked ready there and its real next-recheck boundary was invisible. The timer only shortens its delay for tasks it can see as scheduled, so nothing ever woke the daemon at 9am; the parked drain resumed only on the fallback poll (capped at one hour), which is why a 9am task tended to fire sometime in the 9–10am hour and, if you'd already reached for the manual "Run" by then, looked like it had skipped the schedule entirely. getUpcomingTasks now aggregates a perpetual task's per-app park records into one verdict — ready if any tracked app is due now (mid-drain or its park already elapsed), otherwise scheduled at the soonest per-app recheck — so the daemon schedules a wake-up for that boundary and the drain resumes promptly at the configured time. The change is bounded by the existing one-hour cap (it can only make the wake-up sooner, never later) and touches only wake-up timing and the "Upcoming Tasks" display; the actual per-app dispatch decision is unchanged. As a side benefit the Upcoming Tasks widget now shows a fully-parked perpetual task under "scheduled" with its next recheck time, instead of a permanent "ready" that never spawned.

  • Dragging dashboard widgets did nothing on a phone — "Arrange" opened an edit mode with no handles in it. The grid renderer collapses to a single-column stack below 640px, and drag was switched off entirely there on the reasoning that a phone has no room for positional editing. That is true of where a widget sits, but not of what order the stack is in — which is the only thing a phone user can see, and the one arrangement question the mobile layout actually answers. Edit mode on mobile now gives each widget a reorder handle (a wider touch target than the desktop pair) that sorts it up and down the stack. The sort runs through @dnd-kit/sortable, the same sensor pairing the CoS task list and the universe-builder chips already use, so it arrives with touch, keyboard (focus the handle, press space, then the arrow keys), screen-reader announcements, multi-pointer safety, and auto-scroll past the fold — none of which a hand-rolled pointer gesture would have had. On drop the grid is re-flowed so its reading order matches the new stack order, preserving every widget's width and height: a one-dimensional edit can only be expressed as 2D coordinates by re-packing, so a mobile reorder does re-pack the wide-screen arrangement, and the edit-mode hint now says so rather than leaving it to be discovered.

    Three things around it were wrong in the same way. The stack rendered in grid-array order, but placeAndCompact hoists the moved item to the front of that array on every desktop drag — so a phone showed the most recently moved widget first regardless of where it had been dropped; reading order (y, then x) is now what both the stack and the DOM/tab order follow. Saving an arrangement left the layout's widgets list in its old order, so the layout editor listed widgets in an order the dashboard didn't show; it's rewritten to the grid's reading order on save. And the edit-mode hint picked its wording from a CSS sm: breakpoint while the grid picks its mode from its own measured container — page padding makes the container narrower, so in a ~30px band the hint described handles that weren't on screen. The grid reports its mode to the page now, so there is one seam instead of two.

  • Tapping a dashboard "Add ?" suggestion chip just made it vanish with no visible result. The chip did add the widget to the active layout, but new widgets append at the bottom of the grid — off-screen on the single-column mobile stack — and nothing confirmed the add, so the suggestion read as a dead button that dismissed itself. Adding one now raises a success toast naming the widget ("Added Daily Driver to your dashboard") and smooth-scrolls the newly-placed widget into view, so the action produces a result the user can actually see. Each grid cell carries a data-widget-id so the scroll can target the just-added one; the pending scroll is scoped to the layout it was added on and only fires while that layout is still active, so switching layouts mid-save can't scroll to an unrelated widget.

  • Quota-burn tasks were queued and then never picked up, so the window they were meant to spend expired unspent anyway. Three separate faults, each of which alone was enough to strand a burn. First, a queued burn inherited the per-app review cooldown — a 30-minute throttle re-stamped by every task that completes on that app. On an app that carries any other recurring CoS work (a perpetual claim-issue drain, which is itself exempt from the cooldown and therefore keeps completing) the cooldown never lapses, so the burn task sat in Pending indefinitely while agents ran past it. The cooldown was never this task's throttle: the burn plan's own gate ladder — the reset horizon, the family's reserve, and maxDispatchesPerWindow — is checked before the task is queued at all, so burns now bypass it, as pipeline continuations and perpetual drains already did. Tasks already queued carry no marker, so migration 225 back-fills it onto them rather than leaving them stranded — and a stranded burn is worse than late, because addTask dedupes on description + app, so a pending twin makes the runner report "an identical burn task is already pending" and that job in the plan is permanently unreachable. Second, the runner always walked the family's job plan from the top, and an agent-prompt job always probes as "work pending" (its probe only checks that an app and a provider resolve) — so job #1 won every dispatch forever and the other seven audits in an eight-job plan never ran once. The walk now resumes after the family's last dispatch, read from the run log rather than a second cursor file, and still runs the first job with pending work from there, so a probing job like universe-bible-images keeps its ordering. Third, the plan only advanced once per checkIntervalMinutes — at the 12-hour default, two dispatches a day against an allowance of five on a five-hour window. Each finished burn agent now re-evaluates its own family, so the plan is walked one agent at a time until a gate actually closes; the chain is bounded by the same ledger every other cycle charges, and switching the feature off ends it immediately. That re-evaluation reads only the burning family's quota card rather than respawning every enabled provider's TUI for numbers it then discards — a per-family scrape the usage page already asked for this way.

  • Quota Burn was watching the 5-hour window and calling it the weekly one, so its one real gate never gated anything — and it kept dispatching after the provider started refusing. Every subscription family publishes two windows on the same card: a short rolling one (claude/codex session ≈ 5h, antigravity 5-hour) and a long one (week, month). Selection picked "the soonest-resetting window", and the short one is nearly always the soonest — so a plan written against a weekly allowance showed "62% left · resets in 3h" on its card, resetWithinHours: 24 was satisfied by a horizon that re-opened every five hours (making "only spend as the window is about to expire" bound nothing at all), and maxDispatchesPerWindow: 5 silently meant five burns every five hours rather than five per week, because the dispatch ledger keyed on the short window's reset. A family now burns against its target window — the broadest one in scope, classified by period in the new server/lib/quotaWindows.js — and the card names which window its percentage and countdown describe, so the two can never be confused again. The limiting window (the narrowest) and the tightest window (least headroom, what reservePercent already guarded) stay separate concepts, because they answer different questions. (The per-family Window scope box that used to pin the target by hand is gone in this same release — targeting is now derived from every window on the card rather than typed in.) A provider whose window vocabulary this can't classify falls back to soonest-reset ordering rather than parking.

    Which exposed the second half: what actually stops a burn is the short window emptying underneath it. Spending a weekly allowance runs task after task until the 5-hour window is gone, at which point every further dispatch fails instantly, wastes an agent spawn and leaves a red card in the CoS queue — while the weekly card the runner gates on still reads "60% left, resets in 2 days", so nothing in the reported numbers ever says stop. That got sharper, not milder, once each finished burn agent started dispatching the next one immediately: the chain now walks straight into the wall at agent speed instead of interval speed. A refusal is therefore recorded as a fact rather than inferred from a meter — and recorded inside the completion continuation, awaited before it re-evaluates the family, because a block written after that dispatch (or from a second agent:completed subscriber, whose ordering against the continuation is not guaranteed) arrives one wasted agent too late every single time. The family is blocked until the reset the provider stated in its own refusal, else the reset of its limiting window, else a bounded 5-hour TTL so a reset-less block can't hold forever; a burn that succeeds clears it immediately, the provider serving being more current evidence than any stated reset. Four deliberate narrowings: only agents the burn plan itself dispatched count (the limiting window's reset rides on the task beside the quotaBurnFamily the cooldown exemption and the continuation already read, rather than inventing a second provenance shape); a transient 429 is a retry and not a spent window, so it does not block; an analyzer "usage-limit" verdict is trusted only when it came from a structured provider marker, not a loose keyword sweep over an agent narrating a prompt that happens to be about quota handling; and the block is bypassable by the ▶ forced run, which is how a user retries one they believe is stale. A ledger that can't be read is never overwritten and never silently reads as "nothing blocked", and the reset-out-of-refusal-text parsing is now one shared parseObservedReset rather than a second copy of what the image-gen quota ledger already did.

  • Two agents working a swarm run could overwrite each other's pull-request descriptions. Every agent in a swarm shares one scratch directory and — by design — runs byte-identical instructions, so when two of them reached the "write the PR description to a file" step they independently picked the same obvious filename and the second quietly overwrote the first. The failure was invisible: nothing errored, the text was well-formed, and it only surfaced minutes later when the first agent re-published its now-replaced description onto its own PR. Swarm runs now hand each agent its own scratch subdirectory named for the issue it's working, so no two agents can collide on a filename, and each agent re-reads its published description after creating or editing it to confirm the right one landed. Single-issue runs are unchanged.

  • Quota burn stopped after the first family it dispatched, so a longer-windowed provider never burned at all. A cycle selected every family whose window was inside its reset horizon, sorted them soonest-reset-first — and then returned after the first successful dispatch. Families do not share a budget: each draws down its own subscription window, against its own reserve and its own maxDispatchesPerWindow, so stopping early protected nothing. It just meant the soonest-resetting family took every cycle. A claude window resetting in 2h beat an agy window resetting in 21h on every tick, and the Antigravity plan sat at "93% left · 0/5 used" indefinitely while its eight configured audits never ran. A cycle now dispatches one job per family, records a run-log row per dispatch (so no family is hidden from the audit list), charges each window against its own key, and continues past a family whose job declines. When several plans are walked, every skip reason is prefixed with the family it came from.

  • The burn-job preset picker snapped back to "Choose a preset…" the moment you picked one. Applying a preset copies its text into the step's work prompt 60 lines further down the row, so with the control blank the click read as a no-op and people picked again. It now shows the preset whose prompt the step still matches verbatim — derived from the text rather than stored, since nothing on disk records a preset id, so it reverts to the placeholder as soon as the prompt is edited into something else and never claims a step is an audit it no longer is. Re-picking the preset a row already matches no longer raises the "replace your text?" confirm; the text is that preset's.

  • Content cards were nearly invisible against the page in every theme, and dissolved completely at reduced opacity. Card and page colors were separated by as little as 1.04:1 (Classic Noon, Black ICE Terminal) — and the common bg-port-card/40 spelling then faded even that toward the page, leaving a themed border floating around nothing. Cards now render against a per-theme fill floor (--port-card-min-alpha), every theme's card/page pair clears a 1.12:1 separation, and the card elevation rule covers all fill opacities instead of only bg-port-card/50, so two cards on one page can't sit at different elevations for no visible reason. Hover and active variants are deliberately left unfloored — a hover landing on the resting fill is not feedback — and translucent themes set their own lower floor so glass stays glass. portosThemes.test.js asserts the separation, the floor ordering, and that body and muted text still clear WCAG AA on the resulting fill, for every theme; docs/themes/README.md documents the three-level page/card/well scale.

  • The ignore-scripts supply-chain guard was silently inactive for every workspace install, including CI. The repo-root .npmrc has pinned ignore-scripts=true for a while, but npm resolves the project .npmrc from the local prefix and never walks up the directory tree — so it never applied to cd client && npm install, cd server && npm install, or npm ci --prefix server / --prefix client, which is exactly what CI runs and what the documented per-workspace test workflow uses. In those paths every dependency kept an install-time code-execution slot: the same slot the August 2026 keyv/cacheable (Shai-Hulud) worm used, via a preinstall hook, to harvest credentials before any application code ran. client/, server/, autofixer/, and browser/ now each carry their own .npmrc, so the guard holds in every workspace install path — whether entered by cding in or via --prefix.

    Closing the hole made the trusted-rebuild allowlist load-bearing for the first time, and it had drifted across its five copies (the root setup script, scripts/ensure-deps.js, update.sh, update.ps1, setup.ps1): the esbuild entries were dead — vite 8 dropped that dependency — while onnxruntime-node and protobufjs were missing entirely, so CI ran install hooks that the local setup skipped. All five now read one allowlist from scripts/trusted-rebuilds.js, and CI rebuilds it explicitly after installing server dependencies so node-pty's native binding is still present for the smoke-boot. scripts/trusted-rebuilds.test.js fails if any workspace .npmrc loses the setting, or if a dependency shows up with an install hook nobody has decided about — the second case being how a missing native build otherwise surfaces much later as a confusing runtime crash.

  • Release notes told fresh-clone users to run npm install, which cannot produce a working install. The fallback release-notes template in .github/workflows/release.yml printed a git clone + npm install + pm2 start sequence, but a bare root npm install skips the client, server, and Autofixer workspaces, never initializes the bundled submodules, and does no data/database provisioning. It now points at npm run install:all, matching the README.

  • Replaced a real Tailscale identity with placeholders across tracked files, and added a guard so it can't come back. A real MagicDNS tailnet suffix, real device names, and a real CGNAT peer IP had been committed across server routes/lib, client lib, several test fixtures, two design-plan docs, and two released changelog entries — ~14 tracked files in a public repo. This violates the repo's own CLAUDE.md "Sensitive Data & Privacy" rule, which lists Tailscale node/MagicDNS names and Tailscale/LAN IPs as never-commit categories. Every occurrence is now an obviously-fake placeholder (example-tailnet.ts.net, host-alpha/beta/gamma/delta, a documented CGNAT test IP), preserving the two-host distinctness some tests relied on. A new scripts/tailnet-identity-leak.test.js enumerates tracked files via git grep and fails the moment a real-looking tailnet host or CGNAT address lands again — whether via a pasted log line, a doc example lifted from a live install, or a copy-pasted test fixture.

    These are identifiers, not credentials — Tailscale ACLs still gate all actual network access, and no auth key, token, or secret was ever committed. The historical occurrences remain in git history by deliberate decision (see #3455): a git filter-repo rewrite would break every fork and clone of this fork-aware project to remove values that grant no access on their own.

  • The productivity streak store no longer hands back its module-level defaults, and both it and the weekly digest now have real tests. server/services/productivity.js and server/services/weeklyDigest.js were referenced in the suite only as vi.mock() targets, so ~1,400 lines of streak arithmetic, day/week-boundary handling, and digest assembly were executed by zero tests. They now have direct suites (66 cases) that stub only the file-I/O boundary and the agent-history source and assert concrete values — streak counts across gaps, midnight and year-boundary rollovers, insight copy, week-over-week deltas, and the rendered text summary. Writing them surfaced a real bug: loadProductivity() returned the shared DEFAULT_PRODUCTIVITY object when no store file existed, so the first incremental onTaskCompleted() mutated the module constant in place and every later "empty store" read came back pre-populated. It now clones the defaults per read.

  • Tests that re-implemented the code they claimed to test now import the real thing — which exposed a NaN bug and a timezone mismatch. Seven suites (meatspace, identity, meatspaceAlcohol, meatspaceHealth, taskConflict, appleHealthClinical, featureAgents) defined local copies of the pure functions under test, with comments calling it the project pattern. Every one of those functions was already exported, so the copies bought nothing and passed regardless of what production did. Swapping in the real imports surfaced two divergences the copies had been hiding: computeGoalUrgency guards horizonYears <= 0 || yearsRemaining <= 0 and returns 1, which the stale copy lacked — so a lifetime-horizon goal computed after a user's life expectancy has elapsed divided 0/0 and rendered NaN urgency; and computeRollingAverages keys days by local calendar date while its fixtures used UTC, a mismatch that only bites near local midnight west of UTC and passed on UTC-set CI by coincidence. meatspaceHealth's helpers were never exported at all, so that suite now drives the real async functions with I/O mocked, and takes its BP classifier from the client module that is its actual source of truth (kept in sync with the iOS companion) instead of a third copy.

  • The cron core beneath every scheduler is no longer executed by zero tests. server/services/eventScheduler.js was vi.mock()'d out by all five of its consumers, so its field parsing and timer math never ran under test. It now has 43 tests covering cron syntax, out-of-range and malformed input, the dayOfWeek 7≡0 alias, and the schedule/cancel/pause/resume lifecycle under fake timers. Adds first coverage for localThinking.js (21 tests) and useOpenClawStream.js (10, including the stale-session-switch guard and abort-on-unmount), and exports calculateBackoff so its math is tested directly rather than transcribed.

  • The shared settled() test helper no longer inherits a 1-second timeout. client/src/test/settledInput.js called waitFor with no override, and neither client/vitest.config.js nor client/src/test/setup.js raises testing-library's 1000ms default — too tight for a user.type() plus a React re-render when parallel workers are contending for CPU. It produced a phantom toHaveValue failure in 1 of the 7 suites that use it. Now 3000ms, with a comment explaining why so it doesn't get simplified back.

  • Covered the production memory backend, which had zero tests. server/services/memoryDB.js — the Postgres + pgvector backend every real install runs — had no suite at all; the only "memory" coverage was memory.test.js, which exercises the dev/test-only file backend. The new server/services/memoryDB.db.test.js runs against the throwaway portos_test database via npm run test:db and covers the CRUD/embedding round-trip, listing filters and stats, searchMemories/hybridSearchMemories (vector, full-text and fused rankings, plus zero-result queries proven to be searched-and-empty rather than never-searched), consolidateMemories cluster merging, applyDecay boundaries (the 30-day archive gate, the 0.15 cut-off and the 0.1 importance floor), and getGraphData's node/edge shape. It caught one live bug: createMemory echoed a wrong-dimension embedding back to the caller even though the column had stored NULL, so a re-embed check gated on the returned value would skip the record — it now mirrors updateMemoryEmbedding and returns null.

  • The boot order every install depends on is now executed by tests instead of only described in comments. server/services/bootstrap.js opened with "ordering inside each phase is load-bearing" — and nothing tested it: the file can't be imported under test (it pulls the whole service graph and its steps open a listener, a database, and agent workers), so bootstrapServices() and runBootSequence() had no regression net at all. The ordering now lives in server/services/bootstrapSequence.js, which imports nothing and takes every step as a parameter; bootstrap.js supplies the real migration runner, toolkit, stores and listener, and the sequence module decides when each runs. 41 new tests assert the recorded call sequence — migrations before the toolkit reads its config, sync log before brain recovery appends to it, the media job queue before its completion hooks, the whole database phase before listen() — plus which steps are awaited and which are deliberately fire-and-forget, the fatal-vs-log-and-continue split at each failure point, and a source guard that fails if any AI-provider entry point is ever invoked from the boot path (CLAUDE.md "No cold-bootstrap LLM calls").

  • PUT /api/lmstudio/config validated nothing. It read baseUrl/timeout/defaultThinkingModel straight off req.body, and updateConfig() assigned any truthy value into module-level config that every other LM Studio call then interpolates into fetch URLs — so one malformed request degraded local-LLM connectivity until restart. All eight routes in the file now validate through lib/validation.js schemas, matching the rest of server/routes/. The schemas are non-.strict(), so incidental extra fields still pass through.

  • A throw in the logs:subscribe socket handler could kill the process, and its error events were being silently dropped. It was the only async handler in server/services/socket.js without a try/catch — and an async function passed to socket.on() has no framework rejection handler, so a synchronous throw became an unhandled rejection. Adding the guard exposed a second bug: processName was destructured inside the try, so the catch emitted logs:error without it, and the client's listener filters on processName — meaning every error event was discarded and the log panel hung with no feedback. Both fixed, with a test that fails against the old emit shape.

  • Two import cycles, one of which leaked filesystem I/O into a directory reserved for pure helpers. server/lib/storyBible.js re-exported createBibleStore from services/bibleStore.js, which imports back from it — so roughly fifteen genuinely-pure lib/ modules that import only sanitizers were transitively pulling in that service's file CRUD. Separately meatspacePost.js and meatspacePostTraining.js imported each other with none of the dynamic-import mitigation their sibling cycles carry; the shared streak computation and the training-log storage primitives are now two one-way modules. Both cycles verified gone with madge --circular. Also moves the upload functions out of client/src/utils/fileUpload.js (they made live network calls from a pure-helpers directory) into services/apiMedia.js, which already owned the underlying HTTP wrappers, behind a re-export so no caller had to change (#3452 tracks retiring it).

  • 184 icon-only buttons had no accessible name, and 62 close buttons were smaller than a fingertip. The icon-only buttons carried only a title, which is mouse-hover-only — undiscoverable on touch, and this app is opened from phones and tablets over the tailnet — and is not reliably read as the accessible name. The close buttons were sized to their bare icon (w-4 h-4, p-1) rather than the 44px minimum Drawer.jsx already established; only 9 of 59 files followed it, and one had no sizing at all. Where a smaller min-h token already existed it was replaced rather than paired, since two competing min-h-* utilities resolve by stylesheet order, not source order. a11yConventions.test.js now enforces both rules — writing the guard found five more buttons with no accessible name at all, and hardening it after review found two live sub-44px close buttons its first version couldn't see because it only matched literal aria-label="Close…" strings and missed every dynamic label.

  • The tailnet identity guard had a bypass on exactly the leak class it exists to catch. Its suffix pattern required a digit in the tail<token> segment, but Tailscale picks that token at random from lowercase alphanumerics — so a real hostname whose token happened to be all letters passed silently. It now matches the shape and subtracts known placeholder tokens by exact name, which fails closed: an unrecognized placeholder trips the guard and gets looked at, rather than a real hostname slipping through for lacking a digit.

  • The MeatSpace life-progress bar was the one part of that panel that didn't follow the theme. Its fill color was three inline hex literals (#ef4444/#f59e0b/#3b82f6) while the surrounding card already used border-port-border and text-port-error — so switching themes re-colored everything around the bar but not the bar. It now reads rgb(var(--port-error)) / rgb(var(--port-warning)) / rgb(var(--port-accent)). Separately, the #3b82f6 default swatch was independently hardcoded at five places across the agents and calendar config UIs; a native <input type="color"> genuinely needs a literal hex, so the literal stays — but there is now one DEFAULT_AVATAR_COLOR derived from the default theme's accent that all five import, instead of five edits to change the fallback (#3453).

  • The CoS week id paired the ISO week number with the calendar year, which both split and reused week ids around New Year. getWeekId() was duplicated in productivity.js and weeklyDigest.js and built as ${date.getFullYear()}-W${isoWeek} — so Mon 2025-12-29 and Thu 2026-01-01, one and the same ISO week, stamped 2025-W01 and 2026-W01 (breaking the weekly streak and mis-ordering the longestWeekly scan), while the January week of that same year stamped 2025-W01 too, so the late-December digest overwrote the early-January one on disk. The helper now lives once in server/lib/isoWeek.js and keys on the ISO week-numbering year — the calendar year of that week's Thursday — so one ISO week has one id and no id is ever reused. isConsecutiveWeek moved with it and now bridges a rollover only when the earlier week is genuinely its year's last, which a bare week >= 52 check got wrong for the 53-week years (2026 is one). Migration 224 renames existing digest files and rewrites streaks.lastActiveWeek, resolving each record from its own stored weekStart / lastActiveDate and leaving anything it cannot resolve untouched rather than guessing a digest onto the wrong week.

  • The 1-second async-assertion timeout that flaked the QuotaBurn retry-budget test is now raised suite-wide, not per call site. QuotaBurn.test.jsx's "stops claiming it is saving once the retry budget is spent" failed roughly 1 run in 3 in isolation: it waits on a 500ms debounced save plus its retry — two sequential windows — against testing-library's uncustomized 1000ms waitFor default, which parallel-worker CPU contention pushes past. The same diagnosis had already been made once and fixed in one place (settledInput.js's local { timeout: 3000 }), leaving every other debounce-sensitive test exposed and the diagnosis waiting to be rediscovered. client/src/test/setup.js now calls configure({ asyncUtilTimeout: 3000 }) once, carrying the rationale, and the five now-redundant local overrides in settledInput.js, MediaCollections.test.jsx and ReferenceAnalysis.test.jsx are gone. The cost is that a genuinely hung assertion takes 3s instead of 1s to fail; the full client suite still runs in ~26s.

  • The CoS prompt-builder suite let the contributor's own global CLAUDE.md decide its results, so its suppression checks had never actually run on CI. buildAgentPrompt reads ~/.claude/CLAUDE.md off the real filesystem and splices it verbatim into the prompt, and agentPromptBuilder.test.js then asserts the prompt does not contain things like gh pr merge. That made every negative assertion in the file unsound in both directions: it false-failed on a machine whose personal global instructions happened to mention the string, and — worse — false-passed on a machine with no such file at all, which is exactly what CI is, so the suppression those assertions exist to prove was never exercised there. homedir() is now stubbed to a path that cannot exist, making the global section deterministically empty, and a new fixture-backed test closes the gap from the other side: it points the stub at a throwaway home whose global CLAUDE.md deliberately does contain the suppressed strings, asserts the fixture really is spliced in verbatim, and then asserts every section the builder itself authored still omits them on the reasoning-only path. Verified by breaking the suppression and watching the new test fail (#3475).

  • completeAgent had three addresses, and the four callers that most needed one address were using the wrong one. Continuing #3450's sequencing: agentManagement.js, agentLifecycle.js, agentFinalization.js and agentCliSpawning.js all reached the completion transition through the cosAgents.js barrel. These four are the callers the "move the caller above the facade" recipe cannot reach — the first two DEFINE transitions agentOrchestrator.js re-exports, so importing the facade from either is the cycle itself, and the other two are leaves those two must call to spawn and to finalize. So the rule they follow is the other half of the same property: above the facade's closure a transition comes from the facade, inside it from the module that DECLARES it (cosAgentLifecycle.js), and never from a barrel. cleanupOrphanedAgents's await import('./cos.js') went with it — it was pulling completeAgent and getAgents through the cos.js re-export block while the module was already a static import three lines up, so the deferral bought no cycle protection at all. The new guard in agentImportCycles.test.js derives the transition names from the facade's export blocks and walks re-export edges to work out which modules forward them, so a barrel added later is covered without being named; it catches a named import, a renamed one, a namespace property read, a destructure off a namespace handle, and the three deferred spellings of the same reaches — including const { completeAgent } = await import('./cos.js'), the exact pattern this change deleted. Each bypass-probed.

  • A Three.js part could be scaled to nothing, or reflected into a mirrored node, and the schema called both a valid transform. Every geometry dimension in the scene spec is bounded to a positive number, but partSchema.scale reused the plain finite triple — so a provider-authored [1, 0, 1] collapsed the part to an invisible plane, and [1, -1, 1] reflected it, which three.js absorbs by flipping the front face for the negative world determinant. Neither throws, both export, and both survive a colour or silhouette check, so the resulting "the part is missing" or "the detail reads backwards" is chased anywhere except the one number that caused it. scale is now its own tuple floored at 1e-4 — zero, negative, and near-degenerate components are rejected with a parts.N.scale.M path — and the generation prompt states the bound alongside the parts shape, so the model is told to build a mirrored counterpart as its own part and to omit a part it doesn't want rendered, rather than discovering the bound through a rejected generation. Nothing in PortOS computes a scale: the value only ever arrives in the provider's JSON, no UI edits it, and no seed or reference data carries one, so the schema is the only place it can be caught. Tightening an authoring bound must not retroactively invalidate data accepted under the old one, though, so the bound applies to what a provider may author, not to what an install has already stored: storedThreejsSculptSpecSchema is the same schema with the original unbounded scale, and it is what the standalone-factory download validates against. An existing model therefore stays downloadable and exports exactly as it previews — the alternative was taking Copy/Download away from a ready record whose only remedy is a paid regeneration, or machine-repairing the stored spec, which would silently un-mirror an asymmetric part or resize a deliberately-collapsed one back into view. Both schemas come from one factory parameterized by the scale bound, so the 60-line reference/hierarchy superRefine is not duplicated to express the difference. buildThreejsFactorySource() also stopped calling bare .parse while it was there: a raw ZodError normalizes to an opaque 500, so a genuinely malformed stored spec now comes back as a 400 through the shared failValidation, naming the path (#3484).

  • The "Pick from Gallery" picker could only be narrowed by typing, so finding one object in one universe meant recalling a word from its prompt. It now carries two dropdowns beside the search box: a scope select that groups every universe and media collection under <optgroup>s, and a type select built from the entryCategory/entryKind tags the Universe Builder stamps onto sidecars, labelled through the same humanizeCategory the Builder uses. Those two are separate vocabularies — a user-authored bucket can legitimately be keyed canon — so the type options are prefixed by which field they filter and grouped under Categories/Entry kinds rather than flattened into one list where the bucket and the stage would silently match each other. All three filters AND-combine, and both dropdowns list only universes/collections/types that actually match an image currently in the picker — a scope that can only ever produce an empty grid isn't offered, and a selection that stops matching resets itself to "All" rather than silently blanking the grid. Collection membership is matched on the stored { kind, ref } pair (the same <kind>:<ref> string normalizeImage puts on item.key), not on a bare filename, so a collection holding video refs alongside images filters correctly. Both option fetches are best-effort: if the collections or universes call fails the picker keeps working, falling back to the universe name stamped on each sidecar, and the fetched lists are dropped on close so a reopen can't filter fresh images against stale membership. Sidecars are unvalidated JSON that also arrive from peers, so a tag that isn't a usable string is skipped rather than crashing the render — which surfaced a latent bug in the shared humanizeCategory: its label lookup wasn't hasOwn-guarded, so a user-authored category keyed constructor or toString resolved to an inherited function and handed every caller a label that throws on the next string method (#3479).

  • The Antigravity model dropdown made you pick your reasoning effort inside the model name. agy models enumerates the effort tiers as separate ids (gemini-3.6-flash-low|-medium|-high), so there was no way to set the base model and the effort independently — and the Three.js Model Generator, which builds its own prompt-runner invocation, had no effort control at all. ProviderModelSelector grows optional effort/onEffortChange props that render a "Thinking effort" select for the effort-capable providers (Antigravity, Claude, Codex) and nothing for the rest, so callers need no guard of their own; a picker that wires those also passes withEffort to useProviderModels and then lists base models with the suffixes stripped and deduped. That pairing is deliberate rather than a global rewrite: in a picker with no effort control the suffixed ids are the only way to express a tier, so collapsing them there would strip the capability instead of relocating it. Verified against the real binary before building it: agy takes --effort as its own session flag and accepts the base id — but it validates the PAIR, erroring with gemini-3.1-pro has no "medium" effort (available: low, high). So the tiers offered for an Antigravity model are derived from that provider's own catalog rather than assumed to be the full ladder, and an out-of-range effort clamps down to the nearest tier the model really has instead of producing an invocation agy rejects. A stored suffixed id — still what older installs and federated peers persist — splits into base plus --effort, the equivalent invocation, rather than being orphaned, and the picker seeds both controls from its two halves; one that somehow can't be split stays visible as its own option instead of blanking the select. The effort the record stores is the one that will ACTUALLY run — resolved server-side against the provider and model before persisting — so a level left over from a previous selection can not be saved and rendered for a run that never used it. Threading the effort down to runPromptThroughProvider also closed a gap on that path generally: it rides the provider clone the arg builders already read, and until now buildCliArgs/buildTuiInvocation emitted no effort flag at all for claude or codex there (#3480).

  • [issue-3495] Only one picker had gained the separate reasoning-effort control, so everywhere else Antigravity still hid the tier inside the model name. #3480 relocated the effort out of the model id but wired it into the Three.js Model Generator alone; every other dropdown still listed gemini-3.6-flash-low|-medium|-high as three separate models. The remaining pickers that already persist and forward an effort now list base models with the tier picked beside them: the CoS Add Task form, the Resume Agent modal (which gains a Thinking Effort select it never had, so a resumed run keeps the tier the original ran at), the scheduled-task global config and the schedule card's quick controls (one change, since both drive the same useTaskModelPins), its per-stage pipeline config, the Scheduled Jobs provider/model fields, the Agent Operations /do:* drawer, the game AI-feedback panel, and the Three.js Models create page (which also gains an effort control — only the detail page had one). Every one of them feeds the selected model to the effort select, so the offered tiers are the ones that model actually has rather than the full ladder — agy rejects --model gemini-3.1-pro --effort medium outright. A record, template, or agent saved before the split reads back as base model plus its baked tier, and where a form edits a saved record in place the stored suffixed id stays selectable as its own option instead of blanking the select — it still runs, because the server splits it into --model + --effort. Pickers whose route has no effort field at all (the editorial-checks run, the per-feature AI assignments, and the prose/vision/embedding pickers) are deliberately left listing the suffixed ids: collapsing them without somewhere to put the tier would strip the capability rather than relocate it (#3495).

  • Composite boards were the only Universe Builder surface with no thumbnail, so a rendered board looked unrendered. Characters, places, objects and category variations all show their latest render as an EntryThumbSlot avatar with a click-to-preview lightbox; the Composites tab showed label + prompt only. Nothing was missing server-side — compile.js already stamps an entryRef of kind sheet on each queued board render and the completion hook already appends the resulting filename to that board's imageRefs[], so the data was sitting in the record with nothing reading it. Composite rows now render through the same EntryCard shell + three-state EntryThumbSlot the variation and canon rows use (in-flight spinner → rendered thumbnail → empty placeholder with a one-click render button), so their spacing and locked accent can no longer drift from the other surfaces, and clicking a board opens the same page-level lightbox with the real render prompt hydrated from the gallery sidecar. useRenderJobQueue had been dropping sheet-kind jobs on the grounds that no row consumed them; with every kind the server stamps now settled by a row, the filter is deleted rather than widened — an allowlist that already covers everything can only ever fail closed on the next kind added, silently, with no spinner and no error. Two things this collapsed rather than copied: the row settles through EntryThumbSlot's existing onComplete bridge instead of opening a second useMediaJobProgress subscription against a jobId the slot is already watching (which is what the variation and canon rows do, at the cost of a row re-render per diffusion tick), and the two page-level job handlers that had each inlined the same append-dedupe-cap now share appendImageRefById in lib/bibleLimits.js, the client mirror of the server's mapAppendImageRef (three other surfaces still inline their own copy). The settle callback is memoized rather than rebuilt per render: MediaJobThumb fires its completion effect on [filename, onFilename], so a fresh arrow would re-settle the same job on every keystroke in the builder draft, each one a full gallery refetch — there is a test that fails against the unstable form. Codex review then surfaced the gap that made the whole thing conditional: the draft never adopted the ids the server sanitizer mints, so a board added and rendered in the same session had no id to match the one the server stamped onto entryJobs — no spinner, no thumbnail until reload, and (now that sheet jobs are tracked) a pending entry with no consumer to clear it. handleSave had the server record in hand the whole time and only ever used it for the universe list, so it now adopts the minted ids into both the draft and its dirty baseline — backfilling only the draft would leave the page permanently dirty. That fixes variations, which had the identical latent bug, in the same place rather than special-casing boards. A second review round found the same mismatch in its other shape: on records written before entry ids were persisted at all, ensureEntryId mints a fresh uuid on every read, and POST /render migrates the record — persisting yet another set — before queueing jobs against it, so the draft is holding ids that exist nowhere. The render flow now reconciles from the persisted record before it enqueues, and the adopt rule is stated as "keep every id the server also has, replace the ones it does not": an id the server has never heard of cannot be the key anything is stored under, while a confirmed id is never re-pointed and so can never be pulled out from under an in-flight job. And a failed board render now says so, the way the variation and canon rows already did, instead of the spinner just vanishing — EntryThumbSlot reports the terminal status on a dedicated onTerminalStatus prop so a cancel can stay silent. That status deliberately does NOT ride on onComplete's second argument, which was the first thing tried: useSingleImageRender's handleComplete(filename, key) is wired straight into that prop by the base-style probe, so a status arriving where it expects a key looked up a job that did not exist, never cleared the real one, and left the probe spinning forever after a perfectly successful render. The full client suite did not catch it — the collision only shows up through a component boundary neither module's tests cross — so EntryThumbSlot now asserts onComplete is called with exactly one argument, which fails the moment anyone overloads it again.

  • [issue-3515] A failed AI goal organization stacked two identical error toasts on top of each other. Both the Goals list and the Goals tree already showed their own "Failed to organize goals" message, but the API wrapper they called dropped the caller's request-level options on the floor, so the shared request helper had no way to be told to stay quiet and toasted the same failure a second time. organizeGoals now takes the provider selection and the request options as separate arguments and forwards the latter, and both views ask for silence — the wrapper is not hard-coded silent, so a future caller with no error UI of its own still gets the helper's toast. Guarded from both ends: a service-level test drives the real request helper against a failing fetch and asserts nothing toasts, and each view asserts it passes { silent: true } and fires exactly one toast.

  • [issue-3519] One stray tap on an installed LoRA card permanently deleted a multi-gigabyte model file. The trash icon on the LoRA Manager's installed cards went straight to the delete — no confirmation, no undo, and re-downloading or re-training is measured in hours. It now arms an inline "Delete file? / Delete / Cancel" pair in place of the card's action row, using the same useConfirmDelete + ConfirmButtonPair pattern the rest of PortOS uses for destructive list actions, so only one card is ever armed at a time and cancelling leaves the file untouched. The pair replaces the whole row rather than squeezing in beside Test and the Civitai link, because a single-column phone layout has no room for both, and it stays put with a spinner while the delete is in flight instead of flashing the trash icon back mid-request.

  • [issue-3524] Brain's RSS feeds were unreadable on a phone — the feed picker and the article list were jammed side by side in two narrow strips. The Feeds tab lays its desktop sidebar and its item list out as a flex row, and the row direction was unconditional: below md the sidebar hides and a <select> feed picker takes its place, but that picker and the item list were still being laid out as columns next to each other, squeezing article titles into a sliver and pushing the page wider than the viewport. The container now stacks vertically by default and only becomes a row from md up, so the picker sits above a full-width list on a phone while desktop keeps the sidebar beside the list exactly as before. The picker also stops carrying its own bottom margin — that margin did nothing in a row and would have doubled up with the container's gap once stacked — and no longer shrinks when a long list of items competes for the same vertical space.

  • [issue-3517] A failed "Schedule Time Blocks" left the goal's scheduling buttons stuck on "Scheduling..." until you reloaded the page. Scheduling, rescheduling, and removing a goal's time blocks each raised a shared busy flag before their request and lowered it afterwards, but nothing caught a rejection — so a server error or a dropped connection aborted the handler before the flag came back down, and all three buttons stayed disabled with no way to retry short of reloading. The three now share one runner that always clears the flag, and the panel refreshes afterwards whether or not the request succeeded, because a scheduling run can write some blocks before it fails and leaving that half-written state off screen is the more confusing outcome. The failure itself still surfaces exactly once, from the shared request helper, rather than picking up a second toast of its own.

  • [issue-3525] Tapping "edit bucket" on a phone in Bookmarks often deleted the bucket instead. The edit and delete icons in a bucket's header were 13px glyphs with 4px of padding — roughly 17px of tappable area each, sitting right next to each other — so on a narrow screen a thumb aimed at edit landed on delete and opened its confirmation instead. Both now use the standard 44px minimum tap target with the icon centered inside it, which is what the rest of PortOS uses for icon-only buttons, and the header's own vertical padding drops to compensate so the taller buttons don't inflate the card. The bucket's "add a URL" submit button had the same problem and gets the same treatment.

  • [issue-3526] Opening the Daily Log on a phone showed you a wall of buttons and no writing area. The editor toolbar packed eleven controls into one wrapping row, which on a 375px screen stacked into four-plus lines of header and pushed the text area itself off the bottom of the screen — so the one thing the page exists for was below the fold before you had typed anything. The toolbar is now two compact rows on a phone: day navigation on the first, the date and save status alongside the controls you actually use while writing — dictate and save — on the second. Draft, Read back and Delete move into an overflow menu rather than being hidden, so every action is still one tap away; the menu opens with the keyboard, closes on Escape or an outside click, and its items and trigger meet the 44px tap-target minimum, as do the toolbar buttons beside them. From a tablet up the toolbar is unchanged: one row with every button labeled.

  • [issue-3529] Syncing two machines wiped your Digital Twin's evaluation history down to a single run. Every persona test, values-alignment run, adversarial-boundary run and multi-turn run is recorded with a runId, but the peer merge was unioning those four histories on an id field none of them has. Every entry therefore resolved to the same empty key: the local runs overwrote each other until one was left, and every run arriving from the other machine was then discarded as a duplicate of it. Both machines lost their history on the first sync, permanently. The merge now keys on runId, so runs recorded on either machine survive and a run both machines already have is not duplicated. The union helper underneath no longer collapses records at all when the field it was pointed at is missing — records with no usable key are matched on their content instead, so the next time a key field is named wrong the result is a harmless duplicate rather than silent destruction, and re-syncing the same records adds nothing. Merged histories are also re-sorted newest-first, because the recorders keep only the fifty most recent runs and take them off the front: a peer's runs appended to the end would have read as the oldest, and the next local run would have trimmed away the newest entries instead of the oldest.

  • [issue-3518] A failed goal check-in silently expanded the check-ins list onto nothing. "Run Check-In" raised its busy flag, fired the request, and then unconditionally opened the check-ins accordion and refreshed the panel — whether or not the server had actually produced a check-in. So a failed run ended with the list flipping open on the same entries it already had, which reads as "the check-in ran and produced nothing" rather than "the request failed." The panel now only opens when the server returns the new check-in, and the pointless refresh is gone with it; the failure surfaces exactly once, from the shared request helper, rather than picking up a second toast of its own. Clearing the busy flag also moved into a finally, so a call that throws before returning a promise can no longer latch the button on "Checking in..." until a page reload.

Three.js Models

  • [issue-3481] A generated model now tells you which of its own promises it did not actually build. The spec check only ever proved that every feature the model listed pointed at a real part — so a spec could name eight defining features, aim all eight at the same box, and still validate clean: one fused mesh wearing a photograph. Each finished generation is now measured against its own inventory and the result is shown on the model's page: features collapsed onto a single shared part, geometry no feature claims, and features nothing was built for at all. Severity follows how much of the subject rides on the miss — a missing defining feature is an error, fine relief folded into the piece it sits on is called out as the correct modeling choice rather than a defect. When you hit Refine without typing your own notes, the refinement pass is now aimed at exactly those errors instead of a generic "improve it." The page states the check's honest limit alongside the findings: it proves the model built what its spec promised, never that the spec promised enough.

  • [issue-3483] Take a generated model apart and click any piece to find out what it is. The preview used to render a finished model as one inert lump — the only way to check it was actually built from parts, rather than fused into a single shape, was to export the source and read it. An Explode slider now separates the assembly, and clicking any surface names the part it belongs to and lights up that whole component. Separation scales the layout outward from the model's centre instead of shoving every piece the same distance, so parts that were touching genuinely come apart, pieces sitting at the centre still clear their neighbours, and the camera re-frames to whatever the disassembly actually grew to. Surface detail — serrations, stria, trim, port floors — rides the part it belongs to instead of shattering into loose slivers, and clicking it selects that part; models are now generated with that distinction marked, and exported models carry it too.

  • [issue-3482] A model that looks perfect head-on and like cardboard the moment you orbit it now says so before you find out yourself. Since the spec gained extruded outlines, a generation can score a near-perfect match against its reference — right silhouette, right colour zones, right part count — while every load-bearing piece is a flat slab standing on its own depth plane, because a head-on comparison actively rewards that flatness. A new cross-section check reads the finished geometry instead of the picture: it counts how many distinct planes each mesh actually occupies on its thinnest axis (a fan of four hundred triangles sharing one Z value has no profile at all) and treats an unbevelled extrusion as the two-plane slab it is by construction. It reports at the level of the whole model rather than per part, because a flat extrusion is the right answer for a badge, a sign, or a panel — the finding fires only when the majority of the subject's identity-defining features have nothing but flat parts behind them, and it names the parts responsible. The result sits beside the assembly-coverage findings on the model's page, and a Refine you didn't steer now asks for real depth as well as for the promises the last pass didn't build. The generation prompt was closing the loop from the other end too: it sold extrude for silhouettes without ever saying when extrude is the wrong answer, so it now states that a body with a real cross-section — a torso, a housing, a grip, a shell that varies in thickness — must not be an unbevelled extrusion, and gates on a subject that isn't genuinely plate-like not having every identity part flat along one axis.

  • [issue-3503] A fused model could hide from the assembly check by wearing a second part id. The fusion finding only looked at features that named exactly one part, so a spec that aimed eight defining features at the same two parts — every one of them "hull and base" — reported completely clean, even though nothing in it distinguishes one feature from another. Features are now grouped by the whole set of parts they name, so any group of two or more defining features sharing an identical set is reported the same way a shared single part already was, with the finding naming the parts and how many features are riding them. Sets that merely overlap ("hull and base" beside "base and mast") are left alone — sharing a part is ordinary attribution, not fusion. And the existing rule that a set nothing was built on went unbuilt rather than fused still holds, so a refinement pass is never handed both "split this mesh" and "this mesh does not exist" about the same features.

Character LoRA training

  • [issue-2786] Training a character LoRA on an NVIDIA GPU now works. The torch/diffusers trainer is the path every non-Apple machine takes, but it had only ever been exercised on a 128 GB Mac — where two memory faults did no visible harm, and where the run died at an unrelated Metal limitation before it could reach one of them. On a 24 GB card both were fatal. Preparing the dataset held on to roughly 2.6 GB of scratch memory for every distinct caption it read, so a six-image set exhausted the card before training began; depending on how the driver reacted, that surfaced either as a run that sat at "precompute" for twenty minutes doing nothing visible, or as an out-of-memory abort blaming an allocation far smaller than the space that should have been free. Separately, the preview image the trainer renders at each checkpoint was being decoded on the CPU in a numeric format no CPU has a fast path for, which read as a hang — a single 512-pixel preview took over eighteen minutes. Both are fixed, and a run that previously never finished now trains, checkpoints, previews, resumes from a checkpoint, and produces an adapter that loads cleanly for image generation; a 20-step smoke run completes in about twenty seconds and peaks at 8.8 GB of the card's 24 GB. Apple Silicon behaviour is unchanged — it still refuses up front and points at the mflux runtime, which remains the right choice there.

Internal

  • [issue-3497] The Chief of Staff no longer re-reads and re-parses its task lists on every scheduler tick — an unchanged list is served from memory instead, which matters most on installs whose task history has grown large. Edits made outside PortOS (a text editor, a restore, a sync peer) are still picked up immediately.

  • [issue-3506] Typing in the ⌘K search bar no longer re-reads every Brain record off disk. Brain keeps one file per record — people, projects, ideas, admin items, memory entries, links and inbox captures each live in their own directory — and unified search was opening and parsing all of them, across all seven stores, for every single character typed. On a Brain that has been in use for a while that is thousands of file reads per keystroke, which is exactly why the palette got slower the more you put into it. Search now reads a small in-memory projection of just the fields it matches on, refreshed as records change rather than rebuilt per query, so the disk is touched once per store instead of once per character. A store that is legitimately empty counts as read — otherwise the one case with nothing to cache would have kept re-scanning forever. Records arriving from a sync peer, which deliberately land without firing the usual change events so they cannot echo back around the network, now raise a local-only signal so the projection refreshes for them too; without it an inbound sync would have left search answering from a stale snapshot indefinitely. The old cap that only ever searched your 200 most recent inbox captures is gone with it — it existed solely to bound the disk cost that no longer exists.

  • [issue-3498] Opening a long-running agent's transcript no longer loads the entire log into memory. A completed agent's output.txt has no size ceiling — a multi-hour TUI run writes tens of megabytes — and every request for that agent's details read the whole file and turned each of its 50,000+ lines into its own object, spiking memory and churning the garbage collector for a view that only ever shows the end of the log. The agent detail now hydrates the tail: at most the last 1,000 lines, and never more than 512KB read off disk. Both caps are needed, not just the line one — a repaint-heavy TUI transcript spools as effectively a single enormous line with no newlines in it, so a line count alone bounds nothing. When the log is longer than that, the view says so and reports the full size on disk rather than presenting a clipped transcript as the whole thing. The bounded tail read is now one shared helper instead of the two near-identical private copies that had grown up in the TUI failure analyzer and the Codex usage scan.

  • [issue-3499] Background scheduler ticks no longer fire a network git fetch and a gh process at GitHub every time they check whether a plan item is claimable. Deciding whether a PLAN.md item is already in flight means reading the repo's claim branches and open PRs, which costs a git fetch --prune, a git branch -a, and a spawned gh pr list — and the evaluation loop runs far more often than claim branches actually appear, so the same three processes were being spawned over and over for an answer that had not changed. The scan result is now reused for a minute per repository, which is short enough that a newly pushed claim branch is still seen within a tick or two and long enough that a burst of checks costs one scan instead of one each. What gets cached is every claimed slug in the repo rather than one caller's filtered answer, so a second caller asking about a different set of items still gets a correct result off the same scan, and callers that overlap in time share a single in-flight scan instead of racing three more processes into the same repo.

  • [issue-3500] The Chief of Staff's cooldown sweep no longer re-scans its whole blocked backlog once per blocked task. Tasks that get parked with an orphan-retry cooldown are revived by a pass that walks both task queues — the user queue and the internal one — and each revived task has to be written back to the queue it came from. That queue was being re-derived per task by searching the user queue for the task itself, a linear scan inside a linear loop, so the work grew with the square of the backlog on every scheduler tick. The two queues are now walked separately, which hands each task its origin for free and makes the sweep linear. Behavior is unchanged, including that a task carrying an explicit type still wins over the queue it was found in.

  • [issue-3508] The "N missing · Embed" badge on the Brain graph no longer reads your entire Brain off disk to compute a number. Checking embedding coverage means counting live records and asking which of them have a vector yet — but it was answering that by loading and parsing every person, project, idea, admin item, memory entry and daily log entry in full, across every store, then throwing all of it away except each record's id. On a Brain with a few thousand records that is a few thousand file reads and JSON parses to render two integers. The tally now works from an id index instead: which record ids exist is re-read from the directory listing every time (cheap, and it is the honest source of truth for records added or hard-pruned), while whether a given record is archived or tombstoned — the part that requires opening the file — is resolved once per record and then remembered. Changes that keep a record's id, an archive flip or a delete writing a tombstone over it, drop just that one id from the index so the next count re-reads exactly one file; records arriving from a sync peer, which land deliberately silent so they cannot echo back around the network, ride the same local-only signal the search projection already uses, so an archive performed on another machine is not invisible here. The daily-log walk also loses a cap nobody meant as a policy: it used to ask for the first 10,000 days and would simply have stopped counting after that.

  • [issue-3501] Daily agent reports for past dates read as all-zero, and the dashboard's activity card re-scanned every agent you have ever run. Both the daily report and the "today" activity card worked out which agents finished on a given date by walking the entire in-memory agent dictionary and string-matching each record's completion timestamp — so the cost grew with your whole agent history rather than with the day being asked about, and once the housekeeping sweep had evicted a day's finished agents out of live state (it keeps roughly a day), asking for that date's report returned zeros even though every one of those runs was still sitting on disk. Both now consult the date-bucket index that already maps each archived agent to its day: the index is a small in-memory id-to-date map, so a date whose agents are all still live costs no disk reads at all, and a date that has been swept out resolves from the archive instead of reporting nothing. Live records still win over their archived copies, since the archive is written at completion time and the live one carries anything recorded since. The "while you were away" card is built on the same lookup now, which also stops it re-reading up to thirty days of archives on every poll for agents it already had in hand. Asking for a report by anything other than a plain calendar day is now rejected outright rather than quietly writing an empty report under a filename nothing can read back, and a report row's duration is derived the same way every other view derives it, so a clock-skewed run can no longer show negative time.

  • [issue-3509] Opening your Bookmarks no longer reads and re-sorts every link you have ever saved. Answering a single page of /brain/links meant loading and JSON-parsing every link record on disk, filtering the whole array in memory, sorting all of it by date, and then throwing away everything outside the fifty rows actually asked for — so the cost of showing page one grew with the size of the entire collection rather than with the size of the page. The links list now rides a small in-memory index of just the four fields the endpoint orders, filters, and counts on, refreshed per record as links change rather than rebuilt per request, so only the requested page's records are opened. The filters keep their exact previous meaning, including that a link saved before the GitHub flag existed still does not match "not a GitHub repo" — absent is not the same as false. Links sharing a timestamp, which is every link from one bulk import, are now ordered by id underneath the date so paging through them cannot skip or repeat a row at a page boundary, and a link with a missing or unreadable date sorts last instead of scrambling the order around it. Two neighbouring paths lost the same whole-collection read: checking that a drag-reorder batch refers to links that still exist, and checking whether a URL you are about to save is already bookmarked.

  • [issue-3510] Typing in your Daily Log no longer re-reads every day you have ever written. Each daily-log entry is its own file on disk, and every save, autosave, and dictated segment against today was rebuilding a full date-to-entry map of your entire journal history — opening and parsing every past day, merging each one's local Obsidian mirror location back onto it — purely to fill in the payload of a store-wide "the journal changed" event. Nothing consumed that map: the write paths already announce the single affected day, and that is what the memory vectorizer listens on. The event now carries just the day that moved, so an append costs the one entry it touched instead of the whole archive, and a long dictation session no longer re-reads years of entries once per sentence. A delete reports the day with an explicitly empty entry, which is distinct from a day that simply was not part of the change.

  • [issue-3516] Applying an AI-suggested goal hierarchy no longer reports success when it failed. The routine that writes the suggestion back — creating the new north-star goal, creating the sub-goals under it, then re-parenting everything else — already gave up and reported failure the moment any of those steps was rejected by the server, but both views that call it threw that answer away and showed "Goal hierarchy applied" regardless. So a run that created nothing at all still looked like it had worked, and the list you were staring at kept showing the old arrangement. Both the list and the tree view now say so when the apply fails, and both refresh the goals afterwards either way, because a failure can still have created part of the hierarchy before aborting and leaving that half-written state off screen was the actual complaint. The apply routine swallows each server error on purpose so it can report one clean yes-or-no, so it now also asks those calls to stay quiet — otherwise the failure would have surfaced as two error toasts stacked on top of each other.

  • [issue-3530] Deleting a Digital Twin document no longer leaves it to be resurrected by your other machines. Peer sync merged the identity documents add-only: whichever machine still had the file put its metadata entry back into meta.json and re-wrote the .md on disk, so a document you deleted came back on the next sync cycle, every cycle, forever. A delete now records a tombstone on the document's filename, and those tombstones union in both directions — so the machine that still holds the document drops its entry and removes the file, instead of the deleting machine merely defending itself while the peer keeps re-sending. Filename is the key rather than the document id because ids are minted per install and the same document can carry a different one on each machine. Deleting is not permanent in the way a naive tombstone would make it: a document created — or edited — after the delete records a stamp that supersedes the tombstone, which is then dropped, so re-creating a document you removed (by hand, or by an enrichment session regenerating its target) works and survives a peer that has not seen the re-create yet, and an edit you made on one machine is not silently destroyed by a delete another machine performed before that edit. Those two stamps are the one part of a document's entry that is not add-only — each machine takes the newer of its own and its peer's — so a machine holding a stale copy cannot keep a third machine's older delete alive against a document that has since come back. A peer running an older build simply ignores the new field and keeps offering its copy; the upgraded machine still refuses it, so nothing is corrupted while the two versions differ.

  • [issue-3527] The Brain Trust Panel no longer scrolls sideways on a phone. Its header put the title block and the five audit counters — Total, Filed, Review, Corrected, Errors — on one row that was not allowed to wrap, so on a 375px screen the counters ran off the right edge and dragged the whole page's horizontal scrollbar with them. The title and the counters now stack under sm and re-join from sm up, the counters wrap among themselves, and the status-filter row wraps too so its Refresh button cannot spill off screen either. Every counter stays visible without scrolling; the desktop layout is unchanged.

  • [issue-3528] The Notes header controls in Brain are now big enough to hit on a phone. The "Manage vaults" and "New note" buttons wrapped 14px icons in nothing but p-1.5, giving them roughly 26x26px of tappable area right next to the vault dropdown — close enough that a thumb aiming for "New note" would land on the dropdown instead. Those two buttons, plus the vault selector, the search box, and the create-note row beside them, now all clear the 44px touch-target floor the rest of the app uses. The search box also gained enough right padding to clear its own clear-search button, which was already 44px wide and had been sitting on top of whatever you typed.

  • [issue-3520] The goal progress slider no longer sits on a percentage the server never stored. Releasing the slider fired the update and left the dragged number on screen, and the only thing that ever corrected it was an effect that re-synced the slider the instant the drag ended — so on a normal save the percentage visibly snapped back to the old value while the request was still in flight and then jumped forward again when the refresh landed, and on a rejected save it was only that same flap that happened to leave the right number showing. Moving the slider with the keyboard never committed at all: arrow keys never produce a mouse release, so the value the user set stayed on screen, unsaved, until the panel was closed and re-opened — the reported symptom, reached by a different route than the drag. The slider now keeps the value it committed until the stored percentage actually changes underneath it, and resets to what is stored the moment the update reports it failed; the update handler reports that outcome rather than throwing it away. Arrow, Home/End and moving focus off the track all commit like a mouse release does. Releasing again on a percentage that is already saved or already on its way — a touch release fires both a touch end and a synthesized mouse release, and a blur can follow either — no longer sends it a second time, while a percentage the user sets while a save is still in flight is held and sent as soon as that save answers, so the value on screen is always one that was actually sent. The "Progress" label is now paired to the slider, so screen readers and click-to-focus find it.

  • [issue-3533] Deleting a Twin persona no longer leaves it to be resurrected by your other machines. Peer sync merged the personas add-only, so whichever machine still had a persona you deleted put it straight back into meta.json on the next cycle — and every cycle after that. A delete now records a tombstone on the persona id, and those tombstones union in both directions, so the machine that still holds the persona drops it too instead of the deleting machine merely defending itself against a peer that keeps re-sending. The id is the right key here (unlike identity documents, which tombstone on filename) because a persona id is minted once by the machine that created it and then travels with the record. Personas also now take the more recently edited copy on a collision rather than always keeping the local one: that is what lets a persona you edited after another machine deleted it survive — the newer stamp supersedes the tombstone, the stale tombstone is dropped, and a third machine holding an old copy can no longer reap the persona against a delete that has since been overruled. If the persona a peer's delete removes was the active one, the active-persona pointer is cleared rather than left dangling. A peer running an older build ignores the new field and keeps offering its copy; the upgraded machine still refuses it, so nothing is corrupted while the two versions differ.

  • [issue-3532] Deleting a social account from your Digital Twin no longer leaves your other machines to put it back. Peer sync merged the account list add-only: whichever machine still had the account re-inserted it, so an account you removed on one machine reappeared on the next sync cycle, every cycle. A delete now records a tombstone on the account's id, and those tombstones union in both directions — so the machine that still holds the account drops it, instead of the deleting machine merely defending itself while the peer keeps re-sending. The id is the right key here, unlike the identity documents that tombstone on filename: an account id is minted once by the machine that created the account and then travels verbatim between peers, and re-adding the same handle after a delete mints a fresh id, which a platform-and-handle key would have wrongly kept suppressed. An account edited after another machine deleted it also survives — the edit is the user's later word, and the now-obsolete tombstone is dropped so it cannot bounce back from a peer that has not caught up. A peer running an older build simply ignores the new field and keeps offering its copy; the upgraded machine still refuses it, so nothing is corrupted while the two versions differ, and no migration is needed because a file without the field reads as an empty list.

  • [issue-3531] Deleting an autobiography life story no longer leaves it to be resurrected by your other machines. Peer sync merged the stories add-only, so a story you deleted on one machine was put straight back by any machine that still had it, on the next sync cycle and every cycle after that — there was no way to permanently remove a story you had written. A delete now records a tombstone against the story, and those tombstones union in both directions, so the machine that still holds the story drops it too rather than the deleting machine merely defending itself while the peer keeps re-sending. The tombstone keys on the story's own id, which is safe here in a way it was not for identity documents: a story id is minted once when the story is written and travels with the record, so every machine knows the same story under the same id. A story that was edited after another machine deleted it is kept rather than reaped — that edit is the user's later word on it — and the now-obsolete tombstone is dropped so it cannot bounce back from a peer that has not seen the edit. A peer running an older build simply ignores the new field and keeps offering its copy; the upgraded machine still refuses it, so nothing is corrupted while the two versions differ. Two neighbouring bugs in the same merge went with it: the list of prompts you have already answered was only checked for having changed length, so a list that was merely in a different order than a peer's was never written back in the shared order — leaving two machines with the same prompts computing different checksums and re-syncing that file forever — and a story arriving from a peer without a usable id was filed under a blank key, where a second such story would overwrite it and neither could ever be deleted. Separately, a fresh install's first story read handed back the shared default record by reference, so anything written into it lingered in memory for the next reader; that record is now copied per read.

  • [issue-3507] Opening the Brain graph's search box no longer walks every record on disk. The graph search index returns nothing but a name and a type per node, but it was building that list by loading the full body of every person, project, idea, admin item and memory entry — plus every Daily Log day — and then discarding the summaries, tags and status it had just parsed. Since Brain keeps one file per record, focusing a search input meant thousands of file reads for a dropdown of labels. The index now reads the same in-memory field projections unified search uses, so it costs a scan of memory rather than a walk of the disk, and a Daily Log entry contributes only "is this day non-empty?" instead of its whole text — the biggest body in the Brain never enters the cache at all. The two graph views that genuinely need bodies (the overview and a node's neighborhood) still load them; only the label list changed, and it derives its labels and its skip rules from the same helpers the full-record path uses so the two cannot drift. Nodes come back in the same order as before: the projections are read unranked, so the memory entries in the dropdown stay in store order rather than silently re-sorting themselves newest-first.

  • [issue-3485] Three.js model generation can now be narrowed to a subject family, so the model is judged against a checklist it did not write itself. The assembly-coverage gate has always carried an honest limit: it proves a spec built everything it promised, never that it promised enough — a component nobody noticed is never inventoried, never specified, and passes every check clean. Picking one of five coarse families (character, vehicle, weapon, building, device) on the create form or the workspace splices a curated checklist into the generation prompt — the components a reconstruction of that family is usually judged on, the material zones worth separating, the axes to judge the result on, and the orbit views that expose the usual failures — and lets the coverage gate warn on a required component the spec never mentions anywhere. That warning feeds the unsteered refinement pass, so "you never accounted for the trigger guard" becomes something the next run is actually told. The checklist is deliberately framed as a floor rather than a ceiling, in the prompt and in the panel: it names the limitations escape hatch for a component the reference genuinely does not show, and it says outright that a spec inventorying only the checklist has under-observed its reference — a thin taxonomy that teaches the model to stop early would be worse than none. Family is optional and defaults to General, which splices nothing at all: an existing model, and anyone who does not pick a family, gets the byte-identical prompt that shipped before this. The workspace renders the chosen family's checklist under the coverage panel with each component marked accounted-for or not, so the orbit views worth checking are next to the preview you would check them in. The field is additive on the record, so no migration is needed and a model generated before this reads back as General. A family id this build does not ship — a record written by a build with a larger taxonomy, then downgraded or restored from a backup — degrades to no checklist everywhere rather than failing the record: the picker shows General instead of pinning itself to a value it has no option for, and the server coerces rather than rejecting the refine request, which would otherwise have left that model permanently un-refinable.

  • Canon entries can be removed from a universe's Cast, Places and Objects buckets. Every other bucket on a universe page — the Other category variations, the Composite sheets — has always carried a trailing X to drop an entry you no longer want, but the three canon trunks had no way to remove anything at all: an entry pulled in by an over-eager prose extraction, added from the Catalog by mistake, or simply written out of the world was stuck in the universe forever. All five buckets now behave the same way, with the same X in the same place on the card. Removal is deliberately narrow and says so in the button's tooltip and the confirming toast: the entry leaves this universe's canon list and nothing else is touched. Its rendered reference images and character reference sheets stay in the gallery, where they remain previewable and re-attachable to another entry, and the shared Catalog ingredient an entry may be linked to is left alone — that row is a universe-independent record other universes and series can embed, so deleting canon must not delete it. Locked entries are removable, because the lock exists to stop AI refine/differentiate passes from rewriting an entry, not to stop the user from deciding it does not belong. The removal goes through its own endpoint that filters the array inside the universe's write queue rather than composing the surviving list on the client and PATCHing it back from a possibly-stale read — the existing PATCH path already shields rendered images and reference-sheet pointers against that race, but not a sibling entry's pinned primary image, its lock state, or a description a refine rewrote while you were clicking. The card disappears on click and is restored, whole and in place, if the write fails. Because a universe merges across machines as a whole record by last-write-wins, the removal propagates to your peers on the next sync without any tombstone, and neither the catalog projection nor the boot reconciler — both of which only ever read canon and write outward — can put the entry back.

  • [issue-3563] "Continue Today's Routine" in POST no longer hands you the same drill over and over. The routine always took the #1 recommendation, but the two signals that produce most recommendations — your weakest drill by recent accuracy, and a ladder you are partway up but not advancing — are windowed averages that a single rep barely moves. So the drill sitting at #1 before a run was still at #1 after it, and clicking Continue re-served the test just finished, indefinitely (Digit Span, in the report). Recommendations now know what you have already practiced today, from both scored sessions and the training log — Morse, Wordplay and Memory practice never post a scored session, so counting only sessions would have missed three of the surfaces that offer the Continue button. Anything already practiced today sinks below everything that has not been, which is enough for the routine to advance to the next thing on its own. Already-practiced items are demoted rather than dropped, so a day where you have done everything still shows what is up next instead of an empty panel, and each row in "Up next" now carries a Done today badge so the reordering reads as deliberate; they are still clickable, since practicing the same drill twice in a day is allowed — just not what the routine hands you. When nothing new is left, Continue ends the routine at the launcher and says so, rather than looping. A due memory item is matched by its item id and a ladder by its drill type, so switching off one practice mode cannot mark an unrelated one done, and the fallback "run a full self-test" is discharged only by an actual scored session.

  • The Shell page gives the terminal roughly 300px more of a phone screen. Everything above the terminal was laid out to wrap, so on a phone each strip claimed several rows: the title line pushed its Fullscreen/Restart/Stop/New buttons onto a second row, each session tab took a full row of its own (a live agent run's label is long enough to guarantee it) with the "+" button stranded on a third, and the quick-commands toolbar spread its hot keys, launchers and the "cd to app" dropdown across three rows. Together with the standing green banner explaining that a live TUI run is interactive, the chrome ate more vertical space than the terminal it was wrapped around. The banner is gone — the run's tab already marks itself with a bot icon, an accent tint and a pulsing dot, and what the banner actually said now lives in a tap-and-keyboard-reachable info tooltip beside the "N live" counter in the header, costing no vertical space at all (a plain title attribute would have hidden it from exactly the touch users this change is for). The header is one row that does not wrap: under sm the Connected pill collapses to its status dot — with the word kept for screen readers — and the session counter drops out, since the tabs below say the same thing. The tab strip and the quick-commands toolbar each scroll sideways instead of wrapping, so both cost one fixed row no matter how many sessions or commands there are, and tab labels truncate with the full name kept in the tooltip. Both scrollers hide their scrollbar and pin the swipe to the horizontal axis, the same recipe the shared tab bar uses — a platform scrollbar gutter would have eaten back the row each one is reclaiming. The "cd to app" dropdown sits outside the scrolling region — an absolutely-positioned menu inside one would be clipped — and shows just its folder icon on a phone. Desktop layout is unchanged apart from the tighter page padding under md.

  • YouTube videos can be ingested into the Brain — transcript to your Obsidian vault, with an agent queued to act on it. Paste a single-video YouTube link into Quick Capture on the dashboard and a sliders button appears next to the input; it expands into the ingest options. Three independent checkboxes decide what is pulled in: the transcript (on by default), the full video into the media library, and the audio as an mp3 kept next to the transcript — at least one is required. Below them, a free-text box asks what an agent should do with the content, and a tags field. Whatever the switches say, the ingest always records that you consumed and kept the video: a Brain link record, which federates to your other machines, and a media.watch event so the video shows on the Timeline next to the watch history that syncs passively. Transcripts land as a note in your Obsidian vault with frontmatter carrying the title, source, channel, duration, publish date and tags. YouTube's auto-generated captions are a rolling two-line display where each cue repeats most of the one before it, so a naive strip-the-timings pass yields a transcript with every sentence in it two or three times; the captions are de-duplicated and their inline markup removed before they are written, which took a 14-minute talk from 128KB of caption file down to 14KB of readable prose. Whether the captions were human-written or machine-generated is read from the video's metadata rather than guessed from the file yt-dlp produced — it writes both kinds under the same name — and recorded alongside the transcript, because auto-captions get proper nouns wrong often enough to be worth knowing about later. A video with no captions at all is not treated as a failure: the ingest finishes, says so, and still stores everything else you asked for. Filling in the agent prompt queues a Chief of Staff task pointed at the freshly-stored transcript with your prompt as its brief; leaving it blank queues nothing, so an ingest never starts AI work you did not ask for. Which vault and folder transcripts go to, and what the checkboxes default to, are configurable under Brain → Config; an unset vault inherits the Daily Log's, so anyone who has already pointed the journal at Obsidian needs no setup at all. Playlists and channel URLs are deliberately not accepted — they fall through to ordinary link capture rather than quietly starting a 300-video download. yt-dlp is required for any ingest and ffmpeg additionally for the video/audio options, so a transcript-only ingest still works on a machine that has only the first.

  • The Daily Log's first note into a new Obsidian folder no longer silently fails to write. Mirroring a record into a vault tried to update the note first and only created it if the update reported the note missing — but a note whose folder does not exist yet cannot be containment-checked at all: the path can't be resolved, so it falls back to the raw path, which fails the check against the realpath'd vault root whenever the vault is reached through a symlink. On macOS that is any vault under a /var-rooted path, and more generally any vault behind a symlinked home or mount. The update therefore reported "invalid path" rather than "not found", the create fallback never ran, and the day was never mirrored. Creating first and updating only on "already exists" sidesteps it entirely — the folder is ensured before the path is resolved. The two vault mirrors (Daily Log and the new YouTube transcript) now share one upsertNote in the Obsidian adapter instead of each carrying its own copy of that ordering rule, and it is tested against a real vault on disk rather than against stubbed calls, which is how the failure surfaced in the first place.

  • [issue-3578] Image-to-3D renders no longer stall the progress bar on a stage banner that lands across two chunks. The shared generate driver split each data chunk from the generator on its own, with nothing carried between them — but a child process hands out its output on arbitrary byte boundaries, so a banner like "Baking textures at 2048px" could arrive as two halves, neither of which matched any stage signature. The percent then sat where the previous banner left it until the next one happened to land whole, which on the long sampling phase reads as a hung render. Both lanes now feed their output through the same buffered line reader the rest of the app's subprocess streams use, which stitches the partial line back together and flushes whatever is left when the child exits — so a generator that writes its final "Saved:" line without a trailing newline still has its asset path read. stdout and stderr keep separate buffers, since a shared one would splice a partial line from one stream onto a chunk from the other. Tqdm's carriage-return redraws still surface as individual frames, and the raw output kept for classifying a non-zero exit is unchanged, so an out-of-memory or gated-model failure is still named the same way.

  • [issue-3565] Three Writers Room controls are now big enough to hit on a phone. The Edit pencil on every Cast/Places/Objects bible row was an 11px icon with no padding around it — an 11x11px tap target sitting next to the row text, so a thumb aiming for it selected the entry description instead. The snapshot Revert button in the Polish panel was 11px text and a matching icon on a row with no vertical padding of its own (16px tall), and the World style Clear button in the Storyboard config tab was bare 9px text (~10x22px). All three now clear the 44px floor the rest of the app uses. Each one bleeds into the padding its own row already had rather than adding height on top of it, so the bible list and the snapshot list keep their density and the Clear button stays inside its stack gap instead of overlapping the style dropdown beneath it.

  • [issue-3579] Refusing a 3D model install on unsupported hardware now says why in English, and a new reason code can no longer go label-less. The image-to-3D registry answers "can this host run that target?" with stable codes like requires-linux-host and cuda-probe-failed; the 3D page turned those into sentences from a hand-written table of its own, and the install endpoint had no table at all — so asking to install a target this machine can't run streamed back "This host cannot run TRELLIS.2 (CUDA) (requires-linux-host)", handing the user the internal code instead of the one thing they could act on. Both sides now render the same shared map, which lives next to the function that returns the codes and is mirrored to the client the way the catalog type registry already is. A parity test asserts the two copies never drift, and — the reason the drift was worth fixing rather than just re-syncing — it also reads the resolver's source and asserts the labelled set still equals the codes it can actually return. The previous arrangement failed silently: the CUDA lane added three codes by hand on each side, and a fourth that someone forgot to mirror would have rendered as the generic "Unsupported on this host" with every test still green.

  • [issue-3568] The Writers Room prose editor starts above the fold on a phone again. The work header laid out every control in one wrapping row, so at ~375px the title field, status dropdown, Edit/Read/Review toggle, Save, Snapshot and the Work menu stacked into four or five rows and ate 250-300px of a 667px screen — the textarea you came to write in began below the fold before the keyboard even opened. The header is now two compact rows on a phone: title, Save, Snapshot and the Work menu on the first, and the status dropdown plus the view toggle on a sub-bar of their own beneath it. The view toggle and Snapshot drop their text labels under sm so both rows stay single-line at 375px, keeping their names for screen readers. Nothing moved into the overflow menu — every control is still one tap away — and the desktop layout is the same single row in the same left-to-right order, because the sub-bar dissolves back into the header row at sm and up rather than being a second copy of the controls: the markup order is the desktop order, so the desktop tab order still follows what is on screen. Each control on the phone rows now clears the 44px touch floor.

  • [issue-3567] The Writers Room live panels no longer hide what their buttons do — or how much daily budget is left — behind a mouse hover. The CD Bridge, Live Director and Live Render headers each printed a bare "12 / 20 left today" whose meaning (which budget? shared with what?) lived only in a title tooltip, and the Propose / Suggest / Render / Send actions explained themselves the same way. A touch screen fires no hover, so on a phone none of it existed. The three readouts are now one shared badge that names its budget in visible text — and turns amber, then red with a warning icon and the UTC-midnight reset time, as the allowance runs down, so a spent budget stops looking identical to a full one. Each action carries the sentence as an explicit accessible name, prefixed with the words actually printed on the button so voice control can still reach it, and the two actions whose description had nowhere else to live (Send to Creative Director, Render scene) also print it as visible helper text. The five buttons involved were bare 18px-tall glyph rows; they now clear the same 44px tap-target floor as the rest of the app, and the headers wrap onto a second line instead of squeezing at phone widths — so, unlike the list rows in #3565, the header buttons take the extra height rather than clawing it back with a negative margin that would collide with the wrapped line above them.

  • [issue-3566] The Writers Room synced review no longer hides its Script and Media panes on a phone. The three panes were laid out as a grid that only ever split into columns at desktop widths; below that they stacked into one column inside a fixed-height, overflow-hidden container with nothing to scroll, so on a ~375px screen the Prose pane filled the view and Script and Media sat past the bottom edge, unreachable — the cross-link highlighting the panel exists for was invisible on half of it. Narrow widths now show one pane at a time, picked from a 44px-tall selector that replaces the desktop "which panes sit side by side" toggles in the same spot on the toolbar; each pane keeps its own scroller, so selecting a prose segment still scrolls the linked scene into view when you switch to it. Picking a pane on the phone selector also re-enables it, so a pane switched off on a desktop session isn't stranded, and if the pane you were viewing is switched off the view falls back to one that's still on rather than going blank. Desktop layout is unchanged.

  • [issue-3586] The Writers Room synced review now shows which card you actually clicked. All three panes drew their cards through a helper that had four states — selected, linked, dimmed, plain — but every caller passed "not selected" as a constant, so the strongest of the four was unreachable code. Because the mapping deliberately includes the selected item in its own pane's highlight set, the card you clicked came out styled exactly like the cards it links to: with a prose segment selected, the segment itself and the scene it maps to were the same faint accent border, and nothing on screen said which end of the cross-link you were standing on. The real selection is now threaded into each pane, so the anchor card takes the full accent ring and its linked counterparts keep the lighter treatment, in the prose, script and media panes alike.

  • [issue-3569] The Writers Room library's header buttons are now big enough to hit on a phone. "New folder", "New work" and "Hide library" each wrapped a 14px icon in nothing but p-1, giving them roughly 22x22px of tappable area sitting side by side in a 260px sidebar — close enough together that a thumb aiming for "New work" landed on "New folder" instead, which is the one control the whole pane exists to reach. All three now clear the 44px floor the rest of the app uses, as do the create-folder and create-work forms they open: the name/title inputs, the kind dropdown, and the Add/Create/Cancel buttons were all ~24px tall, so getting past the header only landed you on a second row of targets just as easy to miss. Unlike the bible and snapshot rows in #3565, the header row has no padding of its own for the extra height to bleed back into, so it grows to 44px rather than clawing it back with a negative margin that would collide with the pane's top edge. "Hide library" stays desktop-only and is centred with inline-flex rather than flex, since the two are the same Tailwind layer and a bare flex would race the md: variant that hides it.

  • [issue-3590] Lengthening a perpetual task's recheck cadence no longer delays a recheck that was already due. When the recheck cadence changes, the schedule re-derives the park timestamp of every currently-parked execution record from the new cadence, so the edit takes effect on the next slot instead of waiting out the old timestamp. The guard was "does this record carry a park at all" — but an elapsed park is never cleared when it expires (the task simply reports itself as due for a recheck, and the dispatch gate clears the park when it actually runs), so a record that was ready to run right now was matched by that guard too and stamped with a fresh future timestamp. Shortening the cadence was harmless, since the new timestamp was sooner; lengthening it pushed the pending recheck back out by the new interval, and the drain the user was waiting on silently went quiet again. Only parks still in the future are re-derived now — a record whose park has already elapsed is left exactly as it is, so it rechecks on the very next tick.

  • [issue-3594] The drafting prompt now teaches how to write a scene, not just how much scene to write. The craft doctrine injected into both drafting stages — the prose pipeline and Writers Room live continuation — was entirely negative: eleven "avoid X" rules plus the Stability Trap countermeasures. One of those rules carries a measurable target with no technique attached ("at least 70% in-scene, not summary"), and a model told to dramatize more with no construction recipe reaches for longer description, which is exactly the white-room, zero-interiority draft the editorial checks then have to catch. A new "Zoom into the moment" section — the first positive-instruction block in the partial, placed right after the rule it operationalizes — gives it the recipe in five elements: name the location with one concrete noun rather than an inventory, say what the character is doing in present-moment verbs, render thoughts raw in the character's own diction instead of essay register, show emotion on the body rather than naming the feeling, and quote dialogue that is worth quoting instead of narrating that someone spoke. Each element ships with the failure mode that makes it a rule rather than a suggestion. Because the partial is a file on disk that existing installs already have, and both setup-data.js and the original seed migration only ever copy it when it is missing, the section arrives through a hash-gated migration: an install still running the shipped version is upgraded in place, and a hand-edited partial is left exactly as it is and told what to merge.

  • [issue-3591] Editorial checks now catch a pivotal moment that got narrated instead of played out. The drafting prompts have long carried the rule that a draft should be at least 70% in-scene, not summary — but nothing on the review side ever checked it, so the most common structural failure in a draft went unflagged: a decision, confrontation or reveal delivered from helicopter altitude ("Over the next week they argued about it, and eventually she agreed to go") where the scene would have landed. The new Narrated summary where a scene belongs check reads your drafted manuscript and names four modes of it — a compressed-away turning point, reported action the reader never physically enters, habitual mode ("every night she would…") wrapped around what was really a single decisive event, and result-first narration that states the outcome and skips the scene. Each finding quotes a verbatim anchor and, rather than just saying "dramatize this", names the concrete moment to zoom into. It reads the reverse-outline scene segmentation as context so honest between-scene compression is left alone — the target is a beat that never became a scene at all, which is invisible to the existing scene checks precisely because they only judge scenes that exist. Deliberate montages, brief time-skips, backstory summary (that belongs to info-dumping) and beats too minor to be worth the words are explicitly out of scope. Enabled by default at medium severity under Create → Editorial Checks; the new pipeline-editorial-summary-not-scene stage prompt ships and migrates for existing installs. (#3591)

  • [issue-3574] A parked perpetual task now reports the same park state to the schedule UI and to the daemon's wake-up planner. "Which scopes of a perpetual task are parked, and when does the soonest one recheck?" was answered by three separate walks of the same records: one for the Schedule page's parked/draining badge, one for the upcoming-tasks eligibility that decides when the daemon wakes, and a third inline read of a single record's parkedUntil in the due check. They had already drifted — the badge only ever folded the top-level execution record in when its park hadn't elapsed, while the wake-up planner folded in any top-level record carrying a park at all — so a global park that had just come due could read as "nothing parked" in one and "due now" in the other. All of it now projects from one aggregate whose global-record inclusion rule is written down in exactly one place: every per-app record is a tracked scope, and the top-level record is a tracked scope only when it carries its own park. Each caller's existing behavior is unchanged; the two are pinned to the same fixtures by tests so they can't diverge again.

  • [issue-3592] Editorial checks now catch the line a character should have said out loud. Six dialogue checks judge the dialogue that is already on the page — its subtext, its tags, its attribution, whether the cast sounds different — and none of them could see the opposite problem: a character's decisive utterance handed to the reader as narrated report instead of a quoted line. "My manager was very happy with my work" lands nowhere near "My manager looked up from the deck and said, 'That's the best presentation you've ever given.'", and nothing in PortOS flagged the first one. prose.telling-emotion is the nearest neighbour and explicitly carves dialogue out of its scope, so "he told me he was leaving" sailed past it too. The new Reported speech where a quoted line belongs check reads your drafted manuscript and names three modes of it: speech summarized at a turning point ("she told him she was leaving", "the doctor gave them the news"), a reaction to speech reported where the words themselves were the beat, and a confrontation narrated in the third person with no line ever quoted. Each finding quotes a verbatim anchor and names which moment to quote rather than drafting the dialogue for you. Deliberate compression of routine exchanges is left alone — quoting those is exactly what the pleasantries check cuts — as are reported speech used to bridge between scenes, a POV where the character genuinely did not hear the words, a scene that already quotes its decisive line, and free-indirect-discourse voices where reported speech is the consistent mode. Enabled by default at low (advisory) severity under Create → Editorial Checks; the new pipeline-editorial-reported-speech stage prompt ships and migrates for existing installs. (#3592)

  • [issue-3593] Editorial checks now catch interiority that sounds written rather than thought. Three checks already judged a character's inner life and every one of them judged quantity or placement: whether the four POV dimensions are developed at all, whether description swamps interiority inside a scene, whether rendered thought is italicized consistently. So a manuscript could pass all three while its thoughts read "I thought: this represents a supreme opportunity" — present, well-proportioned, correctly formatted, and completely unbelievable as something a human being thought. Real interiority is raw, fragmentary, self-interrupting and often petty; polished-essay interiority is a distinct and common failure mode that nothing in PortOS could see. The new Interiority register check reads your drafted manuscript for four modes of it: thought composed in balanced subordinate-clause sentences where a character under pressure would think in fragments, author intrusion articulating a theme the character would never consciously articulate, a register mismatch measured against how that character actually speaks elsewhere in the manuscript — a plain-spoken character thinking in literary prose is the strongest signal there is — and an inner voice indistinguishable across the entire cast, flagged once rather than per passage. A genuinely erudite POV character whose formality is consistent and characterized is left alone, as are deliberate free indirect discourse, calm reflective beats where measured thought is what the moment calls for, and transitional summary interiority. Each finding quotes the thought and names the register shift instead of rewriting the line for you. The prompt states its borders with prose.telling-emotion and the two other interiority checks explicitly, so four checks reading the same paragraph don't return four findings on it. Enabled by default at low (advisory) severity under Create → Editorial Checks; the new pipeline-editorial-interiority-register stage prompt ships and migrates for existing installs. (#3593)