Repository navigation
refactor(plugin-sdk): remove unused private QA helpers - #119437
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed August 4, 2026, 11:04 PM ET / August 5, 2026, 03:04 UTC. ClawSweeper reviewWhat this changesThe PR removes unused private QA and facade helpers and shares the identical status-snapshot projection used by synchronous and asynchronous Plugin SDK adapters. Merge readinessNo actionable defect found: the branch removes private, unreferenced helpers and preserves status-adapter behavior. Keep it open for protected Priority: P3 Review scores
Verification
How this fits togetherThe Plugin SDK is the boundary through which plugins call OpenClaw. Channel plugins use its status adapters to turn account, runtime, and probe inputs into status output, while QA helpers support internal test-only workflows. flowchart LR
A[Channel plugin] --> B[Status adapter]
B --> C[Shared snapshot projection]
C --> D[Channel status output]
E[Private QA workflow] --> F[QA runtime helpers]
F --> G[QA execution]
Decision needed
Why: The protected Before merge
Agent review detailsSecurityNone. PR surfaceSource -121, Tests -23. Total -144 across 4 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Merge the focused deletion after protected maintainer review confirms the remaining exact-head check is green; retain the unchanged public status-helper subpath and QA Lab-owned live helpers. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a behavior-neutral cleanup, so source/caller analysis and focused SDK validation are the relevant verification path. Is this the best way to solve the issue? Yes: removing unreferenced private helpers and centralizing the identical status projection is the narrowest maintainable solution without expanding the public SDK. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 22de30f99821. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
* origin/main: refactor(plugin-sdk): remove unused private QA helpers (#119437)
What Problem This Solves
Private, unpublished QA and facade SDK modules retained unused output tee and duplicate helpers, while synchronous/asynchronous status adapters repeated projections. This is part of a maintainer-requested project-wide production LOC reduction campaign.
Why This Change Was Made
Remove unreachable private helpers and their obsolete test coverage, and share the existing status projection while preserving every public Plugin SDK export and printed declaration.
User Impact
Published Plugin SDK behavior and public types are unchanged; removes 121 production lines and 23 obsolete test lines.
Evidence
gpt-5.6-solwithxhighreasoning; no accepted or actionable findings.git diff --check, scoped formatting, and direct before/after behavioral equivalence checks passed.