Skip to content

fix(release): scan plugin npm packs with publisher tooling early in FRV - #192591

Merged
RomneyDa merged 7 commits into
mainfrom
fix/plugin-security-scan-main-drift
Nov 5, 2026
Merged

RomneyDa merged 7 commits into
mainfrom
fix/plugin-security-scan-main-drift

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Problem

Plugin NPM Release (normal route) repacks every plugin with the publisher tooling P (.release-tooling at its github.workflow_sha) and scans each tarball against P's REVIEWED_CRITICAL_FINDING_* inventory in scripts/plugin-npm-security-scan.mts. Full Release Validation's plugin npm preflight child packs and scans with the candidate's own tooling C instead. When #188576 moved main (P) to tsdown 0.23.2 / rolldown 1.2.15, openshell's dist/.setup/worker-cli-*.mjs bundled to new bytes under P. FRV passed because C's toolchain still produced the reviewed 799a34cf… hash. The 2026.11.5-beta.1 publish then failed late on c5050d40…, and #192489 fixed it by hand.

Solution

The scan moves into FRV, using the publisher's toolchain and inventory. PR/main CI does not change.

  • Prepare exact plugin npm artifacts (prepare_plugin_npm) already starts right after evidence_reuse. It dispatches the C-tooling preflight child and then idles while it polls the child. After the dispatch, and before the poll, it now runs the same layout the publisher's preview_plugin_pack uses:
    • candidate source at the root, installed with setup-node-env;
    • P at .release-tooling, from qualificationAdmission.workflowSha, installed with --frozen-lockfile --ignore-scripts;
    • P's plugin-npm-release-plan.ts, given the run's publish scope, plugins, and dist tag;
    • P's scripts/check-plugin-npm-security-scan.mts.
  • The steps run only when P is admitted, P differs from this run's tooling (otherwise the child already scanned with it), and the publication route is normal. The prepared route publishes the child's C-built artifacts and does not repack.
  • scripts/check-plugin-npm-security-scan.mts is rewritten. It packs each planned plugin with P's plugin-npm-publish.sh --repo-root <candidate> --pack, running all packs in parallel at availableParallelism(). It scans with P's scanPluginNpmArtifactSecurity and reports every failure together. Each failure names the package, the packed file, and the new contentSha256, and the report ends with what to do next: review the file, record the new hash or limit on main, and validate and publish with tooling that contains it.
  • The scan covers only packages that P's inventory lists with reviewed findings (reviewedCriticalFindingPackageNames(), 18 of 102). Toolchain drift breaks their reviewed hashes, paths, and counts.
  • If P predates this scan, the step logs a warning and leaves the check to publish. P may be older than C under the C/Q/P contract.
  • The PR/main CI row from the earlier revision is removed: planner, manifest row, ci-additional-checks.sh, ci.yml timeout, and the scope-and-routing docs.
  • docs/reference/full-release-validation/stages.md describes the new check. The publication-recovery.md section is shorter and now accurate.

Accepted edge cases:

  • A package with no reviewed finding that gains a critical finding only under P's toolchain or scanner still fails at publish. Covering it means packing all 102 plugins, about 10 minutes on this runner.
  • If P advances after FRV, a mismatch can still appear at publish. The recovery doc covers reproducing under P.

Impact

  • PR/main CI: no new cost. The earlier 10m19s row is gone.
  • Release cost: no new runner. The steps run on the prepare_plugin_npm runner, which already waits about 8 minutes for the child. The scan does two installs and 18 parallel packs. Estimated wall time is 4 to 5 minutes on ubuntu-24.04: about 2 minutes of checkout and install, then about 2 to 3 minutes of packing. Locally the packing took 33 to 40 seconds on 32 cores.
  • Where it fails in the FRV timeline: prepare_plugin_npm starts 4 to 7 minutes after FRV dispatch (recent runs 41947503209, 41943761566, 41884554845). A drift therefore turns that job red about 9 to 12 minutes into FRV, instead of after FRV and Release Publish approval. The FRV verdict still waits for other lanes. Release Decision requires this job.

