Skip to content

[finding] check-sdui-manifest.mjs says it holds the artefact fresh at the objectui pin, but reads objectuiPackagesVersion only as a presence check — a pin ahead of the last release passes green while the artefact describes an older registry #18611

Description

@os-litant

Split out of #17735's dispatch round rather than folded in — #17735 is now a decision card on which producer mechanism to adopt, and this gate defect stands whichever way that is ruled. ⛔ Not filed by the dev (devs do not POST issues); filed by the domain:spec seat.

The gap

scripts/check-sdui-manifest.mjs does verify shape, sha256, and objectuiSha. It reads objectuiPackagesVersion only as a presence check — it never asks whether that version corresponds to the pinned commit.

Same-subject control, which is what makes this a gap rather than a guess: the gate really does verify objectuiSha and sha256, so the instrument reaches the record's fields; it simply does not relate the two that matter.

Why it matters — the false equivalence underneath

.objectui-sha pins a COMMIT. The @object-ui version read off that commit's package.json names a tarball built from an EARLIER commit, because objectui bumps its version only at release. So 「install the version the pinned commit declares」 is ⛔ not 「install the pinned commit」.

Measured consequence at the time of filing: the pinned commit 53ded82b is authored 2026-09-05; the newest published @object-ui/core is 17.6.0, published 2026-08-24. A 12-day window in which the artefact describes a registry that is not the pinned one — and this gate is green throughout.

Class (b): declared contract against enforced behaviour

The gate's own success line asserts the artefact is fresh at the pin. It cannot support that claim with what it checks. The remedy is either to assert that the installed version corresponds to the pinned commit, or to record both and fail when they disagree.

⚠️ Sequencing: if #17735 is ruled toward pointing the producer at the pin's built tree, the version string may stop being the record's key at all, and this gate's fix changes shape accordingly. Read #17735's ruling before implementing — ⛔ but do not let this card wait on it silently; the gate is making a false claim today either way.

Dedupe words: check-sdui-manifest objectuiPackagesVersion, pin commit versus published tarball, objectui version presence check only, sdui manifest fresh at pin false, registry skew green gate.


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions