Skip to content

fix(plugins): simplify installation and grouped settings - #150234

Merged
Patrick-Erichsen merged 40 commits into
mainfrom
codex/claw-860-ui-feedback
Sep 21, 2026
Merged

Patrick-Erichsen merged 40 commits into
mainfrom
codex/claw-860-ui-feedback

Conversation

@Patrick-Erichsen

@Patrick-Erichsen Patrick-Erichsen commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

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.

  • Connect semantic settings groups, credential controls and effective defaults. Diffs’ quality-dependent dimensions show “Automatic (quality preset)” without storing an invented default.
  • Preserve plugin identity and bounded declared-capability context in Ask OpenClaw; improve skill-preview skeletons, catalog overflow and unsent drafts.
  • Show the page title and left-aligned tabs at desktop and tablet widths. Disable roster pagination while its controller refreshes.
  • Retain admitted request authority separately from live sockets, so an ordinary reconnect can finish while credential revocation fences later plugin effects.

Reviewed feature baseline (before the landed-parent integration above): bundled settings groups #149331. Reviewed source: b7442b0aeec31683906b9270e1e32f6685730648, relative to 5ca6e8dfede5f4602f30c21ba85f1e67474ef3a2. 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.

Scenario Before After and evidence scope
Authorized install and ordinary reconnect Both controls succeeded. Both still succeed through the real Gateway, installer, index, config writer, and runtime. Persisted plugin config remains exactly { enabled: true }; no grants are added.
Device revocation during staging, immediately before the first index write, or before runtime application Three real Gateway regressions failed: revoked requests continued into the protected effect. All three refuse further effects. Staging/index revocation writes no accepted capability surface or plugin config. Revocation at runtime preserves the already committed configuration but prevents activation.
Disconnect, then revoke the device before releasing staged installation The initial lifecycle-only repair still persisted acceptance because the disconnected client was absent from the transport registry. The retained request is invalidated; no acceptance/config write or active plugin probe remains. This is the sixth real install case.
Shared auth changes A → B → A while a disconnected ordinary request is held Managed reload left the retained request authoritative again when the original credential bytes returned. Its authority remains revoked. Both config publications and fresh authorized connections are exercised through the real Gateway.
Five lifecycle methods, with the live-client predicate isolated from the session guard Removing only that predicate causes all 20 client-axis cases to fail. All 20 pass with the predicate restored. These are held-boundary owner tests, separate from the real Gateway cases above.
Revocation after marker removal or during directory cleanup Two filesystem regressions restored the plugin index but lost its original retention marker. The undo snapshot is recorded before removal; exact marker bytes are restored only while the lease and index revision still own rollback.

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 checkpoint a6bde685a2c1; 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

Recorded source Result
Combined UI/progress 6cb5d8026b65, main 035227797aa6 86 UI cases and 31 built-browser cases pass. Startup: 360,027 gzip JS bytes / 7 requests, 48,405 CSS bytes. Root inspected desktop right alignment and the editable, unsent help draft.
Actual clean merge with main 3e8b396a7dc8, snapshot 940ae782433b Canonical i18n, 3 lazy-loading/precompression tests and 13 built-browser cases pass. Startup: 359,400 gzip JS bytes / 7 requests, 48,300 CSS bytes. Root also inspected the fresh desktop image: right-aligned settings and the existing conversation with an unsent draft.

The 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

Desktop plugin title and tabs before and after

Diffs settings show automatic values tied to the quality preset

During a roster refresh: before After
Before: pagination remains enabled After: pagination reflects its busy state

Named follow-ups

  • Cold PR provisioning: profile unnecessary native-path managed/config imports and improve child error/signal/phase diagnostics. The two hosted 10s failures passed in the paired source-equivalent run, local ordered replay and unchanged retry. The stalled inner phase remains unproved; no timeout, assertion, cache or runtime policy was changed.
  • CUA Linux relay-exit delivery exceeds cleanup deadline: original ordered replay and unchanged failed-job retry passed. The hosted timing cause remains unproved; no assertion or deadline change. Historical green runs do not replace current-head CI.