Evidence

  • Real publisher path, red and green. The candidate is this branch at the repo root. P is a separate worktree with the driver copied in, and both runs used P's planner (102 planned) and P's driver:
  • test/scripts/full-release-validation-continuation-workflow.test.ts: a new test pins the prepare_plugin_npm wiring. It checks step order (after dispatch, before the poll), the condition, the P ref and path, and that the planner and driver run from .release-tooling. It is red against the base workflow and green now. The trusted-revision checkout guard now admits only the admitted P checkout.
  • test/scripts/plugin-npm-security-scan.test.ts: a new driver test uses a stand-in packer and the real inventory. Drifted openshell bytes are rejected with package, path, and hash, and the unreviewed plugin is never packed. It is red on base because the export does not exist there. It replaces the iMessage reviewed-hash case, which covered the same content-hash rejection.
  • These pass locally: ci-workflow-guards, full-release-artifact-contract, candidate-qualification-omissions, full-release-validation-state, frv, full-release-validation-continuation-workflow, and plugin-npm-security-scan (556 tests). So do actionlint, tsgo:scripts, tsgo:test:root, oxlint, oxfmt, docs:check-mdx, markdownlint, and check:test-lines-ratchet --staged.
  • Test-line growth: +51 against main, covered by config/test-lines-allocations/plugin-npm-publisher-tooling-scan.txt (51). The two changed test files run in about 1s. checks-fast-baseline-ratchets still fails: main itself is 49 lines over its ceiling (check-test-lines-ratchet on origin/main 69d0f4c reports over by: 49; net delta: 0), so any PR that adds test lines fails until main is pruned. This PR adds no debt beyond its allocation.
  • Not run: a live FRV dispatch, which is release-owned and expensive. The step timing above is an estimate from recent FRV job timings and the earlier CI row.
  • pr-simplify: the CI-row machinery is gone (planner predicate, manifest row, shell case, workflow timeout, routing docs). What is left is one driver, one inventory export, and five steps on an existing job. The tests were folded into the existing scanner and FRV suites.

Fixes #192563

@clawsweeper

clawsweeper Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: M labels Nov 4, 2026
@clawsweeper clawsweeper Bot added the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Nov 4, 2026
@RomneyDa

RomneyDa commented Nov 4, 2026

Copy link
Copy Markdown
Member Author

The new check-plugin-npm-security-scan row ran its first full scan on this PR's merge with main. 101 of 102 packages passed. It failed on a real finding in current main:

extensions/codex: @openclaw/codex: unreviewed critical findings in exact npm artifact:
[{"contentSha256":"4478d716…","line":27,"path":"dist/stdio.worker.js","ruleId":"dangerous-exec"}]

This comes from #192543, which landed about 25 minutes before this run. That PR moved the Codex app-server spawn into extensions/codex/stdio.worker.ts, and the file is packed as dist/stdio.worker.js. The reviewed inventory has no dist:@openclaw/codex:dangerous-exec:dist/stdio.worker.js entry, so the next plugin npm publish would fail on this package. The branch base without #192543 passes locally.

This PR does not change the security inventory. Adding that entry is a review decision, and it should land on main before or alongside this PR. The other CI checks are green.

…tory

