Skip to content

feat: group bundled plugin settings by authored manifest metadata - #149331

Merged
Patrick-Erichsen merged 14 commits into
mainfrom
codex/claw-861-bundled-config-groups
Sep 17, 2026
Merged

Patrick-Erichsen merged 14 commits into
mainfrom
codex/claw-861-bundled-config-groups

Conversation

@Patrick-Erichsen

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

Copy link
Copy Markdown
Contributor

What Problem This Solves

Bundled plugins expose long settings lists without the author-defined sections supported by the grouped editor.

User Impact

265 existing root settings appear in 130 sections across 54 manifests. Paths, defaults, validation, permissions and runtime behavior are unchanged.

Why This Change Was Made

Optional configGroups belongs to each plugin manifest. The audit covers all 155 bundled manifests: 54 have configurable root properties and 101 have empty root schemas, including the newly added Apple Foundation Models plugin. Empty schemas need no groups; channel settings retain their separate contract. This consumes grouped Settings and follows contextual help. The delta is 935 lines of presentation metadata, with no runtime/test code or inferred bundled policy in core.

Named follow-up—WhatsApp root hook-setting ownership: the manifest advertises plugins.entries.whatsapp.config.pluginHooks.messageReceived, while runtime reads channels.whatsapp[.accounts.<id>].pluginHooks.messageReceived (extensions/whatsapp/src/auto-reply/monitor/process-message.ts:106). This existing mismatch needs a separate owner repair; grouping does not make the root toggle effective.

Evidence

  • The current merged tree passes exhaustive unique root-property coverage and non-group manifest equality across all 155 manifests. The canonical normalizer accepts all 54 authored group sets. The existing group-discovery/schema-lookup and manifest-schema suites pass all 19 tests in 13.31 seconds. Earlier registry→schema→lookup proof covered the then-current 127 non-channel manifests and WhatsApp, preserving validation and nested settings; the earlier independent P2 review found no issue.
  • Retained earlier validation: the 54-manifest changed-path plan passes extension/extension-test types, extension lint, schema/metadata/format/import guards. Integrated local validation passes 128 focused tests and the 59-step static plan, including core/core-test/UI types, full typed lint, three dead-export scans, styles and repository guards. Madge reports zero cycles. The later numeric keyboard repair passes 98 focused cases, all 7 integrated built keyboard flows, and the final changed-path gate (core-test/UI types, typed lint, formatting, i18n and all three dead-export scans). The preceding public head subsequently passed hosted CI (51 passed, 17 skipped).

Actual Control UI uses the exact bundled manifests through the existing registry/schema/lookup owners, with synthetic disabled-plugin config. No model, voice, provider or operator Gateway calls. The proof host is 2c1c13dde4fd770cef30028e777d3a32769c77a5.

Example Before After
llm-task, 390px Before After
llm-task, 1174px Before After
voice-call, 390px Before After
voice-call, 1174px Before After

LLM Task retains all 5 settings in 2 authored groups; Voice Call retains all 33 in 9 groups, with declared order/membership and no horizontal overflow at 390px and 1174px.

Tracks CLAW-861, Cycle 3.

Punchcard-Session: crisp-summit-lantern-qk

Current source: 5ca6e8dfede5f4602f30c21ba85f1e67474ef3a2 (tree 26d52a1931e1e8acadbd6c3ec5f5b87e4eadefa2) incorporates contextual help 19c5131fa1c8c8a019df0371321ce860072f59a1 and its reviewed main integration 035227797aa635cd0d154006af0ce6caec1e6ddd. The conflict-free signed merge retains the previous groups head 6a53ef310fb9f72eb0f8505f9dc597198b17434d as its first parent. Its complete 54-manifest patch relative to help remains byte-identical to the previous layer (SHA-256 9221f8145a73b3d6c61cbf83e5f28b1b335dd567423c8ba3bca0f48caa7536a4). All 265 root properties appear exactly once across 130 groups; schemas, defaults, permissions, storage declarations and every other non-group manifest value equal the integrated help parent. Runtime and test-code delta: zero. New-head hosted CI and native landing remain required; previous-head green CI and paired visual proof retain their original execution versions.

Compatibility checklist disposition (Revision 17 review, reviewed 6a53ef310fb9f72eb0f8505f9dc597198b17434d at 2026-09-17 03:40:27 UTC): the review reports no findings or security issues and explicitly says the migration concern is resolved, while retaining a generic data-model checklist item for three memory manifests. The refreshed exhaustive comparison confirms all 54 manifests are identical to the integrated help parent after removing only configGroups, including those memory manifests. No configuration or persistent-data contract changes; no migration is required. The requested compatibility evidence is that complete equality check, now repeated on the merged source.

