Skip to content

test(agents,integration,gateway): remove low-value tests (batch d243) - #175902

Merged
steipete merged 33 commits into
mainfrom
tcr/land-d243-1792277050
Oct 18, 2026
Merged

steipete merged 33 commits into
mainfrom
tcr/land-d243-1792277050

Conversation

@steipete

@steipete steipete commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Consolidates repeated test fixtures and assertion scaffolding across 13 campaign shards (batch d243).

User Impact

No intended user-visible or production behavior change. Distinct authorization, lifecycle, persistence, routing, and transport scenarios are retained.

Why This Change Was Made

Replays 30 campaign commits onto pinned main 00adf856e25545861a26b106ee3ddad6cdbcdbfa. Repeated setup moves to focused test helpers and duplicate assertion plumbing is reduced. The source reports retain all declared scenarios; the reduction targets were not forced at the expense of distinct behavioral coverage.

All 30 commits applied; none skipped as a whole. Conflict resolution: kept current-main CLI output-record tests intact; retained the already-replayed CLI session file when later cleanup commits conflicted with newer reseed coverage. Retained current-main requester-origin, system-prompt-params and thinking-runtime files when cleanup conflicted with newer routing, prompt-safety and runtime tests. Dropped the dependent requester-origin import cleanup and conflicting tool-call-id follow-up consolidation. Kept current conversation-turn-capture, channel-alias-migration, heartbeat-wake, and the already-replayed commands/agent-session-compaction files when later cleanup conflicted with new main coverage. Preserved both TTS imports; kept both owner-contention cases and write-failure cleanup in file-lock (renamed two shadowed local paths); retained existing filesystem predicate assertions in fs-safe-compat. All other cleanly applying changes retained. No production seam removed. One additional commit formats combined TTS imports. CI repair restores the pinned-main versions of plugin-node-host.abort, memory-core-host-engine-sessions, server.sessions.create.forks, telegram-reply-conversation, agent-session-compaction and agent-session-compaction-headroom; their cleanup is dropped. Other CI repairs retain the readiness wait before reading the node-host promise, preserve absent-property assertions in cron persistence, give a callback no return value, retain tuple/literal types, remove redundant default type arguments, and explain changed host-isolating module mocks.

Evidence

  • CI-only validation: changed-file oxfmt, plain oxlint, and git diff --check pass. No local Vitest, typecheck, check-changed, or Testbox runs. Hosted CI is the runtime/typecheck proof and merge gate.
  • In-shard coverage totals: unavailable for every shard; the supplied reports explicitly state coverage was not run under CI-only instructions. No measured coverage-preservation claim.
  • Production LOC: +0/-0; test LOC: +10253/-16008; test-support LOC: +773/-619.
  • CODEOWNERS: no changed path matches the current protected-path entries.
  • Initial CI run 39077217862 exposed batch regressions in mock isolation metadata, types, and fixture/assertion behavior; repaired from its exact job logs without local tests. The initial review was interrupted for CI repair. A completed three-pass full review produced seven findings: six accepted and resolved, one rejected because the claimed missing non-mutation assertion already exists in the shared helper. A fresh correction review is scoped-clean with no actionable P0-P2 findings.
Per-shard replay inventory and source reports

x7925

Replayed LOC: +812/-1141. Static direct declaration count in changed files: 48 → 40 (not an expanded-case/runtime count).

  • src/agents/cli-output-stream.test.ts: +341/-494
  • src/agents/cli-session-store.test.ts: +410/-488
  • src/agents/cli-session.test.ts: +61/-159

Source shard report (coverage not run):

x7925 committed as ad5cd1734c8331483f011930b18cf432529a5b65. Worktree clean; no push.

File Lines before → after Declarations / expanded cases
cli-output-records.test.ts 323 → 257 9 / 12 unchanged
cli-output-stream.test.ts 611 → 552 15 / 43 unchanged
cli-runner.test-helpers.ts 580 → 580 0 / 0
cli-session.test.ts 386 → 288 13 / 13 unchanged
cli-session-store.test.ts 529 → 517 6 / 25 unchanged
Total 2,429 → 2,194 (−9.7%) 43 / 93 unchanged

Consolidated repeated backend defaults, fingerprints, stream-frame setup, store targets, and assertions. No cases deleted or folded; distinct behavior and authority/lifecycle checks remain. No production changes. The shared runner helper remains unchanged.

Oxlint exited 0; formatting and git diff --check passed. Tests, coverage, and check-changed were not run, per CI-only instructions.

The 25% per-file target was met only by cli-session.test.ts. Coordinator review must assess the smaller reductions elsewhere; this is not a target-complete shard.

x7937

Replayed LOC: +1327/-1876. Static direct declaration count in changed files: 23 → 22 (not an expanded-case/runtime count).

  • test/telegram-http.test-support.ts: +44/-0
  • test/telegram-outbound-permanent-rejection-loopback.test.ts: +106/-234
  • test/telegram-recovery-notice-send.test.ts: +314/-413
  • test/test-env.test.ts: +141/-251
  • test/transcripts-discord-audio.integration.test.ts: +242/-272
  • test/transcripts-tool.discord-lifecycle.integration.test.ts: +230/-281
  • test/transcripts-tool.discord-provider.integration.test.ts: +72/-162
  • test/twitch-message-tool-delivery.test.ts: +178/-263

Source shard report (coverage not run):

Committed shard x7937 as cefa7dd8a80. Working tree is clean; nothing pushed.

Test LOC: 3,143 → 2,655, down 488 lines (15.5%).

File Before → after
telegram-outbound-permanent-rejection-loopback 408 → 304
telegram-recovery-notice-send 463 → 436
telegram-reply-conversation 335 → 254
test-env 717 → 623
transcripts-discord-audio 296 → 289
transcripts-tool.discord-lifecycle 307 → 279
transcripts-tool.discord-provider 280 → 203
twitch-message-tool-delivery 337 → 267

All 27 declarations and 83 actual expanded cases remain. The counter reports 78 because it undercounts the audio flatMap. Consolidated fixtures, setup, and repeated assertions; removed unasserted diagnostic output. No production or support files changed.

Plain oxlint exited 0; formatting and diff-check passed. Tests and coverage were not run, per CI-only instructions.

The 25%-per-file target was met in two files. The other six retain distinct security, lifecycle, ordering, and transport checks rather than sacrificing behavior for the metric. Hosted CI remains the runtime gate.

x7936

Replayed LOC: +1235/-1708. Static direct declaration count in changed files: 40 → 35 (not an expanded-case/runtime count).

  • src/gateway/server-methods.authorization.test-support.ts: +98/-0
  • src/gateway/server-methods.authorization.test.ts: +110/-225
  • src/gateway/server-methods.canonical-validation.test.ts: +65/-89
  • src/gateway/server-methods.dispatch-authorization.test.ts: +47/-100
  • src/gateway/server-methods.session-narrow-mutations.test.ts: +322/-396
  • src/gateway/server-methods.session-patch-orchestration.test.ts: +201/-385
  • src/gateway/server-methods.session-turn-authority.test.ts: +183/-225
  • src/gateway/server-methods.suspension-handoff.test-support.ts: +132/-187
  • src/gateway/server-methods.users-merge.test.ts: +77/-101

Source shard report (coverage not run):

Committed shard x7936 as 48897557e59. Clean worktree; not pushed.

Total LOC: 3,152 → 2,970, down 182 (5.8%). Declarations 40 → 40; statically counted expanded cases 64 → 64. No cases deleted or folded.

File suffix (server-methods.*) LOC before → after
session-narrow-mutations.test.ts 636 → 636
session-patch-orchestration.test.ts 549 → 411
authorization.test.ts 452 → 435
suspension-handoff.test-support.ts 386 → 359
users-merge.test.ts 352 → 352
canonical-validation.test.ts 318 → 318
session-turn-authority.test.ts 252 → 252
dispatch-authorization.test.ts 207 → 207

Consolidated alias-race setup/assertions, session-entry fixtures, authorization client/context builders, and suspension response assertions. Both single/batch alias-race tests retain their original failure, ordering, and unchanged-state checks. No production changes or bug fixes.

Formatting, plain oxlint (exit 0), and diff checks passed. Tests, coverage, and check-changed were not run, per CI-only instructions.

Target shortfall: only patch orchestration reached 25%. Remaining authority, corruption, and lifecycle checks were retained rather than forced into riskier reductions. Hosted CI validation remains pending.

x7941

Replayed LOC: +353/-839. Static direct declaration count in changed files: 9 → 9 (not an expanded-case/runtime count).

  • test/e2e/qa-lab/runtime/active-memory-trigger-stall.product-proof.e2e.test.ts: +22/-59
  • test/e2e/qa-lab/runtime/agent-session-dedup-reconnect.e2e.test.ts: +20/-179
  • test/e2e/qa-lab/runtime/agent-session-scope-continuity.e2e.test.ts: +26/-150
  • test/e2e/qa-lab/runtime/agent-session-streaming.e2e.test.ts: +21/-154
  • test/e2e/qa-lab/runtime/agent-session.test-support.ts: +99/-0
  • test/e2e/qa-lab/runtime/codex-account-model-route.product-proof.e2e.test.ts: +14/-64
  • test/e2e/qa-lab/runtime/codex-auth-product-proof.e2e.test.ts: +65/-233
  • test/e2e/qa-lab/runtime/codex-product.test-support.ts: +86/-0

Source shard report (coverage not run):

Committed shard x7941 as 3f2c97f3c75. Worktree is clean; nothing pushed.

File LOC before → after
active-memory-trigger-stall 410 → 373
agent-session-dedup-reconnect 291 → 130
agent-session-scope-continuity 368 → 244
agent-session-streaming 484 → 351
agent-tool-safety-approvals 226 → 226
cloud-worker-midturn-loss 441 → 441
codex-account-model-route 316 → 266
codex-auth-product-proof 644 → 476

Test files: 3,180 → 2,507 lines (−21.2%). Including 185 lines in new agent-session.test-support.ts and codex-product.test-support.ts: 3,180 → 2,692 (−15.3%).

Declarations/expanded cases remain 12 → 12; zero cases deleted or folded. Consolidated repeated client acquisition, Gateway configuration, cleanup, message parsing, SSE responses, and Codex fixtures; removed verbose diagnostic-only blocks. No production changes or bug fixes.

Four files reached 25%. The others retain distinct lock/recall, credential-routing, approval, or process-loss behavior; the approval and process-loss files were already tight and remain unchanged.

Plain oxlint exited 0; formatting and git diff --check passed. Tests, coverage, and check-changed were intentionally not run under CI-only mode. Coordinator decision: accept the partial reduction target, subject to hosted CI.

x7938

Replayed LOC: +507/-900. Static direct declaration count in changed files: 55 → 52 (not an expanded-case/runtime count).

  • src/agents/subagent-test-fixtures.test-helpers.ts: +49/-81
  • src/agents/system-prompt-config.test.ts: +143/-218
  • src/agents/system-prompt.cache-prefix.test.ts: +111/-166
  • src/agents/tool-call-id.test.ts: +34/-111
  • src/agents/tool-display.test.ts: +170/-324

Source shard report (coverage not run):

Committed x7938 as d7c4d529b951df3daeb401783735a3b33fe5919a. Worktree clean; not pushed.

File Lines before → after
spawn-requester-origin.test.ts 192 → 145
subagent-test-fixtures.test-helpers.ts 359 → 359
system-prompt.cache-prefix.test.ts 219 → 219
system-prompt-config.test.ts 450 → 413
system-prompt-params.test.ts 161 → 127
thinking-runtime.test.ts 242 → 182
tool-call-id.test.ts 398 → 321
tool-display.test.ts 599 → 490
Total 2,620 → 2,256 (−13.9%)

All 65 declarations and 86 expanded cases remain. Compacted fixtures, repeated assertions, single-row tables, and shell-command setup. Removed one duplicate sanitizer invocation; expectReplaySafeSignedTurnOwnership retains its assertions in the same case. Routing, signed-replay ordering, and distinct shell-parser inputs remain covered.

No production or shared-support changes; no bug fixes. Formatting, git diff --check, and plain oxlint passed (exit 0). Tests, coverage, and typechecking were not run under CI-only mode.

The 25% per-file target was not reached. Hosted CI validation remains for the coordinator.

x7940

Replayed LOC: +585/-1031. Static direct declaration count in changed files: 57 → 54 (not an expanded-case/runtime count).

  • src/auto-reply/reply/commands-system-prompt.test.ts: +78/-154
  • src/auto-reply/reply/commands-tts.test.ts: +139/-256
  • src/auto-reply/reply/commands-update.test.ts: +152/-225
  • src/auto-reply/reply/conversation-label-generator.test.ts: +120/-197
  • src/auto-reply/reply/current-turn-images.test.ts: +79/-164
  • src/auto-reply/reply/dispatch-bash-poll.test.ts: +17/-35

