Repository navigation
hydo 0.4.1
hydo 0.4.1
hydo runs your whole system (its services, their disks and network) in a virtual machine,
breaks it with faults, and replays every failure exactly. This release adds hydo update, one
command that updates hydo and every copy of its onboarding skill, and fixes five problems that a
user met while onboarding a project with 0.4.0 on a Mac. It comes early so that the manual
upgrade from 0.4.0 is the last one. Projects that pin hydo_version: "0.3" keep working.
Before you upgrade
-
This is the release with
hydo update. hydo 0.4.0 and older do not have the command, so
you upgrade to 0.4.1 by hand, for the last time, the way you installed hydo:- Homebrew:
brew update && brew upgrade kakoc/tap/hydo. - cargo:
cargo install hydo --locked, thenhydo setup. - The release archive: download only your platform's
hydo-<mac|linux>-0.4.1.tar.gzand
SHA256SUMS, check the archive (shasum -a 256 -c --ignore-missing SHA256SUMS, on Linux
sha256sum -c --ignore-missing SHA256SUMS), unpack it and run itsinstall.sh(on Linux
with--no-modulewhen you use the KVM engine). You do not need the-sources.tar.gz
archives: they hold the sources of the third-party software, not hydo.
Then update the onboarding skill once by hand:
hydo skill updatefor its copies, and
claude plugin marketplace update hydoandclaude plugin update hydo@hydofor Claude Code's
plugin. docs/INSTALL.md, section "Upgrading", has the same steps. From 0.4.1 on,hydo update --checkshows what is newer andhydo update --yesdoes all of it. - Homebrew:
-
hydo doctorlooks for a newer release. It asks GitHub's release list at most once a day,
waits at most 3 seconds, keeps the answer in~/.hydo/update-check.json, and prints one line
when a newer hydo exists.HYDO_UPDATE_CHECK=0orHYDO_OFFLINE=1turns the look off. hydo
also records each copy of the skill that it installs in~/.hydo/skill-copies.txt, so that
hydo updatefinds it later. -
Your images keep their fingerprints. The fingerprint epoch stays 4, and no engine, guest
kernel or guest agent changed: an image built by 0.4.0 gives the same fingerprints and verdicts
under 0.4.1. When you build an image again, only an image with fakes, proxies or generated gRPC
drivers gets new bytes, because hydo's own guest programs (hydo-world,hydo-world-tls,
hydo-grpc) carry the version. -
On Linux with hvx, keep the kernel module you have. It did not change since 0.3.1.
-
The onboarding skill is 2.4.0. Its first step runs
hydo update --checkand offers the
update. With a hydo older than 0.4.1 it offers the manual upgrade above instead.
New
hydo update [--check] [--yes] [--version V]updates hydo the way it was installed: with
Homebrew (brew upgrade kakoc/tap/hydo), with cargo (cargo install hydo --locked --version V
into the same folder, thenhydo setup), from the release archive (it downloads only this
platform's archive andSHA256SUMS, installs the archive only when its sha256 is the listed
one, and runs itsinstall.sh), or in the install cache (hydo setup --get). A hydo built in
a checkout changes nothing and prints the commands. It then updates every copy of the
onboarding skill that it finds: the copies in.claude/skills/hydoand
.agents/skills/onboard, theskills/hydofolder of each Claude Code configuration folder,
every copy that hydo recorded, and Claude Code's pluginhydo@hydothroughclaude plugin update.--checkchanges nothing and exits with status 3 when something is newer. Without
--yes, a terminal is asked once; an AI tool's shell gets the plan and the exit status 3.
hydo guide updateis the reference.
Fixed
- YAML anchors in
hydo.yaml. A manifest withx-common: &commonand<<: *commonstopped
withunexpected indentation. hydo now reads anchors, aliases and<<merge keys as PyYAML's
safe_loaddoes, and drops a top-levelx-key, as Compose does. - FIFOs of an image service. A FIFO in an image's layers (one that
mkfifomade) was left
out of the image, so a service that reads it did not start. It is now a FIFO in the service's
root, with its owner and mode. Device nodes are still left out. - Emulators with
network: bridge. A manifest withemulators:andnetwork: bridgewas
refused (addr: required). The emulator's service now gets the entry's newaddr:key or a
free address of 10.89.1.x, listens where its proxy reaches it, and a manifest's own
/etc/hostsgets lines for the emulator and its proxy. - The diagnosis of a service that did not start in its recovery boot. When the service's
last log lines name a cause in its environment (permission denied, a read-only file system,
memory, an address in use, a program that cannot run) and none names damaged or missing data,
the diagnosis now says so and quotes the line, instead of letting "committed data
unrecoverable" stand alone. The verdict is the same. hydo explore's memory warning on the Mac and on KVM counted the image beside the guest's
RAM and warned about runs that fit. A worker is now counted as its guest RAM and 256 MiB, the
warning says what to do (--workers), and the Mac's free memory counts the speculative pages.- MANIFEST.md said that
hydo composeon a Mac passes--no-addr. On a Mac too it writes
network: bridgeand the addresses;--no-addris for a guest kernel without network
namespaces. - The README, docs/INSTALL.md "Upgrading",
hydo guide updateand MANIFEST.md's changed sections
were checked by a fresh reader against the release candidates (release step 6a):hydo guide updatenow names the folders whose copies it updates without "this repository", and the
upgrade notes say which images get new fingerprints from which version.
Known and deferred
hydo updateran against a fake release and fakebrew,cargoandclaudeprograms in the
tests, and its--checkagainst GitHub's real release list. No realbrew upgrade,cargo install,install.shorclaude plugin updateran through it yet; 0.4.1 is the first release
it can update from.- The service launcher's race that can hide a service's
/dev/shmtmpfs in a recovery boot is
understood, but its fix changes the bytes of every image with an image service, so it waits for
0.5.0. 0.4.1 fixes only the diagnosis that blamed lost data. - The deferred findings of 0.4.0's docs review stay deferred (0.4.0's release notes).
- On KVM, a fingerprint on Intel differs from the one on AMD; the verdicts are the same.
Downloads
Every file below is built from the release commit 14e098736a19814f3e4e56f9c5a5e0d0ce54fc05, the commit of the tag v0.4.1;
hydo --version names it.
hydo-linux-0.4.1.tar.gz(x86_64 Linux: Intel VT-x with hydo's kernel module, or KVM) and
hydo-mac-0.4.1.tar.gz(Apple Silicon Mac, signed and notarized).hydo-linux-0.4.1-sources.tar.gzandhydo-mac-0.4.1-sources.tar.gz: the corresponding source
of the third-party software in each tarball (THIRD-PARTY.md in each tarball lists it).hydo-mac-0.4.1-signatures.tar.gz: the Mac programs' signatures. The published Mac tarball is
the unsigned build of this tag with these signatures attached
(hydo/dist/mac/attach-signatures.sh, docs/design/signing.md).SHA256SUMSlists all five files.