Skip to content

refactor(plugins): prune stale compatibility metadata - #163158

Merged
steipete merged 2 commits into
mainfrom
codex/plugin-compat-removal-pending
Oct 2, 2026
Merged

steipete merged 2 commits into
mainfrom
codex/plugin-compat-removal-pending

Conversation

@steipete

@steipete steipete commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The compatibility inventory still lists retired exports and unused private memory config reload aliases, obscuring the migrations that remain necessary.

User Impact

No user-visible runtime or schema change. Published-plugin compatibility and memory custom-table migration behavior remain intact.

Why This Change Was Made

Remove three unused private memory-host loadConfig re-exports, correct provider-helper locations, and remove stale inventory entries. Keep the remaining table-override and published-reader blockers explicit. Remove a copied surface-count assertion while retaining the registry's status, date, and blocker checks.

The expired-record transition already landed in #163127; this PR preserves that fix and the façade retirement from #162333. Production code shrinks by 17 lines: 9 private-export lines and 8 inventory/comment lines. Tests shrink by 13 lines; documentation grows by 4.

Evidence

  • Registry and boundary-report owner tests: 16 passed; wrapper 19.53 seconds, 20.05 seconds wall. No added tests.
  • The actual compatibility guard passes and still reports due entries as removal-pending, retaining their dates and migration blockers.
  • Core production types, the affected registry test type graph, targeted typed lint, formatting, and staged diff sanity pass. Fresh independent Codex review through P2 is clean.
  • The private-export source is identical to the separately qualified patch, which passed its two existing memory boundary tests; its original base blobs also match the integrated main tree.

The original combined candidate passed its selected changed checks. After resolving the upstream overlap, verification was scoped to the residual rather than repeating the full sweep. No production Gateway or provider run was needed for these unused private exports and metadata corrections. Published-plugin removals remain blocked: this does not claim a complete third-party artifact sweep.

@clawsweeper

clawsweeper Bot commented Oct 2, 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 size: S labels Oct 2, 2026
@steipete
steipete marked this pull request as ready for review October 2, 2026 01:44
@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 Oct 2, 2026
@clawsweeper

clawsweeper Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed October 1, 2026, 10:12 PM ET / October 2, 2026, 02:12 UTC (Revision 2).

ClawSweeper review

What this changes

This PR corrects the plugin compatibility inventory, removes unused private memory configuration re-exports, and deletes a copied inventory-count assertion.

Merge readiness

✅ Ready for maintainer review

The residual cleanup remains useful and introduces no identified blocker. The updated head resolves the earlier conflict concern while preserving main’s pending-removal decisions.

Priority: P3
Reviewed head: 42d5cdfc9fe221a01e0fa7d2fdd7487f9b1d72b8

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, useful cleanup with retained compatibility checks and no identified introduced defect.
Proof confidence 🌊 off-meta tidepool Not applicable: Verified maintainer authorship exempts this internal cleanup from the external-contributor gate. The captured body reports the real compatibility guard passing and focused tests; no runtime execution was performed during review. No stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Verified maintainer authorship exempts this internal cleanup from the external-contributor gate. The captured body reports the real compatibility guard passing and focused tests; no runtime execution was performed during review. No stored-data contract changes.
Evidence reviewed 9 items Pinned introduced changes: The merge-base-to-head patch changes inventory strings, private re-exports, documentation, and one copied count assertion. It retains removal-pending status, original dates, and outstanding reader-migration conditions.
Private versus public export boundary: The memory-host package declares private:true. Searches found no production loadConfig callers in the affected memory implementation; public memory SDK entrypoints retain their independently owned getRuntimeConfig export and do not expose the removed aliases.
Public memory configuration remains supported: The public runtime entrypoint exports getRuntimeConfig directly from the canonical configuration owner; the foundation entrypoint has no loadConfig export.
Findings None None.
Security None None.

How this fits together

The plugin compatibility registry feeds maintenance reports and installed-plugin index freshness checks. Private memory-host adapters supply internal helpers, while separate public SDK entrypoints serve plugins.

flowchart TD
 A[Compatibility records] --> B[Boundary report]
 A --> C[Index freshness fingerprint]
 C --> D[Installed plugin index refresh]
 E[Private memory adapters] --> F[Memory implementation]
 G[Public SDK entrypoints] --> F
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source -17, Tests -13, Docs +4. Total -26 across 7 files.

View PR surface stats
Area Files Added Removed Net
Source 4 10 27 -17
Tests 1 0 13 -13
Docs 2 29 25 +4
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 7 39 65 -26

Review metrics

None.

Technical review

Best possible solution:

Keep the compatibility inventory accurate while retaining published-reader and memory-table migration gates under their existing owners.

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

Not applicable: this cleanup addresses stale inventory and unused private exports rather than a reported runtime defect.

Is this the best way to solve the issue?

Yes: removing unused private aliases and correcting the existing inventory is a narrow solution that preserves public APIs and outstanding migration conditions.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P3: This is bounded internal cleanup with no identified user-visible runtime change.
  • remove P2: Current review triage priority is P3, so this older priority label is no longer current.

Label justifications:

  • P3: This is bounded internal cleanup with no identified user-visible runtime 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: Verified maintainer authorship exempts this internal cleanup from the external-contributor gate. The captured body reports the real compatibility guard passing and focused tests; no runtime execution was performed during review. No stored-data contract changes.

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)
  • Patrick-Erichsen: 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.

History

Review history (1 earlier review cycle)
  • reviewed 2026-10-02T01:50:33.861Z sha ef151dd :: blocked before merge. :: none

@steipete steipete changed the title fix(plugins): record unmet compatibility removal conditions refactor(plugins): prune stale compatibility metadata Oct 2, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. and removed P2 Normal backlog priority with limited blast radius. labels Oct 2, 2026
@steipete
steipete merged commit 9bcf9e9 into main Oct 2, 2026
122 of 123 checks passed
@steipete
steipete deleted the codex/plugin-compat-removal-pending branch October 2, 2026 02:28
@steipete

steipete commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

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