Skip to content

fix(release): refresh IMAP plugin baselines - #130351

Merged
RomneyDa merged 6 commits into
mainfrom
codex/refresh-imap-plugin-inventory
Aug 26, 2026
Merged

RomneyDa merged 6 commits into
mainfrom
codex/refresh-imap-plugin-inventory

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Aug 26, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes an issue where release validation failed after the bundled IMAP plugin landed because the generated plugin inventory and packaged runtime-sidecar baseline still described the previous plugin set. The release-only plugin shard also duplicated every startup plugin ID, so each intentional plugin addition required another hand-maintained copy.

Related: #130230

Why This Change Was Made

Regenerates the canonical plugin inventory, reference pages, and runtime-sidecar baseline from current manifests. It also incorporates Josh Lehman's existing unowned startup-contract cleanup (1bde6839954) so the test verifies that every manifest explicitly declares startup activation and derives the expected empty-config set from those manifests instead of copying the complete plugin list.

The other failures observed in the same prerelease shard have separate owners: #130320 owns the Slack configured-state contract, while the external diffs catalog mismatch follows #129782 and is not an IMAP/generated-baseline change.

Production LOC: +0/-0. Generated docs/baseline: +24/-2. Tests/config: +10/-64.

User Impact

Operators can find the bundled IMAP plugin in the plugin inventory and its generated reference page. Release preflight and the IMAP-owned prerelease metadata checks no longer report stale inventory, sidecar, or startup baselines.

Evidence

  • Reproduced at validation SHA 3e8749146f46a7a3b4a57ef89ff7e112d27cf0ed: pnpm plugins:inventory:check reported docs/plugins/plugin-inventory.md is stale.
  • Release-only plugin run 33007006075, job 98303796120, independently reported the runtime-sidecar baseline changed and imap was absent from the copied startup-ID expectation.
  • pnpm plugins:inventory:gen
  • pnpm plugins:inventory:check
  • pnpm runtime-sidecars:gen
  • pnpm runtime-sidecars:check
  • node scripts/run-vitest.mjs --config test/vitest/vitest.plugins.config.ts src/plugins/bundled-plugin-metadata.test.ts -t 'matches the checked-in runtime sidecar path baseline|declares explicit startup activation|keeps empty-config Gateway startup' (3 passed)
  • pnpm docs:list
  • git diff --check

@clawsweeper

clawsweeper Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XS maintainer Maintainer-authored PR labels Aug 26, 2026
@RomneyDa RomneyDa changed the title docs: refresh IMAP plugin inventory fix(release): refresh IMAP plugin baselines Aug 26, 2026
@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 Aug 26, 2026
@clawsweeper

clawsweeper Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 26, 2026, 6:00 PM ET / 22:00 UTC.

ClawSweeper review

What this changes

The PR adds A2A’s packaged runtime facade to the generated sidecar baseline and replaces copied Linux startup expectations with manifest-derived defaults plus a platform-specific regression fixture.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open for maintainer handling: the patch correctly repairs current release-validation drift, but this MEMBER-authored PR carries the protected maintainer label and exact-head CI is still incomplete.

Priority: P3
Reviewed head: 5307fa06198179aa446d205a873101ab7e21758b
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, production-neutral repair with sound source alignment and no actionable correctness finding; exact-head CI remains the merge gate.
Proof confidence 🌊 off-meta tidepool Not applicable: This MEMBER-authored release-validation maintenance PR is exempt from the external-contributor real-behavior-proof gate; the PR body provides focused after-fix check results.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This MEMBER-authored release-validation maintenance PR is exempt from the external-contributor real-behavior-proof gate; the PR body provides focused after-fix check results.
Evidence reviewed 5 items A2A runtime facade belongs in the baseline: A2A exports a runtime facade, metadata collects runtime-sidecar artifacts from public exports, and the baseline generator writes those artifacts into the root-package inventory; adding the A2A path is therefore consistent with the producer contract.
Startup test follows the runtime predicate: The revised test derives Linux defaults with the same platform-aware predicate used by Gateway startup planning and adds a Linux-only, on-startup fixture; the two exceptional startup owners remain explicit.
Current main still has the stale baseline and copied expectation: Current main lacks the A2A sidecar entry and retains the copied startup lists, so the central repair is not already implemented there.
Findings None None.
Security None None.

Live Verification

Command: pnpm runtime-sidecars:check

Result: PASS (completed)

