Skip to content

hydo 0.2.0

Choose a tag to compare

@kakoc kakoc released this 07 Nov 22:48
· 627 commits to main since this release
v0.2.0
9d08b66

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-kvm and its guest kernel guest/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, or HYDO_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 repro across 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-image and
    the engine bin/hydo-hvm are signed with the project's Developer ID and notarized by Apple;
    hydo setup no longer re-signs the engine, and hydo doctor names 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), and hydo/dist/mac/attach-signatures.sh turns the
    unsigned build of the tag into the published tarball byte for byte.
  • Homebrew: brew install kakoc/tap/hydo installs the Mac release (Apple Silicon, macOS 13 or
    later); brew upgrade kakoc/tap/hydo moves an installation to 0.2.0.
  • cargo install hydo: the hydo command is on crates.io. A cargo-installed hydo fetches
    the rest of its release (engines, guest kernels, tools) with hydo setup.
  • The install cache: hydo setup --get [VERSION] installs a release into
    ~/.hydo/versions/<version>, hydo setup restores 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 (--offline never connects). hydo --version prints 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 keep hydo skill install --agent <tool>, and
    hydo skill update fetches a newer skill release. The skill now holds only the process; every
    fact about hydo comes from hydo guide <topic> of the installed hydo (new topics workflow
    and services).
  • Assertion SDKs on their registries: hydo-assert on crates.io, PyPI and npm, and the Go
    module github.com/kakoc/hydo/sdk/go, all at 0.2.0. Their API was cleaned up before this first
    publication: a comparison is cmp with 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 pins hydo_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 init now writes "0.2". Projects without the key are not
    affected.
  • Images that contain hydo's own guest programs hydo-world (fakes and proxies) and hydo-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 compose warns about a service with network_mode: host, and gives a volume mounted on
    /data its 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
    than hydo repro of 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.gz and hydo-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).
  • SHA256SUMS lists all five files.