Source shard report (coverage not run):

Committed shard x7940 as cecf8f4ff60d1537a77d9dff4b1a41318e02f15c. Worktree clean; nothing pushed.

Total LOC: 3,094 → 2,680, down 414 lines (13.4%). All 71 declarations / 96 expanded cases remain; no cases deleted or folded.

File LOC before → after Reduction
commands-system-prompt 491 → 431 12.2%
commands-tts 460 → 378 17.8%
commands-update 290 → 266 8.3%
conversation-label-generator 442 → 399 9.7%
conversation-turn-capture 860 → 751 12.7%
current-turn-images 310 → 232 25.2%
dispatch-bash-poll 241 → 223 7.5%

Consolidated repeated fixtures, transcript/context construction, mock inspection, and assertion plumbing. Retained distinct authorization, redaction, routing, image-boundary, and lifecycle cases. No production or external support files changed; no bug/flake fixes.

Plain oxlint exited 0; oxfmt and git diff --check passed. Tests, coverage, and check-changed were not run, per CI-only instructions.

The 25%-per-file target was met only for images. The remaining suites were kept below target rather than dropping distinct behavior or introducing complicated helpers. Runtime validation remains for hosted CI.

x7935

Replayed LOC: +719/-1330. Static direct declaration count in changed files: 49 → 49 (not an expanded-case/runtime count).

  • src/plugin-sdk/facade-loader.test.ts: +51/-154
  • src/plugin-sdk/feature-plugin.test.ts: +60/-77
  • src/plugin-sdk/file-lock.test.ts: +57/-137
  • src/plugin-sdk/fs-safe-compat.test.ts: +44/-100
  • src/plugin-sdk/memory-host-core.test.ts: +325/-554
  • src/plugin-sdk/memory-host-event-export.test.ts: +182/-308

Source shard report (coverage not run):

Committed shard x7935 as 2a86f7acb9f869b369ff166de5d6c5ddec6994c5. Worktree clean; nothing pushed.

File LOC before → after Reduction
direct-dm.test.ts 294 → 260 11.6%
facade-loader.test.ts 412 → 341 17.2%
feature-plugin.test.ts 263 → 263 unchanged
file-lock.test.ts 334 → 249 25.4%
fs-safe-compat.test.ts 235 → 208 11.5%
memory-core-host-engine-sessions.test.ts 361 → 332 8.0%
memory-host-core.test.ts 766 → 565 26.2%
memory-host-event-export.test.ts 443 → 325 26.6%
Total 3,108 → 2,543 18.2%

Static counts remain 63 declarations / 76 expanded cases. No cases deleted or folded. Five files remain below the 25% target; distinct SDK compatibility, error, security, and lifecycle checks were retained. The test-audit review informed that retention.

Removed repeated fixtures, marker construction, file-open interception, and redundant assertion scaffolding. Direct-DM mock-only recording/dispatch counters were removed; the contextual-reply case retains routing/delivery assertions, while run-channel-turn.pipeline.test.ts retains recording/dispatch proof. No production or external support files changed.

Plain oxlint exited 0; formatting and diff checks passed. Tests, coverage, and check-changed were not run under CI-only mode. Hosted CI remains pending.

No bugs/flakes fixed. Coordinator follow-up: the workspace-alias race test retains an unverified 250 ms wall-clock wait.

x7943

Replayed LOC: +637/-1188. Static direct declaration count in changed files: 83 → 80 (not an expanded-case/runtime count).

  • src/config/channel-config-metadata.test.ts: +76/-114
  • src/config/commands.test.ts: +18/-49
  • src/config/config-corpus.test-support.ts: +31/-100
  • src/config/config.backup-rotation.test.ts: +68/-97
  • src/config/config.env-vars.test.ts: +36/-36
  • src/config/config.plugin-validation.test.ts: +358/-686
  • src/config/config.secrets-schema.test.ts: +50/-106

Source shard report (coverage not run):

Committed x7943 as bb4dac68143f352dce990790640995b47587c572. Worktree clean; not pushed.

