Skip to content

refactor: deslop agent tools and macOS leftovers - #168168

Merged
steipete merged 2 commits into
mainfrom
deslop/bundle8-agents-tools-macos-20261009
Oct 10, 2026
Merged

steipete merged 2 commits into
mainfrom
deslop/bundle8-agents-tools-macos-20261009

Conversation

@steipete

@steipete steipete commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Consolidates repeated agent-tool and macOS implementation paths while preserving tool schemas and result text, execution authority, media rollback, native parsing, and service identity. No user-visible behavior change, migration, or operator action is intended.

Existing owners now share schema primitives, node photo/recording dispatch, media result projection, harness diagnostics, and Gateway fallback transport. The macOS changes share shell parsing, worker continuations, capture geometry, UVC controls, process identity, and existing installation/path helpers.

Applied d39 (5dc0b733bb111d16435113fd70816617012b6cb8) before the complete d41 branch (8cbb47a5b004cdef035b4d844834041839bce654). After one conflict-only rebase, main wins: the entire src/agents/tools/sessions-list-tool.ts cleanup was dropped because main added sidebarRoot to the rewritten row. This drops 11 net cleanup lines and preserves main's exact file. No other cleanup hunk was dropped.

Production delta: +1,089 / −1,620 = 531 net lines removed across 36 files. A proven adjacent fixture repair adds 7 net test/support lines, making the complete diff 524 net lines removed across 38 files. This uses the coordinator-approved 500–999 production LOC exception; coverage log below. No authored configuration, schema, protocol, dependency, changelog, timeout, retry, skip, assertion, baseline, or lint-suppression change.

Fixture Repair

The full directory run exposed a timed-out approval test continuing to restore OPENCLAW_STATE_DIR while its following deny case was running. The deny case then failed the database execution identity guard. The repair uses the existing fixture-lifetime owner to join the complete state scope and native execution before restoring registry/mocks, and composes test cancellation with the existing local abort signal.

The original 60-second deadline remains. A diagnostic control intentionally hit that deadline: allow failed as expected, cleanup finished at 61.553 seconds, and deny began 73 ms afterward and passed. This proves isolation under timeout; it does not claim the separate cold-start timeout is fixed. The clean repair passed all four existing cases (362.580 seconds wall, 126.694 seconds test time); sibling stream/revocation cases passed 2/2 (345.546 seconds wall). Commands used node scripts/run-vitest.mjs <file> --maxWorkers=1; no new test cases or production seams were added. The post-rebase approval replay also passed 4/4 with unchanged deadlines (allow 33.424 seconds; all four cases 80.869 seconds). Exact-head hosted CI also passed all four cases in checks-node-changed-compact-large-2 (job 114166367618): 4.325 / 2.392 / 2.397 / 2.411 seconds, totaling 11.525 seconds of case time. The shared shard test step took 158 seconds; neither value is an isolated file wall time.

Evidence and Limits

