Repository navigation
hydo 0.2.0
hydo 0.2.0
hydo runs a whole system (your services, their disks and network) in a deterministic virtual
machine, injects faults, and replays every failure bit for bit. This release adds a second way to
run on Linux, signed Mac programs, new ways to install, and tools around the onboarding skill.
New
- Run on Linux without hydo's kernel module. The Linux release now has a KVM engine
(bin/hydo-kvmand its guest kernelguest/bzImage-kvm). It needs only/dev/kvm, so it runs
without root, inside a virtual machine with nested virtualization, and on machines where KVM
must stay loaded:hydo run|explore|repro|doctor --backend kvm, orHYDO_BACKEND=kvm. It runs
one vCPU at the x86-64-v2 level, and its fingerprints are its own (a run reproduces on the same
kind of host CPU;hydo reproacross engines compares verdicts). See the release README,
"Run without the kernel module (KVM)". - Signed and notarized Mac programs.
bin/hydo,bin/hydo-build,bin/hydo-fetch-imageand
the enginebin/hydo-hvmare signed with the project's Developer ID and notarized by Apple;
hydo setupno longer re-signs the engine, andhydo doctornames the signer. The tarball is
still reproducible from source: the signatures are published as their own asset
(hydo-mac-0.2.0-signatures.tar.gz), andhydo/dist/mac/attach-signatures.shturns the
unsigned build of the tag into the published tarball byte for byte. - Homebrew:
brew install kakoc/tap/hydoinstalls the Mac release (Apple Silicon, macOS 13 or
later);brew upgrade kakoc/tap/hydomoves an installation to 0.2.0. cargo install hydo: thehydocommand is on crates.io. A cargo-installedhydofetches
the rest of its release (engines, guest kernels, tools) withhydo setup.- The install cache:
hydo setup --get [VERSION]installs a release into
~/.hydo/versions/<version>,hydo setuprestores a damaged installation from its release
archive, and a run whose image was built by another release fetches that release's guest kernel
by sha256 (--offlinenever connects).hydo --versionprints the version and commit. - The onboarding skill for Claude Code as a plugin:
/plugin marketplace add kakoc/hydo, then
/plugin install hydo-onboard@hydo. Other tools keephydo skill install --agent <tool>, and
hydo skill updatefetches a newer skill release. The skill now holds only the process; every
fact about hydo comes fromhydo guide <topic>of the installed hydo (new topicsworkflow
andservices). - Assertion SDKs on their registries:
hydo-asserton crates.io, PyPI and npm, and the Go
modulegithub.com/kakoc/hydo/sdk/go, all at 0.2.0. Their API was cleaned up before this first
publication: a comparison iscmpwith an operator (the named greater-than and less-than
helpers are gone), and internals are no longer public. - Comparing two runs:
hydo diff <run A> <run B>reports where two runs first differ and the
first difference in what the checks judge;hydo explain <image> "<schedule>"runs the
schedule's neighbours and shows the closest passing one. Both are new and not yet in the main
help text (hydo diff --help,hydo explain --help).
Changed
hydo_version:in a plan. A plan that pinshydo_version: "0.1"is refused by 0.2.0 (the
pin means the same major.minor). Change it to"0.2"(or">=0.1"), or build with
HYDO_VERSION_CHECK=warn.hydo initnow writes"0.2". Projects without the key are not
affected.- Images that contain hydo's own guest programs
hydo-world(fakes and proxies) andhydo-grpc
(generated gRPC drivers), or the assertion SDKs, have new bytes in this release and so new
fingerprints; their verdicts are unchanged. Images built by 0.1.0 keep running under 0.2.0. - A check's verdict line is the line that starts with
HYDO-ORACLE:. hydo composewarns about a service withnetwork_mode: host, and gives a volume mounted on
/dataits own directory. Fake outside services accept bracketed form and query field names.
Fixed
- KVM engine: a run the explorer started from its snapshot could give a different fingerprint
thanhydo reproof the same schedule when an interrupt was pending at the snapshot; fixed
before release.
Downloads
hydo-linux-0.2.0.tar.gz(x86_64 Linux: Intel VT-x with hydo's kernel module, or KVM) and
hydo-mac-0.2.0.tar.gz(Apple Silicon Mac, signed and notarized).hydo-linux-0.2.0-sources.tar.gzandhydo-mac-0.2.0-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.2.0-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.