Skip to content

objectstack-ai/gallery: the Gallery check runs the published @objectstack/scenarios@18.4.0 (npx) instead of building objectstack from source #33133

Closed
objectstack-ai/gallery
#2

Description

@objectstack-fleet

epic:#3600#1 · hotlong · session_01Q4EjjPXwX1YfHyKJUh4agu

Filing-gate category: ① the follow-up owed by landed work. #31122's landing note 6755616258 item 2, carried into its close: "a follow-up card once a release publishes the package". reach: measured below. Epic context: objectstack-ai/cloud#3600; gallery umbrella #30349.

Why

objectstack-ai/gallery's required check (.github/workflows/gallery-check.yml, Gallery check) still builds the checker from objectstack source. It checks out objectstack at the pinned SHA c2bb879f, installs and builds. Its own header says that step is temporary:

Once a release carries it, replace the checkout, install and build steps with one step, npx --yes @objectstack/scenarios@VERSION export-gallery --check ., pinned to that exact version, and drop OBJECTSTACK_SHA.

18.4.0 now carries it. Measured 2026-11-13:

  • npm @objectstack/scenarios latest = 18.4.0;
  • its bin.js routes export-gallery --check DIR to export-check.js;
  • npx --yes @objectstack/scenarios@18.4.0 export-gallery --check <fresh clone of objectstack-ai/gallery> printed gallery check: clean with exit 0.

The source build makes every gallery PR's required check slow. It also ties the check to an objectstack commit rather than to the release the gallery's apps are built on.

Ask (lands in objectstack-ai/gallery)

  1. Replace the workflow's objectstack checkout, install and build steps with one step: npx --yes @objectstack/scenarios@18.4.0 export-gallery --check ., pinned to the exact version, never latest. Drop OBJECTSTACK_SHA. Keep the job name Gallery check: ruleset 27091720 requires that context. Keep permissions: contents: read.
  2. Update the workflow header to name the version-pin rule: the pin moves when a release changes the checker or the index schema. Name the step that bumps it (the gallery refresh PR, or a separate PR).
  3. Proof: the PR's own Gallery check is green. Also give one negative reading, for example a scratch tree with a stray .env or an unlisted apps/x/, refused with the same lines as the source-built checker.

Reader and dedupe

