Repository navigation
refactor(update): remove unused plugin assessment policy - #188168
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: needs maintainer review before merge. What this changesThis PR removes the plugin assessment classifier and its JSON diagnostic while retaining the canonical update result. Example: Plugin fixture reports capability consent is required during an update.
Review scores
ProductKind: Refactor · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this maintainer-authored draft open. The cleanup removes an unused classifier without changing completion policy, and no actionable code defect was found. Priority: P3 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherPost-core plugin convergence consumes configuration and plugin repair outcomes, then returns diagnostics and status to update finalization and resume. flowchart TD
A[Update CLI] --> B[Plugin update owner]
B --> C[Release cohort convergence]
B --> D[Doctor plugin convergence]
C --> E[Canonical plugin result]
D --> E
E --> F[Finalization and resume]
Technical reviewBest possible solution: Use the existing canonical plugin result and remove the redundant classifier while preserving diagnostic and completion contracts. Do we have a high-confidence way to reproduce the issue? This is a refactor rather than a reported runtime bug; source inspection establishes that the removed classifier has no production decision consumer. Is this the best way to solve the issue? The diff is the smallest complete reduction: delete the unused derived assessment and duplicate type, adapt fixtures, and retain the existing result owner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c32556b0cea7. Provenance checked
TestingProof path: none. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -75, Tests -10. Total -85 across 11 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 30, 2026, 4:05 AM ET / 08:05 UTC. |
|
Merged via squash auto-merge.
|
What Problem This Solves
The updater maintains an unused plugin classifier alongside the result that actually controls completion.
User Impact
Update status, warnings, consent and integrity diagnostics, Doctor, and restart decisions stay unchanged. The undocumented
postUpdate.plugins.assessmentJSON diagnostic is removed; it shipped in v2026.10.1 but has no documented schema, SDK surface, or in-repository consumer. No configuration or migration action is required.Why This Change Was Made
Maintainer-requested updater duplication audit, continuing the narrow cleanup campaign in #188081. Return the existing canonical plugin result and delete the unused classifier, its duplicate result type, and classifier-only fixtures. Production: 4 lines added / 79 removed; tests and support: 47 added / 57 removed. Release-note context: internal updater simplification with the JSON diagnostic removal disclosed above.
Evidence
Reviewed head:
b423e228352e4bf1015cdee3796074012e39c88a; frozen base:d67aa608643f6583a6c6102c522043794aafe064.git diff --checkpassed.scripts/perf/doctor-sqlite-inspection.mjsandscripts/perf/update-state-io-measure.ts; exports in reply-tool-authority-inbound, artifact-download-grants, session-html-preview, session-progress-card, participant-colors and chat-composer-width-ref. Those paths/symbols are unchanged from the frozen base; no runnable baseline comparison was performed. No owned updater path appears in those reports.