Compatibility disposition (revision 8, b7442b0aeec3)

  • Config compatibility: schema.tiers.ts projects 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.
  • Data-model compatibility: the complete local inventory contains 170 paths. The review’s openclaw.ts marker 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.ts is 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 main 6ec3c9789905 (tree 56c51f6680ab) 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 main f54ac2b1a45, 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 outer finally. 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 base 1a7911f56c11 now 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.

Previous color (simulated) Current code
Previous placeholder color simulated Current placeholder contrast

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.watch assertions fail in io.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 EADDRINUSE while reserving a test port, before the Gateway or Codex started, in gateway-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.

@clawsweeper

clawsweeper Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui gateway Gateway runtime extensions: diffs size: XL maintainer Maintainer-authored PR labels Sep 16, 2026
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-861-bundled-config-groups branch 2 times, most recently from 8497757 to 766e4fe Compare September 16, 2026 19:47
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-860-ui-feedback branch from 3aef1ca to 584c46a Compare September 16, 2026 19:47
@Patrick-Erichsen

Patrick-Erichsen commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor Author

Input-safety review disposition: the latest published rejection is a no-verdict scan on current head cc8e264b6d140d96d8831f916963dd0d5cac66bb (run35151249954). Its sole exposed location is the URL-redaction fixture in ui/src/pages/custodian/custodian-session-store.test.ts:165: synthetic credentials on the reserved .invalid domain, with assertions that the drafted value is redacted and the original input is unchanged. Direct source inspection confirms this is intentional test data.

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 0609146499505739cbddb08729e94c9617593be6. The root agent matched it to the exact current Git tree and reread the fixture. This qualifies that exposed test fixture only; no hidden detector results are assumed safe and no completed ClawSweeper verdict is claimed.

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.

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Current head 3a814e3007a850d887f74abcd1af9a3edd23ccd6 preserves the reviewed UI feature sources and includes a deterministic repair for the private bundled-only catalog test. Main added Memory Wiki’s declared catalog counterpart; the existing fixture seam now isolates private cases, while the hosted-omission table covers Memory Wiki and Diffs. Production is unchanged by that repair; the exact prior failure is reproduced, 80 owner tests and selected checks pass. The inherited startup repair and source-equivalence proof are documented in the body.

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.

@clawsweeper

clawsweeper Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 17, 2026
@clawsweeper

clawsweeper Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 21, 2026, 2:56 PM ET / 18:56 UTC (Revision 15).

ClawSweeper review

What this changes

The 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
Reviewed head: 3d8693a6c8ffa54336b08fa978688d85900f260a

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A useful implementation with strong recorded boundary proof and no identified blocking defect; the prior compatibility follow-up is resolved.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): Recorded real-Gateway installation results exercise the changed authority and persistence owners with successful authorized/reconnect controls and rejection before revoked effects; inspected screenshots support the visual changes. Browser evidence retains its stated MockGateway scope and original source revisions.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): Recorded real-Gateway installation results exercise the changed authority and persistence owners with successful authorized/reconnect controls and rejection before revoked effects; inspected screenshots support the visual changes. Browser evidence retains its stated MockGateway scope and original source revisions.
Evidence reviewed 10 items Pinned review scope and continuity: Reviewed the introduced delta from 6d65c8b to 3d8693a. The previous completed review used this same head and reported no findings or rank-up moves. The supplied test merge is stale and was not used to infer removal of main behavior.
Central change remains necessary: Both fetched main and v2026.9.5 still import and use InstallWizardController. The merged contextual-help and manifest-grouping parents do not implement this PR's direct installation workflow.
Compatibility disposition verified: The tier resolver preserves authored wildcard UI hints when producing exact presentation hints. Diffs changes help and placeholders only. The protocol changes add optional bounded context, optional welcome metadata, and optional credential reveal fields; they introduce no persisted configuration key, parser default, SQLite schema, or migration. This supports the explicit compatibility disposition in the latest discussion.
Findings None None.
Security None None.

How this fits together

The 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
Loading

Before merge

  • Review config compatibility - Confirm compatibility and upgrade impact for the changed config or default surface before merge.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

PR surface statistics unavailable: the file list is incomplete.

Review metrics