Current candidate: a427cb46f3d00a5c3d00630af38d06d9666ae5de; base: b19bfee65b2ade17a5ce4838e9bef3855446d40a.

  • Independent isolated P0–P2 reviews of the production cleanup and fixture repair are clean. The rebase drops only the sessions-list cleanup; other production and fixture patches are unchanged.
  • Full ordinary tools/harness coverage on the original integration: 248 files, 3,599 passed, 2 failures described above, 1 intentional Windows-only skip. The repaired file and its sibling consumer subsequently passed as stated above. After rebasing, all 322 tests across 10 affected harness/media/message files passed through four canonical partitions in 683.32 seconds wall, including normal approval, selection, lifecycle/finalization, all three media generators, and message execution/discovery. Three explicitly live suites are excluded by the ordinary planner; no provider-live claim. The source handoff's image setup timeout passed isolated replay, which does not establish its cause.
  • Fresh full SDK API comparison of b19bfee65b2a → a427cb46f3d0: no API changes, digest ff7b090f43d2d90e4cd883d95840d6b752475a7a1769e295fb4cbb558a6ffb64. Both revisions received frozen installs; full base/head renders passed in 1,073.938 / 1,070.881 seconds. The earlier comparison also found no changes; the new run covers the changed upstream SDK/dependency inputs.
  • Original native product/test builds and 429 tests in 20 suites passed. Sandboxed proof closed the four atomic-plist and socket cases while retaining denial of operator files/preferences/Keychain, desktop services and TCP. Post-rebase product and test-target rebuilds passed in 705.86 / 431.72 seconds, followed by all 429 tests in 20 suites passing (355 tests: 11.99 seconds wall; lifecycle/socket 74 tests: 10.96 seconds wall). The full native suite, named AppState cases, and live hardware remain unrun. Hosted native Swift/Node jobs were skipped on the prior head, so they are not native behavior proof.
  • Original check-changed passed its initial guards, core production types and all 27 core-test graphs, then the aggregate exited 137 for an unknown reason. The canonical finalization replay passed. Manual continuation passed all remaining guards, Swift lint (481 files), and full pnpm test:macos:ci (1,537.10 seconds), except full Knip scans reached their unchanged 600-second limit and full core lint reached its unchanged 900-second limit. Correctly configured focused lint passed all changed TS files (95.37 seconds). An earlier wrong-tsconfig lint invocation triggered unnecessary SDK declaration preparation and timed out; this was an invocation failure. No aggregate-green claim. After the rebase, serial execution completed all three unchanged-limit Knip scans: production 560.9 seconds, full-tree 539.8 seconds, scripts 270.1 seconds. Scripts passed. Production reported unchanged isPollVoteEchoText and PUBLIC_SESSION_ENTRY_SCRIPT; full-tree reported unchanged isClaudeLikeLiveAgent. Owners, remaining callers, all Knip configs, runner, and lockfile are identical on base/head/observed main. The poll helper’s last production external import was removed by main commit 988c6ee6d7b; the live-agent helper’s last external test caller was removed by main commit f659a3576b1; the public-script export has only an external test consumer. This bundle removed none of these consumers. This is source-qualified attribution, not a claimed baseline Knip execution.
  • Refreshed runtime and static cycles: 0 / 0. Refreshed core production types and the canonical tools/harness test-type graph passed (test graph: 131.5 seconds). PR-wrapper import closure passed 3/3. Refreshed lint-suppression test found an untouched upstream mismatch: session-transcript-reconcile.close-failure.test-support.mjs has two typescript/unbound-method suppressions, while its allowlist expects one. Clean base b19bfee… reproduced the exact failure (2 passed / 1 failed, 55.765 seconds wall). The helper, allowlist, and collector are byte-identical on base, this head, and observed origin/main 5861fe7…; upstream commit bb7d32e55d48 introduced the extra directive. This PR adds no suppressions and does not expand the allowlist.

Timeout attribution

Each original case ran sequentially five times per revision on the same Mac/Node version, in balanced base/head order. All passed on both revisions. Medians below are complete case durations; they are not the narrower subprocess timeout regions.

Case Base median Head median Attribution
Cron admission 49.778 s 48.806 s −1.95%; equal pass counts, meets requested parity rule
Inventory after signing 43.140 s 42.350 s −1.83%; equal pass counts, meets parity rule
Fat32 object resource 11.281 s 11.747 s +4.13%; equal pass counts, meets parity rule
Thin runtime Bun 6.937 s 8.210 s +18.35%; does not meet parity rule
Indirect directory cycle 10.408 s 9.356 s −10.10%; initial batch does not meet absolute 5% rule

Retained reverse-order runs and a same-physical-checkout/install crossover followed. The crossover ran 10 times per revision: directory cycle 7.145/6.984 seconds (−2.25%), equal passes, meeting parity; thin Bun 6.387/7.155 seconds (+12.02%), equal passes, still inconclusive under the required rule. All prior measurements remain part of the evidence; thin Bun is not labeled inherited.

Thin-Bun source tracing shows no changed-file overlap in the 252-file eager closure or 188 retained transforms. The test compiles inert C fixtures and invokes a copied verifier with synthetic metadata/mocked signing tools; it executes no app Swift, Bun, or OpenClaw runtime. Its case includes 23 cold native preparation commands and five other launches. The original failure was the final Bash verifier's existing 20-second deadline. Static input equality is evidence against direct causation, but does not waive timing parity or identify that original stall. A final bounded, supported Vitest worker-preload diagnostic retained the original TSX/jsdom preloads and all budgets. Three alternating runs per revision all passed and captured the 28 fixture commands: complete-case medians 8.360/9.889 seconds (+18.29%); verifier-region medians 4.243/5.279 seconds (+24.42%). These narrower measurements also fail parity and do not reproduce the original 20-second stall. No further replay is used to obtain a favorable classification.

Hosted CI

Exact current-head census: 126 terminal checks: 74 success, 49 skipped, 1 neutral, 2 failures, with no remaining cancelled or pending check. All native Periphery checks passed. The cancelled PR-context run was explicitly rerun and passed. The remaining failure is checks-ui-e2e (1/2) plus downstream openclaw/ci-gate: two session-dashboard.e2e.test.ts cases cannot click “Pin to dashboard” because .chat-gutter-stack--details intercepts pointer events. The failing UI job is independently reproduced by unrelated PR #138087’s job, head b5fe2875852563770939572f01ab27acbce3eb7d: both exact cases fail at the same 30-second click boundary with the same details-gutter SVG/span interception. That PR changes 160 files and no UI paths; its test/layout blobs match this base/head. The entire UI tree is identical between this base and head. The mock-Gateway fixture fails before board.widget.put, without reaching this bundle’s tools/harness/native code. The downstream gate job 114167250118 fails solely because that selected UI shard failed. Both failures qualify for the coordinator-authorized pinned inherited-failure exception. The fresh SDK comparison and all affected post-rebase tests passed as recorded above. Posted CI attribution addresses the exact-head review’s sole before-merge request.

The previous head’s independently proven shared-kit Periphery failure is historical only; main removed those DEBUG helpers before this rebase. Hosted native Swift/Node skips are not substituted for the local rebuilt native proof above.

Coverage log for the 500–999 LOC exception

The original d39 inventory records 102 inspected production files (21 implemented, 81 retained), 295 pending, and 11 excluded/generated files; pending files are not claimed as inspected. The d41 handoff records complete owner reads across tools/harness with explicit exclusions. Every one of the 36 retained changed production modules was reviewed again after integration. The retained coverage below records the consolidation and the contracts exercised; it does not claim live hardware/provider proof.