@clawsweeper

clawsweeper Bot commented Sep 15, 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.

@clawsweeper

clawsweeper Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 17, 2026, 12:30 AM ET / 04:30 UTC (Revision 18).

ClawSweeper review

What this changes

Adds plugin-authored section titles and field ordering to bundled plugin settings in the Control UI.

Merge readiness

⛔ Blocked before merge - 1 item remains

The PR remains useful and has no actionable findings. The prior migration concern is resolved: every changed manifest is identical to its base after removing presentation groups. Current main provides the editor but still lacks these bundled group declarations.

Priority: P3
Reviewed head: 5ca6e8dfede5f4602f30c21ba85f1e67474ef3a2

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) A focused metadata rollout with direct visual evidence, complete field coverage and independently verified compatibility.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): The inspected before/after Control UI captures show LLM Task settings rendered in the manifest-authored sections and order at phone and desktop widths. This directly demonstrates the changed presentation; the captures retain their original proof-host identity, with current source checks confirming the metadata contract.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): The inspected before/after Control UI captures show LLM Task settings rendered in the manifest-authored sections and order at phone and desktop widths. This directly demonstrates the changed presentation; the captures retain their original proof-host identity, with current source checks confirming the metadata contract.
Evidence reviewed 8 items Complete compatibility comparison: Read-only JSON comparison found zero non-group differences across all changed manifests, including the three memory plugins. Separate membership inspection confirmed every one of the 265 root properties appears exactly once across 130 groups. Schemas, defaults, permissions and storage declarations remain unchanged; no migration applies.
Existing presentation contract: The documented contract defines groups as optional presentation metadata, preserves configuration nesting and validation, and states that older hosts ignore it. This PR consumes that existing API rather than expanding it.
Production rendering boundary: The existing editor sorts groups by order, assigns fields using their root property, and retains unassigned fields. The changed Codex manifest supplies only these OpenClaw presentation inputs; no Codex runtime or protocol contract is involved.
Findings None None.
Security None None.

How this fits together

Plugin manifests describe settings without loading plugin runtime code. The manifest registry passes grouping metadata through configuration schema hints to the Control UI settings editor.

flowchart LR
 A[Bundled plugin manifests] --> B[Validate group metadata]
 B --> C[Manifest registry]
 C --> D[Configuration schema hints]
 D --> E[Settings editor]
 E --> F[Ordered settings sections]
Loading

Before merge

  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

Source +935. Total +935 across 54 files.

View PR surface stats
Area Files Added Removed Net
Source 54 935 0 +935
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 54 935 0 +935

Review metrics

Metric Value Why it matters
Settings contract preservation 265 existing properties grouped; 0 non-group manifest differences The exhaustive comparison resolves the previous compatibility concern without requiring a migration.

Stored data model

Persistent data-model change detected: vector/embedding metadata: extensions/memory-core/openclaw.plugin.json, vector/embedding metadata: extensions/memory-lancedb/openclaw.plugin.json, vector/embedding metadata: extensions/memory-wiki/openclaw.plugin.json. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Keep section membership in plugin manifests and render it through the existing grouping owner, preserving every configuration and runtime contract.

Do we have a high-confidence way to reproduce the issue?

Not applicable to a defect report; source and before/after screenshots establish the existing flat presentation and proposed grouping.

Is this the best way to solve the issue?

Yes. Authoring metadata beside each plugin schema uses the already-merged grouping contract without duplicating rendering logic or changing saved values.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 4018b125e924.

Labels

Label justifications:

  • P3: This is settings organization polish with unchanged configuration and runtime behavior.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): The inspected before/after Control UI captures show LLM Task settings rendered in the manifest-authored sections and order at phone and desktop widths. This directly demonstrates the changed presentation; the captures retain their original proof-host identity, with current source checks confirming the metadata contract.
  • proof: sufficient: Contributor real behavior proof is sufficient. The inspected before/after Control UI captures show LLM Task settings rendered in the manifest-authored sections and order at phone and desktop widths. This directly demonstrates the changed presentation; the captures retain their original proof-host identity, with current source checks confirming the metadata contract.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The inspected before/after Control UI captures show LLM Task settings rendered in the manifest-authored sections and order at phone and desktop widths. This directly demonstrates the changed presentation; the captures retain their original proof-host identity, with current source checks confirming the metadata contract.

Evidence

