Source or re-scope the Mukurtu archive port — its pinned image is published nowhere #1176

Closed
opened 2026-09-03 02:12:18 +00:00 by matou-build-agent · 4 comments

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.go pins ghcr.io/mukurtucms/mukurtu-cms:v4.0.0 for 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 the mukurtucms org 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):

  1. Build & publish a Mukurtu image from the Drupal 11 install profile, pin it, and re-enable the port. (Real build work + an outward-facing registry publish + a maintenance commitment on each Mukurtu release.)
  2. Adopt a community/third-party image if a trustworthy one exists. (A trust/security call — running an unofficial upstream for a sovereign cultural archive.)
  3. Re-scope the port — drop Mukurtu from the catalogue, or replace it with a different digital-heritage product.

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

  • A ruling recorded: build & publish / adopt a community image / re-scope
  • If deployable: internal/clan/archive.go pins a real, pullable image and the provisionImageUnsourced gate is lifted for archive
  • If re-scoped: the archive catalogue entry updated/removed accordingly

Notes

The gate lifts by dropping archive from provision.provisionImageUnsourced once a real image is sourced. Floor + steady memory for archive remain the tier-aligned estimate (never measured — the image never existed to measure).

## 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.go` pins `ghcr.io/mukurtucms/mukurtu-cms:v4.0.0` for 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 the `mukurtucms` org 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): 1. **Build & publish a Mukurtu image** from the Drupal 11 install profile, pin it, and re-enable the port. (Real build work + an outward-facing registry publish + a maintenance commitment on each Mukurtu release.) 2. **Adopt a community/third-party image** if a trustworthy one exists. (A trust/security call — running an unofficial upstream for a sovereign cultural archive.) 3. **Re-scope the port** — drop Mukurtu from the catalogue, or replace it with a different digital-heritage product. ## 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 - [ ] A ruling recorded: build & publish / adopt a community image / re-scope - [ ] If deployable: `internal/clan/archive.go` pins a real, pullable image and the `provisionImageUnsourced` gate is lifted for `archive` - [ ] If re-scoped: the archive catalogue entry updated/removed accordingly ## Notes The gate lifts by dropping `archive` from `provision.provisionImageUnsourced` once a real image is sourced. Floor + steady memory for archive remain the tier-aligned estimate (never measured — the image never existed to measure).
Owner