Owner and changed files Retained contract / proof
tools/computer-tool-schema.ts, tools/message-tool-schema.ts Optionality, constraints, action selection, descriptions and serialized shape; original differential covered 64 computer variants and 8,784 message variants. Full ordinary tools directory exercised.
tools/nodes-tool-media.ts Native command and validation order, Linux camera differences, image limits, per-call identity, recording budgets, destination-format checks and batch validation before writes.
tools/image-generate-tool.execution.ts, tools/music-generate-tool.execution.ts, tools/video-generate-tool.execution.ts, tools/media-generate-result-shared.ts Exact result text/field order, duration distinctions, ordered video versus concurrent image/music persistence, rollback and probe indexing; original 924-case actual-source differential, plus complete tools tests.
tools/image-tool.helpers.ts, tools/pdf-tool.helpers.ts, tools/media-tool-text.ts Existing Image/PDF error and empty-result text, message extraction and public entrypoint signatures.
harness/lifecycle.ts Attempt versus finalization trace timing, event ordering, error classification and unsubscribe lifecycle; complete ordinary harness directory exercised.
tools/in-process-gateway.ts Current-caller checks, spawn identity/policy, mandatory in-process publication and transport fallback; existing Gateway tool and source closure tests.
tools/openclaw-delegate-tool.ts Canonical schema-derived result type; sessions-list cleanup was dropped during conflict resolution to preserve main’s new sidebarRoot behavior.
tools/web-fetch-utils.ts, tools/web-search-provider-config.ts HTML title/anchor/heading/list behavior and provider-owned credential object update semantics.
ExecCommandResolution.swift, ExecInlineCommandParser.swift, ExecSystemRunCommandValidator.swift Existing allowlist, parsing and executable resolution boundaries; touched native command suites.
NodeMode/MacNodeHostWorker.swift Queue ownership, continuation completion, typed command failures and pipe dispatch; native worker/pipe suites.
CameraPTZNativeController.swift Ordered UVC axis reads/encoding and existing transport outcomes; native camera service tests.
ComputerScreenActionExecutor.swift, ScreenRecordService.swift, ScreenSnapshotService.swift Shared display geometry/selection with action-specific capture behavior; native action lifecycle and scroll/capture logic.
ProcessIdentity.swift, PortGuardian.swift, ExecApprovalsSocket.swift, ExecApprovalsSocketPathGuard.swift Kernel identity reads, process/socket ownership and existing denial semantics; sandboxed process/socket tests.
ApplicationRelocator.swift, CLIInstaller.swift, CuaDriverHostLifecycle.swift, OpenClawMacCLI/ConnectCommand.swift Existing path resolution and captured-service version probing; relocation, installer and connect suites.
ExecApprovalsStore.swift, GatewayEndpointStore.swift, GatewayLaunchAgentManager.swift, ManagedNodeGatewayMigration.swift, NodeServiceManager.swift Existing store ownership, service arguments, environment setup and lifecycle behavior; sandboxed store/migration/service suites.

TS paths above are relative to src/agents/; Swift paths are relative to apps/macos/Sources/OpenClaw/, except the named OpenClawMacCLI path under apps/macos/Sources/.

Rejected consolidations remain rejected: subagent waiting changed completion/abort microtask precedence; parser extraction with no net simplification, distinct authority/recovery paths, and media/provider-specific policy remain with their existing owners. No tests were removed or weakened, no timeout/retry/skip/baseline was expanded, and no lint suppression was added.

@clawsweeper

clawsweeper Bot commented Oct 10, 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 app: macos App: macos agents Agent runtime and tooling size: XL labels Oct 10, 2026
@steipete
steipete marked this pull request as ready for review October 10, 2026 03:59
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 10, 2026
@clawsweeper

clawsweeper Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR consolidates agent-tool and macOS implementation paths and repairs native approval fixture cleanup.

Example: A native approval test reaches its existing 60-second timeout before cleanup finishes.

  • Before: Its state-directory restoration can overlap the following deny case.
  • After: The fixture joins tracked execution and the complete state scope before restoring shared state.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful consolidation with no concrete correctness finding; evidence is primarily reported harness and differential validation, with its limits stated.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored internal refactor is outside the external-contributor proof gate; reported native suites and production-owner comparisons support equivalence without establishing live hardware behavior.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Refactor · Worth it: Yes · Fix scope: Complete
User problem: Repeated implementation paths increase maintenance cost and the chance that equivalent behavior drifts.
Reason: The maintainer-authored change removes duplication without adding product surface, and its adjacent fixture repair preserves existing behavioral assertions.

Merge readiness

⛔ Needs changes before merge - 1 item remains

Keep open: this maintainer-authored PR provides useful consolidation with no actionable introduced defect found, but a current-head dashboard E2E failure still needs attribution.

Priority: P3
Reviewed head: a427cb46f3d00a5c3d00630af38d06d9666ae5de

Before merge

  • Complete next step - Attribute the dashboard-pin click interception in the failed E2E job using a base comparison, then repair the responsible owner or record evidence that the failure is outside this diff.

Findings

None.

Tests

  • Missing end-to-end proof: Reported evidence covers production-owner tests and differential comparisons, rather than a shipped app/CLI session or live hardware run.
Agent review details

How this fits together

Agent-tool owners translate model requests into Gateway calls and media results, while macOS owners handle native execution, capture, process identity, and service lifecycle.

flowchart TD
  A[Agent requests] --> B[Tool schemas and execution]
  B --> C[Gateway dispatch]
  B --> D[Media persistence and results]
  C --> E[macOS native services]
  E --> F[Processes and capture devices]
Loading

Technical review

Best possible solution:

Retain the consolidation and fixture repair, resolve CI attribution, and land through the normal required gates.

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

The principal change is a refactor; the fixture race has a reported timeout control and a source-visible cleanup mechanism, but no target code was executed during this review.

Is this the best way to solve the issue?

The extraction reuses existing owners while retaining action-specific defaults, parser policies, media rollback, and Gateway authority handling.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • macOS shell parsing and reusable approvals keeps the original intent (c4a4050: Align native wrapper handling and command binding with the shared exec contract.)
  • Node camera batch validation keeps the original intent (e0a4915: Validate every native capture before publishing private photo artifacts.)
  • Harness diagnostics keeps the original intent (bce3d5b: Correlate channel, harness, and model diagnostics through the active trace.)
  • Media generation resource lifecycle keeps the original intent (5bae95d: Keep prepared video providers alive through generation, persistence, and rollback.)
  • Shared tool execution and Gateway dispatch keeps the original intent (d8e684e: Consolidate execution at existing owners while retaining distinct authority and recovery policies.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit cb04039 adds apps/macos/Sources/OpenClaw/ExecCommandResolution.swift:303 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: cb04039f21de; files: apps/macos/Sources/OpenClaw/ExecCommandResolution.swift)
  • Nimrod Gutman: Raw commit c4a4050 adds apps/macos/Sources/OpenClaw/ExecCommandResolution.swift:129 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: c4a4050ce48b; files: apps/macos/Sources/OpenClaw/ExecCommandResolution.swift)

PR surface

Source -531, Tests +7. Total -524 across 38 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 36 1089 1620 -531
Tests 2 13 6 +7
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 38 1102 1626 -524

Review metrics

Metric Value Why it matters
Production versus test changes Production +1,089/-1,620; tests and support +13/-6 Production shrinks by 531 lines while the small fixture change joins existing work without adding cases or weakening assertions.

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This is internal consolidation and test isolation repair with no intended user-visible behavior change.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

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 need explicit maintainer commands such as @clawsweeper autofix or @clawsweeper automerge.

History

Review history (2 earlier review cycles)
  • reviewed 2026-10-10T04:06:56.148Z sha 51914e9 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-10T05:19:20.875Z sha 51914e9 :: needs changes before merge. :: none

Reviewed October 10, 2026, 4:00 AM ET / 08:00 UTC (Revision 3).

@clawsweeper clawsweeper Bot added status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 10, 2026
Combine the reviewed d39 native primitives and d41 tool/harness consolidations. Preserve serialized schemas, result text, authority, media rollback, and native parsing contracts. Production delta: -542 LOC across 37 files; tests unchanged.
A timed-out approval test continued restoring its state-directory environment
while the next case was running, causing a database execution identity mismatch.
Track the whole state scope and native run, propagate test cancellation, and join
them through the existing fixture lifetime before restoring registry and mocks.
Keep the existing assertions and 60-second deadline.
@steipete
steipete force-pushed the deslop/bundle8-agents-tools-macos-20261009 branch from 51914e9 to a427cb4 Compare October 10, 2026 07:52
@steipete

Copy link
Copy Markdown
Contributor Author

The dashboard-pin CI failure on head a427cb46f3d00a5c3d00630af38d06d9666ae5de is inherited. This addresses the exact-head ClawSweeper review's sole before-merge item: attribute the click interception and record whether it is outside this diff. No introduced source finding was reported.