What I checked:

  • Complete compatibility comparison: Read-only JSON comparison found zero non-group differences across all changed manifests, including the three memory plugins. Separate membership inspection confirmed every one of the 265 root properties appears exactly once across 130 groups. Schemas, defaults, permissions and storage declarations remain unchanged; no migration applies. (5ca6e8dfede5)
  • Existing presentation contract: The documented contract defines groups as optional presentation metadata, preserves configuration nesting and validation, and states that older hosts ignore it. This PR consumes that existing API rather than expanding it. Public docs: docs/plugins/manifest/setup-and-auth.md. (docs/plugins/manifest/setup-and-auth.md:273, 4018b125e924)
  • Production rendering boundary: The existing editor sorts groups by order, assigns fields using their root property, and retains unassigned fields. The changed Codex manifest supplies only these OpenClaw presentation inputs; no Codex runtime or protocol contract is involved. (ui/src/pages/plugins/settings-editor.ts:174, 5ca6e8dfede5)
  • Existing boundary coverage: The inspected tests cover registry-to-schema lookup, unchanged schemas after group changes, nested fields, and flat-form fallback for invalid metadata. Tests were read, not executed in this read-only review. (src/plugins/manifest-config-groups.test.ts:57, 5ca6e8dfede5)
  • Visual proof inspected: Inspected all four prepared LLM Task screenshots linked in the captured PR body: mymabx.png, ggrhiy.png, f89fg3.png and cdn5pt.png. They show the flat form becoming Task model and Execution limits sections at 390px and 1174px. The body records proof host 2c1c13dde4fd770cef30028e777d3a32769c77a5; these are retained visual captures, not a new execution on the reviewed head. Voice Call images were not included in the prepared manifest and are not claimed as inspected. (extensions/llm-task/openclaw.plugin.json:12, 5ca6e8dfede5)
  • Still needed on main and latest release: Current-main LLM Task and Voice Call manifests lack configGroups. The latest supplied release, v2026.9.4, also lacks groups in LLM Task, verified through GitHub contents after the local release blob was unavailable. (extensions/llm-task/openclaw.plugin.json:12, 3a9d69db306c)