Ruled by Ben (2026-09-03): option 1 — build & publish our own Mukurtu image.

  • Build a Mukurtu 4 image from the official Drupal 11 install profile (PHP 8.4 + MariaDB + Solr per upstream's requirements), pinned to a Mukurtu release, and publish it to Mātou's own registry (git.matou.nz packages) — for a sovereignty-critical Heritage archive we control the supply chain end to end; no third-party image, no re-scope.
  • internal/clan/archive.go then pins the Mātou-published image; the provisionImageUnsourced gate lifts for archive only once the pinned image is really pullable.
  • Upstream tracking is part of the port's maintenance: a new Mukurtu release = rebuild, re-pin, ship through the update channel like any port change.
  • Floor/steady-mem: once the image deploys, measure per the #1170 method (one droplet, sequential window) and replace the surviving estimate — that AC transfers here.

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.

**Ruled by Ben (2026-09-03): option 1 — build & publish our own Mukurtu image.** - Build a Mukurtu 4 image from the **official Drupal 11 install profile** (PHP 8.4 + MariaDB + Solr per upstream's requirements), pinned to a Mukurtu release, and **publish it to Mātou's own registry (git.matou.nz packages)** — for a sovereignty-critical Heritage archive we control the supply chain end to end; no third-party image, no re-scope. - `internal/clan/archive.go` then pins the Mātou-published image; the `provisionImageUnsourced` gate lifts for `archive` only once the pinned image is really pullable. - Upstream tracking is part of the port's maintenance: a new Mukurtu release = rebuild, re-pin, ship through the update channel like any port change. - Floor/steady-mem: once the image deploys, measure per the #1170 method (one droplet, sequential window) and replace the surviving estimate — that AC transfers here. 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`.
Author
Member

Blocked — agent-blocked (cannot-proceed): the ruled build+publish needs credentials + a protected rail the swarm sandbox does not have

The decision is not the blocker — Ben ruled option 1 (build & publish our own Mukurtu image to Mātou's registry, lift the provisionImageUnsourced gate only once the pinned image is really pullable). No undecided door remains. What blocks a Sandcastle iteration is the execution:

  1. No package-scoped registry credential in this sandbox. Publishing to git.matou.nz packages needs write:package (the CI-only REGISTRY_FORGEJO_TOKEN org secret). The swarm's forgejo_token is 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.

  2. The publish rail belongs in .forgejo/workflows/ — a protected path (#445). A Mukurtu build-and-publish workflow (the reseed-publish.yml shape) 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.

  3. 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 repoints internal/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.

  4. 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:

  1. Author the Mukurtu image build recipe (Containerfile / Nix image from the official Drupal 11 install profile + Mukurtu 4) under a non-protected path, and the publish rail under .forgejo/workflows/ (protected — session standing per #445).
  2. Build, boot-test, and publish to git.matou.nz packages with a write:package token; confirm podman pull <Mātou ref> succeeds from a clean host.
  3. Re-point internal/clan/archive.go's pin (defaultMukurtuImage / MukurtuVersion) to the published Mātou ref, and drop archive from provisionImageUnsourced (internal/provision/deploy.go) — the TestDeploy_ArchiveGatedUntilImageSourced / TestDeploy_RoutableRenderShippingPortsAreNoLongerGated pair flips to prove the lift.
  4. Measure floor + steady memory per the #1170 method and replace the tier-aligned estimate (the transferred AC).

Then re-add ready-for-agent for any residual that is genuinely swarm-workable, or complete it in the session.

## Blocked — `agent-blocked` (cannot-proceed): the ruled build+publish needs credentials + a protected rail the swarm sandbox does not have The **decision is not the blocker** — Ben ruled option 1 (build & publish our own Mukurtu image to Mātou's registry, lift the `provisionImageUnsourced` gate only once the pinned image is really pullable). No undecided door remains. What blocks a Sandcastle iteration is the *execution*: 1. **No package-scoped registry credential in this sandbox.** Publishing to `git.matou.nz` packages needs `write:package` (the CI-only `REGISTRY_FORGEJO_TOKEN` org secret). The swarm's `forgejo_token` is 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. 2. **The publish rail belongs in `.forgejo/workflows/` — a protected path (#445).** A Mukurtu build-and-publish workflow (the `reseed-publish.yml` shape) 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. 3. **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 repoints `internal/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. 4. 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: 1. Author the Mukurtu image build recipe (Containerfile / Nix image from the official Drupal 11 install profile + Mukurtu 4) under a non-protected path, and the publish rail under `.forgejo/workflows/` (protected — session standing per #445). 2. Build, boot-test, and publish to `git.matou.nz` packages with a `write:package` token; confirm `podman pull <Mātou ref>` succeeds from a clean host. 3. Re-point `internal/clan/archive.go`'s pin (`defaultMukurtuImage` / `MukurtuVersion`) to the published Mātou ref, and drop `archive` from `provisionImageUnsourced` (`internal/provision/deploy.go`) — the `TestDeploy_ArchiveGatedUntilImageSourced` / `TestDeploy_RoutableRenderShippingPortsAreNoLongerGated` pair flips to prove the lift. 4. Measure floor + steady memory per the #1170 method and replace the tier-aligned estimate (the transferred AC). Then re-add `ready-for-agent` for any residual that is genuinely swarm-workable, or complete it in the session.
Author
Member

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 provisionImageUnsourced gate for archive only 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.go pins a real, pullable image and the gate is lifted"):

  • No OCI build environment. podman, docker, buildah, nix, skopeo (and even go) are all absent in the sandbox — a Mukurtu 4 image (Drupal 11 install profile: Composer + PHP 8.4 + MariaDB + Solr) cannot be built here.
  • No package-scope registry credentials. Publishing to git.matou.nz packages needs the REGISTRY_FORGEJO_TOKEN org secret (package write); the swarm machine token has no package scope (401 on PUT, per .forgejo/workflows/reseed-publish.yml). The sandbox has only the swarm token.
  • The publish CI is a protected path. The build+publish workflow belongs in .forgejo/workflows/ — protected (#445), so it cannot be authored from the sandbox. Filed as a separate session machinery issue: #1177 (ready-for-session).
  • "Really pullable" is not test-provable in the sandbox. That is the exact reason #1175 gated the port (ADR 0100 selectable-lie) instead of asserting the image in a unit test. Lifting the gate before the image is genuinely pullable would re-introduce the selectable lie the gate exists to prevent — so the gate stays up and no code change ships this run.

What a human/session must do to re-arm

  1. Land #1177 (the .forgejo Mukurtu image build+publish workflow) on a nix/OCI runner with the package-scope token; publish a pinned, pullable git.matou.nz/…/mukurtu-cms:v<version> (never :latest, ADR 0017).
  2. Verify the ref is really pullable, then point internal/clan/archive.go's defaultMukurtuImage at it and drop archive from provision.provisionImageUnsourced (gate lifts; proven by the P4-S2 offering test).
  3. Measure archive floor/steady-mem per the #1170 method and replace the surviving estimate.

The archive catalogue 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.

## 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 `provisionImageUnsourced` gate for `archive` **only 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.go` pins a real, pullable image and the gate is lifted"): - **No OCI build environment.** `podman`, `docker`, `buildah`, `nix`, `skopeo` (and even `go`) are all absent in the sandbox — a Mukurtu 4 image (Drupal 11 install profile: Composer + PHP 8.4 + MariaDB + Solr) cannot be built here. - **No package-scope registry credentials.** Publishing to git.matou.nz packages needs the `REGISTRY_FORGEJO_TOKEN` org secret (package `write`); the swarm machine token has **no** package scope (401 on PUT, per `.forgejo/workflows/reseed-publish.yml`). The sandbox has only the swarm token. - **The publish CI is a protected path.** The build+publish workflow belongs in `.forgejo/workflows/` — protected (#445), so it cannot be authored from the sandbox. Filed as a separate session machinery issue: **#1177** (`ready-for-session`). - **"Really pullable" is not test-provable in the sandbox.** That is the exact reason #1175 *gated* the port (ADR 0100 selectable-lie) instead of asserting the image in a unit test. Lifting the gate before the image is genuinely pullable would re-introduce the selectable lie the gate exists to prevent — so the gate stays up and no code change ships this run. ### What a human/session must do to re-arm 1. Land #1177 (the `.forgejo` Mukurtu image build+publish workflow) on a nix/OCI runner with the package-scope token; publish a pinned, pullable `git.matou.nz/…/mukurtu-cms:v<version>` (never `:latest`, ADR 0017). 2. Verify the ref is really pullable, then point `internal/clan/archive.go`'s `defaultMukurtuImage` at it and drop `archive` from `provision.provisionImageUnsourced` (gate lifts; proven by the P4-S2 offering test). 3. Measure archive floor/steady-mem per the #1170 method and replace the surviving estimate. The `archive` catalogue 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.
Owner

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:

  • The Community archive card becomes Omeka S NOW (stable, official distribution, Local Contexts notices module) — port ticket #1185.
  • Mukurtu returns to the candidate tier ("cultural-protocols archive — waiting on a stable upstream release"), requestable through the ordinary demand machinery; when upstream stabilises it re-enters as a port decision with real information.
  • No beta image is built or published. The excellent groundwork here (phantom pin, dev-stability template, token scopes, execution recipe) is preserved by reference for that future day.

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.

**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: - **The Community archive card becomes Omeka S NOW** (stable, official distribution, Local Contexts notices module) — port ticket **#1185**. - **Mukurtu returns to the candidate tier** ("cultural-protocols archive — waiting on a stable upstream release"), requestable through the ordinary demand machinery; when upstream stabilises it re-enters as a port decision with real information. - **No beta image is built or published.** The excellent groundwork here (phantom pin, dev-stability template, token scopes, execution recipe) is preserved by reference for that future day. 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.
ben closed this issue 2026-09-03 14:40:48 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#1176
No description provided.