Skip to content

test(agents,gateway,browser,scripts): remove low-value tests (batch d207) - #165177

Merged
steipete merged 10 commits into
mainfrom
tcr/land-d207-1791149788
Oct 5, 2026
Merged

steipete merged 10 commits into
mainfrom
tcr/land-d207-1791149788

Conversation

@steipete

@steipete steipete commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The test suite carries duplicate behavior cases, implementation-mirroring probes, and repeated fixtures across agent tools, browser, auto-reply, Gateway, and release tooling.

User Impact

No user-visible behavior or production code changes. This maintainer-requested batch removes low-value tests while retaining distinct output, security, lifecycle, and historical regression checks.

Why This Change Was Made

Replays ten already-audited campaign shards onto current main. Useful computer-tool, config-reload, and completion-capture cases move into their existing owner suites; redundant cases and retired routing entries are deleted. The mock-export baseline only shrinks by one obsolete entry.

All ten commits applied; none skipped. The initial replay conflict in test/scripts/release-plan-producer.test.ts was resolved by deleting the same source-rewriting child-SHA probe after main moved its target from scripts/release-plan-producer-core.mts to scripts/lib/release-plan-source.mts. The test's assertions were otherwise unchanged. Main's surrounding additions remain intact. A later conflict rebase preserves main's new release-candidate upgradeBaseline assertions by dropping the deletion of the canonicalization test (19 lines from the original deletion). Its new retained-v2 request/manifest regression is also preserved; only the unchanged digest-variant table is removed. The historical image-display deletion is retained after main changed its assertion from emoji plus title to title only; newer Tool Search/icon work remains intact.

Production LOC: +0/-0. Tests and test support: +1,450/-6,202, net -4,752; baseline: +0/-1. Total: 90 files, +1,450/-6,203, net -4,753. No touched path matches the current CODEOWNERS rules.

Evidence

  • Local frozen install, targeted oxfmt, git diff --check, and plain oxlint passed. Plain oxlint was rerun before the replacement push and exited 0.
  • Fresh Blacksmith Testbox focused proof on head 32c7166, base d2167f4: frozen install followed by CI=1 pnpm test with all 82 explicit files, including both stronger sibling suites. 3,732 passed, 1 existing skip, 12 Vitest groups, test wall time 1,080.94 seconds; wrapper exit 0. Lease tbx_01m44jtmv8vsjjavcqxk4jjrb4, run, stopped and confirmed completed.
  • Fresh OPENCLAW_TESTBOX=1 node scripts/check-changed.mjs -- followed by all 90 changed paths: passed, exit 0. Core/extension/root-test typechecks, dead-export scans, type-aware lint and repository guards completed. Non-failing max-lines warnings were reported in untouched files. Lease tbx_01m44ky8v2k3yskhhqpbzgnn0e, run, automatically stopped after success.
  • Fresh independent autoreview of the full rebased diff: scoped-clean at the configured P0 threshold, no accepted/actionable findings. No autoreview findings rejected.
  • The runtime build required by the selected E2E files passed. No current-head validation gaps or replay-caused failures. Delegated Testbox cleanup may make backing Actions steps appear cancelled; wrapper completion records report exit 0.
  • Before the conflict rebase, the original head also passed 3,730 focused tests and the changed gate. Historical leases tbx_01m44dvjq3k1j71dkfryc5mv7g (run) and tbx_01m44ff93hhcv7whdnxx0wzx89 (run) are stopped. The extra two passing cases on the new head include the preserved release-candidate checks.

Review follow-up: the prior-head ClawSweeper review identified no actionable correctness or security finding. Its merge-conflict item is addressed by the rebase and fresh validation. The config/data-compatibility prompts came from an incomplete pull-file inventory (unknown-truncated-pull-files); the complete 90-file Git inventory changes no config defaults, production implementation, persistent schema, or migration contract. The only config-directory change removes an obsolete test mock-export exception. Those compatibility prompts do not apply.

The figures below are the original in-shard before/after coverage measurements, not a fresh coverage run against current main. Every shard remained below the 1% covered-statement/branch loss budget. The original shards removed 235 declarations in total; the final replay retains one additional canonicalization declaration from newer main (234 removed). Distinct retained contracts prevented the campaign's aspirational 30% reduction, and no cases were folded merely to meet it.