Metric Value Why it matters
Production versus regression coverage Production net −696 lines; tests/support net +1,522; tooling +3 Wizard removal reduces production code while added coverage protects authority, rollback, settings, and UI behavior; docs and generated output are excluded.
Configuration compatibility 0 new persisted configuration options or schema migrations The questioned changes affect presentation hints and optional wire metadata, resolving the prior generic migration checklist.

Stored data model

Persistent data-model change detected: unknown-data-model-change: packages/gateway-protocol/src/schema/openclaw.ts, unknown-data-model-change: src/config/schema.tiers.ts, unknown-truncated-pull-files. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best 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.

Labels

Label justifications:

  • P2: This is a bounded plugin-management improvement with substantive UI and lifecycle coverage, without an established urgent user-facing regression.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): Recorded real-Gateway installation results exercise the changed authority and persistence owners with successful authorized/reconnect controls and rejection before revoked effects; inspected screenshots support the visual changes. Browser evidence retains its stated MockGateway scope and original source revisions.
  • proof: sufficient: Contributor real behavior proof is sufficient. Recorded real-Gateway installation results exercise the changed authority and persistence owners with successful authorized/reconnect controls and rejection before revoked effects; inspected screenshots support the visual changes. Browser evidence retains its stated MockGateway scope and original source revisions.

Evidence

What I checked:

  • Pinned review scope and continuity: Reviewed the introduced delta from 6d65c8b to 3d8693a. The previous completed review used this same head and reported no findings or rank-up moves. The supplied test merge is stale and was not used to infer removal of main behavior. (3d8693a6c8ff)
  • Central change remains necessary: Both fetched main and v2026.9.5 still import and use InstallWizardController. The merged contextual-help and manifest-grouping parents do not implement this PR's direct installation workflow. (ui/src/pages/plugins/plugins-page.ts:35, 678cdf4246e7)
  • Compatibility disposition verified: The tier resolver preserves authored wildcard UI hints when producing exact presentation hints. Diffs changes help and placeholders only. The protocol changes add optional bounded context, optional welcome metadata, and optional credential reveal fields; they introduce no persisted configuration key, parser default, SQLite schema, or migration. This supports the explicit compatibility disposition in the latest discussion. (src/config/schema.tiers.ts:271, 3d8693a6c8ff)
  • Authority finding remains repaired: Plugin lifecycle operations check current client authority, administrator scope, cancellation, and the session mutation guard. Installation acceptance invokes that guard; persistence checks it before the synchronous index write, and runtime application retains the same authority guard. Request retention extends through handler cleanup, while presence and fanout remain socket-scoped. (src/gateway/server-methods/plugins-mutations.ts:68, 3d8693a6c8ff)
  • Rollback ownership preserved: Marker undo bytes are recorded before awaited removal. Compensation requires the lifecycle lease and matching tentative index revision, so revoking an invoker prevents new effects without preventing owner-authorized rollback. (src/plugins/install-record-commit.ts:495, 3d8693a6c8ff)
  • Credential disclosure boundary: Stored literal reveal requires an explicit request, current administrator authority rechecked after configuration I/O, the current public revision, and an installed plugin's declared credential path. Environment values and SecretRefs are not resolved or returned as literals; documentation now explains this behavior. (src/gateway/server-methods/plugins.credentials.ts:31, 3d8693a6c8ff)