The complete paginated check-run census contains 126 terminal checks: 74 successful, 49 skipped, 1 neutral, and the 2 failures listed below. No check remains pending or cancelled. This records an inherited-failure exception; it does not claim that all CI passed.

Failed job Attribution and evidence
checks-ui-e2e (1/2) — job 114166367208 Two cases in ui/src/e2e/session-dashboard.e2e.test.ts fail: “shows a bounded visible outcome when a Canvas dashboard pin fails” and “pins an inline MCP App using only its session-bound view identity.” Both hit the existing 30-second Pin to dashboard click deadline because an SVG/span in .chat-gutter-stack.chat-gutter-stack--details intercepts pointer events. Both exact cases and the same interception reproduce independently in the unrelated context-budget PR, head b5fe2875852563770939572f01ab27acbce3eb7d, run 38036445962, job 114168063916, checks-ui-e2e (1/7).
openclaw/ci-gate — job 114167250118 Downstream aggregate failure. Its log reports checks-ui-e2e: failure (selected=true); no other selected job failed. The underlying UI failure is attributed above.

The independent reproduction belongs to PR #138087, whose changed-file list contains no UI files. The dashboard test has Git blob f7d821bc9681145fcc510afeadfce8610ccc0ec4, and ui/src/styles/chat/layout.css has blob ce560f40ff9609991ae22cf4678788333a669c9d, on both the independent head and this head. The entire ui tree is unchanged between this PR's rebased main baseline b19bfee65b2ade17a5ce4838e9bef3855446d40a and this head.

These cases inject fixed Canvas/MCP history and responses through installMockGateway. The failures occur at the browser click, before the expected board.widget.put request; the refactored agent-tool dispatch, native services, and approval fixture do not run at that failing boundary. The UI test helpers, rendering/style tree, and imported Canvas/sandbox helper inputs are unchanged by this diff. This establishes causal non-overlap in addition to the independent failing run.

The earlier cancelled PR-context job was treated as missing proof and rerun. Run 38035916615, attempt 2, job 114168702597 completed successfully. All native Periphery checks also passed on this head; the older head's Periphery failure is not carried into this attribution.

The changed native-approval fixture passed its four hosted cases in job 114166367618, checks-node-changed-compact-large-2: allow 4.325 s, deny 2.392 s, cancel 2.397 s, and always-only 2.411 s. Their reported case durations total 11.525 s; this is not an isolated file wall time or the shared shard's total duration.

The separate dependency-review and security-sensitive-review statuses are successful. The combined openclaw/ci-gate status remains failed because of the attributed Actions CI failure. No security or substantive review finding is being waived by this evidence.

@steipete
steipete merged commit cdeb1e3 into main Oct 10, 2026
135 of 139 checks passed
@steipete
steipete deleted the deslop/bundle8-agents-tools-macos-20261009 branch October 10, 2026 08:47
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 11, 2026
Combine the macOS and agent-tool cleanup lanes around their existing schema,
media dispatch/result, harness lifecycle, native parsing, capture, worker,
and process-identity owners. Preserve validation, authority, and rollback.

Remove 531 net production lines across 36 files. Drop the entire sessions-list
cleanup during the conflict-only rebase so main's sidebarRoot behavior wins.

Join native approval execution and its state scope through the existing fixture
lifetime before restoring shared state. Preserve assertions and deadlines;
the repair adds seven net test/support lines, for 524 total lines removed.

Validation: full ordinary tools/harness coverage, reviewed fixture timeout
control, 322 post-rebase focused tests, rebuilt macOS product/test targets and
429 native tests, unchanged full SDK API, zero cycles, and touched type graphs.
Full evidence, coverage log, local limitations, and the independently reproduced
UI dashboard-pin CI failure are recorded in PR openclaw#168168. Landed under the
coordinator-authorized inherited-failure exception pinned to a427cb4.
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: macos App: macos P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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