Repository navigation
Releases
blastbox 0.1.54
blastbox 0.1.53
blastbox 0.1.52
- fix(dispatch): forward the host output caps to cold workers (#209)
- fix(dispatch): do not requeue cold jobs this dispatcher is still finishing (#223)
- fix: keep operator feed mounts on fleet upgrades; validate pooled PG connections at checkout (#224)
- feat(netpolicy): bridge= internal networks for httpproxy personalities (docker-native isolated gateway) (#225)
- feat(rea): REA engine, model error classes and per-job sealed model grants (#226)
- test(rea): make dotnet-resource scan tests independent of wall-clock budgets (#227)
blastbox 0.1.51
Breaking: Firecracker microVMs now run under the jailer by default (#212). An existing Firecracker deployment fails closed at startup until the jail helper is installed (see docs/HOST-PREP.md, "Firecracker jail helper"), or until BLASTBOX_FC_JAILER=off is set for the old unjailed path.
- #212 Firecracker jailer with root jail helper: per-VM uid, empty netns, cgroup leaf, per-jail AppArmor profile; preflight
fc-jailercheck. - #213 Host LSM detection and reporting (
BLASTBOX_CONFINEMENT=auto|require|off, preflightconfinement); the verifier accepts an optional receiptconfinementrecord. Nothing is enforced yet. - #214 The AppArmor sandbox profile mediates mount/umount on apparmor_parser 4.0.1.
- #216 Sandbox seccomp denies the new mount API syscalls (fsopen, fsconfig, fsmount, fspick, move_mount, open_tree, open_tree_attr, mount_setattr, chroot, fchroot). Rebuild worker images to pick up the new nsjail/bwrap policy.
- #217 / #218 / #219 / #221 Preflight fixes: cold checks follow a cascade's primary, judge only admitted tiers, exact-name containerd exclusion, deferred FC overflow tiers.
- #220 Confinement detection judges a jailed Firecracker by the jail helper.
blastbox 0.1.50
Worker agent: run the mTLS handshake per connection with a 30 s timeout, so one stalled handshake can no longer block accept(). Fixes the Mac worker wedge (blastbox 0.1.48 http_agent).
v0.1.49
Two changes since 0.1.48: #206 (engine output contracts) and #208 (host preparation guide and blastbox preflight).
- Engine output contracts (
blastbox.contract.engine_contract). An engine declares what it emits inblastbox-engine.toml(schemablastbox-engine-contract/1): artifact families, payload shape, detection codes, known gaps and consumers.check_result/check_envelope/assert_conformsandpython -m blastbox.contract.engine_contract validate|checkcompare a real result against it. They also report what the harness seal or the host trust gate would refuse.limits=applies a host's output caps. Built-in contracts ship for clamav, detonate, magika and urlgrab. Seedocs/ENGINE-REQUIREMENTS.md. - Seal: the reserved root
metadata.jsonis now matched on path parts../metadata.json,metadata.json/andmetadata.json/<x>are refused (before, they sealed a hash the served bytes did not match). - clamav: an infected result that also had encrypted archive members now carries
encrypted_archive_not_scanned. blastbox preflight(read-only) anddocs/HOST-PREP.md: per-tier host readiness. Checks cover docker/runsc registration, runsc C/R, KVM/firecracker/guest artifacts and stamps, the gVisor rootfs, the pool/cascade spec, AppArmor/userns, clock, CPU flags, scratch, runsc processes running as host root, and unconfined or unjailed sandbox processes. Supports--json,--strictand--ack.- CI: the test and sandbox jobs are pinned to ubuntu-24.04.
WHAT AN OPERATOR MUST ACT ON
Nothing beyond the usual upgrade. Out-of-tree engines that adopt contracts: if an EmbeddedResource root carries metadata, list "record" in node_types. A register_node_type payload is reported as host_unknown_node_type; seal it as a Record.
v0.1.48
One change since 0.1.47: #204 (macOS sweep fix).
- The macOS seatbelt sweep after each run now waits (up to 30 s) for processes that are exiting or already killed but not yet gone, instead of failing the run with "cannot identify" / "could not kill". Under heavy load this failed about 18 jobs in a ~6,700-scan run; none after the fix.
- Each run's profile now carries a per-run Mach-name canary, and the sweep matches only processes that may look it up (plus scratch write access and no network). System agents that may write the scratch dir are no longer mistaken for the run.
- A sweep that keeps finding new unreadable processes is bounded.
WHAT AN OPERATOR MUST ACT ON
Nothing beyond the usual upgrade. Roll all workers on one Mac together.
v0.1.47
Five changes since 0.1.46: #199 (node sizing without /proc/meminfo; C-locale kernel banner probe), #198 (macOS workers: seatbelt + appsandbox backends, Mac-only deployment), #200 (client-side receipt verification: blastbox.client.verify, blastbox attest verify), #201 (blastbox worker-link: WireGuard control link for workers behind NAT; egress-aware placement) and #202 (test-only: a racy agent-retirement assertion).
WHAT AN OPERATOR MUST ACT ON
-
EGRESS-AWARE PLACEMENT (#201): upgrade static/remote workers BEFORE their dispatcher when the engine's net policy grants egress.
- Workers now advertise
"egress"on/healthz(BLASTBOX_WORKER_AGENT_EGRESS:1on Linux by default, always0on macOS). - For an egress-granting net policy, the static pool only claims workers that advertise
"egress": true. A worker that says nothing (an agent from before this release) is skipped, and the dispatcher refuses to start if every worker answered and none can. - A job that needs egress on a worker that cannot provide it is refused with 422
egress_unavailablebefore the engine runs; the dispatcher fails it with that reason. - Set
BLASTBOX_WORKER_AGENT_EGRESS=0on a Linux worker with no exit wired. Setting1on a Mac stops the agent at startup. - Pools whose net policy grants no egress, and Firecracker/gVisor runtimes, are unaffected.
- Workers now advertise
-
MACOS WORKERS (#198) are new and opt-in. See docs/DEPLOYMENT.md 3a and docs/CONFIGURATION.md ("macOS backends"). Run
blastbox macos prepareon each Mac (re-run it after an upgrade ifblastbox macos doctorreports stale slots), and roll every worker on one Mac together. -
WORKER-LINK (#201) is new and opt-in:
blastbox worker-link {init,add,remove,list,teardown,status}on the dispatcher host,{keygen,join,leave,status}on a worker (Linux or macOS). See docs/DEPLOYMENT.md 3b. It never touches existing WireGuard interfaces or nftables tables, and refuses an interface it did not create. -
CLIENT RECEIPT VERIFICATION (#200) is new and opt-in:
blastbox attest verify/blastbox.client.verifyagainst keys you pin. See "Verifying results (clients)" in docs/DEPLOYMENT.md.
Adversarial review: see the PRs (Codex-clean on each final head). CI is green on main.
v0.1.46
Two changes since 0.1.45: #195 (execution-receipt marker hardening and fail-closed node gauges) and #196 (DONE scratch trees that hold no sealed result are reclaimed).
WHAT AN OPERATOR MUST ACT ON
-
UPGRADE ORDER IS REQUIRED: INGRESS FIRST (#195). Read
docs/upgrading-attestation.mdbefore rolling out.- Upgrade every ingress (API host) before any dispatcher, and before running
blastbox migrate-results. - Once a 0.1.46 dispatcher or migration has uploaded results, never roll an ingress back past 0.1.46: a 0.1.45 ingress would serve an as-is upload's worker-written
attestation.jsonas a receipt. - Upgrade the dispatchers promptly after the ingresses; the mixed window is where a worker under a 0.1.45 dispatcher can suppress (never forge) its own job's receipt.
- After the rollout, run once on the control plane:
blastbox migrate-results --remark --verify-key <each signing host's public key> [--dry-run]. Until then, results stored by 0.1.44/0.1.45 serve no receipt (404) fromGET /v1/jobs/{id}/attestation.
- Upgrade every ingress (API host) before any dispatcher, and before running
-
BEHAVIOUR CHANGES IN #195
- A receipt is served only when a cleared marker bound to the stored
metadata.jsonvouches for it; uploads that cannot carry one storeattestation.withheld.json.attestation.jsonandattestation.withheld.jsonare now reserved artifact names. - Receipts whose envelope exceeds the ingress's limit are withheld.
- A seal that cannot be written fails the job until the pending-upload sweep repairs it; the genuine receipt is kept.
blastbox_node_*gauges fail closed: an unreadable, oversized or unstat-able snapshot omits them instead of publishing a partial undercount.- Worker output declared at
attestation.jsonis no longer deleted; FIFO receipt/metadata files no longer hang verification.
- A receipt is served only when a cleared marker bound to the stored
-
#196 IS AUTOMATIC. A DONE scratch tree with no local seal (
output/metadata.json) and no durable copy is now reclaimed instead of retained forever, logged once per sweep at WARNING ("result exists nowhere"). On a long-running node expect a one-time burst of reclaim (toolz2 had ~46k such trees, ~19 GB). Trees that hold a seal are retained exactly as before. Nothing to configure.
Adversarial review: see the PRs. CI is green on both.
v0.1.45
Three changes since 0.1.44: #189 (rootfs gate messages name the rootfs), #190 (a stale-base snapshot drop is reported to the pool as a repair) and #193 (an untargeted claim delay, and an autosizer that knows about it).
WHAT AN OPERATOR MUST ACT ON
-
BLASTBOX_CLAIM_UNTARGETED_AFTER_SIS OPT-IN (default 0 = off).- Set it on a COLD dispatcher that shares an engine with a warm one. That dispatcher then declines an untargeted job (
target_tierunset) until the job is at least that many seconds old, so the warm dispatcher claims it first. Targeted jobs are never delayed. - Supported stores: memory, SQL (sqlite/Postgres) and Redis. The HTTP job store is refused at startup. A custom store must declare
supports_untargeted_delay = True, or startup is refused before any warm slot spawns. - Invalid values (nan, inf, negative, garbage) now refuse startup instead of falling back to 0. A delay at or above
BLASTBOX_MAX_QUEUED_AGE_Sis refused. - The delay compares epoch
created_at(stamped by the ingress) with the dispatcher's clock, so large ingress/dispatcher clock skew shifts it.
- Set it on a COLD dispatcher that shares an engine with a warm one. That dispatcher then declines an untargeted job (
-
THE NODE AUTOSIZER NOW SIZES AROUND OVERFLOW-ONLY POOLS, but only once EVERY dispatcher on the node runs 0.1.45.
- A node with any older dispatcher plans exactly as 0.1.44. Upgrade all dispatchers on a node together to get the new sizing.
- On an upgraded node, an engine's untargeted backlog goes to its prompt (warm) pools up to their capacity, and the rest spills to its overflow (delayed cold) pools. A serving warm pool never plans below its 0.1.44 plan.
- A warm-only dispatcher (
BLASTBOX_DISPATCH_WARM_ONLY) whose restores keep failing publishesserving=false: no ready slot, and 3 or more restore failures since a job was last served on the current base. It then takes no untargeted capacity, and its untargeted work spills to cold. It keeps a one-slot recovery probe, and returns to serving when the probe becomes ready and serves a job. Job/worker faults do not count as restore failures. - Orphaned leases no longer dilute the untargeted split on an upgraded node.
-
#189 and #190 change messages and snapshot bookkeeping only. There is nothing to configure.
Adversarial review: see the PRs. #193 went through codex gpt-6-sol (xhigh) and Opus lenses to green, including a full-PR sweep, and CI is green on all three.