Source or re-scope the Mukurtu archive port — its pinned image is published nowhere #1176
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1176
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Split from #1175 (the #1170 floor-measurement deploy-blockers). #1175 landed the safe two-way default under ADR 0174 — the archive port is gated out of P4-S2 selection (
provision.provisionImageUnsourced,internal/provision/deploy.go) so an operator is never offered an undeployable service (a selectable lie, ADR 0100). This ticket carries the STRATEGIC decision #1175 could not rule.The decision
internal/clan/archive.gopinsghcr.io/mukurtucms/mukurtu-cms:v4.0.0for the Community archive (Mukurtu CMS) port. No such image is published — every tag (v4.0.0,4.0.0,latest,main) returns denied/none, and themukurtucmsorg publishes no public container. Mukurtu 4 is a Drupal 11 install profile (PHP 8.4 + MariaDB + Solr) with no official container. So the archive port cannot deploy and its floor could not be measured (#1170 parked it; #1175 gated it out of selection).A ruling is needed on how to make the archive port deployable — pick one (or supersede):
Why human
A one-way-ish call outside ADR 0174's two-way delegation: publishing a container (outward-facing, non-routine), adopting a third-party image for a sovereignty-critical Heritage service (a trust/security decision), or cutting a catalogue service (product) — none is provable by a test I can run, and each carries residue beyond a revertible commit. The safe interim (gated out of selection) is already landed in #1175, so nothing ships broken while this waits.
Acceptance criteria
internal/clan/archive.gopins a real, pullable image and theprovisionImageUnsourcedgate is lifted forarchiveNotes
The gate lifts by dropping
archivefromprovision.provisionImageUnsourcedonce a real image is sourced. Floor + steady memory for archive remain the tier-aligned estimate (never measured — the image never existed to measure).Ruled by Ben (2026-09-03): option 1 — build & publish our own Mukurtu image.
internal/clan/archive.gothen pins the Mātou-published image; theprovisionImageUnsourcedgate lifts forarchiveonly once the pinned image is really pullable.The build+publish itself (Containerfile/Nix image, registry publish workflow, pin) is agent-workable now this is ruled; the outward-facing registry publish is sanctioned by this ruling. Re-arming
ready-for-agent.Blocked —
agent-blocked(cannot-proceed): the ruled build+publish needs credentials + a protected rail the swarm sandbox does not haveThe decision is not the blocker — Ben ruled option 1 (build & publish our own Mukurtu image to Mātou's registry, lift the
provisionImageUnsourcedgate only once the pinned image is really pullable). No undecided door remains. What blocks a Sandcastle iteration is the execution:No package-scoped registry credential in this sandbox. Publishing to
git.matou.nzpackages needswrite:package(the CI-onlyREGISTRY_FORGEJO_TOKENorg secret). The swarm'sforgejo_tokenis repo/issue-scoped and 401s on a package PUT — this is the same limitation documented in.forgejo/workflows/reseed-publish.yml("the swarm machine token has NO package scope, 401 on PUT, proven 2026-08-20"). So no Mukurtu image can be made pullable from here, and the gate's AC ("pins a real, pullable image and the gate is lifted") is unreachable this run.The publish rail belongs in
.forgejo/workflows/— a protected path (#445). A Mukurtu build-and-publish workflow (thereseed-publish.ymlshape) is machinery the swarm may not author; the before/after tree-fingerprint would roll it back and red the run. Per ADR 0174 / rule 9 that is an interactive session's change, not the swarm's.The gate must not lift until the image is really pullable (the #1175 / ADR 0100 safety contract). Since I can neither publish nor verify pullability, any partial that lifts
provisionImageUnsourced("archive")— or repointsinternal/clan/archive.go's pin to a not-yet-published Mātou ref while leaving the gate down — would re-introduce the selectable lie or ship unverified scaffolding the port's own docstring warns against ("reported back on the ticket rather than shipped fragile"). No safe closeable increment exists in a single vertical slice.Building + boot-testing a full Drupal 11 + Mukurtu 4 (PHP 8.4 + MariaDB + Solr) OCI image is a multi-step infra spike, and it terminates in an outward-facing registry publish the sandbox is not credentialed for — beyond what a single vertical slice can execute or self-verify.
What re-arms it
An interactive session (or Ben) that can reach the package registry:
.forgejo/workflows/(protected — session standing per #445).git.matou.nzpackages with awrite:packagetoken; confirmpodman pull <Mātou ref>succeeds from a clean host.internal/clan/archive.go's pin (defaultMukurtuImage/MukurtuVersion) to the published Mātou ref, and droparchivefromprovisionImageUnsourced(internal/provision/deploy.go) — theTestDeploy_ArchiveGatedUntilImageSourced/TestDeploy_RoutableRenderShippingPortsAreNoLongerGatedpair flips to prove the lift.Then re-add
ready-for-agentfor any residual that is genuinely swarm-workable, or complete it in the session.Blocked-run report (run 16843) — ruling recorded, execution not sandbox-runnable
The strategic decision is already ruled by Ben above: option 1 — build & publish our own Mukurtu 4 image to Mātou's own registry (git.matou.nz packages), pin it here, and lift the
provisionImageUnsourcedgate forarchiveonly once the pinned image is really pullable. No decision remains open; this report is about execution feasibility, not a ruling.A Sandcastle sandbox agent cannot complete the terminal deliverable ("
internal/clan/archive.gopins a real, pullable image and the gate is lifted"):podman,docker,buildah,nix,skopeo(and evengo) are all absent in the sandbox — a Mukurtu 4 image (Drupal 11 install profile: Composer + PHP 8.4 + MariaDB + Solr) cannot be built here.REGISTRY_FORGEJO_TOKENorg secret (packagewrite); the swarm machine token has no package scope (401 on PUT, per.forgejo/workflows/reseed-publish.yml). The sandbox has only the swarm token..forgejo/workflows/— protected (#445), so it cannot be authored from the sandbox. Filed as a separate session machinery issue: #1177 (ready-for-session).What a human/session must do to re-arm
.forgejoMukurtu image build+publish workflow) on a nix/OCI runner with the package-scope token; publish a pinned, pullablegit.matou.nz/…/mukurtu-cms:v<version>(never:latest, ADR 0017).internal/clan/archive.go'sdefaultMukurtuImageat it and droparchivefromprovision.provisionImageUnsourced(gate lifts; proven by the P4-S2 offering test).The
archivecatalogue entry and #1175's safety gate are unchanged — nothing ships broken while this waits.Why human
The remaining work is an outward-facing container publish for a sovereignty-critical Heritage archive — residue beyond a revertible commit — and its precondition ("really pullable") is not provable by any test I can run in a unit-test sandbox. It also needs a protected
.forgejo/workflow (#1177) and package-scope credentials the sandbox does not hold. A human should route the execution to a session with build tooling once #1177 lands.Ruled by Ben (2026-09-03): interim Omeka S alongside — supersedes the build-own-beta path.
Mukurtu 4 being beta-only ("daily change, testing and feedback only") is not the substance a sovereign cultural archive ships on today. So:
This ticket closes as RULED (option 3-shaped, with the need served rather than dropped): re-scope executed by #1185; the #1175 safety gate stays until that port proves its image pullable.