File Lines before → after
channel-alias-migration.test.ts 202 → 202
channel-config-metadata.test.ts 224 → 206
commands.test.ts 183 → 152
config.plugin-validation.test.ts 1,305 → 1,181
config.env-vars.test.ts 402 → 402
config.backup-rotation.test.ts 312 → 289
config.secrets-schema.test.ts 203 → 153
config-corpus.test-support.ts 203 → 147
Total 3,034 → 2,732 (−302; −10.0%)

All 91 declarations / 121 expanded cases retained; none deleted or folded. Compacted fixture construction and repeated assertions without removing distinct checks. No production changes or bug fixes.

The 25%-per-file target was not met. Migration and environment suites were left unchanged because further reduction risked obscuring distinct branch and ordering checks.

Oxlint, formatting, and git diff --check passed. Tests, coverage, and check-changed were not run, per CI-only instructions; hosted CI remains pending.

x7944

Replayed LOC: +265/-526. Static direct declaration count in changed files: 17 → 12 (not an expanded-case/runtime count).

  • src/gateway/server.node-pairing-authz.test.ts: +265/-526

Source shard report (coverage not run):

Shard x7944 committed as a25271186126f8b52e0f52c3cba039d443a790dc. Worktree clean; not pushed.

File Lines before → after Reduction
server.sessions.compaction.test.ts 1,040 → 1,040 0%
server.node-pairing-authz.test.ts 1,027 → 957 6.8%
server.sessions.create.forks.test.ts 1,024 → 945 7.7%
Total 3,091 → 2,942 4.8%

Consolidated pairing fixtures, diagnostic types, session-create calls, transcript filtering, and repeated assertions. No cases deleted or folded: 47 declarations / 62 expanded cases unchanged. No production or shared-support files changed.

The 25% target was not met. Distinct authorization, fork-capacity, and compaction-race checks remain; compaction cleanup experiments were reverted because they added complexity for little reduction.

Oxlint exited 0; formatting and git diff --check passed. Tests, coverage, and check-changed were not run under CI-only instructions. No bug fixes included. Coordinator decision: accept this bounded reduction or revisit after hosted CI evidence.

x7945

Replayed LOC: +1229/-1798. Static direct declaration count in changed files: 47 → 46 (not an expanded-case/runtime count).

  • src/cron/service/active-run-cancellation.test.ts: +149/-259
  • src/cron/service/admission-timeout.test.ts: +23/-37
  • src/cron/service/failure-alerts.account-routing.test.ts: +192/-297
  • src/cron/service/failure-alerts.persistence.test.ts: +295/-405
  • src/cron/service/jobs.apply-patch.test.ts: +79/-193
  • src/cron/service/manual-ack-durability.test.ts: +43/-56
  • src/cron/service/ops.regression.test.ts: +448/-551

Source shard report (coverage not run):

Committed x7945 as 90e2c8cc705. Worktree clean; not pushed.

Test LOC: 3,135 → 2,731, down 404 lines (12.9%). All 56 declarations / 75 expanded cases retained.

File Lines before → after
active-run-cancellation 284 → 180
admission-timeout 239 → 239
failure-alerts.outcome 523 → 504
failure-alerts.persistence 435 → 383
failure-alerts.account-routing 334 → 259
jobs.apply-patch 385 → 303
manual-ack-durability 228 → 228
ops.regression 707 → 635

Consolidated repeated fixtures, cleanup, finalization, and assertions. No cases deleted, bugs fixed, or production/shared-support files changed.

The 25%-per-file target was met only for cancellation. Stopped below target elsewhere to preserve distinct lifecycle, persistence, routing, and crash-recovery proof; the two already-tight files remain unchanged.

Formatting, plain oxlint, and diff checks passed. Tests, coverage, and typechecks were not run under CI-only mode; hosted CI validation remains pending.

x7947

Replayed LOC: +702/-1036. Static direct declaration count in changed files: 24 → 24 (not an expanded-case/runtime count).

  • src/infra/heartbeat-runner-scheduler.lazy.test.ts: +80/-124
  • src/infra/heartbeat-runner.exact-session-busy.test.ts: +117/-177
  • src/infra/heartbeat-runner.exec-route-authority.test.ts: +138/-252
  • src/infra/heartbeat-runner.isolated-session-mirror.test.ts: +107/-176
  • src/infra/heartbeat-runner.legacy-exec-binding.test.ts: +246/-287
  • src/infra/heartbeat-runner.stale-exec.test.ts: +14/-20