$ node --import tsx scripts/generate-runtime-sidecar-paths-baseline.ts --check
OK scripts/lib/bundled-runtime-sidecar-paths.json
$ node --import tsx scripts/generate-runtime-sidecar-paths-baseline.ts --check
OK scripts/lib/bundled-runtime-sidecar-paths.json

Assertions:

  • PASS expect_output: OK scripts/lib/bundled-runtime-sidecar-paths.json

How this fits together

Plugin manifests describe bundled plugin exports and default activation; metadata scanning turns those exports into the runtime-sidecar inventory used by package validation. Gateway startup planning consumes the same manifest defaults to decide which plugins start with empty configuration.

flowchart LR
  A[Plugin manifests and package exports] --> B[Bundled metadata scan]
  B --> C[Runtime sidecar baseline]
  C --> D[Package validation]
  A --> E[Gateway startup planner]
  E --> F[Startup contract test]
Loading

Decision needed

Question Recommendation
Should this protected maintainer PR merge after its current-base exact head has completed required CI successfully? Merge after exact-head CI: Rebase or refresh only as needed, then merge once GitHub reports the exact head clean and all required checks pass.

Why: The code review is clean, but MEMBER authorship and the maintainer label require explicit maintainer handling rather than automated closure or merge recommendation.

Before merge

  • Resolve merge risk (P1) - GitHub reports the branch as behind and required exact-head checks are still running or queued; merge only after the current mergeable head has green required CI.
  • Complete next step (P2) - No repair work is indicated; explicit maintainer merge judgment is required after exact-head CI completes.
Agent review details

Security

None.

PR surface

Tests -42, Other 0. Total -42 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 22 64 -42
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 2 1 1 0
Total 3 23 65 -42

Review metrics

Metric Value Why it matters
Production versus test delta production +0/-0; generated baseline +1/-1; tests +22/-64 The repair changes generated inventory and regression coverage without expanding runtime production code.

Stored data model

Persistent data-model change detected: unknown-data-model-change: src/plugins/bundled-plugin-metadata.test.ts, vector/embedding metadata: config/max-lines-baseline.txt. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Land the generated A2A sidecar inventory and manifest-derived startup contract once a current-base exact head passes required CI.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Land the generated A2A sidecar inventory and manifest-derived startup contract once a current-base exact head passes required CI.

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

Yes, source inspection gives a high-confidence path: current main omits A2A’s exported runtime facade from the generated sidecar baseline and retains the copied startup expectation that the PR replaces.

Is this the best way to solve the issue?

Yes. Regenerating the canonical baseline and deriving the Linux expectation from the same manifest predicate used by runtime planning is more maintainable than another copied plugin-ID list.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 99a2434f7b89.

Labels

Label justifications:

  • P3: This is a focused release-validation and test-contract maintenance repair rather than a current user-runtime incident.
  • 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 MEMBER-authored release-validation maintenance PR is exempt from the external-contributor real-behavior-proof gate; the PR body provides focused after-fix check results.

Evidence

What I checked:

Likely related people:

  • steipete: Peter Steinberger introduced the sidecar baseline and has extensive startup-policy and metadata-test history, including the Linux startup baseline work. (role: feature-history owner; confidence: high; commits: bb25a8050ce5, d3e314141f1d, f81f9d8570c3; files: scripts/lib/bundled-runtime-sidecar-paths.json, src/plugins/bundled-plugin-metadata.test.ts, src/plugins/gateway-startup-plugin-plan.ts)
  • RomneyDa: Dallin Romney authored the current focused repair and has prior history on the metadata-test surface. (role: recent area contributor; confidence: medium; commits: 5307fa061981, 484765582656; files: src/plugins/bundled-plugin-metadata.test.ts, config/max-lines-baseline.txt)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Allow required exact-head CI to complete successfully after any necessary rebase.

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.

History

Review history (3 earlier review cycles)
  • reviewed 2026-08-26T20:16:30.833Z sha e62b4f8 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-26T21:20:17.546Z sha bdab0ba :: needs changes before merge. :: [P2] Use platform-aware defaults for the Linux expectation
  • reviewed 2026-08-26T21:39:58.507Z sha 66ede59 :: needs maintainer review before merge. :: none

@RomneyDa

Copy link
Copy Markdown
Member Author

Refreshed onto current origin/main semantically at exact head bdab0ba20518aff89c245a25a883be30d5045bdb.

