Repository navigation
fix(plugins): simplify installation and grouped settings - #150234
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. |
8497757 to
766e4fe
Compare
3aef1ca to
584c46a
Compare
|
Input-safety review disposition: the latest published rejection is a no-verdict scan on current head The diagnostic reports four detections but exposes only that first location. The other three are unavailable in the diagnostic, so this does not qualify them or claim a completed ClawSweeper review. Separate source review, scoped P0 autoreviews, and the linked UI/regression proof remain the available evidence; required hosted CI still applies to the current head. The current diagnostic artifact identifies the same blob An independent replay used the actual workflow revision’s pinned TruffleHog 3.97.4 and flags against that exact public Git blob. It completed with no scanner errors and reported one unverified URI/HTML detection at line165, with synthetic literal witnesses at lines165/168 in the redaction test. The replay used macOS arm64; hosted scanning used Linux amd64 and a broader staged review corpus. This confirms the exposed fixture only and does not identify or qualify the other three hosted detections. No scanner policy, allowlist or repository source was changed. |
766e4fe to
fa54c14
Compare
584c46a to
ed50eb3
Compare
fa54c14 to
1062e94
Compare
ed50eb3 to
4801f22
Compare
1062e94 to
dddc3ad
Compare
cc8e264 to
a42321e
Compare
dddc3ad to
0744db3
Compare
a42321e to
3a814e3
Compare
|
@clawsweeper re-review Current head The fixture-admission prerequisite ClawSweeper #1602 is merged and has already supported a completed normal hosted review of the help parent. Please complete this PR’s normal review on the current source. Retained real-system media stays in the PR body with its execution scope. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: blocked before merge. Reviewed September 21, 2026, 2:56 PM ET / 18:56 UTC (Revision 15). ClawSweeper reviewWhat this changesThe PR replaces the plugin installation wizard with direct installation, consolidates grouped settings and credential controls, improves contextual help and visual feedback, and excludes temporary checkout packages from compiler inputs. Merge readiness⛔ Blocked before merge - 2 items remain Keep open: the central workflow improvement remains absent from main. No blocking defect was identified, and source inspection resolves the previous generic compatibility concerns while confirming the authority repair remains intact. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI turns plugin selections and settings edits into Gateway requests. The Gateway checks administrator authority, coordinates installation and configuration through existing lifecycle owners, and returns runtime outcomes to the UI. flowchart TD
A[Plugin catalog and manifests] --> B[Control UI plugin pages]
B --> C[Gateway administrator checks]
C --> D[Installation and configuration owners]
E[Credential and policy revocation] --> C
D --> F[Plugin runtime]
D --> G[Settings and operation results]
G --> B
Before merge
Agent review detailsSecurityNone. PR surfacePR surface statistics unavailable: the file list is incomplete. Review metrics
Stored data modelPersistent data-model change detected: Technical reviewBest possible solution: Use the existing Gateway lifecycle and configuration owners for direct installation and grouped editing, preserving current authority checks, operator grants, and recoverable outcomes. Do we have a high-confidence way to reproduce the issue? Not applicable as a single bug reproduction: this PR changes the installation and settings workflow. Recorded Gateway fault-injection results and browser captures exercise the changed behavior; this read-only review did not execute them. Is this the best way to solve the issue? Yes: the patch reuses existing installation, configuration, and runtime owners while removing the competing wizard flow; the previous compatibility concerns do not identify a remaining migration requirement. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 678cdf4246e7. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (14 earlier review cycles; latest 8 shown)
|
0744db3 to
de448c6
Compare
Punchcard-Session: coral-lantern-meadow-m8
Punchcard-Session: coral-lantern-meadow-m8
Punchcard-Session: coral-lantern-meadow-m8
Punchcard-Session: coral-lantern-meadow-m8
|
@clawsweeper re-review Refreshed head 886bb20 fixes the concrete integration failures from CI35631825333. The PR body records before/after owner-level proof, unchanged contrast and size gates, and the limited test-fixture repairs. |
|
🦞🧹 I asked ClawSweeper to review this item again. |
Punchcard-Session: coral-lantern-meadow-m8
|
Revision 12 disposition:
No Rank-up moves section or actionable code finding was reported. Fresh review covers these mechanical conflict resolutions under the repository's review-continuity rule; exact-head CI remains required. |
Concurrent hook fixtures can disappear after namespace enumeration. Keep root scratch outside compiler cache preparation while retaining nested workspace and installed metadata invalidation. Punchcard-Session: coral-lantern-meadow-m8
|
The new head adds only the isolated compiler-cache race repair in #155086 and its regression coverage. The previous feature review and behavior proof are retained. Fresh CI is running; the previous unrelated WAL failure and bounded local replay limitations are recorded in the PR body. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Revision 14 compatibility checklist disposition for head
The review itself independently confirms “0 new persisted options or schema migrations” and no introduced blocking defect. Its generic checklist arose from schema-named paths and an incomplete file-list classification, not an identified migration. Both items are addressed by this source-level compatibility audit. Revision 14 contains no actionable findings or Rank-up moves. |
Punchcard-Session: coral-lantern-meadow-m8
|
The previously published head While that ran, current main introduced overlapping HTTP authority and Gateway policy changes. The refreshed merge preserves both owners: icon loading retains ordered local/package/publisher sources and main's post-await authority checks; committed policy revocation uses main's expanded policy helper over the retained-request authority registry. Both sides' regression cases remain intact. The generated config baseline was regenerated. Conflict-resolution proof: 174 tests across nine Gateway files pass, including real install-authority scenarios, icon revocation, request policy closure and retained connection authority. Canonical autoreview of the resulting PR against main completed both passes with zero P0 findings. Existing visual proof and prior real Gateway evidence retain their recorded revisions. |
Punchcard-Session: coral-lantern-meadow-m8
Punchcard-Session: coral-lantern-meadow-m8
|
The current head Fresh integration: 356 approval/sibling tests across nine files pass in 66.63 seconds wall. The canonical startup comparison against main |
Punchcard-Session: coral-lantern-meadow-m8
|
Follow-up integration fix at |
|
Merged via squash.
|
Plugin installation and settings still used a restart wizard, duplicated review screens, and inconsistent layouts. This replaces those screens with the existing install/runtime flow and a grouped plugin editor.
Reviewed feature baseline (before the landed-parent integration above): bundled settings groups #149331. Reviewed source:
b7442b0aeec31683906b9270e1e32f6685730648, relative to5ca6e8dfede5f4602f30c21ba85f1e67474ef3a2. The next layer adds the install progress card and final presentation changes. CLAW-914 performance work is excluded.Authority and rollback proof
The Gateway now checks current authority before tentative acceptance, persistence and runtime application. Request retention ends after the actual handler and response cleanup; presence and broadcast recipients remain transport-scoped. Compensation remains owned by the lifecycle lease and matching index revision.
{ enabled: true }; no grants are added.At final
b744, the ordered authority batch passes 399 tests / 29 files, marker/retention coverage passes 48 / 4, and config-capture/source projection passes 111 / 4. These batches overlap. Earlier causal failures and the final marker repair remain recorded at security checkpointa6bde685a2c1; the marker snapshot is now journaled before awaited removal. Fresh scoped review found no remaining issue. The current-client authority finding and related Rank-up moves are addressed by this repair and real local Gateway/filesystem proof. The same review’s stored-key documentation finding is corrected.UI and integration validation
6cb5d8026b65, main035227797aa63e8b396a7dc8, snapshot940ae782433bThe second row includes upstream portal-language extraction and gzip changes; it is merge-compatibility proof, not a rewritten branch. Both builds satisfy unchanged limits of 362,588 JS bytes and 51,200 CSS bytes. Browser runs use the production UI with a stateful MockGateway, not a live model or package-install benchmark. Original media below retains its recorded source versions.
The final main integration preserves setup/utility navigation and plugin draft context; two redundant store locals were removed without changing effect order. Canonical config generation/check passes: only combined/plugin digests change, with core/channel digests and all counts unchanged. Prior schema-tier tests moved intact. Fixture repairs use authoritative request/state boundaries and retain assertions and deadlines.
No runtime config key/default, SQLite schema, store version, retention or migration behavior changes. Optional RPC context/credential fields remain bounded; stored-key reveal still requires an administrator, a declared field and the current revision, and does not resolve secret references or environment values. Security growth is +55 production lines for request-lifetime ownership and the first-effect fence; the whole UI layer removes more code than it adds.
Against the stated parent: production code/styles/manifest metadata +1,721/−2,423 (net −702); tests/support +3,812/−2,333 (net +1,479). Generated files and docs are counted separately. Parent main-integration changes are outside this layer’s counts.
Local canonical source checks are complete; exact published-head hosted CI and native landing checks must complete before merge.
Recorded visual proof
Named follow-ups
Compatibility disposition (revision 8,
b7442b0aeec3)schema.tiers.tsprojects UI hints; it now retains wildcard help/placeholders when materializing exact tiers, preserving tier precedence. Diffs’ config schema is identical to the parent: “Automatic” labels describe existing quality-dependent behavior rather than writing defaults. Hook timeout placeholders likewise describe the existing per-hook policy. Canonical generation/check passes with unchanged path counts (2,444 core / 3,738 channel / 4,215 plugin) and unchanged core/channel digests; only combined/plugin presentation digests change.openclaw.tsmarker refers to optional bounded RPC context/response metadata; omitted fields remain valid. Credential reveal is optional, administrator/revision/declared-field constrained and does not change stored credentials.schema.tiers.tsis presentation metadata, not a persisted model. No SQLite schema, store version or migration is introduced. The final 111-case config-patch/capture/source-projection batch and real Gateway/rollback proof above cover the changed persistence boundaries; no migration procedure or new operator action is needed.Revision 8 reports no concrete finding and accepts the authority/documentation repairs. Its two generic compatibility checkboxes are addressed above. The complete canonical plan passed; hosted and native landing gates remain required.
Final local gates: On
464a75d53d84, the initial canonical run passed its prefix and stopped because Java was absent from the shell path. Reusing the installed toolchain, all 11 remaining checks passed, including Android/app lint, macOS CI, schema and ownership guards; source stayed clean. The preserved initial run took 650.06s and the resumed suffix 483.82s. The actual clean merge with main6ec3c9789905(tree56c51f6680ab) also passed all 67 selected Gateway, plugin-loader and activation-planner cases in 29.07s, including the seven real Gateway authority scenarios. This local integration proof is separate from hosted CI; overlapping batches are not summed.Review disposition: Revision9 at old b744: actual squash-ancestry conflicts resolved in be43; all170 owned paths and incoming-main blobs preserved, four actual overlaps read by root, main health/session integration passes. Historical-blob retrieval limits apply to reviewer infrastructure; root local source inventory and causal/runtime proof remain complete. Config/data-model checkboxes retain the already-published no-new-persisted-schema/default/migration disposition.
Final canonical autoreview covered the complete combined main92f..progress14092 delta in two complete passes: no P0 findings. This is the default P0 scope, not a broader-priority certificate.
CI fixture repairs: CI exposed two stale test fixtures. Incoming-main Slack coverage now uses the actual EventEmitter/async-send contract and narrows ws.RawData correctly: 101 consumer tests and 34 SDK/reconnect tests pass, with strict types, lint and formatting. The sidebar fixture now honors the requested/retained session window: a controlled event-during-append reproduction changes from 2 accepted rows with the tail lost to 202 with the tail retained; all four rename/archive × Active/All browser cases pass. Root inspected both screenshots. Repairs add 74/remove 22 test/support lines and change no production code, assertions or deadlines. The first local Slack red batch was intentionally stopped after causal failures; the complete original hosted failure remains recorded. These are production-UI MockGateway and real-SDK/local-WebSocket tests, not live Slack or install-timing evidence.
The prior UI setup failure was an ECONNRESET in the upstream Matrix native-library downloader, before the check ran; its catch block then referenced an undefined variable. No dependency or retry policy was changed. A fresh-head CI run repeats setup. Follow-ups recorded: fix the upstream downloader error path; include the session browser test’s captures in CI failure-artifact upload.
Earlier review disposition: Revision 10 at be43 found no introduced correctness/security defect and no Rank-up moves. Its generic config/data-model checkboxes are addressed by the existing explicit compatibility disposition: no new persisted schema, defaults or migration, and unchanged underlying configuration values; plugin-authored grouping metadata only.
Landing ownership: Rechecked current CODEOWNERS, rulesets, reviews and maintainer-role enforcement on 2026-09-21. These paths require no separate SecOps signoff. Maintainer authorship satisfies the applicable tier; required GitHub CI/review rules remain enforced.
Conflict refresh (2026-09-21,
a19af9b8eec8): Merged mainf54ac2b1a45, preserving its lifecycle leases and device/shared-auth generation invalidation. One request-registry hold continues to cover origin/profile revocation after disconnect and releases in the outerfinally. Incoming main already superseded the old Slack and sidebar fixture repairs. Updated the new web-search caller to the metadata-only credential descriptor API; regenerated presentation baselines without changing configuration path counts.Fresh validation: 466 UI tests across 37 files, including Chromium desktop/mobile and post-install inspection; 88 Gateway/search/credential tests across 13 files, including seven real Gateway installation-authority scenarios. Core/UI types, full build, changed TypeScript lint and formatting pass. The initial concurrent-build test preparation hit the compiler topology guard before collection; the stable rerun passed. Fresh canonical autoreview is clean at its default P0 scope. Browser captures exercise the mock Gateway UI; they are not a new external npm installation benchmark. The child progress PR still owns its final progress and cosmetic changes.
Current main-relative delta: production +1,724/-2,417 (net -693); test/support +3,724/-2,239; docs +20/-11. Removed wizard paths account for most production reduction. No new stored configuration option, SQLite schema or migration. Latest published ClawSweeper review has no findings or Rank-up moves; fresh review requested for this refreshed head.
CI integration repairs (
886bb20313f, 2026-09-21): Preserved the current theme's accessible placeholder color in the painted ellipsis sibling and made contrast tests inspect that actual element. Removed a duplicate disabled-pagination CSS rule; the canonical comparison against CI base1a7911f56c11now passes the existing 51,200-byte startup CSS ceiling (previously 51,202), with no budget changes. The new-agent reconnect producer now explicitly reports its welcome as required, matching initial delivery.Replaced stale plugin fixtures with real ZIP limit-boundary entries and explicit complete installed/catalog metadata. These repairs accommodate the current archive loader, published catalog inventory, and incomplete-install diagnostics; no production guard or assertion threshold was weakened. Before/after reproductions are retained: theme 52 failing contrast assertions → all existing theme thresholds pass; greeting 1 failed/12 passed → 29/29 with rejoin siblings; archive failure → 145/145 with archive/artifact siblings; featured failure plus incomplete sibling fixture → 80/80 in original two-file order and 28/28 catalog-only. Composer overflow Chromium: 18/18. Core/UI types, targeted lint, formatting and scoped P0 autoreview pass. This repair set has net-neutral production LOC and -2 test/support lines.
Latest review and main refresh: Revision 12 disposition addresses the merge and generic compatibility checklist; no actionable code findings or Rank-up moves remain. New main overlap passes 144 archive/artifact, 80 catalog, 30 startup/authority, 435 UI browser/unit and 23 production E2E cases; UI types and the canonical performance comparison pass. Startup CSS remains 51,200 gzip bytes at the unchanged ceiling. That preparation used GitHub-enforced pending gates; current-head recovery requires completed CI.
Placeholder contrast integration proof: Current UI at
586292221e1, real empty composer with synthetic local preview state. Before reproduces the prior tertiary color by a temporary browser CSS override on the same DOM/viewport; after uses current--muted. This is a controlled visual comparison, not an old-checkout claim. Both images inspected and delivered in the originating chat. Contrast tests retain 4.5/7 thresholds.Current CI repair — September 21
Current head:
3d8693a6c8ffa54336b08fa978688d85900f260a. The only change since the preceding verified head is the compiler scratch repair from #155086 (and its regression coverage). The install-progress feature patch is byte-identical by stable patch ID.The prior hosted run exposed an upstream compiler-cache race: temporary hook packages vanished while being scanned. The shared input owner now excludes checkout-root
.tmp; 37 focused snapshot/cache tests and all scoped checks pass. No application behavior, config, or persistence change.A separate upstream WAL checkpoint assertion also failed on the prior UI CI run. It passed both in the matching 86-file local cohort and in isolation, so its cause remains unproven. That local cohort had two different macOS
fs.watchassertions fail inio.load-async.test.ts; those are a named follow-up limitation, not evidence that this compiler change repairs either failure. The new head receives fresh hosted CI.Hosted port collision investigation
The current run encountered
EADDRINUSEwhile reserving a test port, before the Gateway or Codex started, ingateway-codex-harness.fixture.test.ts. The unchanged fixture passes all 6 cases locally (27.24 s), and its port owner files match current main. The original runner did not identify the competing listener. One affected-job diagnostic retry is planned after the current run completes; this is not a claimed source fix. Existing port claims, cleanup checks, assertions and timeouts remain intact.