Likely related people:

  • Patrick Erichsen: Raw commit 1710fed adds src/plugins/manifest-config-groups.ts:5 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 1710fede5dfa; files: src/plugins/manifest-config-groups.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 (17 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-16T20:49:00.035Z sha 1062e94 :: blocked before merge. :: none
  • reviewed 2026-09-17T00:00:04.684Z sha dddc3ad037570c4d9900e62abf9f503d335b3cd9 :: blocked before merge. :: none
  • reviewed 2026-09-17T00:46:57.171Z sha 0744db30b076d9d3204701092213eb45c2b84de4 :: blocked before merge. :: none
  • reviewed 2026-09-17T01:22:24.745Z sha de448c6a9161876bee941eb655ad8a253db10331 :: blocked before merge. :: none
  • reviewed 2026-09-17T01:57:41.166Z sha 56f50532a0cd596d3a7e58c835fd87cc7efd83a5 :: blocked before merge. :: none
  • reviewed 2026-09-17T02:25:55.521Z sha 4ac6d1bda63b039ae8017f578e17a24d0f83d1d7 :: blocked before merge. :: none
  • reviewed 2026-09-17T03:05:27.232Z sha 4cad9eff5e821f076e7c9b26e74e8cbdd4dc8465 :: blocked before merge. :: none
  • reviewed 2026-09-17T03:40:27.526Z sha 6a53ef3 :: blocked before merge. :: none

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Compatibility proof for the data-model checklist: this PR adds only configGroups, which is presentation metadata beside configSchema. I rechecked every changed manifest at base b312c55cb3df and head d9a0ded7b288: removing configGroups makes all 54 documents exactly equal to their base versions. This includes the three named memory plugins: memory-core adds two groups, memory-lancedb five, and memory-wiki six.

Their configuration schemas, embedding fields/dimensions, defaults, storage declarations, and doctor migration contracts are unchanged. No persistent data format, table, index, migration, or runtime code changes in this PR. The existing manifest contract defines these groups as optional presentation metadata. This resolves the requested compatibility proof without introducing a migration for unchanged stored data. The review's own complete-manifest comparison reaches the same result.

Separate pre-existing cleanup recorded: memory-lancedb's embedding schema repeats the identical minProperties: 1 entry. Both occurrences exist in the base and are unchanged by this grouping-only PR.

@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-882-contextual-help branch from b312c55 to 16ef821 Compare September 15, 2026 20:03
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-861-bundled-config-groups branch from d9a0ded to cf4b668 Compare September 15, 2026 20:03
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-882-contextual-help branch from 16ef821 to dbe8b7d Compare September 15, 2026 20:33
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-861-bundled-config-groups branch from cf4b668 to dd1c01a Compare September 15, 2026 20:33
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Migration disposition: comparison of all 54 changed manifests finds full JSON equality after removing configGroups. The 54 configurable plugins cover 265 root properties exactly once across 130 groups; schemas, defaults, permissions and storage declarations are unchanged. No data migration applies. The durable review already records this equality result.

The prior review is more than 12 hours old. The refreshed stack has fresh scoped autoreview and canonical type checks; hosted checks are running on the published heads. Existing public before/after embeds were independently reopened and rendered.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 16, 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:

@Patrick-Erichsen

Patrick-Erichsen commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor Author

CI investigation: CUA oversized-frame shutdown misses relay exit on Linux.

The bundled-settings CI run failed one CUA transport case while awaiting process cleanup after rejecting an unfinished frame larger than 256 MiB. Its shutdown receipt showed relayExit and process extinction still pending; the available log does not establish resource pressure or identify the later orphan process as that relay. Failing job.

The transport test, runtime owner, relay/lifecycle dependencies, package manifest, and lockfile are byte-identical across the overview parent and this PR (14 files checked). The original 19-case transport file passes in its original order on macOS, including overflow rejection and awaited cleanup. This does not establish that the Linux failure is preexisting or flaky.

I requested one targeted rerun of the failed Linux job after the workflow completed. No runtime code, cleanup assertion, timeout, or CI gate changed. If it repeats, this named follow-up requires a Linux process census and shutdown-owner investigation before treating the check as resolved.

Rerun result: workflow 35142711827 attempt 2 and replacement job succeeded. Both attempts used the identical head 766e4fedcc92747038db919394742a8258f07d7f and merge checkout 976d0714. The original overflow case passed in 1,165 ms; the full shard passed 933 cases with 1 skipped across 76 files. No source, assertion, or timeout changed between attempts. The original failure cause remains unproven.

Punchcard-Session: crisp-summit-lantern-qk
Reuse the canonical URL policy in the bounded help-value scan, including
serialized map keys. Keep the editable config value intact and prove
rejected Save → Ask → Send on desktop and phone.

Punchcard-Session: crisp-summit-lantern-qk
Punchcard-Session: crisp-summit-lantern-qk
Accept only the loaded selection facts consumed by the help controller, removing its type dependency on the complete page renderer model.

Punchcard-Session: crisp-summit-lantern-qk
Separate synchronous dock state and session ownership from lazy question preparation and session persistence helpers. Register plugin-only English copy with its lazy consumers while preserving source catalog order.

Punchcard-Session: crisp-summit-lantern-qk
Punchcard-Session: crisp-summit-lantern-qk
Punchcard-Session: crisp-summit-lantern-qk
Punchcard-Session: crisp-summit-lantern-qk
Punchcard-Session: crisp-summit-lantern-qk
Punchcard-Session: crisp-summit-lantern-qk
Punchcard-Session: crisp-summit-lantern-qk
Preserve the new utility-only setup navigation alongside plugin-specific drafts and bounded help context. Resolve the shared navigation import and remove a redundant session-id local to keep the combined store within its line cap.
Preserve the 54-manifest grouping layer while incorporating the reviewed
main/help integration. All 265 configurable root properties retain their
130 authored groups; schema, defaults, and non-group metadata are unchanged.

Validation: 19 existing group/manifest tests; complete canonical group
normalization; byte-identical grouping patch against the previous layer.

Punchcard-Session: crisp-summit-lantern-qk
@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 channel: voice-call Channel integration: voice-call channel: whatsapp-web Channel integration: whatsapp-web extensions: acpx extensions: active-memory extensions: amazon-bedrock extensions: amazon-bedrock-mantle extensions: anthropic extensions: brave extensions: canvas extensions: codex extensions: comfy extensions: copilot extensions: crabbox extensions: device-pair extensions: diffs extensions: duckduckgo extensions: exa extensions: firecrawl extensions: google extensions: huggingface extensions: inworld Extension: inworld extensions: llm-task Extension: llm-task extensions: memory-core Extension: memory-core extensions: memory-lancedb Extension: memory-lancedb extensions: memory-wiki extensions: minimax extensions: moonshot extensions: ollama extensions: onepassword 1Password plugin extensions: openai extensions: opencode extensions: openshell extensions: parallel extensions: perplexity extensions: policy extensions: searxng extensions: tavily extensions: webhooks extensions: xai gateway Gateway runtime maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. plugin: azure-speech Azure Speech plugin plugin: beam Beam session sharing plugin plugin: cua-computer plugin: file-transfer plugin: geolocation Geolocation plugin (IP to coarse city) plugin: google-meet plugin: imap plugin: linux-node plugin: logbook Logbook automatic work journal plugin plugin: mxc plugin: session-share plugin: team-reports plugin: teams-meetings Teams Meetings plugin plugin: visitor-access plugin: zoom Zoom plugin proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. scripts Repository scripts 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