Likely related people:

  • Patrick-Erichsen: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Peter Steinberger: Raw commit bbdf7ab adds src/gateway/server/client-registry.ts:9 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: bbdf7abcff42; files: src/gateway/server/client-registry.ts)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (14 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-17T03:41:08.711Z sha e340e73 :: needs real behavior proof before merge. :: [P1] Recheck live client authority before accepting staged capabilities
  • reviewed 2026-09-17T04:44:18.012Z sha b7442b0 :: blocked before merge. :: none
  • reviewed 2026-09-17T05:10:55.956Z sha b7442b0 :: blocked before merge. :: none
  • reviewed 2026-09-17T05:26:37.562Z sha be43dd6 :: blocked before merge. :: none
  • reviewed 2026-09-17T05:54:47.848Z sha 54de540 :: blocked before merge. :: none
  • reviewed 2026-09-21T17:55:27.077Z sha 886bb20 :: blocked before merge. :: none
  • reviewed 2026-09-21T18:12:19.171Z sha 5862922 :: blocked before merge. :: none
  • reviewed 2026-09-21T18:35:34.303Z sha 3d8693a :: blocked before merge. :: none

@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-861-bundled-config-groups branch from 0744db3 to de448c6 Compare September 17, 2026 01:15
Punchcard-Session: coral-lantern-meadow-m8
Punchcard-Session: coral-lantern-meadow-m8
Punchcard-Session: coral-lantern-meadow-m8
Punchcard-Session: coral-lantern-meadow-m8
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

@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.

@clawsweeper

clawsweeper Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Punchcard-Session: coral-lantern-meadow-m8
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Revision 12 disposition:

  • Merge conflicts: integrated current main 6d65c8b. The three conflicts were test-only. Keep main's real ZIP-admission fixture and complete installed-package fixture; preserve GatewayClientRegistry while adopting main's awaited startup/setup completion. Focused proof passes 144 archive/artifact, 80 catalog and 30 startup/authority cases. No installer or permission behavior changed in resolution.
  • Config compatibility: schema.tiers.ts changes presentation-hint inheritance so generated exact tiers retain authored wildcard metadata. It does not change persisted configuration keys, parser defaults or runtime policy. Existing config baseline/path counts and config/default tests remain the compatibility evidence.
  • Data-model compatibility: packages/gateway-protocol/src/schema/openclaw.ts adds optional bounded request metadata and optional welcome response metadata. Credential reveal is an optional admin-requested wire projection of an existing literal, with stored values and references unchanged. No SQLite table, schema version, persisted shape or migration is introduced. The reviewer’s truncated-file-list heuristic is not evidence of a persistent data change. Existing authority/reveal and older-shape coverage is retained.

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
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

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

@clawsweeper

clawsweeper Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Revision 14 compatibility checklist disposition for head 3d8693a6c8ffa54336b08fa978688d85900f260a:

  • Config compatibility reviewed: src/config/schema.tiers.ts preserves authored wildcard UI metadata when generating exact tier hints. Diffs changes help/placeholder text only; its quality-dependent runtime defaults are unchanged. There are no new stored config keys or changed parser defaults.
  • Data-model compatibility reviewed: packages/gateway-protocol/src/schema/openclaw.ts adds optional, bounded request context and an optional welcome response field. It does not change a persisted record, SQLite schema, migration version, or protocol version. Existing request shapes remain accepted; no data migration is needed. Stored-key inspection projects an explicitly requested existing literal under current administrator authority; it does not introduce a new credential store.

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
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

The previously published head 3d8693a6c8ffa54336b08fa978688d85900f260a completed hosted CI successfully. The one investigated port-reservation failure passed on its diagnostic rerun without source/test relaxation.

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
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

The current head 2d7e634ddf54670202e0885b83c4ba525714488c incorporates the landed approval fixture repair #155111 and the reviewed native test repair #155140 (also merged). These resolve the preceding hosted failures without production changes or weaker assertions/timeouts.

Fresh integration: 356 approval/sibling tests across nine files pass in 66.63 seconds wall. The canonical startup comparison against main cf924744094 passes: startup CSS is 51,165 gzip bytes, below the unchanged 51,200-byte ceiling. The main merge was clean; the UI product implementation and earlier inspected visual evidence remain unchanged. Current-head CI is running.

Punchcard-Session: coral-lantern-meadow-m8
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Follow-up integration fix at 08a3baffcbb18788bf99b6eba951b284f256ec87: the newly landed approval regression fixture now constructs the existing GatewayClientRegistry, as sibling Gateway context fixtures do. This fixes the exact hosted TS2740 type error. Before: the Gateway-root test type graph fails; after: the same graph, all six owner tests, lint and formatting pass. Tests +2/−1; no production or assertion changes. The earlier 356-test integration and canonical startup comparison remain valid.

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation extensions: codex extensions: diffs gateway Gateway runtime maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. security-sensitive-changed size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant