Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
chore: release v2.36.0
[._.]/ Adam Eivy94ffc65482f9
diff --git a/.changelog/v2.36.0.md b/.changelog/v2.36.0.mdindex 5d32218f40..9884c17039 100644--- a/.changelog/v2.36.0.md+++ b/.changelog/v2.36.0.md@@ -1,4 +1,20 @@-# Unreleased Changes+# Release v2.36.0++Released: 2026-07-31++## Highlights++- **A new Game studio assembles managed-app asset bundles.** Create a Game workspace, bind reusable Sprite records, Music tracks, and game artwork, compile an immutable versioned manifest with SHA-256 asset references, and verify every bound byte before launch. Bundle, Assets, and Feedback each deep-link, blocked assets explain how to recover, and any configured AI provider can leave persisted feedback on the bundle.+- **Sprites publish presentation-grade art, not just gameplay atlases.** A binding can now emit a 512px transparent selector portrait and a full-resolution idle strip alongside its compact runtime atlas, and atlases compile at up to 192px source cells without changing a game's character scale — genuine 2× art from the approved frames rather than an upscale after the fact. Game workspaces also manage launch art, logos, and biome cards with the same hash-verified publishing and outside-edit guards.+- **Every creative surface can pin its own render backend and model.** A new Defaults tab in Settings → Image Gen pins backend and model per surface — bible batches, character sheets, sprite references, pipeline visuals, LoRA datasets, creative-agent renders — and Universes, Series, sprites, and Music Video projects can each carry their own pin on the record. Video renders follow the same system, safety-first: a clip never silently upgrades to a paid backend you didn't pin, and a disabled pin falls back instead of breaking the surface.+- **Agy renders come out the shape you asked for.** Every image from the Agy backend was silently returning 1024×1024 regardless of the resolution set on the page. Renders now translate the requested size into the closest aspect ratio Agy supports and ask for it explicitly, and Agy renders default to a cheap, fast agent model instead of whatever reasoning tier Antigravity happened to select.+- **SongBook drum charts became a real practice instrument.** The whole song reads as one continuous, phone-friendly strip that scrolls under a glide-smooth playhead; the play-along kit is now three selectable drum machines (TR-909, TR-808, Acoustic) with a rebuilt kick that carries on small speakers; the metronome gained its own volume and mute; tapping any note explains the piece, articulation, count, and how to strike it; and a Legend covers both kit-grid and tab articulation notation. Previews are audible while you write or import, and the sample song now ships a fourth, drum arrangement.+- **Rounds can be sung into their own sheet music.** Pick a starting bar, get a count-in, and compare written against sung pitches note by note — accepting only the corrections you want, with every duration, chord, lyric, and line break preserved. "Hey Ho Nobody Home" also gained its missing fourth phrase, putting it back in step with the other rounds it is sung against.+- **Agents now run where you told them to, and survive a restart.** A wrong or empty app Repository Path no longer silently drops the agent into the PortOS folder; OpenCode agents honor the selected workspace; Windows terminals get a working environment. A PortOS restart no longer records a running agent as "completed", burns its retry budget, or discards its work — the task requeues and the retry resumes from the interrupted run's actual working directory, and CoS terminal agents now stay alive across a server restart entirely.+- **Agents are told nobody is there to answer them.** Runs that hit a multiple-choice prompt or approval gate used to sit there until the watchdog killed them. Briefings now state that no human is present, a run that stalls on a question is reported as exactly that, and a brief internet outage no longer gets mistaken for a hung agent.+- **Music Video projects gained forking, song-reactive local motion, and honest analysis.** Fork a project into an editable version with lineage intact, condition each cut on its exact song segment with a pinned audio-reactive LoRA, and audit visual repetition before rendering. Beat detection now works on guitar-led songs and shows its evidence on the timeline, and final renders loop short clips to cover the authored cut instead of truncating to each model's native length.+- **Malware scans leave a durable, reviewable trail.** Git-link scans save an owned markdown report that opens inside PortOS on desktop and mobile, surface from the agent summary and Review Hub, and mark repositories with an explicit `DANGEROUS` verdict.+- **Assorted fixes worth calling out.** The Chief of Staff 3D avatar no longer intermittently renders as an empty glowing ring; the task form's Screenshot and Attach buttons work again (a never-dismissing notice was absorbing the clicks, and such notices now fold into a corner badge); the Catalog page is usable on a phone; quota-burn dispatch caps stop counting runs that never happened and survive agent recovery; and the branch reconciler no longer hands `gh-pages` to the coordinator agent.## Image generation@@ -9,6 +25,9 @@- **[issue-3231] Video renders now follow the same defaults system as images.** Settings → Image Gen → Defaults gains a "Default video backend" pin (Local or Grok) plus per-surface video pins for Music Video and creative-agent renders, so you can say "my music-video clips render on Grok" without touching anything else. Pins are safety-first: a video render never silently upgrades to the paid Grok backend unless you pinned it, a pinned backend that's disabled falls back to Local, and a render that uses Local-only machinery (keyframes, audio-reactive, remix modes) stays Local even under a Grok pin. Grok clips still render only at 6s or 10s with no model choice — so no model picker is offered where none exists.- **[issue-3231] Music Video projects can pin how their scene frames render.** Next to the existing per-project video renderer choice, the director board now has a Frames backend picker (with a model field for Codex/Agy) saved on the project — so a project's reference frames keep rendering where you chose across sessions and machines, instead of always following the install-wide image default. New projects also start on the video backend you pinned for Music Video in Settings.- **[issue-3231] Agy image renders now default to a cheap, fast agent model.** An Agy render with no model chosen used to run on whatever Antigravity's own configuration selected — potentially its slowest, most expensive reasoning tier — just to relay a single image request. Renders now default to the cheapest flash tier (matching how Codex renders already pin their light model), and a model you set in Settings or per render still wins. Settings → Image Gen → Agy CLI also now makes clear which model the field controls: the *agent* driving the session, not the image model — the image itself always renders on Antigravity's fixed server-side Imagen 3 backend, which is now named on the page and recorded with each generated image.+- **Test Connection in Image Gen settings now tests the CLI whose tab you're on.** Pressing it from the Grok CLI or Agy CLI tab probed whichever backend was saved as the default instead — so an Agy test answered `codex — codex-cli 0.145.0`, which looked like Agy had somehow resolved to the Codex binary. The button now probes the provider for the open tab (Backend, Tokens, Expose, and Test still probe the saved default backend), and every result is shown only under the tab that asked for it — so a slow probe you left behind can't surface under the provider you switched to.+- **[issue-3186] Agy CLI is now an opt-in image-generation backend.** Users can enable Antigravity in Image Gen settings, select an installed or custom model, and send text-to-image work through its `generate_image` tool with queue progress, cancellation, gallery metadata, cleaner options, and CoS tool registration. Each render runs in an isolated scratch directory and only a signature-verified directed image is imported; image-edit surfaces continue to use an edit-capable backend.+- **Agy's model field is now labeled for what it actually selects, and can be overridden per render.** The Image Gen settings field was labeled "Image model" while listing Gemini agent models, which read as the wrong list being loaded. It isn't: `agy models` is the catalog of *agent* models the CLI's `--model` flag accepts, and that agent is what drives the built-in `generate_image` tool. Agy exposes no knob for the underlying image model — its `generate_image` takes prompt, image name, aspect ratio, and reference paths and nothing else — so there is no `imagen-*` option to offer, and passing one makes agy exit before it generates. The field is now "Default agent model" with that explanation, and the Image Gen page adds an **Agent model** picker so a single queue item can run on a different agent model than the saved default without a settings round-trip. Leaving it blank inherits the Settings value; a pinned model that Google later drops from the catalog falls back to the default instead of failing the render. The retry editor on a failed Agy job now edits that same model field (it was bound to the local model-id field, which Agy never reads).## 3D avatars@@ -36,11 +55,7 @@- **A brief internet outage no longer kills a working CoS agent.** When the machine lost its connection, a running agent's terminal went quiet — it couldn't reach the model — and after a few minutes the idle watchdog mistook that silence for a hung or finished agent and reaped it, throwing away in-progress work. PortOS now checks whether the machine is actually online before reaping an idle agent: while the connection is down, the reap is deferred and the agent is left alone to resume the moment the network returns (with a short grace so it isn't reaped in the instant between reconnecting and picking back up). Genuinely stuck agents on a healthy connection are still reaped on the same schedule as before, and the long absolute run-time ceiling still bounds an agent kept alive through a very long outage.- **Agents are now told nobody is there to answer them, and a run that stalled on a question says so.** An agent PortOS launches runs unattended, but nothing in its briefing said that — so an agent that hit a multiple-choice question or an approval gate would sit there presenting it to an empty room until the idle watchdog killed the run and discarded the work. One task was retried into the same question three times and filed nothing. Every agent briefing now states that no human is present, to decide for itself and record the assumption rather than ask, and to invoke slash commands in their non-interactive form. When a run does stall this way, the failure is no longer reported as a bare idle-out — PortOS notices the transcript ends on an unanswered prompt and says that's what happened, so the next step is skipping the gate rather than hunting for a stalled provider.- **An agent killed by a server restart now picks up where it left off instead of starting over.** Restarting PortOS kills every running agent mid-edit, and the task went back in the queue for a brand-new agent that built a fresh worktree from `main` — so hours of in-progress work sat on disk, untouched, while the replacement redid it from scratch. PortOS now records what the interrupted run left behind and hands the retry its actual working directory: its commits, its uncommitted edits, and its untracked files, exactly as they were. The retry is told up front that it's continuing someone else's run and to check `git status`, the commit log, and whether a PR was already opened or merged before writing any code. Work that already landed is still never resumed onto, and if the leftover folder can't be handed over for any reason the retry starts clean rather than failing to start.-## Image generation-- **Test Connection in Image Gen settings now tests the CLI whose tab you're on.** Pressing it from the Grok CLI or Agy CLI tab probed whichever backend was saved as the default instead — so an Agy test answered `codex — codex-cli 0.145.0`, which looked like Agy had somehow resolved to the Codex binary. The button now probes the provider for the open tab (Backend, Tokens, Expose, and Test still probe the saved default backend), and every result is shown only under the tab that asked for it — so a slow probe you left behind can't surface under the provider you switched to.-- **[issue-3186] Agy CLI is now an opt-in image-generation backend.** Users can enable Antigravity in Image Gen settings, select an installed or custom model, and send text-to-image work through its `generate_image` tool with queue progress, cancellation, gallery metadata, cleaner options, and CoS tool registration. Each render runs in an isolated scratch directory and only a signature-verified directed image is imported; image-edit surfaces continue to use an edit-capable backend.-- **Agy's model field is now labeled for what it actually selects, and can be overridden per render.** The Image Gen settings field was labeled "Image model" while listing Gemini agent models, which read as the wrong list being loaded. It isn't: `agy models` is the catalog of *agent* models the CLI's `--model` flag accepts, and that agent is what drives the built-in `generate_image` tool. Agy exposes no knob for the underlying image model — its `generate_image` takes prompt, image name, aspect ratio, and reference paths and nothing else — so there is no `imagen-*` option to offer, and passing one makes agy exit before it generates. The field is now "Default agent model" with that explanation, and the Image Gen page adds an **Agent model** picker so a single queue item can run on a different agent model than the saved default without a settings round-trip. Leaving it blank inherits the Settings value; a pinned model that Google later drops from the catalog falls back to the default instead of failing the render. The retry editor on a failed Agy job now edits that same model field (it was bound to the local model-id field, which Agy never reads).## Game- **Sprite atlases can now be compiled at presentation-grade source density without changing a game's character scale.** Set a bound runtime contract to 192px cells and Compile now scales the pivot and silhouette bounds with it, producing genuine 2× art from the approved source frames instead of enlarging a 96px atlas after the fact. The compiler's pose-consistency tolerance scales with source density too, while retaining the existing floor for smaller custom grids. This lets a game sample a 192px cell into its established 96px gameplay footprint for sharper characters and props.@@ -106,3 +121,11 @@## Internal- **[issue-3194] Consolidated the AI-CLI child-environment composition.** Ten spawn sites each rebuilt the same environment tuple by hand (provider env vars, the OpenCode declared-models map, the working-directory pin, the nested-session strip, and the pm2 guard shim for agents), so every environment-level fix had to sweep all ten and a missed site failed silently — which is exactly what happened to the OpenCode fix once already. `buildCliChildEnv` now owns the full child env and `composeProviderEnv` the ordered layers for sites that hand off a partial env, both preserving each site's original precedence. A discovery-based test fails when a new spawn site composes the environment by hand instead of routing through them.++- **Publishing a picker idle answers a missing `idle-loop` track as a prerequisite, not a server error.** The publish form offers the picker-idle destination unconditionally, but `idle-loop` is a user-authored track — since animation types became user-defined, no install ships one. On any install that had not created it, publishing failed with a raw "Unknown animation track" registry error instead of the intended message telling you what to create.++- **Three test suites stopped depending on state outside the code under test.** The Layered Intelligence outcome suite pinned its fixtures to absolute dates but read them back through a 30-day retention window measured against the real clock, so on 2026-07-31 twenty tests failed on a tree nobody had touched; its clock is now frozen. Two sprite suites asserted the exact list of animation tracks against the *live* registry, so they turned red on any machine whose operator had authored a track of their own — they now assert the shipped set and the keyed-by-id contract instead.++## Full Changelog++**Full Diff**: https://github.com/atomantic/PortOS/compare/v2.35.0...v2.36.0diff --git a/package-lock.json b/package-lock.jsonindex 13a37999ed..36b2175d30 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "portos",- "version": "2.35.0",+ "version": "2.36.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "portos",- "version": "2.35.0",+ "version": "2.36.0","license": "MIT","devDependencies": {"pm2": "7.0.3"diff --git a/package.json b/package.jsonindex 89bba0d6de..1e04a52dac 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "portos",- "version": "2.35.0",+ "version": "2.36.0","private": true,"description": "Local dev machine App OS portal","author": "Adam Eivy (@antic|@atomantic)",