Skip to content

test(core,plugins,ui): remove low-value tests (batch d211) - #165505

Merged
steipete merged 13 commits into
mainfrom
tcr/land-d211-1791190102
Oct 5, 2026
Merged

steipete merged 13 commits into
mainfrom
tcr/land-d211-1791190102

Conversation

@steipete

@steipete steipete commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The test suite has duplicate behavioral variants, implementation-mirroring checks, and split suites whose useful assertions are already exercised by stronger owner tests. This batch removes those low-value cases and unused test helpers while retaining distinct security, authority, lifecycle, ordering, and regression coverage.

User Impact

No production runtime behavior changes. The changes are limited to tests, test-only support, and shrink-only maintenance of test inventories and the mock-export baseline. The smaller suite is easier to maintain; no CI runtime improvement is claimed from historical single-run timings.

Actual replay diff: production runtime +0/−0; tests +6,268/−15,173; test support +200/−516; test inventories/configuration +0/−12. Total +6,468/−15,701, a net reduction of 9,233 lines across 115 files.

Why This Change Was Made

The original reductions used per-case evidence, source and history review, and aggregate covered-statement/branch comparisons. Coverage-redundant cases were retained when they protected a distinct authority boundary, race, or documented regression. Useful cases consolidated into sibling files keep their original test-project ownership. The historical declaration-reduction target was met only by w0047; the other shards stopped at the meaningful retention boundary.

The replay preserves current main behavior:

  • Daemon CLI keeps main's new LaunchAgent migration cases. The duplicate standalone native-policy case and targeted-RPC table are removed as intended; main's change to the latter was only its timeout.
  • Windows schtasks.install.test.ts is kept entirely because main rewrote its unattended-boot behavior. schtasks.test.ts keeps main's new parser cases. Settlement tests retain main's new registration and Node replacement races, with imports merged accordingly.
  • The mock-export baseline is recomputed from the resulting tree, with shrink-only changes.

No changed path matches the current CODEOWNERS file.

Evidence

Replay base 0fcf666b5008683775c9a2d7b51628d1cdd0f2fc, head 82588349fa92f8729eb31a07d144f2bb897f6d29. All ten source commits applied; no entire commit was skipped. The main-specific adaptations above and review restorations narrow the original deletions.

  • pnpm install --frozen-lockfile --prefer-offline: passed.
  • Changed-file oxfmt --check, plain oxlint -c .oxlintrc.json, and git diff --check: passed (exit 0). The mock-export baseline was recomputed with the repository prune tool.
  • Full-diff independent review completed; 11 accepted concerns were restored and 10 rejected against surviving proof. The restoration-only review completed with one rejected cleanup finding explained below. No actionable finding remains.
  • Fresh remote validation gap: the focused 77-file CI=1 pnpm test <files> attempt on Blacksmith Testbox tbx_01m45n007200fyy6bmkdkw9xtp never obtained a runner and was stopped. No tests executed and no test verdict is claimed. An AWS fallback was canceled before execution for the review restorations; its canceled lease creation is absent from the coordinator.
  • OPENCLAW_TESTBOX=1 node scripts/check-changed.mjs -- <changed paths> was launched for the restored tree on Blacksmith Testbox tbx_01m45rcq73zgy3ehqnjedkyb2n, which remained queued and was stopped without executing checks. The first hosted CI run found two replay fixture errors: an unavailable Telegram mock binding and VBS-only content supplied to a retained CMD case. Both are repaired in this head using the existing mock getter and original per-kind launcher fixture. Plain lint and a fresh independent review of both repairs pass; the targeted Testbox rerun is awaiting source preparation. Hosted exact-head CI is the merge gate under the campaign infrastructure-gap rule. The previous per-shard test and coverage evidence is listed separately below.

The following are historical in-shard measurements, not proof for this replay onto current main. Counts can differ from the final PR because main added or rewrote tests and the replay preserves those changes. Historical test LOC excludes separately reported helper/inventory changes. Covered-unit totals are recorded exactly as the shard comparison produced them; different shards overlap and must not be summed into a repository coverage claim.

Historical caveats: w0046 passed all 198 remaining case bodies and its coverage comparison before the final filename-only consolidation. The final filename-layout rerun lost its lease with exit 255 and its retry remained queued; the final-layout coverage refresh and changed checks were not completed in that shard. w0054's initial report says coverage was pending, but its later completion log closes that gap: all four coverage groups passed, with 2,513 covered statements unchanged and branches decreasing from 1,828 to 1,824. Other historical check gaps or unrelated baseline failures are not substitutes for fresh replay validation. Windows native identity admission was not established by the historical Linux proof.

