Skip to content

Releases

blastbox 0.1.54

Choose a tag to compare

@wmetcalf wmetcalf released this 30 Nov 03:34
8a22fb2

Receipt EMIT (#243): warm FC receipts sign net_filters and the jail helper's net_up; cold runs sign net_filters from netd's per-run filter report. Every receipt verifier already accepts these records (0.1.53 / Loadout #25).

blastbox 0.1.53

Choose a tag to compare

@wmetcalf wmetcalf released this 30 Nov 02:06
d7483d3

FC networking through the jail (#236–#240), receipt ACCEPT: verifiers accept signed net_filters / net_up / node_id / node_cert_sha256 (#241), pull-agent and node-identity follow-ups (#229–#235). Receipt signing of the new records (EMIT) ships in a later release.

blastbox 0.1.52

Choose a tag to compare

@wmetcalf wmetcalf released this 26 Nov 00:12
18744a7
  • 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

Choose a tag to compare

@wmetcalf wmetcalf released this 20 Nov 23:24
a9d55f8

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-jailer check.
  • #213 Host LSM detection and reporting (BLASTBOX_CONFINEMENT=auto|require|off, preflight confinement); the verifier accepts an optional receipt confinement record. 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

Choose a tag to compare

@wmetcalf wmetcalf released this 20 Nov 02:14
afd7126

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

Choose a tag to compare

@wmetcalf wmetcalf released this 18 Nov 19:37
2efbfc3

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 in blastbox-engine.toml (schema blastbox-engine-contract/1): artifact families, payload shape, detection codes, known gaps and consumers. check_result / check_envelope / assert_conforms and python -m blastbox.contract.engine_contract validate|check compare 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. See docs/ENGINE-REQUIREMENTS.md.
  • Seal: the reserved root metadata.json is now matched on path parts. ./metadata.json, metadata.json/ and metadata.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) and docs/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, --strict and --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

Choose a tag to compare

@wmetcalf wmetcalf released this 01 Nov 15:57
d07ed81

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

Choose a tag to compare

@wmetcalf wmetcalf released this 23 Oct 15:00
9ac3132

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

  1. 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: 1 on Linux by default, always 0 on 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_unavailable before the engine runs; the dispatcher fails it with that reason.
    • Set BLASTBOX_WORKER_AGENT_EGRESS=0 on a Linux worker with no exit wired. Setting 1 on a Mac stops the agent at startup.
    • Pools whose net policy grants no egress, and Firecracker/gVisor runtimes, are unaffected.
  2. MACOS WORKERS (#198) are new and opt-in. See docs/DEPLOYMENT.md 3a and docs/CONFIGURATION.md ("macOS backends"). Run blastbox macos prepare on each Mac (re-run it after an upgrade if blastbox macos doctor reports stale slots), and roll every worker on one Mac together.

  3. 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.

  4. CLIENT RECEIPT VERIFICATION (#200) is new and opt-in: blastbox attest verify / blastbox.client.verify against keys you pin. See "Verifying results (clients)" in docs/DEPLOYMENT.md.

  5. #199 and #202 need no action.

Adversarial review: see the PRs (Codex-clean on each final head). CI is green on main.

v0.1.46

Choose a tag to compare

@wmetcalf wmetcalf released this 10 Oct 18:05
c434a99

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

  1. UPGRADE ORDER IS REQUIRED: INGRESS FIRST (#195). Read docs/upgrading-attestation.md before 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.json as 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) from GET /v1/jobs/{id}/attestation.
  2. BEHAVIOUR CHANGES IN #195

    • A receipt is served only when a cleared marker bound to the stored metadata.json vouches for it; uploads that cannot carry one store attestation.withheld.json. attestation.json and attestation.withheld.json are 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.json is no longer deleted; FIFO receipt/metadata files no longer hang verification.
  3. #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

Choose a tag to compare

@wmetcalf wmetcalf released this 01 Oct 13:00
8f2fb5f

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

  1. BLASTBOX_CLAIM_UNTARGETED_AFTER_S IS 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_tier unset) 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_S is refused.
    • The delay compares epoch created_at (stamped by the ingress) with the dispatcher's clock, so large ingress/dispatcher clock skew shifts it.
  2. 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 publishes serving=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.
  3. #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.