Skip to content

feat: move Code Mode, Tool Search and Templates out of Labs - #203096

Merged
roboclaw-bot merged 19 commits into
mainfrom
openclaw/tide-shrimp-b958ef
Nov 21, 2026
Merged

roboclaw-bot merged 19 commits into
mainfrom
openclaw/tide-shrimp-b958ef

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

Supersedes #202866 (closed and unmerged).

What Problem This Solves

Code Mode and Tool Search already have core defaults, but their ordinary controls are still presented as experimental Labs settings. Templates already has a core catalog, creator and installer, yet a missing Labs opt-in hides its normal entry point.

User Impact

Code Mode and Tool Search move to Settings → Agents → Agent defaults → Tools. On selects Code Mode Auto for evaluated preferred models, not force-on for every model; explicit model/agent choices, Node/optional QuickJS selection and native-harness behavior stay intact. Tool Search retains its structured-call default.

Templates becomes normally available through Customize → Templates without writing a default into saved configuration. An explicit false remains an advanced opt-out. This does not grant installation or publication authority, change risk acknowledgements, or alter other Labs features.

Why This Change Was Made

The change relocates existing implementations rather than introduce another runtime or settings owner. The Labs-only entries, slots, wording and superseded availability helper are removed; existing configuration owners and all Template review/install/draft/publication guards remain authoritative. The four prerequisite repairs—#201487, #201488, #201519 and #201547—and the separate SDK repair #203083 are merged.

Evidence

Published head 0944828 matches prepared source 130a446 and tree 74ed9ce1debaadd5483ec3f6c7fe22955916746c. Main 6577f41 was integrated only to resolve GitHub's actual merge conflict, not merely because main advanced. The sole conflict was docs/.generated/config-baseline.sha256, regenerated through config:docs:gen on Node 24.22.1; all main code was preserved. Earlier follow-ups changed test registration, consumers and duplicate-test cleanup, not application UI/runtime code.

Captured UI proof still uses original before f4f3651 and graduation tree f39e2194314beb19d0b6cb71c37dd33b0895597e, retained in commit 891a417. Matched feature-view, style and feature-English sources are byte-identical from before f4f3651 to main 6577f41 and from captured after f39e2194 to source 130a446. Fresh Labs, Tools and Templates after-frames were inspected on the integrated source. The six published comparisons retain their original capture pins; they are not relabeled as fresh captures.

  • The original focused runs passed 149 backend/CLI tests across eight files and 141 UI ownership/settings tests across eight files. All 16 prompt-prefix tests and ten Control UI chunking guards passed. Seven selected Template-review/catalog E2Es passed; 32 unrelated cases were not selected. Unchanged-input proof is reused; one duplicate Labs unit case was subsequently removed as described below.
  • The real isolated built Gateway flow passed: visible controls saved live, five preferred/capable/off/on model tool surfaces remained correct, Templates opened without a saved opt-in, explicit off/on changed availability without a restart, and catalog browsing made no inference call. The provider and registry data were scripted local fixtures, not a mock Gateway or live-vendor qualification. The canonical CI-failure reproduction also passed this real-Gateway case after normal private-QA preparation.
  • Layout probes at 400/820/1280 px recorded CLS 0. The 1280 px probe also recorded two recent-input entries, not a claim of no movement.
  • Core/UI production and seven affected test typecheck leaves passed. Targeted lint/format, generated config documentation/plugin inventory checks, i18n verification, eleven changed MDX pages and 16,804 internal links passed. Net test growth is now 389 lines, within the unchanged 400-line allowance; the unnecessary allocation record was removed. Same-frame measured screenshot bounds remain covered.
  • The saved-choice upgrade refresh against current source 130a446 / tree 74ed9ce1 passed on actual Node 24.22.1: one corrected attempt, six real CLI/Doctor/Gateway stages in 127.60s, from latest published stable v2026.11.6 / 06afb10 using the same per-choice isolated state/config. The worker executable/version and all six Gateway /proc executable identities were asserted; CLI calls inherited the same verified executable through the unchanged helper. Missing Templates config changed denied→allowed and remained absent; false stayed denied; true stayed allowed. Both tool opt-outs and every authored root subtree remained exact. Doctor added only its separately owner-verified skills/wizard/meta roots; this was not a whole-config byte-identity claim across Doctor. Exactly three local catalog GETs occurred; no inference or registry publication, and cleanup completed. The preceding 103.82s six-stage result used the pinned Bun worker and remains valid Bun evidence, not Node qualification. The supported OPENCLAW_VITEST_RUNTIME=node correction closed that gap without changing behavior assertions or timeouts. Candidate assets used the disclosed private-QA-admitted full runtime; this is saved-state behavior proof, not installer, release-package or service-replacement qualification. The normal full-SDK production build remains separate evidence below.

