Skip to content

v0.4.0

Latest

Choose a tag to compare

@Shiritai Shiritai released this 23 Nov 15:30

Sanity-Gravity v0.4.0

This release adds a base dimension to the tag grammar (with a Debian 12 base), moves the ag agent to the standalone Antigravity IDE 2.x, gives every desktop a browser, and refreshes the base images and KasmVNC for security fixes.

145 commits since v0.3.0; the test suite has 1060 tests, 987 of which run without Docker.

Upgrading from v0.3.0

  • --layer and --layer-target are removed. To build an intermediate layer, build a tag that uses it; ./sanity-cli build --list-intermediates lists their names. A script that passes either flag now fails with unrecognized arguments.
  • Local intermediate images are renamed after their build path: _base-xfce is now _ubuntu-xfce, _ag-xfce is now _ubuntu-xfce-ag. The first build after upgrading rebuilds them under the new names; the old ones can be removed. Final tags and GHCR refs are unchanged.
  • ag now runs Antigravity IDE 2.8.0 instead of the 1.x apt package. 2.x keeps its state under ~/.config/Antigravity IDE and ~/.gemini/antigravity-ide; the 1.x directories stay on the home volume and are not migrated.
  • Failed commands exit non-zero. open, sync, proxy, upgrade and ide used to print an error and exit 0 when a precondition failed (for example a missing sandbox); they now exit 1. status exits 1 when any sandbox could not be queried, after showing the rest, and open on an SSH-only tag fails with a hint to use shell.
  • ./sanity-cli ide update lasts until the container is recreated. down then up starts from the image again, at the version the image pins.

Highlights

Base images are a dimension

A tag is now {agent}-{desktop}-{connector}[-{base}]. The default base, Ubuntu 24.04, is left out, so every existing tag keeps its name. debian (Debian 12 bookworm) is the first alternative, at community tier: cc-none-ssh-debian, ag-xfce-kasm-debian. The base is a plugin with a manifest like every other dimension, and a requirement may now list alternatives (ubuntu:noble|debian:bookworm).

Antigravity IDE 2.x

ag installs the standalone Antigravity IDE tarball, checked against the sha256 Google publishes, and the Agent Manager works again (1.x had an expired certificate). The IDE and its agy backend (1.5.13) are pinned at build time and do not update themselves; ./sanity-cli ide update installs Google's current build on request. Upstream names and URLs the plugin depends on live in one file, antigravity.conf, sectioned by the IDE version they hold for. Thanks to @marcinsmialek for the 2.8.0 bump.

Desktops

  • New desktops: lxqt and openbox (community), contributed by @engel-andreas.
  • Every desktop ships a browser: Google Chrome on amd64, Chromium on arm64. Any agent on a desktop tag can open a link.
  • CLI agents get desktop launchers on desktop tags.

Agents

  • ocd (OpenCode Desktop, community), contributed by @engel-andreas.
  • dsh (DeepSeek Harness, community).
  • oc (OpenCode) is now pinned to a version.

Security

  • ubuntu:24.04 and debian:12-slim are pinned to their November 2026 digests.
  • KasmVNC 1.5.2 (fixes a potential buffer overflow when parsing WebSocket handshake requests).
  • Images are rebuilt from scratch, so they carry current distro packages and browsers.
  • A scheduled build on the 1st and 15th of each month rebuilds the official tags on both architectures and runs the image tests and the Trivy gate, so a newly fixable HIGH or CRITICAL turns CI red even when nobody pushes. It does not publish.

Fixes

  • ./sanity-cli build hands every layer to docker build and lets Docker's cache decide. It used to skip any layer whose image name already existed locally, so a changed Dockerfile could produce an old image.
  • ./sanity-cli ide -n X update honors -n.
  • sync leaves copies of the IDE browser profile (such as antigravity-browser-profile-bak) on the host; their lock files named the host and could stop the browser in the sandbox.
  • Run logs under ~/.cache/sanity-gravity/runs/ older than 30 days are deleted at the start of a run.
  • agy install asks for its script with --compressed.
  • xfce installs gvfs, so Thunar's Computer entry works.
  • zsh skips its first-run wizard in new sandboxes (@engel-andreas).
  • Username and project validators reject a trailing newline.

CI

Every pull request now reports the same three required checks: hermetic (lint and the tests that need no Docker, which also fail if a test runs docker or writes outside its temp directory), and verify-x64 / verify-arm64 (build the official tags and run the image tests). Pre-release tags such as v0.4.0-rc.1 no longer move latest.

Full changelog: v0.3.0...v0.4.0