#192543 moved the managed Codex app-server spawn into the stdio.worker.ts worker thread so uv_spawn cannot block the Gateway thread. The packed dist/stdio.worker.js now carries that reviewed dangerous-exec finding; without an inventory entry the next plugin npm publish fails on @openclaw/codex.
Release publication repacks plugins with its own tooling and scans the exact tarballs, but CI never scanned main-built packs, so a bundler bump (#188576) that moved a reviewed content hash only failed at publish. Add a check-additional row that packs selected publishable npm plugins and runs the release scanner; PRs select it from lockfile, bundler, packer, scanner, or plugin changes, and hourly/manual runs scan every package.
@RomneyDa
RomneyDa force-pushed the fix/plugin-security-scan-main-drift branch from 51439af to 7c08b3e Compare November 4, 2026 06:34
@RomneyDa

RomneyDa commented Nov 4, 2026

Copy link
Copy Markdown
Member Author

Rebased onto #192603 (Codex dist/stdio.worker.js inventory entry). This PR now includes that commit until #192603 lands on main, after which the diff reduces to the CI scan change.

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 4, 2026
@clawsweeper

clawsweeper Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR adds selective CI packing and security scanning of publishable plugins using the checkout’s toolchain.

Example: A pnpm-lock.yaml change alters the bundled bytes of extensions/openshell.

  • Before: The reviewed-content mismatch can remain undetected until plugin publication.
  • After: The new CI row packs publishable plugins and rejects the mismatched openshell artifact.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A focused implementation with reported production-entry-point validation and passing reviewed-head CI; overall readiness is capped because it delivers only part of the linked issue.
Proof confidence 🐚 platinum hermit (4/6) This maintainer-authored PR is outside the ordinary contributor proof gate: its body reports the real CLI packing and scanning eight plugins plus an openshell rejection control, and the new scan job passed for the reviewed head; redirected raw job logs were inaccessible to this review.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Yes · Fix scope: Partial
User problem: Release operators discover reviewed plugin artifact drift only when publication fails.
Reason: The maintainer-authored direction addresses an observed release failure using existing owners, but does not implement the publisher-toolchain preflight requested in #192563.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR adds useful early detection of plugin publication failures, with no actionable introduced defects found and the reviewed-head CI gate passing.

Priority: P2
Reviewed head: 7c08b3e95249a7a3b69b643db4817cdd4941b1c6

Before merge

None.

Findings

None.

Agent review details

How this fits together

The CI planner selects plugin directories, the existing publication packer builds npm tarballs, and the release scanner checks their contents against reviewed findings.

flowchart LR
 A[Changed paths] --> B[CI package selector]
 B --> C[Additional check row]
 C --> D[Existing publication packer]
 D --> E[Exact npm tarballs]
 E --> F[Existing security scanner]
 F --> G[Pass or aggregated failures]
Loading

Technical review

Best possible solution:

Land the focused CI scan while retaining publisher-toolchain preflight as follow-up work in the linked issue.

Do we have a high-confidence way to reproduce the issue?

Source confirms the missing main-CI scan boundary, and the maintainer records the matching openshell publication failure and local rejection scenario; this review executed no target code.

Is this the best way to solve the issue?

Reusing the existing packer, scanner, concurrency helper, and managed command owner is a focused solution; the repeatable --package argument and internal CI environment transport add no unresolved direction choice.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 062d5d85481f.

Provenance checked

  • Exact-artifact scanner and reviewed inventory keeps the original intent (8841578: Scan final npm artifact bytes instead of raw repository packs, preserving reviewed production findings across supported layouts.)
  • CI manifest and target-owned planning keeps the original intent (9d75a8f: Move manifest construction into the trusted harness while resolving target-owned planning modules from the target checkout.)
  • Additional-check timeout policy keeps the original intent (a29b8d3: Allow serial SDK API reports to complete within a dedicated 60-minute budget while retaining other groups’ budgets.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Dallin Romney: Raw commit 8841578 adds scripts/plugin-npm-security-scan.mts:18 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 88415783fb41; files: scripts/plugin-npm-security-scan.mts)
  • Peter Steinberger: Raw commit 9d75a8f adds scripts/ci-build-manifest.mjs:1134 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 9d75a8fe87af; files: scripts/ci-build-manifest.mjs)

PR surface

Tests +32, Docs +38, Config +1, Other +182. Total +253 across 10 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 32 0 +32
Docs 3 39 1 +38
Config 1 2 1 +1
Generated 0 0 0 0
Other 5 183 1 +182
Total 10 256 3 +253

Labels

Label changes:

  • add P2: This prevents concrete plugin publication failures from escaping into release operations, without evidence of an installed-user outage.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: This prevents concrete plugin publication failures from escaping into release operations, without evidence of an installed-user outage.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 4, 2026, 1:52 AM ET / 06:52 UTC.

Move the reviewed-finding drift scan out of PR/main CI and into Full Release
Validation's Prepare exact plugin npm artifacts job. While the C-tooling
preflight child runs, the job packs selected plugins that carry reviewed
findings with the admitted publisher tooling P and scans them with P's
inventory, exactly as Plugin NPM Release's normal route will.
@RomneyDa RomneyDa changed the title ci: scan main-built plugin npm packs for reviewed-finding drift fix(release): scan plugin npm packs with publisher tooling early in FRV Nov 5, 2026
@RomneyDa
RomneyDa merged commit bca996c into main Nov 5, 2026
105 of 109 checks passed
@RomneyDa
RomneyDa deleted the fix/plugin-security-scan-main-drift branch November 5, 2026 04:31
RomneyDa added a commit that referenced this pull request Nov 6, 2026
* fix(release): shorten branch push preflight (#188743)

* fix(release): shorten branch push preflight

Co-authored-by: RomneyDa <[email protected]>

* fix(release): shorten branch push preflight

OpenClaw-Publication: c44888a1-979b-4d99-8ae5-cbd42b006db0

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit a03f8f6)

* fix(release): pin stable OpenCode Go smoke to reachable model (#188814)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 81ecf56)

* fix(release): install WebKit for repo UI E2E (#188985)

FRV repo UI shards run WebKit-owned suites, so provision WebKit alongside the cached Chromium install.

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit a57e5be)

* fix(release): prevent ghost FRV reruns (#187996)

* fix(release): prevent ghost FRV reruns

Refuse multi-job retries, bind recovery to one exact failed job, and keep ambiguous mutations write-once. Treat duplicate-contaminated attempts as unsealable evidence.

Co-authored-by: RomneyDa <[email protected]>

* fix(release): preserve cancellation of ghost reruns

Keep authenticated cancellation possible for runnerless ghost copies and update the producer recovery fixture for exact-job reruns.

Co-authored-by: RomneyDa <[email protected]>

* docs(release): align exact-job recovery contract

Declare the single-job planner result and update operator guidance for conservative FRV recovery.

Co-authored-by: RomneyDa <[email protected]>

* fix(release): retire stale FRV client method

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 61306dd)

* fix(release): normalize recovery run flags (#188019)

* fix(release): normalize recovery run flags

Co-authored-by: RomneyDa <[email protected]>

* fix(release): preserve candidate help ordering

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 3c0c838)

* fix(release): support nonblocking FRV job reruns (#188020)

* fix(release): support nonblocking FRV job reruns

Co-authored-by: RomneyDa <[email protected]>

* fix(release): support nonblocking FRV job reruns

OpenClaw-Publication: cf45f54b-799d-4a3d-ba11-36ba3eb8d603

* chore(release): retain FRV change attribution

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 03c9066)

* fix(release): retry transient plugin readbacks (#188016)

* fix(release): retry transient plugin readbacks

Co-authored-by: RomneyDa <[email protected]>

* fix(release): retry transient plugin readbacks

OpenClaw-Publication: 86d82eb3-6bef-4dee-9b68-4772e0e4d9b5

* chore: preserve release fix attribution

Co-authored-by: RomneyDa <[email protected]>

* test(release): type retry delay callback

Co-authored-by: RomneyDa <[email protected]>

* fix(release): preserve readback rate-limit headers

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 546f56b)

* ci(ios): explain screenshot Xcode mismatch (#190754)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit cd2f589)

* fix: keep release tooling fixtures runnable in module worktrees (#192456)

* fix: keep release tooling fixtures runnable in module worktrees

Use explicit CommonJS payloads for Crabbox command shims and ESM for extensionless release-tooling fixtures. Preserve current main source ownership and relocated build hooks.

Co-authored-by: RomneyDa <[email protected]>

* fix: keep relocated Crabbox fixtures with archive assets

Resolve fs-safe fixture imports to their package-owned file URLs so the TAR parser retains its WASM asset after bundling and fixture relocation.

Co-authored-by: RomneyDa <[email protected]>

* fix: execute managed Crabbox fixture launchers directly

Keep candidate and managed binary fixtures on the explicit CommonJS launcher boundary rather than passing shell shims to Node.

Co-authored-by: RomneyDa <[email protected]>

* test: allocate exact release fixture repair growth

Allocate the measured 16 test lines required by explicit CommonJS launchers, ESM fixture imports, and package-owned archive assets. Keep shared baseline and test coverage unchanged.

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit baaa010)

* fix: keep remaining release fixtures runnable in module workspaces (#192475)

* fix: keep remaining release fixture executables module-safe

Adapt executable and onboarding repairs to current main without reverting its fixture refactors or weakening assertions.

Co-authored-by: RomneyDa <[email protected]>

* test: isolate ClawHub loopback requests from host proxies

Keep the current-main fetch implementation unchanged and allocate the exact 21 added fixture lines without adding or weakening test cases.

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 22f8b25)

* fix: keep release fixture proofs valid in deep workspaces (#192494)

Adapt approved native-update and socket fixture repairs to current main owners. Preserve exact 500-code-point diagnostics, real ingress, actual socket inodes, and existing timeouts.

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 0a21895)

* fix(test): contain SDK revision compiler fixtures (#192499)

Materialize the native compiler API, libraries, and platform binary inside each synthetic revision before fake pnpm installation settles. Adapt reviewed release repair 4e64bf37aff5835061047dfcd887b579b29d43a9 to current main fixture helpers without weakening declaration containment or assertions.

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit fa99733)

* fix(test): isolate release fixtures from enclosing checkout state (#192487)

* fix(test): isolate fixture package and Git scopes

Bound runner fixtures with a neutral package scope and require exact worktree roots before trusting Git inventory and grep results. Preserve filesystem archive discovery and authoritative empty indexes.

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 98ab00607a9285f2fcac9191e59f08abe43942ae)

* test(tooling): isolate standalone checkout artifact ownership

Mark synthetic updater and source-runner checkouts as independent repositories so temporary roots nested in another checkout cannot acquire its retained artifact lock. Cover the actual updater transaction against a retained enclosing owner while preserving production discovery and fail-closed cleanup.

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit a4ff53a34437ba3fde81a03d59992b892c13c1c1)

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 300b020)

* fix: explain release-note verification failure in shallow clones (#192389)

(cherry picked from commit 8510643)

* fix(ci): prevent hosted release workers exhausting disk (#192408)

(cherry picked from commit 993ad40)

* fix: stabilize prompt snapshots and retry incomplete installer indexes (#192596)

* fix: stabilize release snapshot and install qualification

Keep canonical JSON snapshots independent of formatter ignore discovery. Treat partial APT index failures as failures before the non-root installer smoke attempts package installation.

Co-authored-by: RomneyDa <[email protected]>

* fix: stabilize prompt snapshots and retry incomplete installer indexes

Worked on by:
- @RomneyDa

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 437273d5-8294-476c-9403-ca27c07588b6

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 111ae11)

* fix(test): report HTTP status when cache probes fail (#192684)

* fix(test): report redacted HTTP status for cache probe failures

Co-authored-by: RomneyDa <[email protected]>

* fix(test): report HTTP status when cache probes fail

Worked on by:
- @RomneyDa

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: e59e6dda-7953-4ddf-b1d6-3c5a9f7815f4

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 62a6650)

* ci(release): add qualified package smoke (#191654)

* ci(release): add qualified package smoke

Co-authored-by: RomneyDa <[email protected]>

* ci(release): add qualified package smoke

Worked on by:
- @RomneyDa

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 913f7aab-a831-4aa3-879e-1d180b08173e

* fix(release): route qualified package validation

Co-authored-by: RomneyDa <[email protected]>

* Publish openclaw/sharp-claw

Worked on by:
- @RomneyDa

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 1a30bf9a-d42d-47bd-af61-718d5260b8a2

* test(release): satisfy test-line ratchet

Co-authored-by: RomneyDa <[email protected]>

* Publish openclaw/sharp-claw

Worked on by:
- @RomneyDa

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: cd639c2e-7eca-491e-9d13-53df324e5f61

* test(release): consolidate resource matrix

Co-authored-by: RomneyDa <[email protected]>

* Publish openclaw/sharp-claw

Worked on by:
- @RomneyDa

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 2984f449-f70b-40d8-b869-55a0804343ab

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 42a23ab)

* fix(release): wait for npm replication before Windows Gateway notify (#192584)

(cherry picked from commit 592a02f)

* fix(release): read waiver aggregate logs with escape sequences allowed (#193071)

(cherry picked from commit 84097d6)

* feat(release): add read-only release:watch for any publish parent (#192607)

(cherry picked from commit 4671dd4)

* docs: minimize downtime between full release validation cycles (#193095)

* docs: minimize downtime between full release validation cycles

* docs: frame FRV wall-time advice as scheduling guidance

(cherry picked from commit 4d36c4b)

* fix(release): print core npm resume and report required candidate flags together (#192590)

* fix(release): print core npm resume and report required candidate flags together

* test(release): consolidate resume and flag regressions within the test-line budget

* test(release): explain preflight mock isolation

(cherry picked from commit b4a70ce)

* fix(release): retry EPIPE readbacks and reject gated ClawHub children on cleanup (#192589)

* fix(release): retry EPIPE readbacks and reject gated ClawHub children on cleanup

* fix(release): keep transient codes inline for fixed tooling closures

* test(release): fit transient recovery regressions in test-line budget

(cherry picked from commit 658e3db)

* docs(release): keep blocked release work moving (#192829)

* docs(release): keep blocked release work moving

Co-authored-by: RomneyDa <[email protected]>

* docs(release): keep blocked release work moving

Worked on by:
- @RomneyDa

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 763d7e84-fb24-47a4-a223-d1f7af1015dc

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit ffbbb51)

* fix(release): scan plugin npm packs with publisher tooling early in FRV (#192591)

* fix(release): review Codex stdio worker exec in plugin npm scan inventory

#192543 moved the managed Codex app-server spawn into the stdio.worker.ts worker thread so uv_spawn cannot block the Gateway thread. The packed dist/stdio.worker.js now carries that reviewed dangerous-exec finding; without an inventory entry the next plugin npm publish fails on @openclaw/codex.

* ci: scan main-built plugin npm packs for reviewed-finding drift

Release publication repacks plugins with its own tooling and scans the exact tarballs, but CI never scanned main-built packs, so a bundler bump (#188576) that moved a reviewed content hash only failed at publish. Add a check-additional row that packs selected publishable npm plugins and runs the release scanner; PRs select it from lockfile, bundler, packer, scanner, or plugin changes, and hourly/manual runs scan every package.

* fix(release): scan plugin npm packs with publisher tooling in FRV

Move the reviewed-finding drift scan out of PR/main CI and into Full Release
Validation's Prepare exact plugin npm artifacts job. While the C-tooling
preflight child runs, the job packs selected plugins that carry reviewed
findings with the admitted publisher tooling P and scans them with P's
inventory, exactly as Plugin NPM Release's normal route will.

* test(release): compact publisher-tooling scan proofs

Fold the drifted-bytes driver test and FRV wiring test into fewer lines and
drop the iMessage reviewed-hash case it now covers.

(cherry picked from commit bca996c)

* fix(release): exit FRV continue on repeat child failure and flag ghost jobs (#192587)

* fix(release): exit FRV continue on repeat child failure and flag ghost jobs

* fix(frv): advise a fresh FRV only for duplicates that persist

* test: allocate FRV repeat-failure regression lines

(cherry picked from commit 2270152)

* fix: reject unbridgeable update compatibility inventories (#192392)

(cherry picked from commit b42ae21)

* fix(release): adapt backported fixtures to 11.5 owners

Release adaptation: retain branch-specific exact-cut and carried-failure contracts. Replace obsolete inline publication inventories with the upstream per-workflow watcher fixture. Exact-job child reruns are write-once, so remove the retired retry expectation while retaining parent retry live-authority proof. Drop the allocation-only delta for already-covered #192389.

* docs(release): align 11.5 proof guidance with fast prepush

* test(agents): regenerate canonical 11.5 snapshot layout

Companion to #192596 and backport adaptation of #192628. Regenerated through pnpm prompt:snapshots:gen; parsed JSON remains unchanged.

(cherry picked from commit 4ffe5d5)

* fix(ci): keep qualified smoke owner export private

Apply the release-planner companion hunk from #192850; unrelated UI repairs are not part of this backport.

(cherry picked from commit e81ab22)

* fix(release): observe extended-stable and Docker-only publication

Address local review of #192607 backport: recognize authenticated publisher channel titles and use exact-attempt parent job evidence for the Docker-only route. Keep missing-plugin refusal without positive Docker-only evidence. Reproduced both failures at the runReleaseWatch boundary; watcher and stable suites now pass.

* fix(release): pin calibrated Kova evaluator (#188918)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit b77ccbe)

* fix: use live plugin registry inspection in performance CI (#190782)

Use the corrected live plugin registry inspection in Performance CI while preserving the calibrated Kova dependencies and benchmark limits.

(cherry picked from commit be17538)

* fix: stop stale diagnostics failures in Performance CI (#190830)

Use the calibrated Kova diagnostics correction in Performance CI and keep historical timeline metadata separate from scenario work.

(cherry picked from commit eb48819)

* fix(test): repair release branch CI fixtures

* fix(agents): continue output-limited fallback turns (#188765)

Keep committed-input acknowledgment from suppressing an owner-selected format fallback for the current run. Preserve ordinary retry and other-run no-redelivery boundaries.

(cherry picked from commit cf83a69)

---------

Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: Tideclaw Bot <[email protected]>
Co-authored-by: Ayaan Zaidi <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Shakker <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 6, 2026
…RV (openclaw#192591)

* fix(release): review Codex stdio worker exec in plugin npm scan inventory

openclaw#192543 moved the managed Codex app-server spawn into the stdio.worker.ts worker thread so uv_spawn cannot block the Gateway thread. The packed dist/stdio.worker.js now carries that reviewed dangerous-exec finding; without an inventory entry the next plugin npm publish fails on @openclaw/codex.

* ci: scan main-built plugin npm packs for reviewed-finding drift

Release publication repacks plugins with its own tooling and scans the exact tarballs, but CI never scanned main-built packs, so a bundler bump (openclaw#188576) that moved a reviewed content hash only failed at publish. Add a check-additional row that packs selected publishable npm plugins and runs the release scanner; PRs select it from lockfile, bundler, packer, scanner, or plugin changes, and hourly/manual runs scan every package.

* fix(release): scan plugin npm packs with publisher tooling in FRV

Move the reviewed-finding drift scan out of PR/main CI and into Full Release
Validation's Prepare exact plugin npm artifacts job. While the C-tooling
preflight child runs, the job packs selected plugins that carry reviewed
findings with the admitted publisher tooling P and scans them with P's
inventory, exactly as Plugin NPM Release's normal route will.

* test(release): compact publisher-tooling scan proofs

Fold the drifted-bytes driver test and FRV wiring test into fewer lines and
drop the iMessage reviewed-hash case it now covers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

release: plugin security-scan reviewed hashes drift with main's toolchain and only fail at publish

1 participant