Current production build evidence: the complete normal pnpm build passed on source 130a446 / tree 74ed9ce1 on Node 24.22.1, with QA and SKIP_DTS overrides unset: 2m 47.3s build time / 171.37s wall time, verifying all 164 SDK subpaths at 5,283,524 / 5,385,536 declaration bytes. The build reports UI asset-budget warnings/violations; this is not a passing budget check or an attribution of those violations to baseline. The earlier normal build on 21cfb77 / tree e39ef541 (2m 56.4s; 5,285,944 / 5,385,536 SDK declaration bytes) is retained only as prior-history evidence, not current proof.

Fresh integrated-source validation: the unchanged full real-Gateway feature scenario passed with CI=true OPENCLAW_VITEST_RUNTIME=node on actual Node 24.22.1: five preferred/capable/off/on model tool surfaces, live Templates missing/off/on behavior without restart, and no catalog inference (31,639ms scenario). Four owning-helper runtime-inheritance tests also passed. Earlier repository-selected Bun flow evidence is retained separately, not mislabeled Node. Supported E2E private-QA preparation is separate from the normal production/SDK build above. Fresh core/UI production typechecks, all 22 affected CLI tests, all 16 prompt-prefix tests and 20 focused checks (four config merge-patch, 15 resource-ownership and one private-server ownership check) passed; CLI/prefix and other tests used the repository-selected runtime where applicable, without claiming all ran on Node. Fresh real-Gateway layout probes at 400/820/1280 px recorded CLS 0; 1280 px again had two recent-input entries, not a claim of no movement. Net test growth remains 389 lines, with no allocation record.

CI integration repairs: the initial private-server inventory guard failed locally and in CI. Its existing assertions now pass after correcting list order and registering graduation in the canonical real-Gateway tier. Existing curated Labs inheritance/guarded-patch scenarios now use retained Speech bubbles; Code Mode executor scenarios use ordinary Tools settings and their guarded full-config save owner, preserving activation, limits, base hashes, saving outcomes and reload checks. All 11 touched settings browser cases passed in 55.43s, and all 16 retained Labs unit cases passed. Tooling/UI typechecks, lint and format pass. The duplicate title-absence/no-op patch unit case identified by hosted review was removed; the real-Gateway flow retains stronger graduation proof.

Independent resource-fixture follow-up: three of 15 inventory/resource checks failed before the fixture correction. Adding graduation to the existing expected serial real-Gateway list makes all 15 checks pass locally in 18.23s, retaining inventory, sharding, lease and worker-cap assertions without weakening them. Matching root.other typechecking, lint and format pass. This fixture-only correction adds no test lines or application/runtime changes; net test growth remains 389 lines.

Current CI — run 44916418346, attempt 2: completed at PR head 0944828 with 82 jobs: 55 successful, 25 skipped, 2 failed. The only non-aggregate failure is UI E2E shard 7/10, with the two cached-presentation assertions below; the aggregate gate remains red solely for that shard. security-fast passed in job 136900386997. The separate protected-main Security publisher run 44922715477 also succeeded; its head 5e371 is not the PR source head, and target, replay and protected-source validation remain with the landing workflow. Attempt 2 retained unchanged outcomes from other jobs; it was not a manual rerun of UI shard 7 or the full workflow. CI is not all green, and no exception or merge admission is claimed.

Static ratchet coverage recovered: in historical attempt 1, the hosted ratchet runner (job 136883277940) lost communication with no usable job log. A single local Node 24 run of all 13 ratchet entries on the exact executed merge ef4a326 passed 12; the database worker ran out of memory at its configured 4,096 MiB heap after 65.625s. An independent database-only run on the actual CI base 3a20a7b hit the same heap limit after 65.831s in the HEAD semantic phase, before comparison. This shows the local resource failure also occurs on the base, not that OOM caused the hosted runner loss or that the local comparison passed. One targeted infrastructure retry of the lost-runner job, with no source, heap or guard changes, produced a successful ratchet job on the same executed merge. All baseline checks passed, including the full database-worker comparison in 229.37s: SQLite T1 live calls 166 → 166, deprecated-only compatibility calls 15 → 15. This closes the hosted coverage gap; it does not claim the local OOM was fixed.

