Changelog

Notable changes to Ant.

Ant is in private, pre-alpha development. Releases are cut from v* tags (for example v0.1.0-prealpha.1); pushes to main deploy these docs. The notable changes in the current tree are listed below.

Notable changes since the last tagged release.

Unreleased

Added

  • Expiring memberships. ant colony users add --expires-in 720h and ant colony invite --grant-ttl 720h give a member a deadline; the daemon stops authorizing it at that time while the row stays for the audit trail.
  • Workload identity (OIDC). ant colony oidc set stores a per-machine rule (issuer, JWKS, audience, repository/ref) and ant colony join --oidc lets a CI job join with its provider's signed token and no stored secret; the membership expires with the token.
  • Verified owner election. ant colony election-consent lets the second admin sign a single-use, expiring consent, required by ant colony elect-owner --consent; the daemon verifies the signature and the consenter's current role. The asserted-quorum fallback is gone.
  • Compose and stack rollback records. A remote compose/stack deploy stores the applied file, routes, and flags on the machine (secret references only); ant trail rollback re-applies a stored release, with secret values supplied again from the operator's environment, and ant trail releases lists the records (--show RELEASE prints the stored file) so any operator with machine access can inspect what was applied without the project source.
  • Audit anchoring and forwarding. Clients anchor the audit chain head after each privileged call and refuse the next gated call if that entry vanished from the retained log; ant nest audit --reset-anchor clears a stale anchor after inspection, and a worker can mirror entries to an HTTP endpoint with --audit-webhook.
  • ant nest tunnel — forward a local port to a container port on a machine over iroh, with no inbound port opened on either side. The worker only reaches ports ant itself published on the machine's loopback for a container it manages. The dashboard mirrors it: a running container's row on a remote machine's page has a Tunnel action, though the local URL is only reachable from the machine running ant ui (the listener is local by design).
  • ant nest audit — a tamper-evident (hash-chained) log of every privileged RPC, with --json and chain verification.
  • ant nest doctor --cleanup — removes client-side leftovers (the pre-v2 config backup, world-readable deploy logs, empty ~/.ant/local trees) and, on a machine, stored compose/stack projects whose workload is gone.
  • ant nest state export|import — back up and restore a machine's daemon state (roster and invites). Import is owner-only and keeps a .bak.
  • Registry push. A source-built remote deploy with deploy.registry builds on this machine, tags and pushes the image, and the machine pulls it. The password comes from ANT_REGISTRY_PASSWORD (never ant.yaml or argv).
  • Remote run: stack. A run: stack project with a machine: sends the stack file to the worker, which runs docker stack deploy on a Swarm manager and routes domains through Caddy at each service's published port. Images must be pullable (build here and push, or reference a registry image); build: services and layering are refused.
  • Remote image_signing and port_offset. The worker now verifies cosign signatures before pulling or starting an image, and port_offset shifts the host port and routes on remote container, compose, and stack deploys.
  • Remote zero_downtime. A container deploy with at least one domain stages the new container beside the running one on an ephemeral port, moves Caddy to that port, and only then replaces the old container. A stack deploy gets a Swarm start-first rolling update (stop-first with a warning for host-mode ports). Remote compose still uses the staged swap.
  • Remote teardown. ant trail destroy --machine M stops the deployment's container, compose project, or stack, clears its Caddy routes, and leaves the machine's images for the build cache.
  • CI support. A ci-role guide with GitHub Actions and GitLab examples, ANT_MACHINE as the --machine environment fallback, --json results on trail deploy/rollback, and ant haul --push for split build-here/push-there pipelines.
  • Swarm management. ant nest swarm status|init|leave manages the Docker Swarm on a remote machine (server-only by design — ant never initializes a swarm on the local host). Node operations (nodes, node promote|demote|drain|activate|pause|rm, join-token) are admin/owner-only; service operations (services, service ps|logs|scale|restart|update|rm) need deploy. Stack tasks carry ant's managed/app labels, so nest containers list, trail status, and trail logs see them, and stack rollback is refused instead of silently redeploying the current file.
  • Secret providers. A secret can name from: op://… (1Password CLI), cmd:… (any CLI, e.g. Vault/AWS/pass), or env:…, resolved at deploy time and never stored.
  • naming.branch — set false to omit the git branch from resource names.
  • Dashboard template catalog. The Add menu lists local templates first, then the Dokploy catalog below, with logos and a shared text/tag filter over both, and downloads a template on selection. The catalog is bundled with ant (and cached after a fetch), so the list is available even when the index cannot be reached.
  • Template discovery. ant nest templates search searches Dokploy's catalog (cached 24h); ant nest new <id> fetches a single blueprint on demand, so one stack no longer needs a full sync. ant nest templates sync still imports the whole catalog for offline use.
  • Dokploy template catalog. ant nest templates sync imports the Dokploy open-source blueprints as ant templates (~/.ant/templates-dokploy), adapting ports, ${password} variables, and domains to ant's model.
  • Compose environment on the Environments tab. A compose project now shows each service's environment: and env_file: (read-only) under "From the compose file", so the compose-defined variables are visible alongside the ant.yaml overlay.
  • Template picker badge. A downloaded template no longer keeps its "download" badge; it updates to local in place.
  • Dashboard "Add" menu. The "Add project" button is now an "Add" menu: Database, Template, or Existing folder.
  • Project detail image. The dashboard reads the deployed image from the deploy history, so a source-built or compose project no longer shows a blank image. Remote CLI deploys now record history (and their image).
  • ant nest edit file. Opens the project's ant.yaml in $VISUAL/$EDITOR (falling back to nvim/vim/vi/nano) for edits the structured nest edit subcommands do not cover, and re-reads the file on exit so a syntax or config error is reported immediately.
  • Registry credentials travel with the deploy. With ANT_REGISTRY_PASSWORD set — plus deploy.registry configured, or a registry-qualified --image and ANT_REGISTRY_USERNAME — the client sends a scoped credential with the deploy and the worker materializes it as a short-lived DOCKER_CONFIG for deploy.run, compose.apply, and stack.apply (where --with-registry-auth forwards it to the nodes). A private image pulls on the machine without a stored docker login there, and the credential is removed when the operation ends.
  • Handover routing. ant nest machines decommission --handover now also exports caddy/Caddyfile.ant-handover: the routes ant programmed, rendered as Caddyfile blocks (domains, paths, upstream ports), so the domains keep resolving after ant is removed.
  • Remove from dashboard, singly or in bulk. A project can leave the dashboard without deleting its files: the project page's More menu gains Remove from dashboard…, and the group page's project list gains checkboxes with Remove from group and Remove from dashboard for the selection. Both removal dialogs can also delete the folders of template-created projects under the ant apps root; source repositories never qualify. Removing drops the project's exact scan roots (machine and groups), so discovery stops listing it; a project still watched through a broader parent root reports that root instead, and a running deployment must be destroyed first. A successful local destroy now also removes the project from the dashboard when nothing of it still runs.
  • Template port offsets. A Dokploy blueprint routes through a proxy that reaches the container directly, so its converted compose file identity-publishes the routed port — and a blueprint routed on 80/443 then asks Docker for the port ant's own proxy owns, so the first deploy fails on a bind conflict. Instantiating a template now checks the host ports it would publish (the compose mappings, or deploy.port for a container) and writes the smallest deployments.<env>.port_offset that frees them all, treating 80/443 as reserved and checking every candidate against ports running containers publish and local listeners hold. A template whose ports are all usable is written unchanged; ant nest new and the creation dialog report the offset when one is assigned.