Historical shard measurements and files touched by this replay
Shard Test LOC before → after (delta) Declarations before → after (delta)
w0047 (Gateway) 5,324 → 4,122 (-1,202) 145 → 98 (-47)
w0051 (Daemon CLI) 6,271 → 4,874 (-1,397) 147 → 107 (-40)
w0046 (Telegram) 10,421 → 9,842 (-579) 146 → 138 (-8)
w0044 (Subagents) 11,562 → 10,349 (-1,213) 147 → 122 (-25)
w0054 (Onboarding and Doctor) 5,801 → 4,758 (-1,043) 142 → 106 (-36)
w0055 (Infrastructure) 5,772 → 4,997 (-775) 141 → 113 (-28)
w0059 (Slack) 7,407 → 6,596 (-811) 140 → 123 (-17)
w0056 (Browser) 6,490 → 5,603 (-887) 141 → 112 (-29)
w0048 (Windows daemon) 7,324 → 6,670 (-654) 145 → 124 (-21)
w0057 (Control UI) 5,457 → 4,869 (-588) 141 → 120 (-21)

For w0048, the original supplied counter misses the taskTest alias; its supplemental alias-aware declaration count is 166 → 143 (−23). Historical exclusive helper reductions include another 613 lines for w0047, 10 for w0051, 160 for w0044, and 142 for w0054. The actual replay split above is authoritative for this PR.

w0047: Gateway

Removes hook pass-through and template variants, approval persistence/query/clock replays, mention duplicates, and HTTP wrapper cases. Retains security and lifecycle exceptions; the older-reader interoperability case and its frozen helper are retained after review.

covered statements 2336 -> 2336 (0); branches 1415 -> 1415 (0); functions 416 -> 416 (0)

Touched files, including deleted files:

  • src/gateway/hooks-mapping.execution-identity.test.ts
  • src/gateway/hooks-mapping.fanout.test.ts
  • src/gateway/hooks-mapping.test.ts
  • src/gateway/http-utils.model-override.test.ts
  • src/gateway/http-utils.request-context.test.ts
  • src/gateway/mention-inbox.compat.test.ts
  • src/gateway/mention-inbox.test.ts
  • src/gateway/operator-approval-store.execution-identity.test.ts
  • src/gateway/operator-approval-store.test.ts
  • src/gateway/operator-approval-store.worker.test.ts

w0051: Daemon CLI

Removes duplicate config/core/output, lifecycle wrapper, and install variants. Surviving output cases move into the core suite; authority, race, and regression cases remain.

covered statements 1126 -> 1126 (0); branches 903 -> 899 (-4); functions 157 -> 157 (0)

Touched files, including deleted files:

  • src/cli/daemon-cli/install.definition-repair.test.ts
  • src/cli/daemon-cli/install.integration.test.ts
  • src/cli/daemon-cli/install.test.ts
  • src/cli/daemon-cli/install.wrapper.integration.test.ts
  • src/cli/daemon-cli/lifecycle-core.config-guard.test.ts
  • src/cli/daemon-cli/lifecycle-core.output.test.ts
  • src/cli/daemon-cli/lifecycle-core.test.ts
  • src/cli/daemon-cli/lifecycle.test.ts
  • src/cli/daemon-cli/test-helpers/lifecycle-core-harness.ts

w0046: Telegram

Removes duplicate eligibility, authorization, media, callback, and prompt-context variants. Surviving downloads cases move into stickers and warning-topic suites. The one lost statement/function is a deleted test-only getter.

covered statements 7410 -> 7409 (-1); branches 5746 -> 5746 (0); functions 1407 -> 1406 (-1)

Touched files, including deleted files:

  • extensions/telegram/src/bot.create-telegram-bot.channel-post-media.test.ts
  • extensions/telegram/src/bot.create-telegram-bot.history.test.ts
  • extensions/telegram/src/bot.create-telegram-bot.join-intro.test.ts
  • extensions/telegram/src/bot.create-telegram-bot.native-pipeline.test.ts
  • extensions/telegram/src/bot.create-telegram-bot.test-harness.ts
  • extensions/telegram/src/bot.create-telegram-bot.test.ts
  • extensions/telegram/src/bot.media.downloads-media-file-path-no-file-download.e2e.test.ts
  • extensions/telegram/src/bot.media.downloads-media-file-path-no-file-download.test.ts
  • extensions/telegram/src/bot.media.stickers-and-fragments.test.ts
  • extensions/telegram/src/bot.media.warning-topics.e2e.test.ts
  • extensions/telegram/src/bot.test.ts

w0044: Subagents

Removes duplicate lifecycle, status, query, archive, and persistence cases plus unused exclusive fixture branches. Retains authority and restart/adoption races; stronger query, topology, native completion, and replacement rollback owner tests remain.

covered statements 12257 -> 12207 (-50); branches 8788 -> 8722 (-66); functions 2152 -> 2142 (-10)

Touched files, including deleted files:

  • src/agents/subagents/registry/subagent-registry-yield-followup-adoption.test-support.ts
  • src/agents/subagents/registry/subagent-registry.archive.e2e.test.ts
  • src/agents/subagents/registry/subagent-registry.completion-authority.test.ts
  • src/agents/subagents/registry/subagent-registry.lifecycle-retry-grace.e2e.test.ts
  • src/agents/subagents/registry/subagent-registry.lifecycle-waits.test.ts
  • src/agents/subagents/registry/subagent-registry.native-settlement.test-support.ts
  • src/agents/subagents/registry/subagent-registry.nested.e2e.test.ts
  • src/agents/subagents/registry/subagent-registry.persistence.resume.test.ts
  • src/agents/subagents/registry/subagent-registry.persistence.retention.test-support.ts
  • src/agents/subagents/registry/subagent-registry.persistence.test.ts
  • src/agents/subagents/registry/subagent-registry.restored-settlement.test-support.ts
  • src/agents/subagents/registry/subagent-registry.session-failure.test.ts
  • src/agents/subagents/registry/subagent-registry.steer-restart.test.ts
  • src/agents/subagents/registry/subagent-registry.store-replaced.test.ts
  • src/agents/subagents/registry/subagent-registry.test.ts

w0054: Onboarding and Doctor

Removes duplicate onboarding, Doctor, and helper cases and exclusive test support. Surviving utility and remote-probe cases move to their owner suites; authority, ordering, and regression cases remain.

covered statements 2513 -> 2513 (0); branches 1828 -> 1824 (-4); functions 437 -> 437 (0)

Touched files, including deleted files:

  • src/commands/doctor-gateway-service-defaults.test-support.ts
  • src/commands/doctor-gateway-services.assertions.test-support.ts
  • src/commands/doctor-gateway-services.authority.test.ts
  • src/commands/doctor-gateway-services.test.ts
  • src/commands/doctor-gateway-services.tokens.test-support.ts
  • src/commands/doctor-gateway-services.writer-order.test.ts
  • src/commands/onboard-guided.custodian.test.ts
  • src/commands/onboard-guided.quickstart.test.ts
  • src/commands/onboard-guided.utility.test.ts
  • src/commands/onboard-helpers.remote-probe.test.ts
  • src/commands/onboard-helpers.test.ts

w0055: Infrastructure

Removes duplicate diagnostic, heartbeat, SQLite, and canary cases and consolidates split suites. Retains privacy, mutation isolation, drain barriers, target authority, publication ordering, retry interleavings, and the real built canary boundary.

covered statements 6856 -> 6856 (0); branches 3991 -> 3991 (0); functions 1316 -> 1316 (0)

Touched files, including deleted files:

  • src/infra/diagnostic-events.event-loop.test.ts
  • src/infra/diagnostic-events.phase.test.ts
  • src/infra/diagnostic-events.plugin-usage.test.ts
  • src/infra/diagnostic-events.private-data.test.ts
  • src/infra/diagnostic-events.test.ts
  • src/infra/heartbeat-wake.preemption.test.ts
  • src/infra/heartbeat-wake.settlement.test.ts
  • src/infra/heartbeat-wake.test.ts
  • src/infra/sqlite-snapshot.file-id.test.ts
  • src/infra/sqlite-snapshot.fuse.test.ts
  • src/infra/sqlite-snapshot.test.ts
  • src/infra/update-candidate-canary.test.ts

w0059: Slack

Removes preparation, admission, threading, dispatch, status, and link variants. Retains authority races, workspace isolation, and lost-acknowledgment regressions.

covered statements 4238 -> 4238 (0); branches 3729 -> 3728 (-1); functions 739 -> 739 (0)

Touched files, including deleted files:

  • extensions/slack/src/monitor/message-handler/dispatch.preview-fallback.test.ts
  • extensions/slack/src/monitor/message-handler/dispatch.status-diagnostics.test.ts
  • extensions/slack/src/monitor/message-handler/dispatch.visible-work-links.test.ts
  • extensions/slack/src/monitor/message-handler/prepare.bot-messages.test.ts
  • extensions/slack/src/monitor/message-handler/prepare.bot-threads.test.ts
  • extensions/slack/src/monitor/message-handler/prepare.conversation-link.test.ts
  • extensions/slack/src/monitor/message-handler/prepare.rejection-records.test.ts
  • extensions/slack/src/monitor/message-handler/prepare.test.ts
  • extensions/slack/src/monitor/message-handler/prepare.thread-session-key.test.ts

w0056: Browser

Removes Chrome variants/replays and registry duplicates; consolidates snapshot identity, concurrency, and lifecycle retry suites. Retains recycled-process identity authority, uncertain mutation outcomes, late replacement races, scope isolation, retries, and LRU behavior.

covered statements 1991 -> 1991 (0); branches 1330 -> 1325 (-5); functions 419 -> 419 (0)

Touched files, including deleted files:

  • extensions/browser/src/browser/chrome-mcp.cleanup.test.ts
  • extensions/browser/src/browser/chrome-mcp.ownership.test.ts
  • extensions/browser/src/browser/chrome-mcp.snapshot-identity.test.ts
  • extensions/browser/src/browser/chrome-mcp.test.ts
  • extensions/browser/src/browser/session-tab-registry.concurrent.test.ts
  • extensions/browser/src/browser/session-tab-registry.extension-cleanup.test.ts
  • extensions/browser/src/browser/session-tab-registry.lifecycle-retry.test.ts
  • extensions/browser/src/browser/session-tab-registry.membership.test.ts
  • extensions/browser/src/browser/session-tab-registry.sqlite.test.ts
  • extensions/browser/src/browser/session-tab-registry.test.ts

w0048: Windows daemon

Removes lifecycle/status/native-error replays, parser/launcher/install variants, helper-input cases, and a source-grep workflow guard. Retains independent authority checks, stale process identity, cleanup interleavings, CJK/UTF-16 assertions, and non-detached spawn proof.

covered statements 2210 -> 2210 (0); branches 1811 -> 1810 (-1); functions 367 -> 367 (0)

Touched files, including deleted files:

  • src/daemon/schtasks.installed-fingerprint-observer.test.ts
  • src/daemon/schtasks.installed-package.test.ts
  • src/daemon/schtasks.redirect-stop.test.ts
  • src/daemon/schtasks.settlement.test.ts
  • src/daemon/schtasks.shutdown.test.ts
  • src/daemon/schtasks.start.test.ts
  • src/daemon/schtasks.startup-fallback.test.ts
  • src/daemon/schtasks.startup-launch.test.ts
  • src/daemon/schtasks.stop.test.ts
  • src/daemon/schtasks.test.ts
  • src/daemon/schtasks.update-autostart.test.ts

w0057: Control UI

Removes redundant startup, credentials, scope, and preference variants and consolidates split suites. Retains principal-change, reentrant observer and late-response races, read-only profile write boundaries, and documented regressions.

covered statements 8525 -> 8535 (10); branches 4333 -> 4340 (7); functions 1321 -> 1324 (3)

Touched files, including deleted files:

  • ui/src/app/bootstrap.agent-selection.test.ts
  • ui/src/app/bootstrap.gateway-credentials.test.ts
  • ui/src/app/bootstrap.nav-visibility.test.ts
  • ui/src/app/bootstrap.snapshot-prewarm.test.ts
  • ui/src/app/bootstrap.test.ts
  • ui/src/app/bootstrap.warm-boot.test.ts
  • ui/src/app/gateway-store.auth.test.ts
  • ui/src/app/gateway-store.boot-record.test.ts
  • ui/src/app/gateway-store.canvas-surface.test.ts
  • ui/src/app/gateway-store.observers.test.ts
  • ui/src/app/gateway-store.plugins.test.ts
  • ui/src/app/server-prefs.profile-write.test.ts
  • ui/src/app/server-prefs.profile.test.ts
  • ui/src/app/server-prefs.test.ts

Shared test maintenance

  • config/test-mock-exports-baseline.txt — w0051, w0044, w0054, and w0048; stale entries recomputed shrink-only after replay.
  • scripts/lib/ci-proof-test-inventory.mts — w0051, w0046, and w0054; deleted split-file inventory entries.
  • test/vitest/vitest.extension-database-workers-paths.mjs — w0046 and w0056; deleted split-file routing entries.
Independent review disposition

Eleven coverage concerns were accepted and restored: Telegram unpaired model callbacks, Chrome profile-directory isolation, identity-less HTTP role admission variants, installed-source allowlist edits, approval-store older-reader interoperability, exact Gateway credential URL paths/queries, post-hello rejected-admission retirement, remote stale-build reload suppression, unresolved-profile disconnect cancellation, the theme-reset read race, and reload-required precedence.

Ten concerns were rejected after checking the surviving proof and owning implementation:

  • Slack root-lookup variants all exercise the same whole-config snapshot fence; the retained mention-policy race checks no reaction, system event, or dispatch.
  • Telegram's retained pairing-store failure runs the real handler, throws the spooled replay error, and leaves the update offset unchanged.
  • Nested descendant counts remain covered by registry query/read-context suites; the announcement-delivery worker tests retain parent cleanup waiting for child settlement.
  • install-environment.test.ts still checks CA preservation and removal of TLS bypass and loader variables on all three platforms.
  • prototype-keys.test.ts checks all three forbidden keys; hook traversal calls that shared predicate and retains a boundary test.
  • Mention Inbox retains the foreign-dismissal snapshot race, queued-input FIFO, restart persistence, consumed-input, and profile-merge cases.
  • Heartbeat retry coverage asserts three merged task prompts survive and clears the completed batch before a fourth arrives.
  • The consolidated boot-record owner matrix queues a pending write, changes credentials, and flushes pagehide while preserving a peer owner.
  • bootstrap.warm-document.test.ts retains terminal, approval, and question entry points with zero boot-record reads/publications/retirements.
  • The development-target auth test accepts an active token-mode hello and verifies persisted credentials before rejecting a different target.

The restoration-only review raised one cleanup concern and it was rejected: the existing later-registered afterEach awaits the state-database close before the earlier temporary-directory cleanup. The installed Vitest runner defaults to sequence.hooks = "stack" and reverses afterEach hooks. No accepted/actionable review finding remains.

@clawsweeper

clawsweeper Bot commented Oct 5, 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 channel: slack Channel integration: slack channel: telegram Channel integration: telegram app: web-ui App: web-ui gateway Gateway runtime cli CLI command changes scripts Repository scripts commands Command implementations agents Agent runtime and tooling extensions: browser size: XL labels Oct 5, 2026
@steipete
steipete enabled auto-merge (squash) October 5, 2026 10:08
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. 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 Oct 5, 2026
@clawsweeper

clawsweeper Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed October 5, 2026, 6:33 AM ET / 10:33 UTC (Revision 2).

ClawSweeper review

What this changes

The branch removes redundant tests and unused fixtures across core, plugins, and Control UI, consolidates retained cases, and shrinks test inventories.

Merge readiness

⛔ Blocked before merge - 2 items remain

This remains useful test maintenance that current main has not absorbed. No concrete introduced defect was found in the reviewed hunks, and the sampled security and lifecycle contracts retain stronger coverage.

Priority: P3
Reviewed head: 82588349fa92f8729eb31a07d144f2bb897f6d29

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful test maintenance with coherent sampled consolidations, repaired replay fixtures, and no supported correctness finding; CI remains the normal merge gate.
Proof confidence 🌊 off-meta tidepool Not applicable: Repository State identifies maintainer-authored test maintenance with no changed production owner or user-visible behavior, so contributor runtime proof does not apply. Historical shard results remain supplemental to CI on this head; no stored-data contract changes require upgrade proof.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Repository State identifies maintainer-authored test maintenance with no changed production owner or user-visible behavior, so contributor runtime proof does not apply. Historical shard results remain supplemental to CI on this head; no stored-data contract changes require upgrade proof.
Evidence reviewed 8 items Pinned introduction and scope: The merge-base-to-head path list and numstat show test files, test-only support, and three inventory/baseline files; no production runtime implementation changes were identified. Endpoint drift and the stale test merge were not used as introduction evidence.
Complete discussion evidence: The complete PR body was read through GitHub’s API. Its 19,723 UTF-16 units and SHA-256 aca39b4c317fda882ae4eb8c630857adee01bf2149d18477cb443450c7165108 match the supplied snapshot, including review dispositions omitted from the prompt. It explicitly distinguishes historical coverage measurements from unexecuted replay validation.
Stronger completion-authority keeper: The retained Gateway test admits predecessor and successor runs through the real dispatch owner, independently revokes either source before requester input writes, checks exact source identity, durable delivery receipts, and replay deduplication. This provides stronger coverage than the deleted registry-only completion-authority variants.
Findings None None.
Security None None.

How this fits together

OpenClaw’s test suites exercise runtime contracts through shared fixtures and owner-focused scenarios. Test inventories assign those files to Vitest projects whose results feed the CI merge gate.

flowchart LR
  A[Test files] --> B[Shared fixtures]
  A --> C[Test project routing]
  B --> D[Vitest execution]
  C --> D
  D --> E[Behavior assertions]
  E --> F[CI merge gate]
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

None.

Stored data model

Persistent data-model change detected: unknown-truncated-pull-files. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Keep one strong owner-boundary suite per contract, consolidate duplicate fixtures, and preserve distinct security, migration, race, and regression coverage.

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

Not applicable: this PR reduces and consolidates tests rather than repairing a reported production bug; no tests were executed during this read-only review.

Is this the best way to solve the issue?

Yes: the sampled consolidations preserve stronger owner-boundary assertions and remove obsolete inventory entries without adding competing runtime implementations.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This is test maintenance with no introduced production runtime behavior, configuration, or stored-data change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Repository State identifies maintainer-authored test maintenance with no changed production owner or user-visible behavior, so contributor runtime proof does not apply. Historical shard results remain supplemental to CI on this head; no stored-data contract changes require upgrade proof.

Evidence

What I checked:

  • Pinned introduction and scope: The merge-base-to-head path list and numstat show test files, test-only support, and three inventory/baseline files; no production runtime implementation changes were identified. Endpoint drift and the stale test merge were not used as introduction evidence. (82588349fa92)
  • Complete discussion evidence: The complete PR body was read through GitHub’s API. Its 19,723 UTF-16 units and SHA-256 aca39b4c317fda882ae4eb8c630857adee01bf2149d18477cb443450c7165108 match the supplied snapshot, including review dispositions omitted from the prompt. It explicitly distinguishes historical coverage measurements from unexecuted replay validation. (82588349fa92)
  • Stronger completion-authority keeper: The retained Gateway test admits predecessor and successor runs through the real dispatch owner, independently revokes either source before requester input writes, checks exact source identity, durable delivery receipts, and replay deduplication. This provides stronger coverage than the deleted registry-only completion-authority variants. (src/gateway/server.native-completion-authority.test.ts:187, 82588349fa92)
  • Browser lifecycle consolidation: The surviving membership suite retains replacement-during-cleanup races, failed initial reads, caller-generation changes, durable retry state, and recovery after close succeeds but deletion fails. Its destination remains in the database-worker test routing. (extensions/browser/src/browser/session-tab-registry.membership.test.ts:307, 82588349fa92)
  • Latest fixture repairs: The latest commit replaces the unavailable Telegram mock binding with the existing getter and supplies CMD or VBS content according to the retained Windows launcher scenario. The getter and repaired per-kind fixture were inspected; these repairs do not change production behavior. (src/daemon/schtasks.test.ts:154, 82588349fa92)
  • Current-main necessity: Pinned current main still contains representative split suites retired by this branch: Telegram media downloads, daemon lifecycle output, onboarding remote probes, and profile preference writes. The PR remains unmerged; no verified merged replacement was established. (src/cli/daemon-cli/lifecycle-core.output.test.ts, 583abe2eba27)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

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 (1 earlier review cycle)
  • reviewed 2026-10-05T10:12:55.142Z sha 21b7118 :: blocked before merge. :: none

@steipete
steipete disabled auto-merge October 5, 2026 10:17
@steipete
steipete enabled auto-merge (squash) October 5, 2026 10:26
@steipete
steipete merged commit 5b618f2 into main Oct 5, 2026
153 of 154 checks passed
@steipete
steipete deleted the tcr/land-d211-1791190102 branch October 5, 2026 10:35
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 6, 2026
…165505)

* test(gateway): deslop w0047 tests

* test(daemon-cli): deslop w0051 tests

* test(telegram): deslop w0046 tests

* test(subagents): deslop w0044 tests

* test(config): deslop w0054 tests

* test(infra): deslop w0055 tests

* test(slack): deslop w0059 tests

* test(browser): deslop w0056 tests

* test(daemon): deslop w0048 tests

* test(ui): deslop w0057 tests

* test: refresh mock export baseline after replay

* test: retain distinct security and lifecycle coverage

* test: repair restored pairing and launcher fixtures
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 channel: slack Channel integration: slack channel: telegram Channel integration: telegram cli CLI command changes commands Command implementations extensions: browser gateway Gateway runtime P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary 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