Repository navigation
refactor(ui): present plugin consent inspection with Solid boundaries - #180218
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 maintainer review before merge. What this changesThis PR presents plugin consent inspection through Solid Loading and Errored boundaries using completion receipts from the existing owner. Example: Enable Workboard v1.2.3 when capability inspection fails.
Review scores
ProductKind: Refactor · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this owner-approved refactor preserves consent ownership and has no identified introduced defect; the required UI check still has an unclassified focus-restoration failure. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Plugins page requests capability inspection from the Gateway, presents the admitted result in a consent dialog, and passes explicit approval back through the existing mutation owner. flowchart TD
A[Plugins page] --> B[Consent owner]
B --> C[Gateway inspection]
C --> B
B --> D[Completion receipt]
D --> E[Solid consent dialog]
E --> B
B --> F[Gateway mutation]
Technical reviewBest possible solution: Retain the owner-backed completion receipt and native presentation boundaries once the required UI check is resolved or its failure is independently attributed. Do we have a high-confidence way to reproduce the issue? This is a refactor rather than a reported product bug; source inspection establishes the manual presentation path on main, and supplied browser captures exercise its replacement. Is this the best way to solve the issue? The change follows the existing owner-receipt pattern, removes the manual presentation branches, and preserves synchronous admission; no unnecessary competing owner or test-only production seam was found. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 461123273058. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +66, Tests +39. Total +105 across 5 files. Added test files: 0. View PR surface stats
Review metrics
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 21, 2026, 11:21 PM ET / October 22, 2026, 03:21 UTC. |
…nsent-read # Conflicts: # ui/src/pages/plugins/consent-dialog.tsx
|
Merged via squash.
|
…openclaw#180218) * refactor(ui): render plugin consent inspection with Solid boundaries * fix(ui): retain plugin lifecycle controls during inspection * chore(ui): remove retired artwork cleanup import
Whole assigned scope semantic checkpoint, 2026-10-22. These are source-audited dispositions, with unlanded work counted as outstanding. Component classifications use the retained 588-file / 113,333-LOC census at
64cc7173c662; later verified merges and replacement PRs update disposition, not that denominator. This is not a new current-main raw AST scan.Page-family outstanding adoptions (columns 1–10 follow the checklist):
Pages retain 12 pending read-family adoptions and 20 action flows requiring disposition (Profile3, Scratch2, Logbook4, Devices11). Seven named silent-read exceptions remain: Devices3, Question2, Plugins2. Missing retirement promises and plain owner authority alone are not exceptions. External page families remain with their named active PR owners; their unlanded work is not claimed complete.
Component details are in the current component-survivor-summary; page details are in solid2-pages-semantic-final-checkpoint. Open component checkpoints, Palette follow-up, Login, Discovery, Logs, page read PRs, and the 20 page actions remain work. Different classification denominators are deliberately not added together.
What Problem This Solves
Plugin consent inspection consumes the existing owner's completion receipt under native
LoadingandErroredboundaries. Closing or replacing the dialog retires presentation immediately; late results cannot reopen it. Synchronous Gateway identity, approval-token and mutation checks remain in the owner. Retry places loading outside the error boundary so the pending state replaces the prior error.A late inspection could also rebuild the lifecycle action buttons while an uninstall confirmation was open, leaving its saved focus target detached. The lifecycle renderer is now a stable component with reactive props and stable handlers. The same Uninstall DOM node survives metadata updates and remains a valid return-focus target.
Touched-file checklist
Evidence
Head
48ed9f330af673591912ad23a05e79879d61a596includes exact main6c00e67f5703c85f2aea88cf79f7ff702821fbb5; main's landed artwork lifecycle cleanup is retained.0ec893790beb14caa4f097a177380749978d9ebed28d7a75700fd3df1a7af3fd). No UI findings or new ignores.39722179578passed on48ed9f330af673591912ad23a05e79879d61a596CI
39713674689failedControl UI plugin lifecycle > keeps keyboard focus on the settings page after canceling and confirming removal. Exact original-base and original-head replays both passed; neither is an inherited-failure qualification. The deterministic late-inspection test reproduces the detached-button cause, and fullci:fullrun39722179578now passes on replacement head48ed9f330af673591912ad23a05e79879d61a596. No inherited CI waiver is requested.The extra production lines implement the inspection completion/retirement contract and stable component boundary. They add no request, state authority, dependency, host tag, class or eager import.
Visual proof
The six previously inspected synthetic-only Workboard captures at 1280×1000 remain the visual proof for the consent read migration. Matching initial/error/ready pairs are byte-identical. Retry, disabled approval, close during a held read and ignored late completion were exercised. These images predate the focus repair/current main integration; the new DOM-identity regression supplies the additional focus evidence.