You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
release: plugin security-scan reviewed hashes drift with main's toolchain and only fail at publish #192563
P2Normal backlog priority with limited blast radius.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.
2026.11.5-beta.1 publishes 41757100833 and 41759831231 failed before publishing anything. @openclaw/openshell-sandbox reported "unreviewed critical findings in exact npm artifact": dist/.setup/worker-cli-*.mjs hashed to c5050d40…, not the reviewed 799a34cf… in REVIEWED_CRITICAL_FINDING_CONTENT_SHA256.
The normal publish route repacks plugins with the publisher tooling's (P) toolchain. Main moved to tsdown 0.23.2 / rolldown 1.2.15 in #188576, so main's own build had failed this scan since 10-30 without anything noticing. The FRV tarball, built with the candidate's toolchain, still hashed to 799a. #192489 updated the hash after review; the diff was cosmetic (chunk name and region comments). Cost: about 50 min plus an extra approval.
Proposed
Run scripts/plugin-npm-security-scan.mts against main-built packs in main CI, so a toolchain bump that changes a reviewed hash fails on main.
In release:candidate / publish preflight, pack and scan with P's toolchain, not only the FRV tarball.
In publication-recovery.md: on a reviewed-hash mismatch, reproduce under P's .release-tooling before any redispatch.
Summary
Keep this issue open: the merged hash repair fixes the immediate rejection, but current main still lacks the requested earlier detection of publisher-toolchain drift; maintainer authorship also prevents automatic closure.
Reproducibility: Current source establishes the missing earlier scan and publisher-owned build path; the historical hash rejection was reported and repaired, not reproduced during this read-only review.
Next step
Release tooling owners should add bounded earlier scans and recovery guidance, first establishing a failing regression for candidate-versus-publisher toolchain drift.
Security
None.
Review details
Best possible solution:
Detect reviewed-hash drift before publication using the selected publisher toolchain while preserving strict content review and candidate qualification identities.
Do we have a high-confidence way to reproduce the issue?
Current source establishes the missing earlier scan and publisher-owned build path; the historical hash rejection was reported and repaired, not reproduced during this read-only review.
Is this the best way to solve the issue?
Reuse the existing exact-artifact pack-and-scan boundary for earlier checks, with a regression where candidate qualification passes but changed publisher-built bytes fail before publication; do not normalize away hash differences or replace Q=C.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
The historical tarball contents and cosmetic-only bundle difference were not independently replayed.
Codex review notes: model internal, reasoning medium; reviewed against ff8fe07318eb.
Label changes
Label changes:
add P2: A demonstrated release workflow gap caused publication failures, but the immediate hash mismatch is repaired and no installed-user outage is established.
add impact:other: The impact is delayed release publication and repeated operator intervention.
add issue-rating: 🦞 diamond lobster: Current issue advisory state selects this label.
add clawsweeper:source-repro: Current issue advisory state selects this label.
Label justifications:
P2: A demonstrated release workflow gap caused publication failures, but the immediate hash mismatch is repaired and no installed-user outage is established.
impact:other: The impact is delayed release publication and repeated operator intervention.
Publisher builds and scans with pinned tooling: The plugin release workflow checks out github.workflow_sha into .release-tooling, installs its dependencies, packs candidate source with its publisher script, and scans that resulting tarball before artifact upload. (.github/workflows/plugin-npm-release.yml:753, ff8fe07318eb)
Earlier scanner integration remains absent: Production references to the artifact scanner occur only in plugin-npm-release.yml; candidate checklist preflight consumes retained validation manifests rather than invoking a publisher-toolchain pack and scan. (scripts/release-candidate-checklist.mts:2526, ff8fe07318eb)
Hash mismatch deliberately fails closed: The scanner hashes file contents and rejects a reviewed finding when its content differs; existing tests cover changed bytes at a reviewed setup-helper path. (scripts/plugin-npm-security-scan.mts:344, ff8fe07318eb)
Reported publication incidents and related search: Both cited publication runs have failure conclusions, and the linked repair documents the exact mismatch; searches found no open PR mentioning the scanner or this issue that owns the prevention work.
Likely related people:
Dallin Romney: Raw commit ed1bb72 adds scripts/plugin-npm-security-scan.mts:84 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: ed1bb7298985; files: scripts/plugin-npm-security-scan.mts)
How this review workflow works
ClawSweeper keeps one durable marker-backed review comment per issue or PR.
Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
Maintainers can also comment @clawsweeper review to request a fresh review only.
Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge; those execution lanes are retired.
Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
Reviewed November 4, 2026, 12:39 AM ET / 05:39 UTC.
P2Normal backlog priority with limited blast radius.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.
Activity
clawsweeper commentedon Nov 4, 2026
Codex review: this still needs some work.
Summary
Keep this issue open: the merged hash repair fixes the immediate rejection, but current main still lacks the requested earlier detection of publisher-toolchain drift; maintainer authorship also prevents automatic closure.
Reproducibility: Current source establishes the missing earlier scan and publisher-owned build path; the historical hash rejection was reported and repaired, not reproduced during this read-only review.
Next step
Release tooling owners should add bounded earlier scans and recovery guidance, first establishing a failing regression for candidate-versus-publisher toolchain drift.
Security
None.
Review details
Best possible solution:
Detect reviewed-hash drift before publication using the selected publisher toolchain while preserving strict content review and candidate qualification identities.
Do we have a high-confidence way to reproduce the issue?
Current source establishes the missing earlier scan and publisher-owned build path; the historical hash rejection was reported and repaired, not reproduced during this read-only review.
Is this the best way to solve the issue?
Reuse the existing exact-artifact pack-and-scan boundary for earlier checks, with a regression where candidate qualification passes but changed publisher-built bytes fail before publication; do not normalize away hash differences or replace Q=C.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning medium; reviewed against ff8fe07318eb.
Label changes
Label changes:
P2: A demonstrated release workflow gap caused publication failures, but the immediate hash mismatch is repaired and no installed-user outage is established.impact:other: The impact is delayed release publication and repeated operator intervention.issue-rating: 🦞 diamond lobster: Current issue advisory state selects this label.clawsweeper:source-repro: Current issue advisory state selects this label.Label justifications:
P2: A demonstrated release workflow gap caused publication failures, but the immediate hash mismatch is repaired and no installed-user outage is established.impact:other: The impact is delayed release publication and repeated operator intervention.Evidence reviewed
What I checked:
scripts/plugin-npm-security-scan.mts:84, ed1bb7298985).github/workflows/plugin-npm-release.yml:753, ff8fe07318eb)scripts/release-candidate-checklist.mts:2526, ff8fe07318eb)scripts/plugin-npm-security-scan.mts:344, ff8fe07318eb)docs/reference/full-release-validation/dispatch.md:100, ff8fe07318eb)Likely related people:
scripts/plugin-npm-security-scan.mts)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.Reviewed November 4, 2026, 12:39 AM ET / 05:39 UTC.