Remaining failure evidence: updated pre-PR main 6577f41 reproduced the archived and deleted-parent cached-presentation failures on actual Node 24.22.1 in one unchanged selected-name attempt (2 failed, 2 skipped; 20.73s). Attempt 2's UI shard log is byte-identical to historical attempt 1 job 136883278117, with the same assertions at chat-pane-state-snapshot.e2e.test.ts:134:70. The ratchet recovery again checked out ef4a326, with ordered parents main 3a20a7b and PR 0944828; Git merge-tree reconstruction exactly matches tree 229b497a0375. The entire chat subtree, exact test, E2E harness, test/helpers, UI library/test-helper/style trees, lockfile and UI manifest have identical objects across reproduced main 6577, actual CI base 3a20 and executed merge ef4a. This qualifies the observed cached-state signature as pre-existing, not its root cause or a repair. The older 3dbbeef / 5b27f29 comparison remains historical. The original Plugins LTR edge failure did not recur in the current attempt and remains historically unclassified, not fixed or labeled flaky; passing replays did not prove a repair.

Earlier complete local review of tree 85b7c64b through P2 found no actionable findings; it is prior-tree evidence. A fresh independent local review could not run because of reviewer setup, and the maintainer directed landing without waiting for it. The initial hosted integration findings were addressed above. The attempt 1 review and exception evidence must be refreshed against completed attempt 2; tests.result remains failed. Current protected-workflow admission, security validation and required reviews remain enforced. No fresh independent final-head clean review or completed CI admission is claimed.

Clean comparison

Before

Before: Code Mode, Tool Search and Templates remain in Labs

After

After: the graduated controls no longer appear in Labs

Annotated comparison

Measured original locations of the three Labs controls

The remaining Labs section after the controls graduate

Current-main before: f4f3651. After: captured graduation tree f39e2194 based on the same main pin (retained in commit 891a417); the later SDK annotation is runtime-neutral. Full real isolated Gateways; matched dark/en-US/1280×1300/scale1 captures; primary images are equal 800×1220 lossless crops from those frames. Synthetic provider and HTTP catalog fixtures are disclosed above. Clean originals and measured bounds are retained.

Ordinary homes

After: Code Mode, executor choice and Tool Search in Agent defaults → Tools

After: Customize → Templates is available without a saved opt-in

Contributor credit

Requested and directed by @vincentkoc, with graduation requirements and contributions from @fuller-stack-dev and @Patrick-Erichsen. Existing human commit credit is preserved.

Work sessions

Linked for team reference; these sessions aren’t public.

Worked on by

roboclaw-bot and others added 10 commits November 20, 2026 17:33
Keep structured Tool Search enabled by default and Code Mode on its existing Auto/preferred-model policy. Preserve saved activation choices, executor options, and per-agent/model precedence.

Co-authored-by: vincentkoc <[email protected]>
Exercise the visible Agents to Agent defaults Tools path with fresh browser handoffs and retain measured layout-shift proof at 400, 820, and 1280 pixels.

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: fuller-stack-dev <[email protected]>
Keep saved false as an advanced opt-out while preserving Add, draft, publication, and dependency-consent authority.

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: fuller-stack-dev <[email protected]>
Co-authored-by: Patrick-Erichsen <[email protected]>
Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: 2e614ef9-3c15-4c88-af70-3a00fdb0ec6f
Retain the named persisted worker record in projection return types instead of repeatedly expanding the complete union. Runtime behavior and public signatures remain unchanged.

Co-authored-by: vincentkoc <[email protected]>
Integrate the main revision containing all four prerequisite repairs. Regenerate the config baseline through its owner and retain measured same-frame screenshot bounds. The graduation delta over main remains scoped to its existing controls and availability.

Co-authored-by: vincentkoc <[email protected]>
Prepare the exact runtime-neutral SDK repair in the graduation build while its separate prerequisite PR completes CI. Graduation publication remains sequenced after that repair lands.

