Skip to content

test(release): align publisher inventory with deferred plugins - #150341

Merged
fuller-stack-dev merged 1 commit into
mainfrom
upd/redmain-publisher-inventory
Sep 16, 2026
Merged

fuller-stack-dev merged 1 commit into
mainfrom
upd/redmain-publisher-inventory

Conversation

@steipete

@steipete steipete commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Related: #150316

What Problem This Solves

Fixes red main in the release-plan publisher inventory test after #150316 deferred three plugins from registry publication.

User Impact

No user-visible behavior changes. PRs selecting the release tooling test shard can pass with the current publisher inventory.

Why This Change Was Made

#150316 marked Logbook, Memory Wiki, and 1Password as bundled distributions, deferring all three from npm and ClawHub. The shared publication predicate already excludes them correctly. This restores the maintained exact inventory to 95 npm and 91 ClawHub packages, preserving both hard count assertions and the complete comparisons against the publisher collectors.

The contract is explicit in test/scripts/release-plan-producer.test.ts:1775 and :1828: exact totals are updated when publication membership changes, as in #149587 and #145377. Production eligibility remains owned by scripts/lib/plugin-publication-target.mjs:2, consumed by the collector and release-plan producer. Production LOC: 0; test LOC: +3/-3.

Evidence

  • Before, on origin/main at b5eb58956fa1557eb2ddd456dfe405c2878590fc: pnpm test test/scripts/release-plan-producer reported 107 passed, 1 failed; the inventory assertion expected 98 npm packages and received 95.
  • The production inventory bootstrap at the same SHA, using a fixture trusted-main identity response, returned 95 npm / 91 ClawHub and excluded all three deferred packages.
  • After: the same test command reported 108 passed, including the exact 95/91 inventory assertion (77.08 seconds).
  • node scripts/check-changed.mjs and git diff --check passed in full.
  • Fresh isolated Codex autoreview, --mode branch --base origin/main --max-priority P1: scoped-clean, no actionable findings.

The separate main formatting fix #150330 landed as 6f08e4ea3c560d456f4ae1a02b0ca275bd24936e. This branch was rebased once onto it; git range-diff confirms the inventory patch is identical. The only base change is formatting in src/scripts/ci-changed-scope.test.ts, so the scoped test and review evidence remains applicable. Current head: 15a9bf3e5dc8d0662e71b84e1d4c68494ee46e7a.

@clawsweeper

clawsweeper Bot commented Sep 16, 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.

@steipete
steipete marked this pull request as ready for review September 16, 2026 22:19
@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Sep 16, 2026
Follow #150316: Logbook, Memory Wiki, and 1Password remain bundled and are deferred from both registries. Restore the exact release-plan integration inventory to 95 npm and 91 ClawHub packages while preserving publisher equality checks.
@steipete
steipete force-pushed the upd/redmain-publisher-inventory branch from 97bc2f2 to 15a9bf3 Compare September 16, 2026 22:23
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. 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 16, 2026
@clawsweeper

clawsweeper Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 16, 2026, 6:30 PM ET / 22:30 UTC.

ClawSweeper review

What this changes

Updates the release-plan test to expect 95 npm packages and 91 ClawHub packages after three plugins were deferred from publication.

Merge readiness

✅ Ready for maintainer review

The correction remains necessary on the reviewed main revision. The new totals match current publication metadata, preserve the existing inventory safeguards, and introduce no actionable defect.

Priority: P3
Reviewed head: 15a9bf3e5dc8d0662e71b84e1d4c68494ee46e7a

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, source-supported correction with proportional reported validation and no actionable findings.
Proof confidence 🌊 off-meta tidepool Not applicable: This maintainer-authored test-only correction is exempt from contributor runtime proof; its supplied before/after test results match the inspected inventory contract.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This maintainer-authored test-only correction is exempt from contributor runtime proof; its supplied before/after test results match the inspected inventory contract.
Evidence reviewed 7 items Verified introduced change: The pinned main-to-head diff changes only the test description and two exact count assertions; publisher membership comparisons remain intact.
Current main still needs the correction: The reviewed main revision still expects 98 npm and 94 ClawHub packages. The related merged publication change does not fix these assertions.
Publication contract and independently counted metadata: The shared predicate excludes bundledDist packages. A read-only JSON census found 91 eligible plugins for each registry; the producer adds the root package and three core packages to npm, yielding 95/91. This was static inspection, not execution of the release producer.
Findings None None.
Security None None.

How this fits together

Release planning reads package manifests to determine which packages can be published to npm and ClawHub. This integration test checks the resulting totals and compares package membership with both publisher collectors.

flowchart LR
  A[Package manifests] --> B[Publication eligibility]
  B --> C[Release plan inventory]
  B --> D[Publisher collectors]
  C --> E[Exact totals check]
  C --> F[Package membership comparison]
  D --> F
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests 0. Total 0 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 3 3 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 3 3 0

Review metrics

None.

Technical review

Best possible solution:

Keep publication eligibility owned by package metadata and retain exact inventory totals alongside complete publisher membership comparisons.

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

Yes, source inspection establishes that main's 98/94 assertions disagree with the current 95/91 inventory; the PR also reports the corresponding before/after test result.

Is this the best way to solve the issue?

Yes. Updating the maintained totals is the narrow repair for intentional publication membership changes, and the patch preserves the stronger package-by-package comparisons.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 6f08e4ea3c56.

Labels

Label changes:

  • add P3: This is a bounded test-expectation correction with no production or user-visible behavior change.
  • 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: This maintainer-authored test-only correction is exempt from contributor runtime proof; its supplied before/after test results match the inspected inventory contract.

Label justifications:

  • P3: This is a bounded test-expectation correction with no production or user-visible behavior change.
  • 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: This maintainer-authored test-only correction is exempt from contributor runtime proof; its supplied before/after test results match the inspected inventory contract.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • fuller-stack-dev: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; 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.

@fuller-stack-dev

Copy link
Copy Markdown
Member

Maintainer landing check for 15a9bf3e5dc8d0662e71b84e1d4c68494ee46e7a:

  • Confirmed fix(plugins): keep unpublished packages bundled until release #150316 deliberately excludes Logbook, Memory Wiki, and 1Password through the shared bundledDist publication predicate. Static manifest inspection finds 91 eligible plugins per registry; the producer adds four npm core/root packages, giving 95 npm and 91 ClawHub packages.
  • The three-line test correction preserves both exact totals and complete publisher membership comparisons. Production LOC delta is zero.
  • Retained the author's 108-test result and scoped-clean autoreview. No duplicate tests or branch edits.
  • Exact-head CI run 35157484210 is green. ClawSweeper review has no actionable findings.
  • Native review-init, baseline/head checkout, review-guard, review-validate-artifacts, and OPENCLAW_TESTBOX=1 scripts/pr prepare-run 150341 passed. Hosted checks were reused; push was skipped because the published head is identical.

Proceeding through native exact-head merge verification. Peter Steinberger's authorship is preserved. Registry #117232 remains with its existing owner for dependent CI and landing.

@fuller-stack-dev
fuller-stack-dev merged commit 75ba5e3 into main Sep 16, 2026
81 checks passed
@fuller-stack-dev
fuller-stack-dev deleted the upd/redmain-publisher-inventory branch September 16, 2026 22:36
@fuller-stack-dev

Copy link
Copy Markdown
Member

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 17, 2026
…law#150341)

Follow openclaw#150316: Logbook, Memory Wiki, and 1Password remain bundled and are deferred from both registries. Restore the exact release-plan integration inventory to 95 npm and 91 ClawHub packages while preserving publisher equality checks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS 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.

2 participants