Source shard report (coverage not run):

Committed x7947 as d49a561a7f669dee5bcb76f3cbee09ad03c27087. Worktree clean; not pushed.

Test LOC: 2,956 → 2,753, down 203 lines (6.9%). Declarations remain 51; expanded cases remain 73. The 25% target was not met.

File LOC before → after
exec-route-authority 455 → 403
legacy-exec-binding 393 → 393
exact-session-busy 238 → 238
identity 274 → 263
isolated-session-mirror 272 → 255
stale-exec 230 → 230
scheduler.lazy 225 → 225
heartbeat-wake 869 → 746

Consolidated repeated configuration, wake requests, timer cleanup, spacing fixtures, and observation bookkeeping. No cases were deleted or folded; distinct authority and lifecycle checks remain. No production or shared-support changes.

Formatting, plain oxlint, and git diff --check passed. Tests, coverage, and check-changed were not run, per CI-only mode. Coordinator decision: accept this smaller reduction or schedule further consolidation after hosted CI.

x7946

Replayed LOC: +1261/-1629. Static direct declaration count in changed files: 11 → 11 (not an expanded-case/runtime count).

  • src/agents/sessions/agent-session-boundary.test-support.ts: +93/-0
  • src/agents/sessions/agent-session-code-mode-source.test.ts: +438/-595
  • src/agents/sessions/agent-session-compaction.admission.test.ts: +112/-182
  • src/agents/sessions/agent-session-compaction.degraded-reload.test.ts: +116/-174
  • src/agents/sessions/agent-session-compaction.provider-boundary.test.ts: +107/-187
  • src/agents/sessions/agent-session-handoff-adoption.integration.test.ts: +261/-312
  • src/agents/sessions/agent-session.reclamation-admission.test.ts: +134/-179

Source shard report (coverage not run):

Committed b33900f336e for shard x7946. Worktree clean; nothing pushed.

Test LOC: 3,034 → 2,795, down 239 lines (7.9%). The 25% target was not reached. All 25 declarations remain; no cases deleted or folded.

File suffix LOC before → after
reclamation-admission 264 → 264
code-mode-source 680 → 630
compaction 755 → 676
compaction.admission 234 → 200
compaction.provider-boundary 229 → 193
compaction.degraded-reload 223 → 215
compaction-headroom 287 → 267
handoff-adoption.integration 362 → 350

Consolidated repeated fixtures, cancellation assertions, stream setup, and deferred-promise boilerplate. Removed redundant no-compaction checks already covered by complete transcript equality. Retained all distinct lifecycle, persistence, source-preservation, and cancellation scenarios; reclamation was already tight.

Plain oxlint exited 0; formatting and diff-check passed. No production or shared-support files changed. Tests, coverage, and typechecking were not run, per CI-only instructions. Hosted CI remains the runtime proof gate.

x7949

Replayed LOC: +1394/-1625. Static direct declaration count in changed files: 47 → 47 (not an expanded-case/runtime count).

  • src/node-host/node-worker-workspace-processes.test.ts: +259/-297
  • src/node-host/node-worker-workspace-quiescence.acceptance.test.ts: +113/-147
  • src/node-host/node-worker-workspace-quiescence.test.ts: +15/-21
  • src/node-host/node-worker-workspace-retention.test.ts: +399/-489
  • src/node-host/plugin-node-host.test.ts: +207/-217
  • src/node-host/portal-stream-command.test.ts: +161/-184
  • src/node-host/pty-command.test.ts: +240/-270

Source shard report (coverage not run):

Committed x7949 as a07ae633ac18e35e154521d240aa4a2243cae77c. Working tree clean; not pushed.

Test file Lines before → after
workspace-processes 398 → 365
workspace-quiescence.acceptance 706 → 680
workspace-quiescence 389 → 389
workspace-retention 592 → 517
plugin-node-host 268 → 268
plugin-node-host.abort 224 → 205
portal-stream-command 258 → 240
pty-command 289 → 270
Total 3,124 → 2,934 (−6.1%)

Consolidated repeated fixtures, deferred gates, cleanup, and assertions. All 52 declarations / 79 expanded cases remain; none deleted or folded. No production/support changes or bug fixes.

