Skip to content

fix(release): recognize the reviewed 2026.9.6 plugin inventory - #153372

Merged
roboclaw-bot merged 1 commit into
mainfrom
fix/release96-security-inventory
Sep 20, 2026
Merged

roboclaw-bot merged 1 commit into
mainfrom
fix/release96-security-inventory

Conversation

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

What Problem This Solves

The trusted plugin security scan rejects the 2026.9.6 release train because its reviewed inventory is not registered.

User Impact

Release verification can recognize the explicitly reviewed 9.6 inventory. Unknown trains, unreviewed paths, unexpected call counts, and the existing runtime guards still fail closed; shipped inventories remain frozen.

Why This Change Was Made

Freeze 9.5’s existing optional inventory, explicitly map 9.6, and record exactly three audited test-fixture spawn sites introduced by #151764: two in the exit/output-drain fixture and one forwarding call in the spawn-error fixture. No runtime finding count or scanner limit is relaxed.

The fixture review covered bounded synthetic processes, temporary state, output drainage/finalization, and cleanup. The matching upstream Codex exit-versus-closed contract was inspected directly at 90854393966b21e9ebfd21b122334eb09a20c93d in codex-rs/exec-server/src/process.rs.

Evidence

  • Canonical inert re-pack: all 95 tarball hashes and packed-file counts exactly match the failed hosted scan’s inputs; no plugin code or package scripts executed.
  • Existing policy recognizes 72 of 75 critical findings. The only residuals are the three audited fixture sites.
  • Repaired 9.6 scan: 75 reviewed, zero unexpected; frozen 9.5 still rejects exactly those three new sites.
  • 44 scanner tests passed, including exact counts, missing/extra calls, unreviewed siblings, unknown trains, and frozen-policy rejection.
  • Complete selected changed checks and git diff --check passed. Fresh independent native P0–P2 review found no actionable issues; no CLI autoreview success is claimed.
  • The failed hosted gate remains failed until rerun with the reviewed landed Tooling revision; this local proof is not release qualification.

@clawsweeper

clawsweeper Bot commented Sep 20, 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 scripts Repository scripts size: S maintainer Maintainer-authored PR labels Sep 20, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review September 20, 2026 02:40
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 20, 2026
@clawsweeper

clawsweeper Bot commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 19, 2026, 10:47 PM ET / September 20, 2026, 02:47 UTC.

ClawSweeper review

What this changes

Registers the 2026.9.6 plugin security inventory, admits three reviewed process-launch findings in two test fixtures, and preserves the 2026.9.5 inventory.

Merge readiness

✅ Ready for maintainer review

Keep open: the release-inventory repair remains necessary, and no actionable correctness or security defect was found. The protected maintainer label also excludes automatic closure.

Priority: P2
Reviewed head: 89b4cdcb1fc220f7498889087280085e6bfd62c2

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused inventory repair with meaningful boundary coverage and no identified blocking defect.
Proof confidence 🌊 off-meta tidepool Not applicable: The ordinary contributor-proof gate is exempt for this maintainer/bot PR. Its body reports the production scanner accepting all 75 findings across 95 matching inert package inputs while 9.5 rejects the three additions; hosted release qualification remains separate.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The ordinary contributor-proof gate is exempt for this maintainer/bot PR. Its body reports the production scanner accepting all 75 findings across 95 matching inert package inputs while 9.5 rejects the three additions; hosted release qualification remains separate.
Evidence reviewed 9 items Current main still needs the repair: Fetched main registers release/2026.9.5 but lacks release/2026.9.6 and the two lifecycle-fixture exceptions.
Latest release comparison: The supplied latest release, v2026.9.5, registers only the 9.5 context among the queried contexts and contains neither new fixture exception. GitHub's contents API supplied this source after local historical-blob retrieval failed.
Narrow inventory change: The patch copies the existing optional inventory before adding exact counts of two and one. The 9.5 context uses that copy; 9.6 uses the updated inventory. Required runtime findings and scanner limits remain unchanged.
Findings None None.
Security None None.

How this fits together

Release verification scans plugin package contents without executing them. The trusted scanner compares findings against the selected release inventory and returns a report used by the release gate.

flowchart LR
  A[Plugin package archives] --> C[Trusted security scanner]
  B[Release context] --> D[Reviewed inventory]
  D --> C
  C --> E{Exact inventory match}
  E --> F[Passing scan report]
  E --> G[Release gate failure]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +15, Other +22. Total +37 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 80 65 +15
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 23 1 +22
Total 2 103 66 +37

Review metrics

Metric Value Why it matters
Security inventory scope 1 release context; 2 fixture paths; 3 recognized findings The expansion is explicitly bounded while the previous release retains its existing inventory.
Production versus test growth Production/tooling net +22 lines; tests net +15 lines Tooling growth implements the historical inventory copy and exact new entries; tests extend the existing boundary matrix.

Technical review

Best possible solution:

Keep release-specific inventories in the existing trusted scanner, preserving historical counts and qualifying 9.6 with the landed tooling revision.

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

Yes, from source: current main has no policy for release/2026.9.6, so that context cannot produce a passing inventory report. The scanner was not executed during this review.

Is this the best way to solve the issue?

Yes. Extending the existing exact-count policy while copying the 9.5 inventory is a narrow repair that preserves historical rejection behavior.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 92ec37a92fe2.

Labels

Label changes:

  • add P2: This is a bounded repair to release verification with no demonstrated user-runtime outage.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The ordinary contributor-proof gate is exempt for this maintainer/bot PR. Its body reports the production scanner accepting all 75 findings across 95 matching inert package inputs while 9.5 rejects the three additions; hosted release qualification remains separate.

Label justifications:

  • P2: This is a bounded repair to release verification with no demonstrated user-runtime outage.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The ordinary contributor-proof gate is exempt for this maintainer/bot PR. Its body reports the production scanner accepting all 75 findings across 95 matching inert package inputs while 9.5 rejects the three additions; hosted release qualification remains separate.

Evidence

What I checked:

  • Current main still needs the repair: Fetched main registers release/2026.9.5 but lacks release/2026.9.6 and the two lifecycle-fixture exceptions. (scripts/lib/plugin-npm-security-scan.mts:327, 92ec37a92fe2)
  • Latest release comparison: The supplied latest release, v2026.9.5, registers only the 9.5 context among the queried contexts and contains neither new fixture exception. GitHub's contents API supplied this source after local historical-blob retrieval failed. (scripts/lib/plugin-npm-security-scan.mts:320, ec9c1a13db89)
  • Narrow inventory change: The patch copies the existing optional inventory before adding exact counts of two and one. The 9.5 context uses that copy; 9.6 uses the updated inventory. Required runtime findings and scanner limits remain unchanged. (scripts/lib/plugin-npm-security-scan.mts:240, 89b4cdcb1fc2)
  • Fail-closed enforcement and regression coverage: The report builder compares complete expected and observed finding lists. The expanded test matrix scans inert fixture contents across current, frozen, and unknown contexts, checking absent files, missing/extra calls, and unreviewed sibling paths. Source and tests were inspected; no tests were executed in this read-only review. (test/scripts/plugin-npm-security-scan.test.ts:696, 89b4cdcb1fc2)
  • Audited fixture behavior: The exit fixture forwards the real spawn call and creates a synthetic descendant in owned temporary state, then releases and joins cleanup. The spawn-error fixture forwards ordinary calls and injects synthetic resource failures. These account for the three newly recognized scanner sites. (extensions/codex/src/app-server/sandbox-exec-server.exit.test.ts:14, 89b4cdcb1fc2)
  • Captured operational evidence and dependency signal: The complete supplied PR body reports matching hashes and packed-file counts for 95 archives, a repaired scan with 75 reviewed and zero unexpected findings, and frozen-9.5 rejection of the three added sites. It explicitly cites the upstream Codex exit-versus-closed contract, establishing the dependency-inspection signal. These are reported results, not reviewer-executed validation; the body correctly distinguishes them from hosted release qualification. (89b4cdcb1fc2)

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)
  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • 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.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@roboclaw-bot
roboclaw-bot merged commit 066a93f into main Sep 20, 2026
133 checks passed
@roboclaw-bot
roboclaw-bot deleted the fix/release96-security-inventory branch September 20, 2026 02:59
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 20, 2026
steipete added a commit that referenced this pull request Sep 28, 2026
Full Release Validation for 2026.9.7 (parent 36466521174) failed two
release-tooling checks that main never exercises:

- The installed-package verifier applied the 6 MiB root-dist cap to
  dist/package-update-activation-recovery.mjs, the ~66 MB sealed
  self-contained recovery helper added by #158491. Treat it like the other
  self-contained bundles (80 MiB cap, no reparse), as #155877 did for the
  sqlite-store worker. Every main-based FRV since #158491 failed here.
- plugin-npm-security-scan had no reviewed inventory for release/2026.9.7.
  Freeze the 9.6 counts, record four post-9.6 test-file-only findings
  (codex auth-refresh harness spawn, feishu proxy env test, imessage
  client test #156334, signal socket probe count after #159648) in the
  current inventory, and map release/2026.9.7 to it, as #153372 did for 9.6.
steipete added a commit that referenced this pull request Sep 28, 2026
#160717)

fix(release): admit 2026.9.7 recovery helper and plugin scan inventory

Full Release Validation for 2026.9.7 (parent 36466521174) failed two
release-tooling checks that main never exercises:

- The installed-package verifier applied the 6 MiB root-dist cap to
  dist/package-update-activation-recovery.mjs, the ~66 MB sealed
  self-contained recovery helper added by #158491. Treat it like the other
  self-contained bundles (80 MiB cap, no reparse), as #155877 did for the
  sqlite-store worker. Every main-based FRV since #158491 failed here.
- plugin-npm-security-scan had no reviewed inventory for release/2026.9.7.
  Freeze the 9.6 counts, record four post-9.6 test-file-only findings
  (codex auth-refresh harness spawn, feishu proxy env test, imessage
  client test #156334, signal socket probe count after #159648) in the
  current inventory, and map release/2026.9.7 to it, as #153372 did for 9.6.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 29, 2026
openclaw#160717)

fix(release): admit 2026.9.7 recovery helper and plugin scan inventory

Full Release Validation for 2026.9.7 (parent 36466521174) failed two
release-tooling checks that main never exercises:

- The installed-package verifier applied the 6 MiB root-dist cap to
  dist/package-update-activation-recovery.mjs, the ~66 MB sealed
  self-contained recovery helper added by openclaw#158491. Treat it like the other
  self-contained bundles (80 MiB cap, no reparse), as openclaw#155877 did for the
  sqlite-store worker. Every main-based FRV since openclaw#158491 failed here.
- plugin-npm-security-scan had no reviewed inventory for release/2026.9.7.
  Freeze the 9.6 counts, record four post-9.6 test-file-only findings
  (codex auth-refresh harness spawn, feishu proxy env test, imessage
  client test openclaw#156334, signal socket probe count after openclaw#159648) in the
  current inventory, and map release/2026.9.7 to it, as openclaw#153372 did for 9.6.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: S 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.

1 participant