Repository navigation
Releases
v0.2.2
Install v0.2.2, not v0.2.1. v0.2.1 fails to install on the current Ubuntu 24.04 AMI and its tarball has been superseded.
This release was built by hand from the merge commit
6257cb4while CI is unavailable, so it is unsigned. Check it withbash verify-release.sh drums-release-6257cb4aecb6.tar.gz(sha256 check).--require-signaturewill refuse it; a Sigstore-signed rebuild will follow.
Tested before publishing on a fresh c8i.4xlarge, Ubuntu 24.04 AMI build 20261120 (libc6 2.39-0ubuntu8.12): verify-release.sh ok, sudo ./install.sh ok in 10 min, tests/host/integration_host.py 28/28 (run with two test fixes for installed hosts: the clean checkpoint is osworld-ubuntu, and systemd restarts drumsd; the test fix lands separately), tests/host/recovery_host.py 18/18.
Release packaging
- A release can no longer ship another repository's history. v0.2.1's tarball carried
sources/drums-lab.bundle, the full history of a private repository, and noLICENSEorNOTICE. Do not use
v0.2.1; install v0.2.2 or later.install/make-release.shnow shipsLICENSE,NOTICEand
THIRD_PARTY_LICENSESand runsinstall/check-release.pyon the tarball it wrote, deleting it when the check
refuses. The check allows only the expected top-level entries, exactly the drumsd and drums-criu bundles (drumsd's
anchored to this repository's root commit, drums-criu's to upstream CRIU v4.3), one SDK wheel and a matching
SHA256SUMS, and refuses keys, internal paths, internal host names and account ids in any file, in the wheel and
in the bundles' history.release.ymlruns it again before upload; CI runsinstall/tests/test_check_release.py. - The release builds the current SDK.
install/build_wheel.pybuilds drums-sdk 0.3 and later (distribution
drums-sdk, packagedrums,mcp_tools.jsonpackage data, thedrumsconsole script, PEP 639 licence and
License-File). The release's wheel issdk/drums_sdk-0.4.0-py3-none-any.whl; itsdrums/files are identical to
the PyPI 0.4.0 wheel. The installer and host-test commands takesdk/drums*.whl. release.ymlcan build while drums-criu or drums-python-sdk is private: tag builds use an optional read-only
RELEASE_SOURCES_TOKEN(CONTRIBUTING.md#releases); pull requests use the default token.- Pins: drums-sdk
v0.4.0(cb45935); drums-criu unchanged (dd8c05657). Crate version 0.4.3.
Installer
- Installs on the current stock Ubuntu 24.04 AMI. The 2026-11-20 AMI ships libc6 2.39-0ubuntu8.12, newer than the
release's apt snapshot (20261029T000000Z, libc6-dev 2.39-0ubuntu8.9). libc6-dev depends on libc6 of exactly its own
version, and apt does not downgrade an essential package it was not asked for, so v0.2.1'sinstall.shstopped
with "held broken packages". When the host's libc6 is newer than the snapshot's libc6-dev,install.shnow installs
libc6-dev and libc-dev-bin at exactly the host's libc6 version from the host's own Ubuntu archive
(install/libc-follow.sh); everything else still comes from the snapshot and is checked against the pins. On a
host whose libc6 matches the snapshot nothing changes. The apt install log now keeps apt's unmet-dependency lines
(-q, not-qq), so the reason for a failure shows up in it. Test:install/tests/test_libc_follow.sh.
Runtime
- Signed releases, verified before install.
.github/workflows/release.ymlbuilds the tarball with
install/make-release.sh, writes its.sha256, signs it with Sigstore keyless (GitHub OIDC, no long-lived key) and
attaches tarball,.sha256,.sigstore.jsonandinstall/verify-release.shto a draft release on av*tag; a pull
request that touchesinstall/only builds it.install/verify-release.sh [--require-signature]checks the checksum
and the signing identity (this repository's release.yml on av*tag);install.shruns it on the tarball next to the
unpacked directory and takes--require-signature; that in-tarball run detects corruption only (a tampered tarball
can carry a tampered checker), so proof of origin is the separately downloadedverify-release.sh, run before
unpacking (docs/install.md). In the same pass it installs the hash-pinned lab verifier and the
drums-verifyuser (below);install/tests/test_install_one_pass.shchecks that order. - Clients can upload their own checker, and it runs confined (design:
docs/design/verifier-sandbox.md).
POST /v1/verifiersstores a lab verifier by the sha256 of its bytes (1 MiB cap, UTF-8;GET/DELETE /v1/verifiers/{sha256}). A task names it withevaluator.verifier_sha256; create and task load answer 422
verifier_missingwhen the host lacks it. Such a checker never runs as a host process: each call (first score,
recheck, redundant checker) is a freshdrumsd verifier-sandbox: new mount, network, pid, ipc, uts and cgroup
namespaces, a read-onlypivot_rooted root from an allow list, no network at all, uiddrums-verifywith
no_new_privs, a seccomp filter, and a cgroup with wall, CPU, memory, pid, disk, read and request budgets. It
reaches the desktop only through drumsd (ctx.read_file,ctx.run), so its code is unchanged. Every verdict now
carrieschecker.verifier_sha256(named verifiers report the hash of the file that ran) and, when sandboxed,
checker.sandbox(seconds, CPU-seconds, peak memory). Verifiers named by file keep today's host-side path unless
verifiers.sandbox_namedis set. Tests:crates/drumsd/tests/verifier_sandbox.rs(network, writes outside /tmp,
the host token, escalation, a fork bomb, CPU, wall, memory and disk budgets), run as root in CI. - The release ships the factory's lab verifier.
verifiers/drums_t6.py(drums-verifiersabd9755), pinned by
sha256 ininstall/lock.json; the installer checks it, installs it as/etc/drums/verifiers/drums_t6.pyand seeds
the verifier store, so a fresh host scores the factory's tasks without an operator step. - The step-argument limit, stated once: 8,192 characters per command string, 256 argv items, 16,384
characters of pyautogui code, the same for actions and for task setup and postconfig steps
(drumsd_core::limits, README "Step-argument limit").enforce_step_arg_limit(default off, today's behaviour)
refuses an over-limit action or task with 400step_arg_too_longandfield,limit,length,unitin the
body; off, drumsd recordsstep_arg_over_limitevents and thedrumsd_step_arg_over_limit_totalcounter. - drums-lab is dissolved into this repo. The runtime's Python side (
sharedos_rootfsand the three packages it
imports:sharedos_spike,drumsbench,osworld_smoke) now lives inpython/, copied byte-for-byte from drums-lab
f17644b(the commitinstall/lock.jsonpinned); the package names are unchanged so everypython3 -m sharedos_rootfs.*
invocation andpy_srcimport keeps working.install.shno longer fetches a drums-lab bundle:PYTHONPATH(and
drumsd.jsonpy_src) is$O/src/drumsd/python,install/boot.shfollows,install/bringup.pytakes--py-src
(default: its checkout'spython/;--labstill accepted),install/make-release.shshipspython/instead of
sources/drums-lab.bundleand no longer takesDRUMS_LAB, andinstall/lock.jsonhas nosources.drums-labentry.
Not carried over:sharedos_rootfs/criu_patch/(already drums-criu7b46284), the lock-restore briefs,host/install_criu.sh
(upstream CRIU; drumsd builds drums-criu) andoci_reference(the benchmark's control arm). The earlier drums-lab history is kept
in a private archive. Tests:python/tests(285 passed, 2 skipped on
Ubuntu 24.04; seepython/README.md). - Repository: README,
docs/install.md(wasQUICKSTART.md),docs/architecture.md,docs/release-notes/(the
RC1 and v0.2.0 notes, from the root),SECURITY.md,CODE_OF_CONDUCT.md, issue and PR templates, Dependabot,
CI (cargo fmt --check,cargo clippy -D warnings, the non-rootcargo test, shellcheck, the Python tests).
rustfmt.tomland a format-only pass over the workspace; clippy-clean under-D warnings(dead helpers removed
fromdrums-pool, no behaviour change).docs/security.mddescribes the per-env uid ranges and the tenant
boundary as the code has them.
v0.2.1
Withdrawn: install v0.2.2 or later. The v0.2.1 tarball was removed because it shipped files that were not meant to be published, and it does not install on the current Ubuntu 24.04 AMI.