The sole conflict was the generated IMAP reference page, independently added on main with newer Related docs content. I regenerated the plugin inventory, retained main’s newer canonical page, and verified the branch’s unique invariant changes remain: manifest-derived startup expectations, the A2A runtime-sidecar baseline, and max-lines ratchet cleanup.

Proof:

  • pnpm plugins:inventory:check: pass
  • conflict-marker guard: pass
  • focused changed metadata tests: 2/2 pass
  • formatting + git diff --check: pass
  • test-audit: existing tests now derive expected startup policy from manifest ownership; no new test seam
  • autoreview: clean, 0.99
  • full metadata file run exposed an unrelated current-main Slack configured-state expectation drift outside this PR diff; focused changed assertions pass

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: S and removed docs Improvements or additions to documentation size: XS labels Aug 26, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed 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 Aug 26, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

P2 repair pushed at 66ede5964f7a9eea748ba99b3b55b444af8ed798.

The Linux startup expectation now uses the same canonical isPluginEnabledByDefaultForPlatform(plugin, "linux") predicate as runtime planning. A synthetic Linux-only bundled startup manifest proves empty-config startup includes platform-only defaults.

Proof:

  • focused startup tests: 2/2 passed
  • full metadata file: new coverage passed; one unrelated existing Slack configured-state expectation drift remains outside this branch
  • plugin inventory/sidecar generation check passed
  • pnpm tsgo:core passed
  • test-audit: public owner-boundary behavior with a manifest fixture; no production seam
  • isolated autoreview clean, 0.99
  • production delta 0; tests +31/-1

@clawsweeper re-review

@clawsweeper clawsweeper Bot added 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. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 26, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

Attributable lint repair pushed at 5307fa06198179aa446d205a873101ab7e21758b.

The Linux-only manifest fixture is consolidated into the existing empty-config startup test, preserving the exact-set assertion while returning the file below the 1,000 effective-line lint ceiling. No max-lines budget or suppression was added.

Proof:

  • focused startup regression passed
  • exact core oxlint passed, including max-lines
  • isolated autoreview clean, 0.99
  • production delta 0; net test change versus prior head -19 lines

The separate check-test-types failure is unrelated: readonly assignment errors in src/gateway/server-methods/sessions-mutations.sticky-model.test.ts, outside this PR.

@clawsweeper re-review

@RomneyDa
RomneyDa merged commit 116f364 into main Aug 26, 2026
131 checks passed
@RomneyDa
RomneyDa deleted the codex/refresh-imap-plugin-inventory branch August 26, 2026 22:10
vincentkoc added a commit that referenced this pull request Aug 26, 2026
* origin/main: (275 commits)
  fix(ai): require explicit compatible-provider endpoints (#130453)
  test(control-ui): guard the hand-mirrored theme --bg copies (#130444)
  fix(onboard): preserve the saved skills package manager (#130438)
  improve(worker): diagnose admission-deadline failures and widen daemon revalidation budget (#130435)
  fix(plugins): align diffs external install metadata (#130362)
  refactor(models): consolidate config normalization (#130439)
  fix(browser): accept common keyboard aliases (#130401)
  fix(release): refresh IMAP plugin baselines (#130351)
  fix(tests): type sticky model agent fixtures (#130441)
  fix(qa): track current Slack progress cards (#130354)
  feat(ui): refine the mobile composer (#130308)
  fix(ui): clarify gateway disconnect status in tab title (#130364)
  test(qa): await gateway startup before network probes (#130353)
  fix(qa): run Buzz profile scenarios with pooled credentials (#130316)
  fix(crabbox): keep the setup failure reason and name its phase (#130425)
  fix: dashboard tools target the wrong Gateway after admission (#130112)
  fix(ui): distinguish inherited model defaults from session pins (#120805)
  feat(feishu): let agents resend received stickers (#130374)
  refactor(models): prepare selection policy once (#130413)
  fix(ui): make dashboard side panels enter split view (#130426)
  ...

# Conflicts:
#	test/scripts/docker-build-helper.test.ts
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 27, 2026
* docs: refresh IMAP plugin inventory

* test(plugins): derive bundled startup expectations

* chore: refresh IMAP runtime sidecar baseline

* test(plugins): cover Linux-only startup defaults

* test(plugins): keep startup coverage within lint budget

---------

Co-authored-by: Josh Lehman <[email protected]>
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. 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.

2 participants