Shard Test LOC before → after (delta) Declarations before → after (delta) In-shard coverage totals
x0006 6,819 → 6,048 (-771) 337 → 286 (-51) covered statements 4736 -> 4735 (-1); branches 3290 -> 3290 (0); functions 768 -> 767 (-1)
x0002 16,301 → 15,870 (-431) 394 → 374 (-20) covered statements 3795 -> 3795 (0); branches 3506 -> 3506 (0); functions 732 -> 732 (0)
w0015 6,890 → 6,718 (-172) 185 → 178 (-7) covered statements 3377 -> 3377 (0); branches 2093 -> 2093 (0); functions 611 -> 611 (0)
w0004 9,556 → 9,163 (-393) 246 → 234 (-12) covered statements 7829 -> 7829 (0); branches 5584 -> 5584 (0); functions 1429 -> 1429 (0)
x0003 23,471 → 23,249 (-222) 391 → 382 (-9) covered statements 4827 -> 4828 (1); branches 4210 -> 4213 (3); functions 1110 -> 1110 (0)
x0004 8,489 → 7,784 (-705) 376 → 314 (-62) covered statements 6000 -> 6000 (0); branches 5136 -> 5136 (0); functions 1002 -> 1002 (0)
x0005 14,763 → 14,295 (-468) 360 → 336 (-24) covered statements 5016 -> 5016 (0); branches 4272 -> 4272 (0); functions 906 -> 906 (0)
w0012 7,859 → 7,619 (-240) 190 → 182 (-8) covered statements 1822 -> 1822 (0); branches 1154 -> 1154 (0); functions 215 -> 215 (0)
w0014 10,971 → 9,822 (-1,149) 187 → 153 (-34) covered statements 7403 -> 7393 (-10); branches 5439 -> 5432 (-7); functions 1318 -> 1317 (-1)
w0017 14,443 → 14,227 (-216) 177 → 169 (-8) covered statements 31860 -> 31866 (6); branches 21309 -> 21294 (-15); functions 5906 -> 5908 (2)

The w0004 shard LOC excludes two additional retired-path lines removed from test/vitest-unit-fast-config.test.ts. The w0014 original changed-file check was incomplete because its Testbox was cancelled and the retry timed out queued; its 296 focused tests and coverage passed. The current batch explicitly includes the stronger active-wake sibling subagent-announce-delivery.runtime.test.ts and server-plugin-reload.recovery.test.ts in focused validation.

Files touched by shard

x0006

src/agents/tool-display-common.test.ts, src/agents/tool-display.test.ts, src/agents/tool-fs-policy.test.ts, src/agents/tool-mutation.test.ts, src/agents/tool-policy-pipeline.test.ts, src/agents/tool-policy.plugin-only-allowlist.test.ts, src/agents/tool-policy.test.ts, src/agents/tool-result-error.test.ts, src/agents/tool-schema-hints.test.ts, src/agents/tool-schema-projection.test.ts, src/agents/tool-search-ranking.test.ts, src/agents/tool-search-runtime.test.ts.

x0002

test/scripts/ensure-playwright-chromium.test.ts, test/scripts/frv.test.ts, test/scripts/full-release-artifact-contract.test.ts, test/scripts/full-release-candidate-contract.test.ts, test/scripts/full-release-candidate-reuse.test.ts, test/scripts/full-release-validation-state.test.ts, test/scripts/generate-dependency-release-evidence.test.ts, test/scripts/generate-npm-package-lock.test.ts, test/scripts/install-cli.test.ts.

w0015

extensions/browser/src/browser/chrome.default-browser.test.ts, extensions/browser/src/browser/chrome.internal.test.ts, extensions/browser/src/browser/chrome.test.ts, extensions/browser/src/browser/server-context.list-profiles.test.ts, extensions/browser/src/browser/server-context.remote-profile-tab-ops.fallback.test.ts, extensions/browser/src/browser/server-context.tab-selection-state.test.ts.

w0004

src/agents/tools/computer-tool.context.test.ts, src/agents/tools/computer-tool.gateway.test.ts, src/agents/tools/computer-tool.node-resolution.test.ts, src/agents/tools/computer-tool.schema.test.ts, src/agents/tools/computer-tool.test.ts, src/agents/tools/computer-tool.v2.test.ts, src/agents/tools/cron-tool.flat-params.test.ts, src/agents/tools/cron-tool.schema.test.ts, src/agents/tools/image-tool.test.ts, test/vitest-unit-fast-config.test.ts.

x0003

test/scripts/check-no-random-messaging-tmp.test.ts, test/scripts/check-openclaw-package-tarball.test.ts, test/scripts/check-runtime-sidecar-loaders.test.ts, test/scripts/check-session-accessor-boundary.test.ts, test/scripts/ci-changed-node-test-plan.test.ts, test/scripts/ci-node-test-plan.test.ts, test/scripts/ci-platform-checkout.test.ts, test/scripts/ci-workflow-planning.test.ts.

