Developing
Dsmack.

The repository holds four streams of work that change at different speeds. The platform is what a third party checks, so it is versioned carefully and in public. Apps built on it ship often.

Streams · Platform areas · Issues and labels · Decisions · Releases

Four streams

StreamWhat it isReleased as
PlatformThe Mac app, the Linux image it boots, the guest API, App Attest verification and the evidence formatsvX.Y.Z, see versioning
NetworkMacs serving guests to browsers: pool, broker, payments, Mac ownership, egress, directoryWith the app that deploys it
AppsThe private agent and the bounty appOwn tags, e.g. private-agent-v0.4.0
OpsMonitoring, dashboards and deploy toolingNot versioned

Apps pin the platform release they run on. Workloads belong to the app that uses them and are named by image digest.

Platform areas

Each area has its own identity. Changing one does not force a new version of the others.

AreaWhat it isIdentityBreaking when
RunnerDsmackRunner: Swift app and its libkrun/Apple Hypervisor backend (runner-vm/)Code signature: Team ID, bundle ID, cdhashIt is re-signed, so every Mac re-enrolls
Base imageKernel, initramfs, verity root, container runtime, task start and result export (base-vm/). Inside the base imageImage hash in the signed release inventoryAn admitted image is dropped, or the task interface changes. Adding an image is not breaking
Guest APIdstack's guest API v1 on /var/run/dstack.sock, so one compose file runs on dstack and on a Mac (dstack-compat/)API versionA call or response changes
AttestationApp Attest verification in Solidity and Noir, the approved-code and key registries, Apple's root (app-attest/, trust/). App AttestContract address, circuitAn address or interface changes
EvidenceStatement, receipt, envelope and signed report, and the Python verifier (verifier/)Format name and number, e.g. dsmack.statement/1The verifier rejects evidence an older release wrote

Issues and labels

Platform and network issues are filed in the public repository. A label exists to route a decision: which platform area and release (platform:runner, platform:base-image, platform:guest-api, platform:attestation, platform:evidence), which stream (network, app:private-agent, app:bounties, ops), whether it needs a careful review (trust-boundary), and whether it collects on the next minor release (breaking). blocked always comes with what it waits on and a date to check again. Milestones are releases or sprints, such as Platform v0.2.0.

Decisions

Each design decision is a short file in docs/decisions with its status, date and the decision it builds on, so the reasoning behind the current design can be followed back.

Releases

A release starts as an issue from a checklist. A platform release follows releasing: tag, an unsigned build whose measured hash is published so a rebuild can be compared, signing, the signed release inventory, notarization and publication with provenance. An app release goes through staging, browser journeys in Chromium and Firefox, a tag, the live testnet deploy, a Mac pool restart and green health checks. The closed issue is the record of the release.