fix(configuration): require containers.image instead of a private-registry default (#2054)

applyContainerDefaults no longer fills containers.image with a hard-coded
private-registry reference. An unset image now fails configuration
validation with 'containers.image is required for autonomous workflow
workers', so a fresh instance is told at startup (and via the readiness
probe at runtime) instead of at the first failed container pull.

Configs that relied on the default now set it explicitly: dev.toml (the
local task image:agent build, which e2e also overlays), plus commented
[containers] blocks in config.example.toml and standalone.toml. The
deploy docs no longer describe a code-level default.
This commit is contained in:
sam committed 2026-11-21 01:16:41 +11:00
1 parent b868d450bd
commit 0346bfef77
7 files changed
+45 -17

No files matched your search

+9
View File
@@ -98,6 +98,15 @@ target = "127.0.0.1:9090"
# catalogue = "registry.example/owner/archipelago/catalogue"
# catalogue_key = "base64 public key"
# The image task containers run. There is no default: the daemon reports a
# missing containers.image at startup instead of guessing a registry, so set
# your own pinned reference -- see
# deployments/systemd-user-service.md#6-pinning-the-archie-agent-image.
# [containers]
# image = "registry.example.com/archie/archie-agent@sha256:<digest>"
# pull_policy = "missing"
# registry_auth = { engine = "env", key = "ARCHIE_REGISTRY_AUTH" } # when the registry needs a login
# Long-running agent loops that maintain memory, skills and — in dry run —
# file follow-up issues from recent runs. Definitions are data: the server
# validates them and the gateway applies them live.