Changelog
Notable changes to Wardcase, newest release first, grouped by the part of the product they touch. This page is built from the changelog that the release script writes from commit messages.
0.1.0 (unreleased)
Contracts
- OpenAPI, host protocol, db schema, config
sandbox.Managerinterface shared by the daemon core and the SSH gateway- First-level exposure hostnames on EXPOSURE_DOMAIN, tunnel hostnames
tun-<host>, Spectrum SSH without proxy protocol on Business ssh.forwardandfile.listaudit types,exposure_idand hextoken_hashin lookup, internal audit ingestion endpoint, lowercase sandbox ids- Operator endpoints for enrolment tokens and org unblock
- Org rename, snapshots by sandbox, auth routes,
Me.user,free_tier.concurrent_used, terminal close codes; generated request types keep defaults optional; dashboard fixtures follow - ssh-authorize endpoint,
org_idonsandbox.create,Session.CloseWriteand Stderr, file paths under/work, installer proxy protocol values; regenerated SDK types users.login, egress policy set-null migration, extra error responses, 50 MiB file limit, Stripe meter names,org.unblockednote
Control plane API
- Scaffold Worker, health route and problem+json errors
- API key and session cookie authentication with scope checks
- API key create, list and revoke with audit events
- HostRegistry Durable Object with placement, heartbeats and reconciliation
- Host enrolment, WebSocket upgrade, SigV4 presigned URLs and host repository
- SandboxSession core, DO shell and Node cluster harness (workers test under investigation)
- SandboxSession state machine, acks, timeouts, reconciliation and Workers DO tests
- Operator endpoints, internal audit ingestion and draining-aware placement
- Sandboxes create, list, get, delete and keepalive with idempotency and free tier
- Exec with NDJSON streaming, buffered results, 10 MB truncation and the terminal WebSocket
- File upload, download and listing through presigned objects
- Port exposure routes and the edge-proxy lookup by hostname label
- SSH tokens, SSH keys and host-side SSH authorisation
- Snapshots, restore from snapshot, sandbox filter and snapshot lifecycle events
- Audit listing, JSONL exports and the audit-export queue consumer
- Usage samples, hourly rollup, usage report and Stripe meter events
- Egress policy CRUD, rule validation and live policy updates
- GitHub OAuth login with invites, dashboard sessions,
/v1/me, org rename and CORS - Stripe setup checkout, billing portal and signed webhook
- Public regions and images catalog
- Per-key rate limits for reads and writes
- Send
org_id(andmetadata.org_id) insandbox.create - Retry
sandbox.createon the next host after a capacity refusal, inventory-aware reconciliation, mining pools as builtin deny hosts - Allocation-based billing accounted hourly by the session DO; samples feed analytics and egress
- Config-driven file, rate and free-tier limits,
vv_live_keys only,/workpaths, documented scopes, policy FK cleanup - Idempotency-Key on ports, snapshots and audit exports; Retry-After on 503
- Store the GitHub login on sign-in, CORS allows Accept and exposes Retry-After and X-File-Sha256
- Optional SNAPSHOT_STORE_* override for snapshot presigning
- Fix: lowercase [a-z0-9] ids so hostnames derived from them survive lowercasing
- Fix: ssh-authorize at its contract path with 401, 403 and 404, and SSH tokens only in the SSH region
- Fix: end an unfinished exec 15 s after
timeout_s, before the SDK gives up - Fix: report hour H to Stripe at H+2 so late allocation slices are included
Host daemon
- Config from flags and env with mirrored product limits
- Runtime interface,
os.Rootsandbox filesystem and fake runtime - Protocol client with hello, heartbeat, reconnect and deduplicating dispatcher
- Sandbox manager lifecycle with state recovery, ports and authorize
- Exec streaming with 64 KiB chunks, 10 MB truncation, stdin, signals, pty and Attach
- Attach sessions expose CloseWrite and Stderr, Close kills, and Attach records exec audit events
- File put, get and list over presigned urls with sha256, and OpenFS for sftp
- Egress policy compiler, nftables scripts with golden tests, and the enforcer
- nflog parsing with tls sni extraction and rate-limited
egress.connectionevents - cgroup v2 meter with 60 s usage samples and host heartbeat stats
- Mining abuse detector and kill with
sandbox.exitedreason abuse - zstd snapshots of
/workwith retried presigned upload and restore on create - Presigned object store router for s3, r2 and azure blob
- Docker runtime with runsc, loop-mounted
/workquota and per-sandbox bridge - Read the installer's environment, enrol or load the host identity, and authorize ssh
- Wire vivariumd with the ssh gateway, port proxy, installer environment and systemd unit
SSH gateway
- SSH server with persisted host key, public key and token auth through
Manager.Authorize - Optional PROXY protocol v2, off by default; client IP recorded as unavailable without a header
- Shell and exec sessions through
Manager.Attachwith PTY, resize, env and exit status - SFTP subsystem over
Manager.OpenFSwith in-order streaming uploads - ssh -L to sandbox ports; refuse remote and agent forwarding with a message
- Audit events for SSH sessions, forwards and SFTP transfers through a Recorder
Port proxy
- Header-routed HTTP and WebSocket proxy to sandbox ports with problem documents
Edge proxy
- Worker for exposed sandbox ports with lookup cache, token cookies and WebSocket pass-through
Dashboard
- Scaffold Vite app with router, auth guard and GitHub login
- Typed API client with problem+json errors and session expiry
- API keys page with one-time key reveal and revoke
- Sandboxes list with live status, create dialog and kill
- Sandbox detail with timeouts, keepalive and SSH access
- Expose, list and remove sandbox ports using the API's URLs
- Create and list sandbox snapshots
- Terminal WebSocket framing with input, resize, output and exit
- Browser terminal tab with
xterm.jsover the sandbox WebSocket - Audit log with filters, paging and JSONL export
- Usage with free tier meter, and billing with card setup and portal
- SSH keys and settings pages, blocked org banner
- Fix: no horizontal page scroll on phones, compact single-line table rows
TypeScript SDK
Vivariumclient with bearer auth, retries honouring Retry-After and problem+json errors- Create, get, list, keepalive and kill sandboxes, waiting until running
sbx.runwith a JSON result or streamed NDJSON output callbackssbx.fileswrite, read and list, with streaming uploads- Expose ports, SSH command, snapshot with polling, restore from snapshot
- Audit list per sandbox and org, JSONL export with polling
vv.me,vv.usageandvv.snapshots.list;vv.rawleaves out operator-only endpoints
Python SDK
VivariumandAsyncVivariumwith bearer auth, retries honouring Retry-After and problem+json errors- Create, get, list, keepalive and kill sandboxes, sync and async, waiting until running
sbx.runwith a JSON result or streamed NDJSON output callbacks, sync and asyncsbx.fileswrite, read and list with streamed uploads, sync and async- Expose ports, SSH command, snapshot with polling, restore from snapshot
- Audit list per sandbox and org, JSONL export with polling, sync and async
vv.me,vv.usageandvv.snapshots.list, sync and async
Site
- Astro scaffold with config-driven layout, OpenGraph image, robots, sitemap and checks
- Home page with code sample, audit trail, regions and pricing summary
- Pricing page from config
- Security page
- About and contact pages, legal page layout (legal pages pending)
- Terms and privacy pages; align copy with the exposure-domain, SSH client IP and audit wording contract update
- Fix: snapshots are not region-local and not every region is online yet, per the latest contract update
- Fix: reconcile with merged SDKs and config: baseUrl in samples, allocation billing, security email, invite mode, read-only root, legal placeholders
Docs
- Starlight scaffold with config-driven title, robots and checks
- Quickstart, SDK guides, authentication and concepts matching the W4 surface
- API reference generated from the OpenAPI contract, internal endpoints excluded
- Egress, audit trail, SSH, ports and snapshots guides; event catalogue rendered from
events.md - Billing, limits and one page per problem type; escape typographic characters in check scripts
- Fix: lowercase example ids, snapshots not region-local, API reference coverage derived from the contract
- Fix: reconcile samples with the merged SDKs; allocation billing, config limits, scopes, SSH region and forwarding, exposure cookie,
/worksnapshots
Infrastructure
- Idempotent host bootstrap with dry-run, base image and checks
- Cloud-init template that embeds and runs
install.sh - AWS region module with Cloudflare-only ingress, S3 buckets, presign user and optional RDS
- Azure region module with VM, Postgres, Blob, Key Vault and Log Analytics
- Cloudflare module for DNS, Spectrum SSH, tunnels, Hyperdrive, R2, Queues and routes
- Fix: SSH proxy protocol off by default,
tun-<host>tunnel hostnames - Fix: sshd
-ton socket-activated Ubuntu, force-enrol needs a token, azurerm subscription
End-to-end test
- Harness, assertions and create step
- Exec, files, expose, ssh, snapshot, restore, destroy and audit steps
- Fix: use the exposure url from the API without parsing its shape