Changed

  • Local zero_downtime says it is not applied. A local container deploy replaces the container in place; the deploy now reports that instead of silently dropping the staging guarantee remote nests provide.
  • No client-side remote-compose store. A worker's stored compose/stack projects live only under ~/.ant/worker/remote-compose/; a pre-move ~/.ant/remote-compose on a client is ignored (a worker on that host adopts its own copy on start, and ant nest doctor --cleanup removes a superseded leftover).
  • No-build compose deploys without a Docker CLI. A remote run: compose project with no build: service is shipped unresolved, and every file its compose files reference — include/extends targets, env_file files, .env, and secrets/configs sources — travels at its project-relative path; the machine resolves, guards, and applies the bundle (with its own paths relativized back, so the stored document stays portable). Builds, image_signing, references outside the project directory, and variables only the operator's shell defines keep resolving on the client, which needs the Docker CLI.
  • Provisioning no longer ships the machine identity. The machine generates its own keypair on first provision (ant-worker --print-id runs on the machine under a path lock), and the operator registers and pins the NodeID learned over SSH. The local ~/.ant/machines/<id>/identity copy is no longer created; re-provisioning keeps the machine's existing identity, and a machine that reports a different NodeID than its registration is refused.
  • The dashboard is strictly local. It binds loopback only and refuses a non-loopback address; ant ui passwd, HTTP Basic auth, and the ui.password_hash key are removed. Colony rosters and invites are managed on remote machines only — the local machine has a single user, editable in Settings.
  • ~/.ant layout. A worker's state now lives under ~/.ant/worker/ (agent-identity, agent-state.json, audit.log, and remote-compose/), and the managed local Caddy's PID under ~/.ant/caddy/. This keeps machine state out of a client's config/identity when both run as the same user. A worker started with the default paths adopts pre-existing files on first run; explicit --identity/--state flags are untouched, and new bootstraps write the new paths.
  • Dashboard look. The console now wears the ant palette: warm paper surfaces in light, warm charcoal in dark, with the logo's wood amber as the single interactive accent (focus rings, selection, active nav, CPU charts). The dashboard's four stat cards became one status strip, the ALL-CAPS panel labels were retired, group and status colours come from theme tokens, log line colours adapt per theme, and the theme control now shows and switches the theme actually applied (system included).
  • Project page and settings. The project header is grouped by intent — the environment picker, the Build → Deploy pipeline, a joined Restart|Stop control, quiet Terminal/settings icon buttons, and a menu for rollback and destroy. Page tabs are one quiet underlined rail (project, group, machine, and settings pages), and settings/detail cards share one section pattern: a titled header over a hairline.
  • Machine and project details. Remote machines can be renamed from the machine page (display name and hostname; the id stays fixed). The project overview lists what each compose service runs — or that it builds its image on deploy — instead of the redundant group/machine pickers and config string. Volume rows split a mount's source into Key (a named volume) or Value (a host path) with the container path beside them, and editing an environment shows the compose file it uses, overridden or inherited, without pinning inherited values on save.

Changed (breaking)

  • CLI surface cleanup. Machine resources now live under nest: ant nest containers … and ant nest volume … (moved from trail), and ant trail ps is removed — use ant nest containers list. colony users promote folds into colony users update --role, and the hidden ant forage alias is retired (ant nest tools is the surface). Config-target flags on nest init/nest new/nest groups create/nest edit volume are renamed --machine → --target-machine, so --machine is routing-only: commands that only operate on this host now fail fast when it points at a remote, and unknown subcommands of trail/colony error instead of printing help with exit 0.
  • Wire shape: deploy payloads. Deploy-path payloads (deploy.run, compose.apply, route.apply, build.run) are now one shared type on both sides, and route.apply carries a route spec (service + upstream_port) that the worker resolves — a client never builds an upstream string. The pre-release protocol version stays v1; upgrade the CLI and every worker together, since a mixed-version fleet fails closed with an upgrade message.
  • Command moves. The low-level image deploy is ant trail deploy --image (was ant nest deploy); machine resources moved to nest (see the CLI surface cleanup above).
  • Built-in template catalog removed. The catalog is now the imported Dokploy blueprints (ant nest templates sync) plus ~/.ant/templates; run sync once before ant nest new.
  • Canonical resource naming. Containers, images, compose projects, volumes, and Caddy route ownership now derive from one name: [<group>-]<app>-<env>[-<branch>] (git branch included when the project is a checked-out work tree). Named volumes are prefixed with it, so two projects, two environments, or two branches never share a volume. Including the branch is deliberate isolation — switching branches switches to a separate, empty volume; naming.branch: false opts out. Remote resources no longer use the -remote/ant- decorations. Existing deployments must be destroyed and redeployed (ant trail destroy, ant trail deploy).
  • Sensitive mounts refused. deploy.run/compose.apply reject mounts of the worker's state/identity directory, the docker socket, or the host root, and the check now also runs on the client (local runs behave the same) and covers compose secrets:/configs: file: sources plus privileged: true and host devices:.

Fixed

  • The dashboard service heals its own unit, and stopping it means down.ant ui start and ant ui restart rewrite the installed unit from the current binary and settings when it is installed, so an older build's unit picks up changes (the process kill-mode, a moved binary path) without a manual ant ui recreate. ant ui stop and ant ui uninstall now also stop the managed local Caddy the dashboard auto-started, so stopping the dashboard takes its domains offline; a restart deliberately keeps the proxy running, since its routes live only in that process.
  • Dashboard domain edits update the entry instead of duplicating it. A template-created project's domain names only a subdomain (subdomain: app), and the base comes from the group (or localhost locally) at resolve time. Editing or removing it from the dashboard sends the resolved hostname (app.localhost), which the edit code compared against the spec's own hostname and never matched: saves appended duplicates and deletes removed nothing. Matching now resolves the spec through the bases in scope, so the edit updates in place and the delete removes the entry; ant nest edit domain add|remove behaves the same.
  • Dokploy template helpers convert instead of leaking. ${username} and ${email} become editable defaults, ${domain} the local host, and ${password}, ${base64}, ${hash}, ${jwt} and ${uuid} become generated secrets at the size the helper names — including helpers inside a mounted config file, which previously shipped as literal ${hash:64} text. A [config.env] key the compose references becomes a real template variable (its value lands in .env and the creation form can edit it), values that compose other variables resolve at instantiation, and variables referenced only from another variable's value survive pruning. A reference the compose marks required (${VAR:?}) that nothing else defines becomes a required template variable, and a template that declares required variables now loads and validates (previously it was rejected at load, before it could ask for a value). On the full Dokploy catalog this moves conversions from shipping unresolved tokens to zero, with no required reference left unsatisfied.
  • Restarted Caddy proxies get their routes back. ant's routes live only in the Caddy process, so any restart (reboot, systemctl restart caddy, an explicit caddy restart) left every domain dark until the next deploy. The dashboard now rebuilds the running local projects' routes when it starts and after Caddy start/restart, ant nest tools caddy restart does the same, and a remote worker remembers the last applied route set per app (routes.json in its state directory) and re-applies it when it starts and whenever it notices the live server lost an app's routes.
  • Restarting the dashboard keeps local domains served. The managed local Caddy runs as a child of ant ui run, and its routes live only in that process (programmed through the admin API, never persisted). The generated service unit now sets KillMode=process, so ant ui restart (or a crash restart) stops only the dashboard and the next start reuses the still-running proxy instead of replacing it with an empty route set. Re-run ant ui recreate once to rewrite an already-installed unit; a reboot or an explicit caddy restart is covered by the replay entry above.
  • A cutover that cannot move the routes keeps the domain served. A staged (zero-downtime) or adoption deploy whose Caddy update fails no longer removes the container the domain may already be pointing at: the Caddy admin reply can be lost after the update landed, so the worker puts the routes back on the upstream that is still running before discarding the staged copy. Previously a lost reply turned a successful route move into a 502 until the next deploy.
  • A compose recreate stops the old release after the routes move. Tearing down a previous zero-downtime release before repointing the routes left a window where Caddy served a project that was already gone (and no recovery at all when the new project's ports could not be resolved). The teardown now runs after the routes point at the canonical project, matching the zero-downtime path.
  • A failed swap reports a failed restore. When docker stop failed and restarting the container restored under its canonical name failed too, the error only mentioned the stop; the app was in fact left stopped, and the operator had no way to tell from the message.
  • The last owner must be an owner that can still authorize. The guard counted roster rows, so a second owner row whose grant had lapsed let the last live owner demote or remove itself and leave the machine with no role able to promote one back (an admin can neither remove an owner nor grant the role).
  • OIDC policy changes re-check the caller under the write lock. ant colony oidc set wrote the policies without re-resolving the caller, unlike every other state mutation; a member removed or demoted mid-call could still install a rule handing a deploy-capable membership to anyone its identity provider vouches for.
  • Managed Caddy stop is definitive. A proxy that ignored SIGTERM was left running while its PID file was deleted, orphaning it from later stops; the stop path now escalates to SIGKILL and keeps the PID record until the process is actually gone (and refuses to stack a second proxy on its ports).
  • Stale local compose patch files. A killed local compose deploy could leave .ant-<app>-*.yml siblings beside the compose file; the next deploy sweeps this deployment's leftovers before writing new ones.
  • Project page environment scoping. The environment picker now scopes the whole page to the selected deployment: the run-state and run/build/machine badges, the image on General, and Monitoring (containers, logs, and the disk usage of that environment's machine). A remote environment's containers are read from its own machine over iroh, so it no longer borrows the local deployment's running state; live log streaming stays local, with a last-500-lines fetch for remote containers.
  • Compose guard bypass. Every YAML document in a compose file is now checked: docker compose merges documents separated by ---, so validating only the first let a second document smuggle sensitive mounts, privileged: true, builds, or include reads past the guards.
  • Symlink mount bypass. The mount guard resolves symlinks in absolute bind sources — and project-relative sources on the worker — and re-runs the full check (state/identity dirs, the host root, and the docker sockets) on the resolved path, so a link cannot smuggle any of them past the guard.
  • Long RPCs and tunnels. The transport's idle reaper no longer closes a connection with active streams (a >5-minute transfer or any ant nest tunnel session was severed mid-call), and a reply write is bounded so a peer that stops reading cannot pin handler slots.
  • Caddy ownership. StartManaged restarts only a process ant started (PID file or in-process handle); a host Caddy that merely serves a server named ant is never stopped.
  • Deploy durability. The swap renames the old container before stopping it, so a crash leaves either the running app or a restorable parked copy; a failed first deploy cleans up a container that could not join its networks; resource names at the 63-char limit derive valid staging/previous names.
  • Durable revocation. Once bootstrapped, an emptied roster stays empty: the --owner fallback no longer resurrects removed bootstrap owners.
  • Compose build secrets. Build-time secrets and deploy.build_env are resolved for compose projects with build services, not only source builds.
  • Local container swap. Ports, networks, and argv are validated before the running container is removed, so a bad entry no longer takes the app down with no replacement.
  • Template resolve files. Written atomically as 0600, so --force cannot leave looser permissions on a file that gains secret content.
  • Compose signatures. Verification fails closed when the image list cannot be read, and local compose deploys downgrade signing failures to warnings like local container deploys.
  • Misc hardening. Handover archives upload to a random remote path; the audit log retains five segments, fsyncs each entry, and fails verification if the log disappears; compose edits and Caddy route reconciliation are locked across CLI/dashboard processes; scaffolded app names are always valid; invite TTLs are capped at creation, so revocation always covers a mintable invite; the first templates sync on a fresh machine creates ~/.ant/templates-dokploy instead of failing.
  • Local container secrets. The default local run: container path dropped provider-resolved secrets entirely; it now passes them like the other paths.
  • Cancelled deploys. A cancelled existence/running probe no longer leaves the app stopped: ContainerRunning errors abort the swap instead of reading as "was not running".
  • Branch naming. naming.branch now works when the project lives in a subdirectory and the default relative --config ant.yaml is used.
  • Swap leftovers. <name>-staging/<name>-previous are removed only when their app label matches, so an unrelated app whose resource name collides is no longer deleted.
  • Zero-downtime ports. The ephemeral-port rewrite preserves an explicit host IP (including the loopback default) instead of binding 0.0.0.0.
  • --machine. trail logs, trail rollback, and haul honor --machine instead of silently acting locally, and an explicit --machine local fails fast when the project config targets another machine.
  • nest edit. Env/secret/volume/network list mutations are computed under the config lock, so concurrent CLI/dashboard edits cannot lose keys; group assignment stores an absolute project root instead of ".".
  • Health checks. A malformed health_check.path (invalid URL escape) returns an error instead of panicking the deploy process.
  • Archive extraction caps the number of entries, so empty files cannot bypass the 8 GiB byte cap.
  • Provisioning only generates a machine identity when the file is missing, and removes the upload directory on every return path.
  • History and logs. history --clear --machine keeps other machines' entries, remote logs resolve the deployment's run:, and haul records the machine it built on.
  • Managed Caddy defaults to the configured caddy.admin_listen, keeps its config in ~/.ant (removed after start), stops a live managed process before starting another, and removes a PID file only when it names the exiting process.
  • Remote compose deploys. deploy.files layers are all resolved (previously only the first was shipped), deploy.profiles activate the same services remotely as locally, deploy.build_services: false no longer rebuilds anyway, and runtime secrets are no longer interpolated to empty (or baked) on the client before the worker's secrets.env applies.
  • Release ids. A remote source build without --release records the minted image tag, so history and rollback --to can address the deploy.
  • trail destroy. It no longer reports success when the container removal fails, and it refuses a non-path-safe app: value instead of deleting a directory outside ~/.ant/local.
  • Caddy routes. Local deploys validate route paths (no wildcards), path routes are ordered before a host-only route, and conflict checks cover every host in a match set.
  • Rollback. A build: none rollback no longer fails on an unavailable build-secret provider.
  • Config. Legacy group machine: values are normalized during migration, machine identity paths normalize their id, concurrent EditFile writes are serialized, deployment keys that normalize to the same name are rejected, a newer schema version is refused instead of silently downgraded, and config writes follow a symlinked config to its target.
  • Machine ops. A failed container-existence probe aborts a deploy instead of deleting the live app, the stop/park step survives a cancelled RPC, the reaper restores a parked container when the canonical one exists but is not running, and a bad network name no longer leaks a secret env file in /tmp.
  • Compose config writes restore the previous file when the secrets file cannot be written, and nest init quotes generated YAML values.
  • Remote compose domains. A compose project with domains: now programs its routes on the machine after up; previously a remote compose deploy dropped them silently (the container path programmed routes, the compose path did not). A routing failure now fails the deploy with the stack left running and the message saying so.
  • Teardown clears routes. compose.down and containers.remove on a machine, and local trail down/destroy, now clear the app's Caddy routes, so a domain does not keep pointing at a removed container.
  • Buildpacks builds. pack build no longer receives a --label flag it does not support; buildpacks images are discovered by repository prefix, as with railpack.
  • Railpack builds. Provisioning starts a BuildKit daemon when railpack is already installed and points the worker at it (BUILDKIT_HOST); install railpack and re-run ant nest bootstrap to enable it.
  • Local installs ship the worker. task install also installs ant-worker next to ant on Linux, so ant nest bootstrap --host and machines add --host provision from an installed CLI without needing ANT_WORKER_BIN or a public release download.
  • Provisioning installs the Docker Compose and buildx plugins. Some distros ship docker compose and docker buildx as separate packages (Arch: docker-compose, docker-buildx); the bootstrap now ensures both, and a missing compose plugin fails with a clear message instead of docker's "unknown shorthand flag".
  • Remote doctor. ant nest doctor accepts --machine M and checks the remote worker over RPC (docker, Caddy, tools, docker mode).
  • ant nest bootstrap --docker-mode can change the recorded docker mode when re-provisioning an existing machine.
  • First-deploy health gate. A health-checked deploy now probes a first-time container (and any replacement that cannot be staged, e.g. because of a writable mount); previously only staged replacements were gated, so a crash-looping first deploy could be reported as success. A failed first deploy also removes the half-created container instead of leaving a dead name behind.
  • Dokploy conversion. Handle [config.env] written as an env = ["K=V", …] array, boolean/number variable values, and ports quoted as strings. This lifts conversion from ~356 to ~525 of Dokploy's 532 blueprints.
  • Dokploy mounts and stacks. [[config.mounts]] are materialized under files/ (and gitignored, since they may hold a secret); ../files/ binds are rewritten; Swarm deploy: keys are translated (restart_policy → restart, replicas/resources kept, Swarm-only keys dropped); a top-level name: and container_name: are removed. [config.env] generators (${password}, ${domain}) and cross-variable references now resolve.
  • Confirmations. ant trail destroy and ant trail prune prompt on a terminal instead of refusing without --yes.
  • Prune --all. Also removes created/dead containers (not only exited) and reports the build cache instead of a blank value.
  • Mount guard false positives. .. and docker.sock are matched on path boundaries, so a legitimate /srv/app..old or /x/docker.sock.bak is no longer refused.
  • Tunnel audit accuracy. A tunnel is recorded with its real outcome (after the target resolves and the connection opens), not before.
  • State import safety. ant nest state import refuses a document with no users unless --force is given.
  • Audit log growth. The log rotates at 8 MiB (audit.log.1); reading it no longer appends, and it requires the admin role.
  • Per-deployment target and secrets. trail deploy, trail status, and the rollback history now honor a deployment's server: override (and trail status --machine M targets M); a per-deployment deploy.publish merges like the other fields; and editing a deployment's secrets keeps each entry's from: provider reference instead of rewriting it as a bare name.
  • Local compose secrets. A local compose deploy no longer writes resolved secret values into a .ant-<app>.yml file in the project directory: the patched file carries ${KEY} placeholders and the values ride in the compose process environment.
  • Migration and machine ids. The v1→v2 config migration tolerates JSON null maps instead of panicking, and machine lookups normalize the id, so a machine: Prod written by nest init resolves the same record everywhere.
  • Interrupted-deploy reaper. A compose service whose container_name ends in -staging/-previous is no longer treated as a leftover swap container.
  • Remote compose paths. docker compose config keeps bind, env_file, and build paths unresolved, so the worker resolves them against its own project directory (a build context is joined to the first compose file's directory) instead of client paths that do not exist there; a failed first apply no longer leaves secrets.env behind with no stack.
  • Local exec in scripts. trail exec disables the TTY for compose exec (-T) and docker exec (-i) when stdin is not a terminal, so piped and CI use no longer fails on a TTY it cannot attach; local docker helpers are time-bounded.
  • Decommission. A handover bundle is extracted before the worker is removed (a corrupt archive aborts safely), the original Caddyfile is restored only when the operator has not edited ant's rewrite, --purge removes the docker socket proxy, and external machine/group networks are never removed.
  • Provisioning. A non-Linux target is refused before upload; the socket proxy and BuildKit container carry the managed label; a build-only machine no longer receives the Caddy low-port grant.
  • Login rollback. A failed login restores the previous keypair, including when only the .pub write fails.
  • Windows low ports. The capability check reports ports below 1024 as bindable on Windows, where there is no privileged-port restriction.
  • ant.yaml typos. Unknown keys and a newer version: are refused at load instead of silently ignored: a misspelled zero_downtime, health_check, or image_signing used to disable the feature it named. Generated kind: templates are now part of the declared schema.
  • Zero-downtime cleanup. The post-switch rm/rename runs on a detached context and failures are returned as deploy warnings, so a cancelled RPC or a docker hiccup cannot leave the old container holding the canonical name unnoticed.
  • Failed signups. A signup that fails after the key is written (a profile write or a partial keypair save) removes the orphan instead of blocking every retry with "already exists".
  • Deploy probes. A failed ContainerRunning probe during the settle window is reported as a probe error rather than "container exited", cancellation aborts promptly, and a failed first-deploy health gate removes the container.
  • Daemon reads. containers.list, images.list, volumes.list, and the metrics fallback honor the RPC context while keeping the docker call's own timeout, so an unresponsive daemon cannot pin a handler slot; the management check matches the computer.ants.managed=1 listing filter instead of any label value.
  • Deploy history. A corrupt deployments.json is preserved as a backup before a new entry is recorded, instead of silently discarding it.
  • Client config. A malformed legacy top-level value (for example a string groups) or group entry is reported instead of dropped by the migration.
  • Service units. A literal % is escaped for systemd (%%), and unit and launchd plist writes are atomic.
  • Audit and errors. users.update records the systemUser it changes; an unknown secret provider no longer echoes the full from: reference.
  • Remote nests in the dashboard. Every remote-backed request opened a fresh iroh endpoint and dialed the worker, so a polling page paid the dial each time, churned the worker's inbound connection slots, and its overlapping requests ended in "Remote worker: context deadline exceeded". The dashboard now shares one process-wide endpoint (calls after the first skip the bind and dial), each remote probe gets its own slice of a bounded page budget instead of sharing one deadline, the nest list's per-machine budget is no longer tighter than a LAN round trip, and a page's poll schedules the next request only after the previous one settles.
  • Last owner. The machine's sole owner can no longer be demoted or removed (in the dashboard and on the daemon), which would have left the machine ownerless behind an owner-only recovery path.
  • Settings scan roots. The settings page lists group scan roots alongside the machine's own, so projects registered through a group are visible.
  • Compose volume edits. Saving a service no longer drops mount modes beyond ro (:cached, :delegated, :z, …), and tmpfs or option-carrying long-syntax mounts survive the save verbatim instead of being rewritten as plain volume mounts. Filling both Key and Value in a volume row now clears the other instead of silently keeping only one.
  • Stack routing with host-mode ports. A routed service that publishes in mode: host on a multi-node swarm now deploys with a warning: the port exists only on the node running the task, while Caddy runs on the manager, so the route only resolves if the task is placed there (pin the service with a placement constraint, or publish in ingress mode).
  • Renaming a group no longer drops its metadata edit. The group page's Edit dialog renamed first, then saved display name, colour and description against the old name — which no longer existed — so the save failed and only the rename stuck. The metadata update now targets the new name.
  • Renaming or deleting a group carries its members. A rename changed only the group's key, leaving every member project pointing at the old name: the dashboard then showed the renamed group empty and the projects under a synthesized entry for the old name (whose Edit/Delete could not work), which read as "the rename created a new group". A rename now rewrites each member's group: in ant.yaml — rolling itself back when a member cannot be updated, so nothing is left pointing at a name that does not exist — and a delete ungroups the members and returns their scan roots to the machine so they stay discovered. Synthesized entries are marked defined: false — the dashboard hides the actions and tabs that need a record, and a rename or delete of an unknown group answers 404 — and ant nest groups rename|delete behave the same.
  • A bind failure on :80/:443 names the proxy. A compose service that publishes host port 80 or 443 collides with ant's Caddy, which serves every routed domain on the machine's edge; the error said only "in use by a process that is not a docker container", inviting the operator to free the port the proxy must keep. It now says the port is an edge port and points at a different published host port or a deployment port_offset.
  • Destroying a local compose project no longer reports "nothing to destroy". Compose runs from the project directory, so there is no generated working directory to find and a successful teardown exited with "nothing to destroy: no local container, image, or working directory" — and the dashboard's destroy then never unregistered the project. The stack's own containers now count as evidence it existed.

Security

  • Dashboard CSRF over GET. The cross-site guard no longer exempts GET: a malicious page the operator visits could trigger GET /api/projects/{name}/exec (which runs a command in a container) without reading the response. Cross-site requests to /api/ are now rejected for every method, while a browser navigation to the UI itself (opening the dashboard from a link) still works and non-browser clients (curl, the CLI) are unaffected.
  • Container env passthrough. Runtime secrets (including multi-line values) travel only in the docker process environment on both local and remote container deploys; the temporary --env-file is gone, so no value can leak through argv.
  • Compose ~. The mount/read guards refuse a leading ~, which compose expands to the user's home directory.
  • Transport lifetimes. Per-connection idle deadlines, tunnel first-stream deadlines, and oldest-connection eviction on overflow bound unauthenticated connection-slot exhaustion; a split read/handler budget stops empty streams from blocking RPC processing.
  • Caddy routes are serialized in-process, so concurrent reconciles cannot drop each other's routes.
  • Denial audit has a global per-interval cap that fresh NodeIDs cannot bypass; successful invite redemptions and failed tunnel authorizations are recorded.
  • System accounts derive from 12 NodeID characters and duplicate links are refused.
  • Resource-name collisions are refused on both the worker and local paths instead of replacing another app's container.
  • Cloud-init escapes substituted values for the single-quoted systemd unit.
  • Build-context extraction. A symlink whose target traverses an earlier symlink is refused, and the remote Dockerfile write removes an existing symlink first, closing an arbitrary-file-write path.
  • Compose guard. env_file, build context, extends, and include paths are checked on the worker (client-side parent-relative paths stay allowed); a remote apply refuses build services outright.
  • Local container secrets are passed through the docker process environment instead of docker run -e KEY=VALUE, so they no longer appear in argv.
  • Worker bootstrap uploads into a private mktemp -d directory instead of predictable /tmp names a local user could pre-create.
  • trail prune --volumes removes only the project's unused volumes, scoped by its compose label, and refuses to run without a project; previously it removed every unused volume on the host.
  • Transport hardening. Per-peer connection caps and a first-stream watchdog bound connection-slot exhaustion; the endpoint no longer hangs forever waiting for a relay; an oversize error reply is truncated rather than dropped.
  • Managed Caddy PID file moved out of world-writable /tmp, and a PID file with no recorded binary is never signalled.
  • --machine on local-only trail commands (down, restart, destroy, env, exec) now fails fast, and trail deploy honors it as a routing override.
  • Denial audit entries are rate-limited per peer+method, so an unauthenticated caller cannot force log rotation.
  • App names are validated at config load, and unknown users.remove ops are rejected instead of deleting the roster row without a plan.
  • Build-context extraction. A chained symlink can no longer move a later entry's real parent outside the extraction root: directory creation checks the nearest existing ancestor first, and a final-component symlink is removed before a file or directory is written.
  • Container-deploy mounts. The worker refuses relative bind sources (they resolved against the worker's working directory, exposing ~/.ant or /), refuses ancestors of the docker socket (/var), refuses compose volumes_from, and protects the identity directory and ~/.ant even when --state points elsewhere.
  • Audit log flooding. Audit details are capped, an unauthenticated caller's body is never written to the log, an oversized line is skipped on read instead of breaking audit.list, and the five rotated segments stay independently verifiable.
  • Route upstreams. route.apply now verifies every upstream port against the named container's published ports, so a deploy cannot route the Caddy admin API, a docker socket proxy, or another app through a public domain.
  • Role changes. users.add/update/setRole/remove and state.import re-check the caller's current role against the state being mutated, closing the window where a demoted or removed caller finished an in-flight call with its stale role.
  • Worker stream budgets. A request stream that stalls before its frame, or trickles a payload, is stopped by a watchdog, and every call has a total duration bound so a hung docker command cannot pin a handler slot. An oversized reply returns a clear error instead of a silent EOF.
  • Compose include. The worker refuses include outright: compose resolves it at up time, after the guards, so included services, builds, and mounts would never be validated. The client's docker compose config inlines includes before shipping.
  • Audit segments. Rotated segments chain to the one before, so an edited entry or a deleted newer segment fails verification; the oldest retained segment remains indistinguishable from rotation.
  • Tunnels, invites, Caddy, roles. A tunnel stream must name its target within 10s; an invite with an out-of-range expiry is refused without consuming its nonce; admin_listen must bind loopback; and a shared system account is refused on role change, not only on add/update.
  • Owner election. With zero owners and at least two admins, an admin may promote a member to owner against a live daemon (previously the CLI's elect-owner was refused by the worker); the target role is recorded in the audit detail. The quorum is roster-count-based, not a signature.
  • Mount-path resolution. A bind source that cannot be resolved — an untraversable parent, a symlink loop — is refused: the root-owned docker daemon would follow it, so comparing the literal path let it reach the identity directory or the docker socket.
  • Invite revocation. invites.revoke re-resolves the caller's role under the write lock, like every other colony mutation, so a demoted or removed member cannot finish an in-flight revoke with its stale role.

Pre-alpha

See the installation guide for the current build, release tarballs, and checksums.sha256.

Copyright © 2026