Formatting, plain oxlint, and diff-check passed. Tests, coverage, and check-changed were not run under CI-only instructions.

The 25% per-file target was not met. Distinct security and lifecycle scenarios remain intact; two already-tight files were left unchanged. Hosted CI proof remains pending.

Final review repairs: preserved the original heartbeat identity, Gateway compaction target, cron outcome finalization and direct-DM buffered dispatch tests by dropping those file refactors. Restored stale-exec environment cleanup and a fresh timestamp for dead-owner lock reclamation. Rejected the sanitizer non-mutation finding: expectReplaySafeSignedTurnOwnership already asserts that the output is not the input. Fixed PTY mock type preservation with satisfies, and removed exactly seven obsolete mock-export baseline entries identified by CI (no new exceptions). Baseline LOC: +0/-7.

Conflict-driven rebase onto 00adf85: dropped the CLI runner helper cleanup to retain main's newer retired-option contract; other reviewed changes replayed cleanly. Re-ran changed-file formatting, plain lint and diff checks; no local runtime or typecheck commands.

@clawsweeper

clawsweeper Bot commented Oct 17, 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.

@steipete
steipete enabled auto-merge (squash) October 17, 2026 22:59
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-17T23:50:55.856668Z 197d5f3 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime agents Agent runtime and tooling size: XL labels Oct 17, 2026
@steipete
steipete disabled auto-merge October 17, 2026 23:05
@steipete
steipete enabled auto-merge (squash) October 17, 2026 23:08
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. 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. labels Oct 17, 2026
@clawsweeper

clawsweeper Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head 45dc375b205c732f48d794a7ffbcfa5caf66f879, but the PR head is now c9378097c6889b10efd4df2c46463741eef96b1c. Its old verdict and PR readiness labels are no longer current.

Next step
Run or wait for a fresh ClawSweeper review on the current PR head.

Review history (1 earlier review cycle)
  • reviewed 2026-10-17T23:26:59.782Z sha 45dc375b205c732f48d794a7ffbcfa5caf66f879 :: needs changes before merge. :: [P2] Prune mock identities retired by the isolation annotations

@steipete
steipete disabled auto-merge October 17, 2026 23:28
@steipete
steipete enabled auto-merge (squash) October 17, 2026 23:44
@clawsweeper clawsweeper Bot removed 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. labels Oct 17, 2026
@steipete
steipete force-pushed the tcr/land-d243-1792277050 branch from c937809 to 197d5f3 Compare October 17, 2026 23:48
@steipete
steipete merged commit 56a17e8 into main Oct 18, 2026
135 of 136 checks passed
@steipete
steipete deleted the tcr/land-d243-1792277050 branch October 18, 2026 00:08
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 18, 2026
…openclaw#175902)

* test(agents): deslop x7925 tests

* test(agents): deslop x7925 tests

* test(agents): deslop x7925 tests

* test(integration): deslop x7937 tests

* test(integration): deslop x7937 tests

* test(gateway): deslop x7936 tests

* test(gateway): further deslop x7936 tests

* test(gateway): reduce x7936 fixture duplication

* test(qa-lab): deslop x7941 tests

* test(agents): deslop x7938 tests

* test(agents): deslop x7938 tests

* test(auto-reply): deslop x7940 tests

* test(auto-reply): deslop x7940 tests

* test(plugin-sdk): deslop x7935 tests

* test(plugin-sdk): deslop x7935 tests

* test(config): deslop x7943 tests

* test(config): deslop x7943 tests

* test(gateway): deslop x7944 tests

* test(gateway): deslop x7944 tests

* test(cron): deslop x7945 tests

* test(cron): deslop x7945 tests

* test(cron): deslop x7945 tests

* test(infra): deslop x7947 tests

* test(infra): deslop x7947 tests

* test(infra): deslop x7947 tests

* test(sessions): deslop x7946 tests

* test(sessions): deslop x7946 tests

* test(sessions): deslop x7946 tests

* test(node-host): deslop x7949 tests

* test(node-host): deslop x7949 tests

* test(auto-reply): format replayed TTS imports

* test: repair CI regressions in d243 replay

* test: preserve reviewed d243 contracts and prune stale mock baselines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling gateway Gateway runtime P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant