archive: omeka-reconcile shells a nonexistent omeka-s-cli api-key:ensure and ||true-swallows it — health key never provisioned, drive leg guaranteed red #1213
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#1213
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?
What is broken
omeka-reconcile(internal/clan/archive.go:372, landed by #1185) shells:Two defects compound:
omeka-s-clibundled inerseco/alpine-omeka-shasuser:create-api-key <user> <label>— which GENERATES a credential and prints it; it does not accept one — and noapi-key:ensurecommand at all (primary-source finding, docs/research/2026-09-04-catalogue-service-theming-capability.md, surprise 2).|| truemakes the reconciler exit success with no key provisioned — a silent no-op, the cannot-fail class (ADR 0100). The archive HealthCheck (archivehealth.go) then drives/api/itemswith akey_credentialthat was never created: the keep→serve→refuse loop can never authenticate, the tile can never go Active, and the #1203 drive's leg 7 is guaranteed red.#1185's close-report flagged the exact invocation as "the deferred clan-lab drive's fidelity concern" — this ticket is that concern, now confirmed broken rather than merely unverified.
What to build
An API-key handshake that actually exists on the image and stays idempotent:
user:create-api-keyfor theidss-healthidentity, captures the generated key_identity/key_credential from stdout, and lands it where the health check reads its credential (the same clan-var/LoadCredential seam, now written by the reconciler rather than pre-seeded) — or an equivalent honest design if a better seam exists. Idempotency must be real: a re-run must not mint a second key that orphans the stored one (check for an existing key first, or delete-and-recreate atomically with the store update).|| true. The reconciler fails loud when the key handshake fails; its unit status is the truth the drive and monitoring read.Acceptance criteria
omeka-reconcile's script only invokes verbs that exist in the pinned image'someka-s-cli(assert the verb list in a test or the render).|| trueon the key path; unit fails when the key cannot be ensured.Why now
Blocks arming the #1203 P4 catalogue drive — leg 7 (archive healthy) is guaranteed red until this lands.
Blocked by
None — can start immediately.
swarm-claim host=matou-dev-server-01 run=17682
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1213 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
after/requireson podman-omeka.service carries no readiness, so the switch dies at exit 4 #1254after/requireson podman-omeka.service carries no readiness, so the switch dies at exit 4 #1254module:enablewent "ready" three seconds before Omeka's installer created the admin user, so the key mint died onUser not foundand starved archive-brand #1320