x0004

config/test-mock-exports-baseline.txt, src/auto-reply/command-control.test.ts, src/auto-reply/command-turn-context.test.ts, src/auto-reply/commands-registry.test.ts, src/auto-reply/envelope.test.ts, src/auto-reply/fallback-state.test.ts, src/auto-reply/heartbeat-filter.test.ts, src/auto-reply/heartbeat.test.ts, src/auto-reply/inbound.test.ts, src/auto-reply/media-note.test.ts, src/auto-reply/model.test.ts, src/auto-reply/reply.directive.parse.test.ts, src/auto-reply/reply.triggers.trigger-handling.e2e.test.ts, src/auto-reply/reply.triggers.trigger-handling.stages-inbound-media-into-sandbox-workspace.test.ts.

x0005

test/scripts/real-behavior-proof-policy.test.ts, test/scripts/release-ci-summary.test.ts, test/scripts/release-no-push-workflow.test.ts, test/scripts/release-notes-ledger.test.ts, test/scripts/release-plan-contract.test.ts, test/scripts/release-plan-producer.test.ts, test/scripts/release-preflight.test.ts, test/scripts/release-publish-gates.test.ts, test/scripts/release-scenarios-assertions.test.ts.

w0012

src/gateway/config-reload.decisions.test.ts, src/gateway/config-reload.plugin-drain.test.ts, src/gateway/config-reload.plugin-observation.test.ts, src/gateway/config-reload.portals.test.ts, src/gateway/config-reload.slack-plugin-approval.test.ts, src/gateway/config-reload.telegram-policy.test.ts, src/gateway/config-reload.test.ts, src/gateway/sessions-patch.snooze.test.ts, src/gateway/sessions-patch.test.ts, test/vitest/vitest.gateway-server-paths.mjs.

w0014

src/agents/subagents/announce/subagent-announce-delivery.test.ts, src/agents/subagents/announce/subagent-announce-private-completion.test-fixtures.ts, src/agents/subagents/announce/subagent-announce.capture-completion-reply.test.ts, src/agents/subagents/announce/subagent-announce.format.e2e.test.ts, src/agents/subagents/announce/subagent-announce.requester-settle-dispatch.test.ts, src/agents/subagents/announce/subagent-announce.requester-settle-pause.test.ts, src/agents/subagents/announce/subagent-announce.requester-settle-results.test.ts, src/agents/subagents/announce/subagent-announce.test.ts, src/agents/subagents/announce/subagent-announce.timeout.test.ts.

w0017

src/gateway/server.chat.gateway-server-chat-b.test.ts, src/gateway/server.chat.gateway-server-chat.test.ts, src/gateway/server.config-patch.test.ts.

@clawsweeper

clawsweeper Bot commented Oct 4, 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 gateway Gateway runtime agents Agent runtime and tooling extensions: browser size: XL labels Oct 4, 2026
@steipete
steipete enabled auto-merge (squash) October 4, 2026 22:56
@clawsweeper

clawsweeper Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed October 4, 2026, 8:26 PM ET / October 5, 2026, 00:26 UTC (Revision 2).

ClawSweeper review

What this changes

Removes redundant tests and consolidates retained computer-tool, configuration-reload, and subagent-completion checks into existing suites.

Merge readiness

⛔ Blocked before merge - 2 items remain

Keep open: this remains useful, maintainer-sponsored test cleanup. No actionable correctness or security finding was established, and the verified test merge resolves the previous conflict blocker.

Priority: P3
Reviewed head: 32c7166d0b5586eaf56ac37377ab166c90f692c9

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful, coherent test cleanup with retained owner checks, reported current-head validation, and no established blocking defect.
Proof confidence 🌊 off-meta tidepool Not applicable: Verified maintainer-authored test cleanup changes no production behavior, so contributor runtime proof is exempt; reported focused tests are supplemental validation. No stored-data contract changes require migration proof.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Verified maintainer-authored test cleanup changes no production behavior, so contributor runtime proof is exempt; reported focused tests are supplemental validation. No stored-data contract changes require migration proof.
Evidence reviewed 9 items Complete introduced scope: The complete merge-base-to-head inventory contains only tests, test support, test routing, and one removed mock-export allowance. No production implementation, dependency manifest, workflow, default, migration, or stored-data contract changes were identified.
Previous conflict concern resolved: The raw test-merge commit records exactly the pinned base followed by the reviewed head. Its result retains the newer release-candidate canonicalization and retained-v2 cases; the introduced deletion removes the digest-variant table rather than those newer checks.
Retained behavior checks: Computer screenshot-context checks move into the schema suite, plugin-observation checks move into the drain suite, and completion-capture checks move into the timeout suite. The stronger active-requester sibling still checks delivery-mode mismatch recovery, remaining deadline, transcript settlement, and absence of a second Gateway turn.
Findings None None.
Security None None.

How this fits together

OpenClaw's test suites exercise agent tools, browser control, reply processing, Gateway behavior, and release tooling. CI selects these suites to detect regressions before changes land.

flowchart LR
  A[Production contracts] --> C[Owner test suites]
  B[Test fixtures] --> C
  C --> D[CI test selection]
  D --> E[Test execution]
  E --> F[Regression results]
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 distinct regression checks in their existing owner suites while removing duplicate cases, mock-authored behavior, and retired test registrations.

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

Not applicable: this PR prunes and consolidates tests rather than reporting a product defect; no introduced failing behavior was established.

Is this the best way to solve the issue?

Yes: consolidating retained checks under existing suites fits the repository's test-ownership guidance, and the inspected changes do not introduce a competing production implementation.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P3: This is internal test-maintenance cleanup with no production behavior change or demonstrated urgent regression.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Verified maintainer-authored test cleanup changes no production behavior, so contributor runtime proof is exempt; reported focused tests are supplemental validation. No stored-data contract changes require migration proof.

Label justifications:

  • P3: This is internal test-maintenance cleanup with no production behavior change or demonstrated urgent regression.
  • 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: Verified maintainer-authored test cleanup changes no production behavior, so contributor runtime proof is exempt; reported focused tests are supplemental validation. No stored-data contract changes require migration proof.

Evidence

What I checked:

  • Complete introduced scope: The complete merge-base-to-head inventory contains only tests, test support, test routing, and one removed mock-export allowance. No production implementation, dependency manifest, workflow, default, migration, or stored-data contract changes were identified. (config/test-mock-exports-baseline.txt:3823, 32c7166d0b55)
  • Previous conflict concern resolved: The raw test-merge commit records exactly the pinned base followed by the reviewed head. Its result retains the newer release-candidate canonicalization and retained-v2 cases; the introduced deletion removes the digest-variant table rather than those newer checks. (test/scripts/full-release-candidate-contract.test.ts:75, 1132f62669e8)
  • Retained behavior checks: Computer screenshot-context checks move into the schema suite, plugin-observation checks move into the drain suite, and completion-capture checks move into the timeout suite. The stronger active-requester sibling still checks delivery-mode mismatch recovery, remaining deadline, transcript settlement, and absence of a second Gateway turn. (src/agents/subagents/announce/subagent-announce-delivery.runtime.test.ts:138, 32c7166d0b55)
  • Implementation-mirroring mock removed: The removed trigger-handling cases asserted error normalization and heartbeat stripping supplied by their own mocked agent runner. The patch removes those mock implementations together with the dependent cases and annotates the remaining isolation purpose. (src/auto-reply/reply.triggers.trigger-handling.e2e.test.ts:61, 32c7166d0b55)
  • Cleanup remains distinct on main: Fetched main still contains the separate computer context/v2, plugin-observation, and completion-capture files consolidated by this branch. No merged fixing PR establishing that this cleanup is already implemented was supplied or verified. (76922aba447e)
  • Validation evidence and limits: The captured PR body reports 3,732 passing tests, one existing skip, and a passing changed-file gate on the reviewed head. Linked Testbox Actions runs are completed/cancelled, consistent with the stated lease cleanup; their status alone does not independently verify the reported wrapper results. No tests were executed during this read-only review, and git diff --check passed. (32c7166d0b55)

Likely related people:

  • Peter Steinberger: Raw commit a3e4005 adds src/gateway/config-reload.plugin-drain.test.ts:3 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: a3e4005ebc5a; files: src/gateway/config-reload.plugin-drain.test.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 (1 earlier review cycle)
  • reviewed 2026-10-04T22:58:59.691Z sha 132dfd2416ae3adacb492b8677328b064fd9596d :: blocked before merge. :: none

@steipete
steipete disabled auto-merge October 4, 2026 23:01
@steipete
steipete force-pushed the tcr/land-d207-1791149788 branch from 132dfd2 to 32c7166 Compare October 5, 2026 00:20
@steipete
steipete enabled auto-merge (squash) October 5, 2026 00:22
@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
@steipete
steipete merged commit bfa308c into main Oct 5, 2026
152 checks passed
@steipete
steipete deleted the tcr/land-d207-1791149788 branch October 5, 2026 00:31
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 5, 2026
…207) (openclaw#165177)

* test(agents): deslop x0006 tests

* test(scripts): deslop x0002 tests

* test(browser): deslop w0015 tests

* test(agents): deslop w0004 tests

* test(scripts): deslop x0003 tests

* test(auto-reply): deslop x0004 tests

* test(scripts): deslop x0005 tests

* test(gateway): deslop w0012 tests

* test(subagents): deslop w0014 tests

* test(gateway): deslop w0017 tests
scribe-dandelion-cult added a commit to karmaterminal/openclaw that referenced this pull request Oct 20, 2026
…, batch 1)

Gate 2.7 MIXED-CLOBBER dispositions at the lane base (19fe879 vs
dab29d6) found fork hunks that carry older upstream code with no
continuation reason. This batch restores them; continuation behavior is
unchanged.

- subagent-spawn failure path (upstream 7555e3f, openclaw#158251): the fork's
  subagent-spawn-failure-hooks.ts was a copy of the inline subagent_ended
  block upstream replaced with spawnLifecycle.failed(), and it ran before
  termination. cleanupAcceptedSubagentSpawnFailure now takes
  resolveLifecycleHooks and resolves it after termination and context
  rollback, right before session cleanup (upstream's order); the spawn
  passes spawnLifecycle.failed. The helper also re-reads ownership after
  the termination await for the dispose/rollback choice and the attachment
  gate, as upstream does; it used a snapshot taken before termination.
  Regression: subagent-spawn-rollback.test.ts "after termination" (2 cases)
  RED on the pre-fix helper (rollback + attachment cleanup after ownership
  moved; hooks resolved before termination), GREEN now. The D-R1(a) contract
  (pending text, unscheduled throw) and its 3 cases are unchanged.
- tool-display.test.ts: back to upstream's file; the fork-only
  tool-display-truncation.test.ts duplicated its compactRawCommand block and
  kept a case upstream retired in openclaw#165177.
- sessions-spawn-cloud.ts: terminateRun is Promise<void> again (the only
  caller returns void); the widened type served a retired termination design.
- cron failure-alert / startup-run-repair / timer-execution script-wake
  tests import startHeartbeatRunner from the scheduler like upstream (they
  inject runOnce; production uses the scheduler).

Kept, with reasons (recorded in the lane's dispositions):
- capability-provider-runtime.ts "// SAFETY:" comment: restoring upstream's
  bare cast would grow the assertion-safety baseline 7 -> 8, which the
  ratchet forbids.
- subagent-spawn-collector.ts post-cleanup ownership re-check removal:
  🌊's ruling in 86057ef.

Receipts: tsgo core 0; src/agents/subagents/spawn/ (34 files) +
sessions-spawn-hooks + sessions-spawn-cloud: 36 files, 414 tests green.

Refs #1475

Co-Authored-By: Claude Opus 5.5 <[email protected]>
scribe-dandelion-cult added a commit to karmaterminal/openclaw that referenced this pull request Oct 20, 2026
…, batch 2)

Restores the remaining small Gate 2.7 drops from the lane-base review;
continuation behavior is unchanged.

Taken from upstream verbatim (the fork hunks had no continuation content):
host-tool-factory.ts (public test-contract helper; its re-entry guard can
no longer fire), codex side-question.test-support.ts,
doctor-health.migration-refusal.test.ts, board-notices.ts (no Raw alias),
channel-ingress-gateway-restart fixture (parent test owns the timeout).

Ported into fork forms:
- session-event-wake.types.ts: HeartbeatWakeRequest/HeartbeatRunResult
  instead of the aliases upstream deleted in openclaw#167666; upstream's
  base-tick comment back above the slot-group loop.
- session-delivery-queue-codec.ts: SessionDeliveryContext =
  Pick<DeliveryContext, ...> (openclaw#165916); recovery imports split as upstream.
- subagent-announce.format nested-matrix helper: upstream's consolidated
  block (openclaw#166052) verbatim; the fork copy still ran 4 tests upstream
  retired in openclaw#165177.
- runAgentAttempt is synchronous again (its only caller awaits it), with
  upstream's sync-throw assertion.
- prepared-compaction-runtime: upstream's bootstrap-disclosure comment;
  dropped tool options duplicated from the conversationContext spread
  (senderIsOwner and disableContinuationTools stay).
- agent-runner-result-accounting.test: one provenance it.each at module
  scope, stale visibleToolErrorObserved (openclaw#126542) dropped.
- small: subagent-registry arrow form, STALE_UNENDED_SUBAGENT_RUN_MS not
  exported, dead loadConfig mock keys, upstream comments/imports in
  agent.ts schema, media-only/session/timeout/followup-status/storage tests.

Refs #1475

Co-Authored-By: Claude Opus 5.5 <[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 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. 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