Activity

  1. added
    pm:queue
    domain:devx
    area:devpath
    on Nov 13, 2026
  2. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:devx · p3 · pm:queue (audit of a pre-labeled card) · 2026-11-13T16:46Z

    ⛔ Not a claim.

    • Grade confirmed p3: CI speed and pin hygiene for objectstack-ai/gallery's required check. Nothing is wrong, the check passes today, and the filer measured that the replacement step prints clean on 18.4.0.
    • The work lands in objectstack-ai/gallery, not this repo.
  3. objectstack-fleet commented on Nov 14, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:devx#4 · os-project-manager · session_01FEkQ5ooRyyS95kdyC2dPEX

    Claim: PM loop round 8 · 2026-11-14T22:48Z
    Session: a new card thread (opened for this card, so its container clones objectstack-ai/gallery) · seat session_01FEkQ5ooRyyS95kdyC2dPEX
    Account: os-project-manager
    Branch: named by a re-claim once the card thread reports its harness branch; the dev edits nothing before that re-claim
    Worktree: the card thread's objectstack-ai/gallery clone
    Domain: domain:devx
    Seat: domain:devx#4
    File surface: objectstack-ai/gallery .github/workflows/gallery-check.yml (plus a README line only if it documents the source build). ⛔ No objectstack path, no gallery app or index.json.
    Container & model: S, mode:thread, model: default tier, effort: default
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the gallery's required Gallery check builds the checker from objectstack source at a pinned SHA | none | the published @objectstack/scenarios release line (pin rule in the workflow header)
    Thread-read: none
    Premise: holds: npm @objectstack/scenarios latest = 18.4.0 (read by the seat 2026-11-14T22:45Z); the card's 2026-11-13 run of npx --yes @objectstack/scenarios@18.4.0 export-gallery --check printed gallery check: clean. Unblocked: the maintainer added objectstack-ai/gallery to the project's repositories (2026-11-14T22:46Z).
    Serial constraints cleared: the seat holds no other gallery card; the dev checks open gallery PRs before editing

    Scope: the card's Asks 1–3, one gallery PR, Fixes objectstack-ai/objectstack#33133, no changeset. Order: /mnt/project-files/pm-orders/devx/order-33133.md. Summons: the maintainer's 「开放 p3卡认领」 (this project, 2026-11-14T21:21Z).

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 14, 2026
  5. objectstack-fleet commented on Nov 14, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:devx#4 · os-project-manager · session_01FEkQ5ooRyyS95kdyC2dPEX

    Claim: PM loop round 8 (re-claim naming the branch; supersedes 6885421682) · 2026-11-14T22:49Z
    Session: session_01FEkQ5pYJRi1469Tk9JBofT (new card thread, dev; its container clones objectstack-ai/gallery) · seat session_01FEkQ5ooRyyS95kdyC2dPEX
    Account: os-project-manager
    Branch: claude/project-thread-kvq2zz (in objectstack-ai/gallery; PR from it)
    Worktree: the card thread's objectstack-ai/gallery clone on that branch
    Domain: domain:devx
    Seat: domain:devx#4
    File surface: objectstack-ai/gallery .github/workflows/gallery-check.yml (plus a README line only if it documents the source build). ⛔ No objectstack path, no gallery app or index.json.
    Container & model: S, mode:thread, model: default tier, effort: default
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the gallery's required Gallery check builds the checker from objectstack source at a pinned SHA | none | the published @objectstack/scenarios release line (pin rule in the workflow header)
    Thread-read: none
    Premise: holds: npm @objectstack/scenarios latest = 18.4.0 (read by the seat 2026-11-14T22:45Z); the card's 2026-11-13 run of npx --yes @objectstack/scenarios@18.4.0 export-gallery --check printed gallery check: clean. Unblocked: the maintainer added objectstack-ai/gallery to the project's repositories (2026-11-14T22:46Z).
    Serial constraints cleared: the seat holds no other gallery card; the dev checks open gallery PRs before editing

    Scope: the card's Asks 1–3, one gallery PR, Fixes objectstack-ai/objectstack#33133, no changeset. Order: /mnt/project-files/pm-orders/devx/order-33133.md. Summons: the maintainer's 「开放 p3卡认领」 (this project, 2026-11-14T21:21Z).

  6. objectstack-fleet commented on Nov 14, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:devx#4 · os-project-manager · session_01FEkQ5pYJRi1469Tk9JBofT

    os-dev-report
    {
    "issue": 33133,
    "status": "done",
    "branch": "claude/project-thread-kvq2zz",
    "pr": "objectstack-ai/gallery#2",
    "session": "session_01FEkQ5pYJRi1469Tk9JBofT",
    "premise_still_valid": true,
    "summary": "objectstack-ai/gallery .github/workflows/gallery-check.yml only (+21/-35): the objectstack checkout, pnpm install and closure build steps and OBJECTSTACK_SHA are gone; the check is one step, npx --yes @objectstack/scenarios@18.4.0 export-gallery --check, exact pin (npm latest = 18.4.0, the only stable release, read at start). Job name Gallery check and permissions contents: read unchanged; setup-node kept with node-version 22 (engines.node >=22.0.0); timeout 20 to 10. Header states the pin rule (never latest or a range; moves when a release changes check.ts/check-cli.ts or manifest.ts; moved by that release's gallery-refresh PR on export/VERSION, or a separate PR when the release exports nothing). README unchanged (it names the workflow, not the source build). PR body says Fixes #33133.",
    "tests": "No suite in the gallery. Ask 3 readings on scratch copies of gallery main (git archive): pinned npx 18.4.0 clean exit 0 'gallery check: clean'; stray .env exit 1 'env-file .env: an environment file never belongs in the gallery'; unlisted apps/x exit 1 'app-unlisted apps/x: a directory under apps/ that index.json does not list'. objectstack main f068cde source build (the removed steps; os-verify-lock VERDICT command-exit 0, 52s) via pnpm --filter @objectstack/scenarios export-gallery --check: same three exits, byte-identical checker lines. Both in the PR body. Ablation: n/a (workflow change; the negative reading stands in per the order).",
    "gates": "dispatch-gates answers for objectstack only, so per the order: actionlint v1.7.12 on the workflow, exit 0 at 07ed6c54, exit 0 at main ddf3393 (control). CI: Gallery check (the ruleset's required context) completed success at head 07ed6c54, run 43650411579 job 132617381601, log line 'gallery check: clean'.",
    "line_budget": "1 file, +21 -35",
    "files_changed": [
    ".github/workflows/gallery-check.yml"
    ],
    "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
    "deviations": [
    "Step runs npx with working-directory runner.temp on "$GITHUB_WORKSPACE/gallery" (checkout kept at path: gallery) instead of the card's literal '--check .' inside the checkout. Measured: npm reads a project .npmrc from the working directory (npm config get registry answers a .npmrc's registry inside a dir holding one); with an empty cache and a PR-tree .npmrc, npx inside the tree fetched from that registry (exit 1), from outside it printed clean (exit 0). Running inside would let a PR choose the code that runs, contradicting the header's 'no file from the PR is executed'. Same checker, version and exit codes; the literal '--check .' form also printed identical lines on the scratch trees.",
    "pr_create sent without labels: the gallery has only GitHub's default labels (no lane labels), and the relay refuses an empty labels list. Read-back: assignees none, labels none.",
    "Edited the gallery card-thread clone on the harness branch directly (no worktree): os-dev worktree rule is the objectstack shared-checkout guard; the gallery has no .claude hooks and this thread's clone is single-use."
    ],
    "mcp_calls": "0",
    "api_writes": "2 — relay pr_create (objectstack-ai/gallery#2, fleet-write run 43650386839, read-back identical 7028 bytes) and this report comment via post-stamped; plus git push of the branch (not REST)",
    "open_questions": [],
    "security_findings": "none",
    "out_of_scope_findings": []
    }


    Generated by Claude Code

  7. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:devx#4 · os-project-manager · session_01FEkQ5ooRyyS95kdyC2dPEX

    Landed · #33133 · objectstack-ai/gallery#2 · 2026-11-15T10:34Z

    • gallery#2 merged by the maintainer as f67349e257 (the gallery repository has auto-merge off, so the seat could not arm it); this card closed by its cross-repo Fixes line; pm:dispatched removed in this stroke.
    • The gallery's required Gallery check now runs npx --yes @objectstack/scenarios@18.4.0 export-gallery --check from the runner's temp directory (a PR's .npmrc cannot redirect the fetch). The pin moves with the release that changes the checker or the index schema, in that release's gallery-refresh PR or a separate gallery PR.
  8. removed
    pm:dispatched
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area:devpathdomain:devxpriority:p3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions