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

address review (claude): correct a removed Quota Burn control in the notes, and hoist the Full Changelog link above the truncation point

[._.]/ Adam Eivy9f22246e1e17
diff --git a/.changelog/v2.39.0.md b/.changelog/v2.39.0.md
index 51ab542b2a..1ed62058de 100644
--- a/.changelog/v2.39.0.md
+++ b/.changelog/v2.39.0.md
@@ -30,6 +30,10 @@ Released: 2026-08-05
**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.
@@ -86,7 +90,7 @@ Released: 2026-08-05
- **Tapping a dashboard "Add <widget>?" 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 field still pins the target explicitly for anyone who wants the old behavior. A provider whose window vocabulary this can't classify falls back to soonest-reset ordering rather than parking.
+- **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.
@@ -233,7 +237,3 @@ Released: 2026-08-05
- **[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)
-
-## Full Changelog
-
-**Full Diff**: https://github.com/atomantic/PortOS/compare/v2.38.0...v2.39.0