P4 catalogue drive: S2b browse → tick Community archive (Omeka S) → deploy → real health → Active — the arc's eyeballed proof #1203

Closed
opened 2026-09-03 21:32:22 +00:00 by ben · 3 comments
Owner

Parent

Catalogue arc close (#1073 → spec #1116; final build ticket #1185 landed 8b0e2197). This ticket builds the PROOF the arc still owes: the eyeballed P4 drive through the new catalogue.

What to build

A live provision drive, provision-archive.live.spec.ts, modelled leg-for-leg on provision-nextcloud.live.spec.ts (same founding prefix, same evidence harness, same afterAll discipline): the operator browses the NEW catalogue (S2b), ticks the Community archive (Omeka S) onto the gateway (co-host, the DDR 0146 pattern — PortPlacement.Node = gateway, no helper needed), deploys, and the drive proves the tile goes Active on a REAL health check with screenshots a human can eyeball.

Leg list (each a recorded leg; legs.json for the reporter as in the selfhosted drive):

  1. founding prefix — existing fixture, unchanged.
  2. fleet → gateway change — existing openGatewayChange.
  3. S2 → S2b: browse the catalogue — NEW fixture: switch to the Browse tab per the wireframe contract (docs/ux/wireframes/p4-provisioning/p4-s2b-browse-catalogue.html: catalogue-tabs, tile statuses). Assert the Heritage category renders and Mukurtu shows as a candidate tile (not tickable) — the demotion is part of what this drive eyeballs.
  4. tick Community archive — NEW fixture (sibling of selectFilesOnGateway): tick the installable archive tile under headroom, onto the gateway.
  5. S3 plain deploy — existing confirmPlainDeploy.
  6. S4 deploy to completion — existing waitForDeployActive (30m ceiling). The guest pulls erseco/alpine-omeka-s@sha256:fb25… for real — the digest pin's first live pull on the product path.
  7. S5 archive healthy — sibling of expectFilesHealthy: the archive HealthCheck (keep→serve→refuse, archivehealth.go) reports healthy on the dashboard — not merely rendered.
  8. archive door serves Omeka — read the door the S5 surface exposes (never a rebuilt URL, DDR 0165), assert the forwarded port survives, and assert the response is a real Omeka S page (site title / login form bytes), screenshot to artifacts.

Acceptance criteria

  • Drive spec exists and is green offline-skipped like its siblings (no live world = skip, never false-green).
  • New fixtures live in fixtures/provision.ts (or a sibling), reusing doors/evidence helpers — no URL rebuilding, no per-leg screenshots skipped.
  • Leg 3 asserts the candidate state (Mukurtu) as well as the installable one — the browse surface's two tiers are both eyeballable in artifacts.
  • Leg 7 fails if the health check is red or absent — wired to the REAL check, not the tile's presence (the cannot-fail-check class from the four-axis review).
  • No weakening of existing drive fixtures/assertions.

Out of scope

  • Running the drive (the arm is a separate queue/laptop decision after this lands).
  • Brand-kit assertions on the archive surface (a separate ruling is in flight).
  • Any helper-device topology; this drive co-hosts on the gateway.

Blocked by

None — can start immediately (#1185 is on main).

## Parent Catalogue arc close (#1073 → spec #1116; final build ticket #1185 landed `8b0e2197`). This ticket builds the PROOF the arc still owes: the eyeballed P4 drive through the new catalogue. ## What to build A live provision drive, `provision-archive.live.spec.ts`, modelled leg-for-leg on `provision-nextcloud.live.spec.ts` (same founding prefix, same evidence harness, same afterAll discipline): the operator browses the NEW catalogue (S2b), ticks the Community archive (Omeka S) onto the gateway (co-host, the DDR 0146 pattern — `PortPlacement.Node` = gateway, no helper needed), deploys, and the drive proves the tile goes Active on a REAL health check with screenshots a human can eyeball. Leg list (each a recorded leg; legs.json for the reporter as in the selfhosted drive): 1. **founding prefix** — existing fixture, unchanged. 2. **fleet → gateway change** — existing `openGatewayChange`. 3. **S2 → S2b: browse the catalogue** — NEW fixture: switch to the Browse tab per the wireframe contract (`docs/ux/wireframes/p4-provisioning/p4-s2b-browse-catalogue.html`: `catalogue-tabs`, tile statuses). Assert the Heritage category renders and **Mukurtu shows as a `candidate` tile (not tickable)** — the demotion is part of what this drive eyeballs. 4. **tick Community archive** — NEW fixture (sibling of `selectFilesOnGateway`): tick the installable archive tile under headroom, onto the gateway. 5. **S3 plain deploy** — existing `confirmPlainDeploy`. 6. **S4 deploy to completion** — existing `waitForDeployActive` (30m ceiling). The guest pulls `erseco/alpine-omeka-s@sha256:fb25…` for real — the digest pin's first live pull on the product path. 7. **S5 archive healthy** — sibling of `expectFilesHealthy`: the archive HealthCheck (keep→serve→refuse, `archivehealth.go`) reports healthy on the dashboard — not merely rendered. 8. **archive door serves Omeka** — read the door the S5 surface exposes (never a rebuilt URL, DDR 0165), assert the forwarded port survives, and assert the response is a real Omeka S page (site title / login form bytes), screenshot to artifacts. ## Acceptance criteria - [ ] Drive spec exists and is green offline-skipped like its siblings (no live world = skip, never false-green). - [ ] New fixtures live in `fixtures/provision.ts` (or a sibling), reusing doors/evidence helpers — no URL rebuilding, no per-leg screenshots skipped. - [ ] Leg 3 asserts the candidate state (Mukurtu) as well as the installable one — the browse surface's two tiers are both eyeballable in artifacts. - [ ] Leg 7 fails if the health check is red or absent — wired to the REAL check, not the tile's presence (the cannot-fail-check class from the four-axis review). - [ ] No weakening of existing drive fixtures/assertions. ## Out of scope - Running the drive (the arm is a separate queue/laptop decision after this lands). - Brand-kit assertions on the archive surface (a separate ruling is in flight). - Any helper-device topology; this drive co-hosts on the gateway. ## Blocked by None — can start immediately (#1185 is on main).

swarm-claim host=matou-dev-server-01 run=17388
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=17388 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=17398
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=17398 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1203 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1203,
  "status": "success",
  "commits": [
    "7a2ac040"
  ],
  "changed_files": [
    "STATUS.md",
    "app/tests/e2e/fixtures/provision.test.ts",
    "app/tests/e2e/fixtures/provision.ts",
    "app/tests/e2e/provision-archive.live.spec.ts"
  ],
  "tests": [
    {
      "command": "npx vitest run tests/e2e/fixtures/provision.test.ts",
      "exit_code": 0
    },
    {
      "command": "npx vitest run tests/e2e/fixtures/",
      "exit_code": 0
    },
    {
      "command": "npx vue-tsc --noEmit -p tsconfig.json",
      "exit_code": 0
    },
    {
      "command": "npx eslint tests/e2e/provision-archive.live.spec.ts tests/e2e/fixtures/provision.ts tests/e2e/fixtures/provision.test.ts",
      "exit_code": 0
    },
    {
      "command": "OC_E2E_RUN_DIR=<tmp> OC_E2E_SPEC=provision-archive.live.spec.ts npx playwright test --list",
      "exit_code": 0
    }
  ],
  "criteria": {
    "Drive spec exists and is green offline-skipped like its siblings (no live world = skip, never false-green)": "app/tests/e2e/provision-archive.live.spec.ts — OC_E2E_SPEC-gated exactly like provision-nextcloud.live.spec.ts (playwright.config.ts testMatch is a single explicit spec); playwright --list collects it only when named, so with no live world it is never collected. verdict.json/legs.json reds (never false-greens) on any hung/red leg.",
    "New fixtures live in fixtures/provision.ts (or a sibling), reusing doors/evidence helpers — no URL rebuilding, no per-leg screenshots skipped": "fixtures/provision.ts adds browseCatalogueArchive, selectArchiveOnGateway, readArchiveDoor (reads the app's own [data-action=open-door], never a rebuild — DDR 0165), readOmekaMarker, assertArchiveServesOmeka (always screenshots), expectArchiveHealthy; reuses guestUnitPath/guestWebPort/harvest and the ceremony browser.",
    "Leg 3 asserts the candidate state (Mukurtu) as well as the installable one — the browse surface's two tiers are both eyeballable in artifacts": "browseCatalogueArchive asserts the Heritage category renders, the installable Community archive card (data-status installable|installable-running) is present, AND the Mukurtu candidate tile (data-status=candidate) carries request-candidate and no toggle-* (not tickable). legs.json + the per-leg capturer frame both tiers.",
    "Leg 7 fails if the health check is red or absent — wired to the REAL check, not the tile's presence (the cannot-fail-check class from the four-axis review)": "expectArchiveHealthy → expectServiceHealthy('archive','Community archive') reads [data-service=archive][data-status], which ActiveScreen.vue sets from the archivehealth.go keep/serve/refuse outcome; a service-failed card (or an absent card whose subtitle omits the archive) throws. No pass on mere tile presence.",
    "No weakening of existing drive fixtures/assertions": "readFilesVerdict/expectFilesHealthy refactored into a slug-keyed readServiceVerdict/expectServiceHealthy; the files-path error strings and behaviour are byte-identical (slug='files', subtitle='Files'). Full app unit suite 318 green; vue-tsc + eslint clean."
  },
  "summary": "Added provision-archive.live.spec.ts (+fixtures): a recorded-leg live drive that browses S2b, co-hosts the Community archive (Omeka S) on the gateway, proves it Active on the real archivehealth.go check, and reaches live Omeka through the exact S5 door.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1203 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1203, "status": "success", "commits": [ "7a2ac040" ], "changed_files": [ "STATUS.md", "app/tests/e2e/fixtures/provision.test.ts", "app/tests/e2e/fixtures/provision.ts", "app/tests/e2e/provision-archive.live.spec.ts" ], "tests": [ { "command": "npx vitest run tests/e2e/fixtures/provision.test.ts", "exit_code": 0 }, { "command": "npx vitest run tests/e2e/fixtures/", "exit_code": 0 }, { "command": "npx vue-tsc --noEmit -p tsconfig.json", "exit_code": 0 }, { "command": "npx eslint tests/e2e/provision-archive.live.spec.ts tests/e2e/fixtures/provision.ts tests/e2e/fixtures/provision.test.ts", "exit_code": 0 }, { "command": "OC_E2E_RUN_DIR=<tmp> OC_E2E_SPEC=provision-archive.live.spec.ts npx playwright test --list", "exit_code": 0 } ], "criteria": { "Drive spec exists and is green offline-skipped like its siblings (no live world = skip, never false-green)": "app/tests/e2e/provision-archive.live.spec.ts — OC_E2E_SPEC-gated exactly like provision-nextcloud.live.spec.ts (playwright.config.ts testMatch is a single explicit spec); playwright --list collects it only when named, so with no live world it is never collected. verdict.json/legs.json reds (never false-greens) on any hung/red leg.", "New fixtures live in fixtures/provision.ts (or a sibling), reusing doors/evidence helpers — no URL rebuilding, no per-leg screenshots skipped": "fixtures/provision.ts adds browseCatalogueArchive, selectArchiveOnGateway, readArchiveDoor (reads the app's own [data-action=open-door], never a rebuild — DDR 0165), readOmekaMarker, assertArchiveServesOmeka (always screenshots), expectArchiveHealthy; reuses guestUnitPath/guestWebPort/harvest and the ceremony browser.", "Leg 3 asserts the candidate state (Mukurtu) as well as the installable one — the browse surface's two tiers are both eyeballable in artifacts": "browseCatalogueArchive asserts the Heritage category renders, the installable Community archive card (data-status installable|installable-running) is present, AND the Mukurtu candidate tile (data-status=candidate) carries request-candidate and no toggle-* (not tickable). legs.json + the per-leg capturer frame both tiers.", "Leg 7 fails if the health check is red or absent — wired to the REAL check, not the tile's presence (the cannot-fail-check class from the four-axis review)": "expectArchiveHealthy → expectServiceHealthy('archive','Community archive') reads [data-service=archive][data-status], which ActiveScreen.vue sets from the archivehealth.go keep/serve/refuse outcome; a service-failed card (or an absent card whose subtitle omits the archive) throws. No pass on mere tile presence.", "No weakening of existing drive fixtures/assertions": "readFilesVerdict/expectFilesHealthy refactored into a slug-keyed readServiceVerdict/expectServiceHealthy; the files-path error strings and behaviour are byte-identical (slug='files', subtitle='Files'). Full app unit suite 318 green; vue-tsc + eslint clean." }, "summary": "Added provision-archive.live.spec.ts (+fixtures): a recorded-leg live drive that browses S2b, co-hosts the Community archive (Omeka S) on the gateway, proves it Active on the real archivehealth.go check, and reaches live Omeka through the exact S5 door.", "reason": "", "blockers": [], "no_code_change": "" } ``` </details>
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#1203
No description provided.