Repository navigation
refactor(plugins): remove redundant private paths - #178399
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex review: needs changes before merge. What this changesThis PR removes redundant plugin bookkeeping, obsolete Matrix QA JSON paths, and Reef’s unused outbound composer. Example: FaceTime installs a missing audio driver successfully.
Review scores
ProductKind: Refactor · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep open: this is useful, maintainer-approved cleanup with no concrete correctness or security finding, but the required test-typecheck failure remains unattributed. Priority: P3 Before merge
FindingsNone. Agent review detailsHow this fits togetherPlugin setup, rendering, messaging, and QA adapters consume results from existing installers, indexes, SDK helpers, SQLite stores, and Reef worker operations. flowchart TD
A[Plugin entry points] --> B[Existing production owners]
B --> C[Installer and webhook index]
B --> D[SDK HTML escaper]
B --> E[Reef worker composition]
F[Matrix QA scenarios] --> G[Account SQLite state]
Technical reviewBest possible solution: Retain this focused cleanup using the existing production owners and resolve the required typecheck’s attribution before merging. Do we have a high-confidence way to reproduce the issue? This is a refactor rather than a reported runtime bug; source inspection confirms the duplicate work and retired paths, and no target code was executed. Is this the best way to solve the issue? The patch uses owners already present, removes the replaced paths, and preserves distinct worker security and account-isolation coverage without adding production machinery. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 42a73b62bb18. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -280, Tests -44, Other -1. Total -325 across 22 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 20, 2026, 8:37 AM ET / 12:37 UTC. |
|
Merged via squash.
|
* refactor(plugins): remove redundant private paths * test(reef): initialize readonly guard model in fixture
Remove orphaned context-engine assertions and the already-current convergence table after openclaw#178340 and openclaw#178341. Keep webhook, MCP authority, and JSON-target helpers local after openclaw#178399, openclaw#172026, and openclaw#178407; replace the test-only skill-authoring reset seam with module isolation.
What Problem This Solves
Several plugins still perform private bookkeeping, duplicate work, or maintain an alternate implementation after their production owner already supplies the result.
User Impact
No channel feature, public SDK export, configuration, protocol, or persisted-data shape changes. Matrix QA now targets the SQLite state used by current and latest-stable candidates, not pre-June JSON-only fixtures. Product Matrix migration remains unchanged.
Why This Change Was Made
Use Discord's existing webhook index, trust the FaceTime installer's own verification, drop iMessage's unread version probe and Policy's unread selector details, and reuse the existing SDK HTML escaper. Remove Matrix QA's retired JSON discovery/rewrite fork. Retire Reef's test-only outbound composer after its production caller moved to worker composition in #171633; preserve the security contracts at the actual worker-backed send boundary.
Net production LOC: 280 removed (+45/−325 across nine production files), excluding tests/support and the one-entry assertion-baseline shrink. This is a residue, not a LARGE cleanup claim. There are 22 changed files overall.
Best-effort tradeoffs accepted
--ensure, which already verifies metadata and code signing. The redundant query came from the experimental feature (feat(plugins): add experimental FaceTime realtime voice bridge #119291), not a cited incident. An out-of-band driver alteration after verification is noticed by the next preflight.e8348c0dc840) predates both stable versions inspected,v2026.9.5andv2026.10.5; the QA migration lineage includes refactor(qa): migrate Matrix scenarios into QA Lab #103589. A pre-conversion candidate fails to expose the expected SQLite state instead of selecting the retired fork. Current account/device isolation, cursor chunk/digest updates, crypto state and ingress-completion checks remain.Evidence
openclaw/plugin-sdk/time-runtimedeclarations; it is not claimed passing. No broad local build/typecheck was run. Exact repaired-head CI 39425278846 passed in 652 seconds, supplying broad/type-aware proof.