Co-authored-by: vincentkoc <[email protected]>
Retain the separately landed SDK repair and current main schema naming fix in the graduation base. Captured UI owners, styles, and template runtime are unchanged by this integration.

Co-authored-by: vincentkoc <[email protected]>

Co-authored-by: fuller-stack-dev <[email protected]>
Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: 9d710b2b-22a0-8cfd-adb0-1c08998daa2f
@clawsweeper

clawsweeper Bot commented Nov 21, 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 cli CLI command changes agents Agent runtime and tooling size: XL labels Nov 21, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review November 21, 2026 13:14
@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 21, 2026
@clawsweeper

clawsweeper Bot commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR moves Code Mode and Tool Search controls into ordinary settings and makes Templates available unless explicitly disabled.

Example: A Gateway has no gateway.controlUi.experimental.templates setting.

  • Before: Templates requires a Labs opt-in.
  • After: Customize → Templates is available without saving a default.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) Useful and demonstrated graduation, but confirmed CI failures and incomplete real-Gateway registration prevent merge.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): Inspected screenshots show the changed Labs and ordinary settings/catalog surfaces; the supplied built-Gateway results exercise live saves, model eligibility, Template opt-out reloads, and latest-stable saved-choice upgrades, with synthetic provider and registry fixtures explicitly disclosed.
Patch quality 🦪 silver shellfish (2/6) 4 actionable review findings remain.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Ordinary tool controls look experimental, and Template discovery requires an extra Labs opt-in.
Reason: Maintainer-authored direction is established, the features reuse existing owners, and explicit saved choices remain effective.

Merge readiness

⛔ Needs changes before merge - 3 items remain

Keep open: this maintainer-directed graduation remains useful, but incomplete test integration blocks merge.

Priority: P2
Reviewed head: 1cf977ee1b337099ad4cc6e398e1046131bbc2f5

Before merge

  • Keep the private-server inventory in sorted order (P2) - Move this entry after initial-connect-splash and before locale-offline-retry. assertControlUiE2eOwnership compares the sorted tracked inventory with this array directly, so inserting labs-graduation among config files deterministically fails the guard. The exact-head checks-node-compact-small-2 annotation confirms this mismatch.
  • Register the new test in the real-Gateway inventory (P2) - Add this file to uiE2eRealGatewayTestFiles in test/vitest/vitest.ui-paths.mjs. Registering only its private server leaves the built-Gateway test outside the canonical real-Gateway inventory: the prebuilt config excludes it, the ordinary lane's skip flag does not exclude it, and the ownership guard's next assertion also fails after the ordering repair.
  • Migrate the existing curated-settings browser scenario (P2) - This existing test still navigates to settings/labs, waits for Code Mode, and expects its former reset patch. Removing the Labs control makes it time out before reaching the browser and model assertions; checks-ui-e2e (6/10) confirms that exact failure. Update the scenario for Agent defaults → Tools and its save semantics while preserving the remaining browser/model coverage.

Findings

  • [P2] Keep the private-server inventory in sorted order — test/vitest/vitest.ui-e2e.config.ts:73
  • [P2] Register the new test in the real-Gateway inventory — ui/src/e2e/labs-graduation.real-gateway.e2e.test.ts:112-114
  • [P2] Migrate the existing curated-settings browser scenario — ui/src/e2e/curated-settings-defaults.e2e.test.ts:118-121

Tests

  • Low-value test ui/src/pages/labs/labs-page.test.tsx: Remove the added 'does not expose graduated tool workflows or rewrite their saved choices' group: its title-absence checks duplicate the real-Gateway graduation scenario, and the untouched patch mock adds no distinct mutation proof.
Agent review details

How this fits together

Control UI settings feed the existing configuration owner; agent runtime resolvers consume tool choices, while Gateway and CLI Template operations share availability checks and retain installation authority.

flowchart TD
  A[Control UI settings] --> B[Configuration owner]
  B --> C[Agent tool surface resolvers]
  C --> D[Model requests]
  B --> E[Template availability]
  F[Gateway and CLI requests] --> E
  E --> G[Existing catalog and guarded installer]
Loading

Technical review

Best possible solution:

Retain the existing-owner graduation and finish its E2E registration, browser-consumer migration, and documentation cutover.

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

This is an approved feature graduation; current-main source establishes the old placement, and hosted exact-head CI directly demonstrates the two observed test failures.

Is this the best way to solve the issue?

Relocating existing controls and replacing the Labs availability owner is appropriate; no additional runtime, configuration key, or installation authority is needed.

Full review comments:

  • [P2] Keep the private-server inventory in sorted order — test/vitest/vitest.ui-e2e.config.ts:73
    Move this entry after initial-connect-splash and before locale-offline-retry. assertControlUiE2eOwnership compares the sorted tracked inventory with this array directly, so inserting labs-graduation among config files deterministically fails the guard. The exact-head checks-node-compact-small-2 annotation confirms this mismatch.
    Confidence: 1
  • [P2] Register the new test in the real-Gateway inventory — ui/src/e2e/labs-graduation.real-gateway.e2e.test.ts:112-114
    Add this file to uiE2eRealGatewayTestFiles in test/vitest/vitest.ui-paths.mjs. Registering only its private server leaves the built-Gateway test outside the canonical real-Gateway inventory: the prebuilt config excludes it, the ordinary lane's skip flag does not exclude it, and the ownership guard's next assertion also fails after the ordering repair.
    Confidence: 1
  • [P2] Migrate the existing curated-settings browser scenario — ui/src/e2e/curated-settings-defaults.e2e.test.ts:118-121
    This existing test still navigates to settings/labs, waits for Code Mode, and expects its former reset patch. Removing the Labs control makes it time out before reaching the browser and model assertions; checks-ui-e2e (6/10) confirms that exact failure. Update the scenario for Agent defaults → Tools and its save semantics while preserving the remaining browser/model coverage.
    Confidence: 1
  • [P3] Remove the remaining Templates Labs prerequisite — docs/cli/templates.md:189-191
    The paragraph immediately following the changed installer link still says Templates must be enabled in Settings → Labs and that the helper does not enable Labs. That switch is removed by this PR, so readers following the setup-helper instructions are sent to an unavailable control. Describe default availability and the explicit configuration opt-out instead.
    Confidence: 1

Overall correctness: patch is incorrect
Overall confidence: 0.98

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Template availability changes intended behavior with a stated reason (d1c8d42: The Templates rename preserved experimental opt-in behavior and ordinary-agent Add contracts; earlier Claws history was also searched without attributing the original gate to the rename.)
  • Code Mode activation and executor controls keeps the original intent (d5e6038: Use Auto for absent global configuration while preserving authored activation, executor settings, and agent/model precedence.)
  • Tool Search modes keeps the original intent (ce1ca89: Retire the parallel code bridge and make enabled, mode-less Tool Search use structured calls.)
  • Settings mutation ownership keeps the original intent (754793f: Present Labs settings through Solid actions while retaining the configuration mutation owner.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test test/scripts/ci-workflow-guards.test.ts --maxWorkers=1
  • pnpm exec vitest run --config test/vitest/vitest.ui-e2e.config.ts ui/src/e2e/curated-settings-defaults.e2e.test.ts
  • pnpm exec vitest run --config test/vitest/vitest.ui-e2e-prebuilt.config.ts ui/src/e2e/labs-graduation.real-gateway.e2e.test.ts
  • git diff --check

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 754793f adds ui/src/pages/labs/labs-page.tsx:164 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 754793f7e58d; files: ui/src/pages/labs/labs-page.tsx)

PR surface

Source -34, Tests +405, Docs +13, Generated 0, Other +3. Total +387 across 64 files. Added test files: 2.

View PR surface stats
Area Files Added Removed Net
Source 29 224 258 -34
Tests 21 564 159 +405
Docs 12 127 114 +13
Config 0 0 0 0
Generated 1 2 2 0
Other 1 3 0 +3
Total 64 920 533 +387

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Root-cause cluster

Relationship: canonical
Canonical: #203096
Summary: This PR carries the graduation previously published in a closed, unmerged PR.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

  • add P2: Useful settings and discoverability improvement with focused test-integration defects and limited user-facing blast radius.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🐚 platinum hermit and patch quality is 🦪 silver shellfish.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P2: Useful settings and discoverability improvement with focused test-integration defects and limited user-facing blast radius.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🐚 platinum hermit and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 21, 2026, 8:30 AM ET / 13:30 UTC.

roboclaw-bot and others added 4 commits November 21, 2026 13:52
Register the built Gateway proof in the canonical serial tier. Keep Labs inheritance and guarded patch coverage on Speech bubbles, and exercise Code Mode executor saves through ordinary Tools settings while retaining activation, limits, base hashes and reload checks. Remove duplicate absence coverage and the now-unnecessary test-line allocation.

Co-authored-by: vincentkoc <[email protected]>
Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: 51c2b4ec-27e1-8259-ab60-6f38827bdf87
Keep the new full Gateway suite in the fixture’s serial classification. Preserve all complete-inventory, sharding, resource lease and worker-cap assertions.

Co-authored-by: vincentkoc <[email protected]>
roboclaw-bot and others added 5 commits November 21, 2026 14:22
Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: dfff4a32-0bd9-87f7-abc6-b4b18771088a
Integrate main 6577f41 only because GitHub reports a merge conflict. Regenerate the sole conflicting config-baseline hash through config:docs:gen on Node 24.22.1; preserve both sides of every source change. Focused merge-patch, native resource-ownership and private-server ownership checks pass.

Co-authored-by: vincentkoc <[email protected]>
Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: b9fd1b3f-8345-82cf-9a41-bb41f2018f8c
@roboclaw-bot
roboclaw-bot merged commit a81218e into main Nov 21, 2026
240 of 246 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/tide-shrimp-b958ef branch November 21, 2026 16:16
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 22, 2026
…#203096)

Move Code Mode and Tool Search to Agent defaults → Tools, keeping Auto eligibility, explicit model/agent choices and Node/QuickJS selection intact.

Make Templates normally available under Customize without writing a missing default into saved config. Preserve explicit opt-outs and the existing review, installation, consent and publication authority checks.

The cached archived/deleted-parent paint assertion remains a separately documented pre-existing test failure, not a claimed repair or green CI result.

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: fuller-stack-dev <[email protected]>
Co-authored-by: Patrick-Erichsen <[email protected]>
obviyus added a commit that referenced this pull request Nov 22, 2026
## What Problem This Solves

`checks-node-compact-large-13` is red on `main` (scheduled runs [44976289659](https://github.com/openclaw/openclaw/actions/runs/44976289659) and [44980759580](https://github.com/openclaw/openclaw/actions/runs/44980759580/job/137080868437)). `src/config/zod-schema.core.test.ts` "projects schema-owned field documentation into the public schema and UI hints" expects the `gateway.controlUi.experimental.templates` help to contain `default: false`.

## User Impact

No user-visible change. The config schema test matches the shipped Templates default again.

## Why This Change Was Made

#203096 (`feat: move Code Mode, Tool Search and Templates out of Labs`) deliberately made Templates available by default and changed the help in `src/config/schema.help.runtime.ts` to `(default: true)`, but left the test pin at `default: false`. The product change is intended, so the test follows it.

## Evidence

- Base (`origin/main` 7bf1c3e): `ocx test src/config/zod-schema.core.test.ts` → `1 failed | 6 passed`, received help `"Allow ClawHub discovery … (default: true) …"`.
- Head: same command → `7 passed`.

Merge danger: two-way door (test only).

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 23, 2026
…#203416)

## What Problem This Solves

`checks-node-compact-large-13` is red on `main` (scheduled runs [44976289659](https://github.com/openclaw/openclaw/actions/runs/44976289659) and [44980759580](https://github.com/openclaw/openclaw/actions/runs/44980759580/job/137080868437)). `src/config/zod-schema.core.test.ts` "projects schema-owned field documentation into the public schema and UI hints" expects the `gateway.controlUi.experimental.templates` help to contain `default: false`.

## User Impact

No user-visible change. The config schema test matches the shipped Templates default again.

## Why This Change Was Made

openclaw#203096 (`feat: move Code Mode, Tool Search and Templates out of Labs`) deliberately made Templates available by default and changed the help in `src/config/schema.help.runtime.ts` to `(default: true)`, but left the test pin at `default: false`. The product change is intended, so the test follows it.

## Evidence

- Base (`origin/main` e5aa81b): `ocx test src/config/zod-schema.core.test.ts` → `1 failed | 6 passed`, received help `"Allow ClawHub discovery … (default: true) …"`.
- Head: same command → `7 passed`.

Merge danger: two-way door (test only).

Co-authored-by: Ayaan Zaidi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui cli CLI command changes docs Improvements or additions to documentation gateway Gateway runtime P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant