Skip to content

refactor(agents): deslop agents core sixth pass - #162070

Merged
steipete merged 1 commit into
mainfrom
deslop/l245-agents-root6
Oct 1, 2026
Merged

steipete merged 1 commit into
mainfrom
deslop/l245-agents-root6

Conversation

@steipete

@steipete steipete commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The agent core still repeats small projections, parsers, and forwarding layers after the earlier cleanup passes. This sixth pass removes those repeated responsibilities without changing normal agent behavior.

User Impact

No intended change to prompts, tool text, public command sanitization, delivery ordering, or worktree custody. One cleanup failure is repaired: CLI /btw side questions now close their prepared execution admission even when backend cleanup rejects.

Why This Change Was Made

  • Share the heredoc delimiter parser and tool display descriptor construction; preserve whitespace rules, descriptor field presence/order, and rendered text.
  • Keep patch summary deduplication in insertion-ordered sets, and reuse existing clamp, parsing, normalization, and route-fact owners.
  • Derive command and headless configuration types from their existing owners; share command delivery fields while retaining serialized key order.
  • Reuse workspace setup and bootstrap-warning owners; simplify equivalent prompt branches with byte comparisons.
  • Share synchronous/asynchronous terminal decisions, reuse requester settlement assertions, and remove forwarding layers in Code Mode and runtime status handling.
  • Simplify MCP projections, model auth-route matching, cache-trace and fallback-cache plumbing, media status projections, and small workspace/path branches.
  • Remove redundant intermediate values, local aliases, and comments that repeat the code. Keep authority revalidation, lifecycle fences, transcript rules, and worktree cleanup policy in their current owners.

Runtime production: 426 additions / 1,092 deletions, 666 net lines removed across 60 files. Live-test support: 9 net lines removed. Tests and fixtures: 95 additions / 49 deletions (46 net added), including one new regression and a coherent CLI lifecycle suite split; existing assertions are retained. The cast-safety baseline only shrinks in five verified entries.

Fixes found along the way

runCliBtwSideQuestion awaited backend cleanup and then closed admission in the same finally block. A cleanup rejection skipped the close. A nested finally now closes admission while preserving the cleanup error. The regression retains the real admission and verifies that it rejects a later admission attempt.

Evidence

Exact-head CI run 36763489663 completed on d07a6981d40b124a25d4c14c7b7badf61285b655. All agent test jobs, build, types, lint, boundaries, and ratchets passed. The only failing test job was checks-node-compact-small-15:

  • test/scripts/plugin-sdk-surface-report.test.ts: three assertions fail with public exports 4595 > 4594 and callable exports 2699 > 2698. The same errors occur on unrelated current-head config CI job 110060850597, head 5b39f39a50e31942efb4edb9b9636a8e7a1b9df6. This diff does not change SDK entrypoints, public export inventories, or the surface-report owner.

  • test/helpers/openclaw-test-instance.acquisition.test.ts:33: keeps an absent Gateway unreachable while retaining its port claims received busy, expected free. No changed file participates in that fixture's port acquisition/probe path. Three inspected unrelated runs passed this test, so its pre-existence is not proven. Auto-merge remains blocked; the inherited-failure exception has not been used. No retries, timeout changes, or assertion weakening were applied.

  • Linux Blacksmith Testbox tbx_01m3sqzhp3pbnphh46bfrvch8h (lease workflow); exact base 34623068957b474af18f8107528342da07c478ba plus reviewed patch, with changed-file SHA-256 verification.

  • node scripts/run-vitest.mjs: 97 owner/importer files across 10 shards, 1,797 passed, 4 expected skips, including fs-safe and plugin import-boundary tests. Final BTW suites passed again after the line-cap split.

  • The CLI cleanup regression fails on the original code because retained admission still resolves, and passes with the fix. pnpm test src/agents/btw.cli-lifecycle.test.ts --maxWorkers=1: 2 passed, 47.08 s cold wall time; 91% transform, 8% import, 1% test time. It exercises the real side-question entry point and retained admission; a helper-only test would miss the skipped close. The suite reuses the existing fixture. Hosted checks-node-changed-compact-large-12 passed both CLI lifecycle cases: 170 ms for the existing success case and 2 ms for the cleanup-rejection regression (172 ms reported case time, excluding shared transform/setup). Full log download initially failed through the relay and was recovered through the native GitHub CLI route.

  • Both scripts/check-madge-import-cycles.ts and scripts/check-import-cycles.ts: 0 cycles on the final code.

  • Exact byte probes: 72 prompt renderings, 293 heredoc command cases, 338 status-text cases, plus identical tool metadata JSON. scripts/tool-display.ts --check passed.

  • pnpm build passed before the final private BTW helper inlining and test-suite split. It reported a Control UI size advisory (largest ordinary JS 217.1 KiB versus 215 KiB); the command exited zero. Hosted CI rebuilds the published head.

  • Final code autoreview: no actionable P0–P2 findings. node scripts/check-changed.mjs --base 34623068957b474af18f8107528342da07c478ba completed successfully on Testbox, including production types, all 27 core-test type shards, formatting, boundaries, lint, and dead-export scans. The baseline pruner proposed two unrelated increases; the published baseline retains only the five source-verified decreases listed in this diff. Hosted CI validates the exact published head.

The repository wrapper's local source-freezing phase outlasted its first lease. Validation recovered through the installed Crabbox CLI with the same Blacksmith provider and a task-owned remote checkout reconstructed from the pinned base and reviewed patch.

Coverage: all 306 large source files from the initial census, sorted by original size

Base: 34623068957b474af18f8107528342da07c478ba. Sizes are pre-edit production line counts. E2E harnesses are test support and excluded. The live-cache regression policy is included in this reading log but counted separately as live-test support in the diff totals.

Lines File Read result
1603 src/agents/bash-tools.exec-host-gateway.ts READ: Retained authorization commit, drift revalidation, standing-grant consumption and detached settlement boundaries.
1587 src/agents/model-selection-shared.ts READ: Alias precedence, sparse catalog identity, and policy authorization have distinct preserved contracts; no safe further consolidation in this slice.
1545 src/agents/worktrees/service.ts READ: Creation publication, rollback, removal, restore, and GC branches each retain distinct custody or lifecycle decisions.
1535 src/agents/agent-tools.read.ts READ: Retained adaptive paging, skill whole-document delivery, and host/sandbox custody boundaries; prior passes already share mutation operations.
1533 src/agents/model-auth-availability.ts READ: Consolidated identical materialized-auth physical-route matching used by readiness and selected-row projection.
1414 src/agents/btw.ts READ: Fixed admission closure when backend cleanup rejects; retained model/auth/runtime dispatch sequencing.
1335 src/agents/workspace.ts READ: Reused canonical setup-completion predicate; removed optional-file reclassification and single-use forwarding helpers; collapsed equivalent bootstrap branches.
1227 src/agents/system-prompt.ts READ: Collapsed duplicate elevated toggle prompt branches with identical rendered bytes; byte comparison required.
1177 src/agents/agent-bundle-mcp-runtime.ts READ: Server catalog generations, session recycling, result validation, and cleanup ownership remain distinct; no further sound restructuring identified.
999 src/agents/bash-tools.exec-runtime.ts READ: Retained source/operator custody and ordered sandbox/process finalization; target label external caller keeps wrapper.
957 src/agents/command/attempt-execution.ts READ: CLI and embedded adapters differ in authority, retry, fork, image and prompt contracts; retained complete sequencing.
853 src/agents/command/delivery.ts READ: Share stable durable-send status fields across the four outcome projections.
790 src/agents/provider-transport-fetch.ts READ: SSE framing, response caps, request origin trust, and local-service release are separate transport contracts; retained.
777 src/agents/plugin-model-catalog.ts READ: Doctor migration claims, compare-and-set catalog custody, and credential recovery are distinct contracts; retained.
776 src/agents/prepared-model-runtime.ts READ: Publication queue, replacement gates, auth adoption, and standalone activation own distinct lifecycle boundaries; retained.
776 src/agents/tool-loop-detection.ts READ: Retained detector-specific evidence and warning bytes; polling, execution failure, and message volatility contracts differ.
762 src/agents/tool-search-runtime.ts READ: Retained schema preparation/acceptance boundaries and owner-scoped lexical caches; shared execution already canonical.
755 src/agents/provider-request-config.ts READ: Reused existing route-fact inheritance and removed the cast-backed projection temporary.
748 src/agents/embedded-agent-block-chunker.ts READ: Fence and source-offset bookkeeping protects byte-exact streamed output; no safe further cut identified.
746 src/agents/model-fallback-runner.ts READ: Candidate progression preserves operator revalidation, cooldown ownership, deferred suspension, and no-replay boundaries.
745 src/agents/embedded-agent-subscribe.stream-rendering.ts READ: Removed redundant startsWith equality branch and narrating comments; rendering state untouched.
742 src/agents/transcript-redact.ts READ: Provider replay, opaque signatures, redaction and identity rules are distinct retained contracts.
738 src/agents/prepared-model-catalog-worker.ts READ: Parent synthetic-auth capture, shared worker custody, exact generation validation, and scoped recovery are independently necessary.
734 src/agents/bash-tools.exec-run.ts READ: Host dispatch and foreground/background ownership have distinct guards and result contracts.
734 src/agents/isolated-completion.ts READ: Retained separately authorized CLI/harness completion, retry budgets, and physical cleanup ownership.
732 src/agents/command/cli-compaction.ts READ: Native and context-engine fallback custody differ; retain timeout, successor, and deferred cleanup owners.
731 src/agents/github-tool-identity.ts READ: Managed/native identities and admission revalidation are intentionally distinct authority paths.
728 src/agents/agent-command.ts READ: Ingress sanitization, admission, restart recovery, and cleanup are distinct owner boundaries.
723 src/agents/failover-error.ts READ: Error-graph traversals deliberately use distinct precedence and cause/aggregate/reason policies; retained.
722 src/agents/agent-create.ts READ: No sound larger reduction: staged config, recovery holds, tombstone custody and rollback each protect separate publication edges.
721 src/agents/model-auth-provider-config.ts READ: Auth markers, SecretRef provenance, profile endpoint binding, and inline cooldown ownership are distinct retained contracts.
720 src/agents/cli-output-stream.ts READ: Previous pass owns record parsing; segment boundaries, result precedence and pending tools require separate state.
715 src/agents/agent-tools.before-tool-call.wrapper.ts READ: Retained source guard, approvals, lifecycle settlement, and diagnostics order; no safe collapse across launch boundaries.
711 src/agents/code-mode-execution.ts READ: Parking, settlement, approval pauses and custody remain distinct phases; no safe structural cut identified.
711 src/agents/command/post-run.ts READ: Separate transcript, delivery, and compaction commit facts prevent stale-owner cleanup; no sound merger found.
706 src/agents/agent-scope.ts READ: Unified equivalent selected agent/default-subagent fallback projection using the already selected raw model.
704 src/agents/prepared-model-runtime.owner.ts READ: Configured identity rebinding, exact owner keys, immutable config stamps, and admission versus build settlement preserve distinct contracts.
702 src/agents/model-fallback-attempt.ts READ: Attempt classification preserves terminal precedence and outcome ownership; superficially repeated stop predicates serve distinct boundaries.
700 src/agents/simple-completion-runtime.ts READ: Prepared generation, auth resolution and caller disposal hold distinct contracts; retained.
698 src/agents/cli-output-records.ts READ: Previous pass owns shared parsing; vendor dialect/error distinctions protect visible text.
697 src/agents/tool-display-exec.ts READ: Shared quoted heredoc marker parsing with the shell scanner; removed duplicate delimiter state machine.
695 src/agents/prepared-model-runtime.full-catalog.ts READ: Provider inventory, native observations, route variants, retained auth, and generation capability projection have distinct provenance and precedence.
692 src/agents/agent-tools.before-tool-call.diagnostics.ts READ: Retained diagnostic/skill/loop ownership and private-data boundaries; remaining projections have distinct contracts.
690 src/agents/prepared-model-runtime.catalog-access.ts READ: Provider and native acquisition serialize independently and merge current counterparts; renewal and foreground observation have separate lifetimes.
688 src/agents/apply-patch.ts READ: Replaced duplicate arrays plus dedupe Sets with insertion-ordered Sets and one public summary projection.
681 src/agents/cli-output-events.ts READ: Existing canonical event trackers preserve provider indexing, tool dedupe and reasoning bytes.
679 src/agents/cli-runner.ts READ: Retained lifecycle generations, hook ordering, transcript custody and cleanup settlement.
677 src/agents/command/session.ts READ: Reuse one identical session request type across core resolution and session creation.
676 src/agents/tool-display-exec-shell.ts READ: Canonical heredoc marker parser now serves line summaries and whole-script scanning with existing whitespace semantics.
674 src/agents/prepared-model-runtime.facts.ts READ: Batch-local fact reuse, source-bound registry custody, credential capture, and cleanup failure aggregation preserve distinct ownership.
673 src/agents/command/model-selection.ts READ: Build shared auth-alias lookup context once; preserve absent versus disabled plugin metadata.
673 src/agents/model-auth-provider.ts READ: Explicit locked profiles and automatic fallback have intentionally different compatibility, error, and credential precedence semantics.
673 src/agents/model-catalog-view.ts READ: Captured catalog metadata and revocable native readiness are distinct; donor and route projections retain exact scope.
671 src/agents/provider-local-service.ts READ: Leases fence process acquisition and join cleanup; local abort wrappers also normalize non-Error reasons and cannot be replaced mechanically.
670 src/agents/command/run-embedded-attempt.ts READ: Live switch, fallback, and media side effects retain distinct settlement and model-lock contracts.
669 src/agents/code-mode-state.ts READ: Inlined active-run admission wrapper and called canonical timestamp owner directly.
667 src/agents/models-config.providers.implicit.ts READ: Static hooks, live discovery, selected-provider scope, and late-result fencing have deliberately different entry conditions.
661 src/agents/admitted-run-context.ts READ: No sound reduction: exact issued authority, retained leases, recovery admission and post-await checks have distinct lifetimes.
659 src/agents/worktrees/checkout.ts READ: Source-only, sparse, retained-branch, and clone fallback paths encode distinct materialization and rollback contracts.
656 src/agents/bash-tools.exec-host-node-phases.ts READ: Remote node policy and exact invocation provenance cannot collapse into Gateway-local checks.
655 src/agents/agent-tools.policy.ts READ: Retained source-aware policy resolution and scheduled-account fail-closed behavior; no sound remaining unification.
655 src/agents/bash-tools.exec-host-node.ts READ: Inline and detached approval paths carry different custody and followup ownership.
651 src/agents/bash-tools.process.ts READ: Removed padding forwarder; call native padEnd directly while preserving result text.
647 src/agents/agent-bundle-lsp-runtime.ts READ: Removed the remember-failure forwarding helper and unreachable fallback after assigning the retained failure; preserved process-drain and pending-request ordering.
644 src/agents/provider-attribution.ts READ: Endpoint-specific attribution and transport feature contracts require explicit positive classifications; broader inversion would admit unknown endpoints.
640 src/agents/embedded-agent-subscribe.handlers.messages.update.ts READ: Append and replacement flows preserve separate provider-phase and source-offset contracts; no safe large cut identified.
638 src/agents/embedded-agent-subscribe.handlers.tools.completion.ts READ: Tool terminal facts distinguish execution, delivery, approvals, replay and presentation; no safe consolidation identified.
638 src/agents/worktrees/snapshot-exact-state.ts READ: Raw-path, index, directory identity, and metadata restore checks fence different mutation boundaries.
636 src/agents/agent-tool-definition-adapter.ts READ: Retained native/client delegation and prepared execution distinctions; error projection already shared.
632 src/agents/agent-bundle-mcp-materialize.ts READ: Earlier pass already shares utility descriptors; execution factories intentionally differ in validation, usage marking, result projection, and App policy.
632 src/agents/session-tool-result-guard.ts READ: No sound reduction: sync/async generator preserves shared persistence ordering; apparent transcript predicate duplicate has different legacy-marker semantics.
632 src/agents/tool-catalog.ts READ: Pure static catalog retains explicit section/profile membership and ordered projection; descriptor packing alone is not a simplification.
631 src/agents/worktrees/snapshot-inventory.ts READ: Tracked, ignored, sparse, and exact-state inventories share owners already; batching preserves ordered failures.
623 src/agents/model-catalog-decisions.ts READ: Personal profile projections preserve link authority, account-specific inventory, auth expiry, and native readiness separately.
622 src/agents/agent-tools.ts READ: Retained one canonical assembled tool-policy pipeline, source-reply admission, and custody; options map names distinct ownership.
621 src/agents/cli-executable-identity.ts READ: Platform executable/package hashing proves exact authority; retained byte and path checks.
615 src/agents/worktrees/registry.ts READ: Queries and transactions enforce different durable identities; sync-access migration would exceed behavior-neutral scope.
612 src/agents/agent-scope-config.ts READ: No sound reduction: roster projections differ in mutation/clone contracts and legacy owner provenance.
611 src/agents/prepared-model-catalog.worker.ts READ: Structured-clone provenance restoration, agent-local auth refresh, bounded registration reuse, and admitted write cleanup must remain separate.
592 src/agents/embedded-agent-subscribe.handlers.tools.start.ts READ: Question reservation, flush ordering and execution-start tracking require retained lifecycle phases.
591 src/agents/media-generation-task-status-shared.ts READ: Reused active-task predicate; collapsed requester parser result and duplicate matching; removed redundant loop continue.
587 src/agents/embedded-agent-subscribe.handlers.tools.results.ts READ: Approval, process, media and cron parsing encode distinct external result contracts.
584 src/agents/prepared-model-runtime.build.ts READ: Workspace batching, agent-directory write serialization, foreground deadlines, and raw-work completion protect separate resource contracts.
582 src/agents/prepared-model-catalog.ts READ: Exact versus published config readers, retained turn facts, read-only discovery, and temporary lease cleanup have distinct caller contracts.
581 src/agents/openclaw-tools.ts READ: Factory groups already shared; media/session options deliberately bind different requester/run identities.
578 src/agents/mcp-oauth.ts READ: OAuth refresh, browser authorization, callback, and clear paths have distinct leased state transitions and current-authority checkpoints.
568 src/agents/code-mode-namespaces.ts READ: Namespace allocation, schema defaults and public API bytes require distinct handling.
567 src/agents/bash-tools.exec-approval-followup.ts READ: Inlined single-use constant-returning prefix helper without changing prompt text.
566 src/agents/agent-tools.before-tool-call.approval.ts READ: Retained embedded/Gateway transport differences, callback timing, and timeout disposition bytes.
565 src/agents/agent-run-terminal-outcome.ts READ: No sound reduction: closed terminal union and ranked merging retain distinct interruption and observation contracts.
560 src/agents/agent-bundle-mcp-manager-lifecycle.ts READ: Runtime admission, queued disposal, scheduler handoff, and publication caches have separate lifecycle ownership; retained invariants.
560 src/agents/embedded-agent-subscribe.reply-delivery.ts READ: Reentrant stream scopes and deferred media custody preserve visible delivery and transcript ownership.
553 src/agents/model-catalog.ts READ: Logical and physical route merges differ in identity and donor precedence; configured overlays intentionally rebuild after augmentation mutates rows.
549 src/agents/provider-http-errors.ts READ: Credential-safe malformed body handling, timeout errors, media validation, and bounded readers have separate contracts.
546 src/agents/provider-model-route-auth.ts READ: Declared versus ambient authorization, route filtering, profile priority, native deferral, and exact-route retry attempts preserve distinct contracts.
544 src/agents/worktrees/removal-recovery.ts READ: Retired, partially present, and missing checkout recovery preserve different native Git custody evidence.
544 src/agents/worktrees/snapshot-restore.ts READ: Live retry, exact retained-source, receipt fallback, and ordinary snapshot restore have different commit points.
542 src/agents/bash-tools.exec-request-preparation.ts READ: WeakMap prepared facts and env filtering protect private capabilities and host consistency.
537 src/agents/embedded-agent-subscribe.ts READ: Composition and retry cleanup intentionally reset presentation without clearing committed side-effect evidence.
536 src/agents/code-mode-node.worker.ts READ: Guest bridge validation and continuation ownership protect cross-worker execution and result provenance.
533 src/agents/tool-search-catalog.ts READ: Retained immutable catalog rebinding and availability revocation lifecycle; existing compaction owner is canonical.
532 src/agents/tool-display-config.ts READ: 57 repeated display metadata objects use the existing descriptor-constructor pattern; exact field presence/order preserved.
530 src/agents/exec-auto-reviewer.ts READ: Retained JSON ambiguity checks, prompt delimiters and late-resource cleanup custody.
528 src/agents/bash-process-registry.ts READ: Reused existing clampWithDefault helper for identical retention bounds/default semantics.
527 src/agents/bash-tools.exec-host-shared.ts READ: Shared approval routing already canonical; explicit projections preserve narrow capabilities.
524 src/agents/workspace-access.ts READ: Retained capability-specific guards and bound receivers; revalidation, committed-memory receipts and stop semantics differ.
514 src/agents/shell-snapshot.ts READ: Startup capture and restoring safe runtime values have distinct trusted env and freshness contracts.
509 src/agents/command/attempt-execution.helpers.ts READ: Derive fallback turn types from source owner, remove redundant cast and single-use regex wrapper.
506 src/agents/cli-credentials.ts READ: Prior pass consolidated token parsing; external credential modes and cache fingerprints remain distinct.
504 src/agents/agent-command-restart-recovery.ts READ: Result projection intentionally bounds and validates unknown evidence; claims preserve saved source ownership.
502 src/agents/code-mode-controller-source.ts READ: Embedded guest source is a byte contract; changing wrappers changes guest source bytes and needs separate scope.
502 src/agents/embedded-agent-tool-results.ts READ: Collapsed lazy error precedence and timeout selection without changing candidate order.
499 src/agents/github-oauth-client.ts READ: Prior pass consolidated response handling; protocol/error/scope validation is intentional.
499 src/agents/usage.ts READ: Provider-specific aliases, cache arithmetic and unavailable context semantics remain distinct; retained.
495 src/agents/worktrees/snapshot-host.ts READ: Capture, explicit retirement, and retention expiry keep separate authority and projection obligations.
488 src/agents/command/prepare.ts READ: Preparation owns ingress resolution, workspace lease and exact skill expansion ordering.
483 src/agents/cron-creator-authority-context.ts READ: No sound reduction: grant, management and requester bindings intentionally capture and revalidate different authority scopes.
477 src/agents/tool-schema-hints.ts READ: Retained bounded trusted/untrusted schema traversal and distinct compact/declaration budgets; no safe simplification.
474 src/agents/code-mode-headless.ts READ: Reused config owner override type; removed namespace forwarding helper and duplicate abort branch.
473 src/agents/embedded-agent-utils.ts READ: Phased text extraction and incremental reasoning scans protect separate source and delivery contracts.
471 src/agents/bash-tools.exec-script-ambiguity.ts READ: Lexical scanners preserve different escaping and shell-segment interpretations.
461 src/agents/model-auth-model.ts READ: Model auth diagnostics differ from execution; null Authorization is an intentional upstream SDK no-auth contract, not removable type slop.
455 src/agents/tool-call-id.ts READ: Retained provider-specific collision allocation and occurrence-aware transcript pairing.
454 src/agents/code-mode-bridge.ts READ: Each guest action has different validation and dispatch contract; no safe consolidation identified.
452 src/agents/agent-tools.before-tool-call.policy.ts READ: Ordered trusted policy/approval/voice phases are contractual; existing helpers already separate owner boundaries.
451 src/agents/command/acp-lifecycle.ts READ: Tool identity tracking and terminal projection preserve replay saturation and lifecycle semantics.
451 src/agents/internal-runtime-context.ts READ: Nested marker parsing and legacy stripping retain shipped transcript-byte and retained-carrier contracts; no sound structural deletion.
450 src/agents/agent-bundle-mcp-harness.ts READ: Static and requester harness surfaces intentionally differ in approval, advertised catalog stability, and cleanup; retained existing boundaries.
440 src/agents/bootstrap-files.ts READ: Retained layered session/source-identity privacy filters and hook fences; merging catches would swallow path errors.
440 src/agents/embedded-agent-message-delivery.ts READ: Core, plugin, poll and broadcast facts have deliberately different evidence requirements.
439 src/agents/prepared-model-runtime-lease.ts READ: Admission claims, replacement waits, historic generation borrowing, and releases protect distinct lifecycle states.
439 src/agents/session-tool-result-guard.payload.ts READ: No sound reduction: bounded summaries, redaction lookahead and fallback byte caps enforce separate output constraints.
438 src/agents/prepared-model-runtime-auth-publication.ts READ: Overlapping auth components, replacement adoption, FIFO independent failure boundaries, and one fresh-generation retry preserve lifecycle authority.
437 src/agents/agent-bundle-mcp-manager.ts READ: Static/requester acquisition shares admission already; lifecycle replay and inherited leases must remain observable across config publication.
436 src/agents/model-runtime-choice.ts READ: Manual permission, automatic deferred preparation, native renewal, account-preserving materialization, and commit-time validation have distinct consumers.
436 src/agents/tool-mutation.ts READ: Read-only classification and replay safety intentionally differ; preserve conservative command grammars.
434 src/agents/workspace-state-store.ts READ: Retained transaction and deletion ownership checks; synchronous legacy boundaries need a separate migration, not cosmetic edits.
431 src/agents/models-config.providers.secrets.ts READ: Prepared-credential and profile-first discovery deliberately preserve different precedence and output property presence.
431 src/agents/tool-display-common.ts READ: Existing shared renderer preserves getter order, depth bounds, and specialized tool projections.
427 src/agents/embedded-agent-messaging-extraction.ts READ: Target, thread and attachment semantics differ by source; no behavior-neutral common owner identified.
426 src/agents/bash-tools.exec-workdir.ts READ: Host/backend validation differs in custody and admitted namespace; keep mapping checks.
426 src/agents/mcp-ui-resource.ts READ: View bounds, metadata fallback, lease ownership, and request limits protect distinct resource/App contracts.
420 src/agents/auth-health.ts READ: Retained the original credential-kind guard after review; no health summary change.
419 src/agents/embedded-agent-subscribe.handlers.messages.stream.ts READ: Phase-aware snapshots, signed block identity and directive offsets protect exact streamed output.
418 src/agents/embedded-agent-subscribe.handlers.types.ts READ: Narrow tool-handler projections decouple callers; replacing them would widen required context.
417 src/agents/worktrees/removal-git.ts READ: Native removal, detached retirement, and retained-source recovery differ in rollback and lifetime requirements.
416 src/agents/core-coding-tools.ts READ: Retained sandbox/host/read/write distinctions and skill access boundaries; factory duplication already removed.
414 src/agents/model-scan.ts READ: Used existing string normalization; removed redundant projection temporaries and modality filtering.
412 src/agents/embedded-agent-subscribe.handlers.lifecycle.ts READ: One decision application path now serves synchronous and asynchronous terminal hooks.
412 src/agents/workspace-state-store.kernel.ts READ: Retained schema/data-integrity and alias custody checks; no redundant parallel writer.
410 src/agents/shell-utils.ts READ: Cross-platform shell selection and chunked ANSI parsing have distinct platform contracts.
405 src/agents/model-auth-runtime.ts READ: Prepared and synchronous synthetic auth share the canonical classifier while preserving captured result and SecretRef ownership.
404 src/agents/tool-images.ts READ: Retained image admission/decode/resize bounds and error behavior; prior pass consolidated shared codec operations.
402 src/agents/mcp-http-transport.ts READ: Shared HTTP base already owns common lifecycle; SSE and streamable recovery semantics require their separate adapters.
401 src/agents/cli-auth-epoch.ts READ: Reuse epochs and strict credential-owner fingerprints intentionally encode different identity contracts.
398 src/agents/sandbox-paths.ts READ: Removed identical-result empty-relative and empty-container-suffix branches; all path escape and alias checks remain.
397 src/agents/command/session-store.ts READ: Each store transition differs in commit guards or usage publication; exact lifecycle owner checks retained.
395 src/agents/session-transcript-repair.ts READ: No sound reduction: preserved signed thinking and provider replay ownership require distinct repair branches.
394 src/agents/spawn-plan.ts READ: No sound reduction: backend errors, binding ambiguity and collector/ordinary child caps have separate public semantics.
388 src/agents/tool-search.ts READ: Retained bounded batch search grouping, description budgets, and exact execution envelope bytes.
388 src/agents/tools-effective-inventory.ts READ: Retained static-first discovery and generation-owned fallback lease with transfer/disposal guards.
384 src/agents/code-mode-json.ts READ: Output and retained-value fitters have different accounting and delivery receipts; retained.
384 src/agents/compaction.ts READ: Retry, partial summary and ordered merge failures preserve existing caller contracts.
383 src/agents/models-config.merge.ts READ: Provider key collision order, authored field omission, route capability provenance, and credential preservation differ deliberately.
382 src/agents/model-fallback-candidates.ts READ: Cache key retains config, manifest, and registry identity; fallback precedence and raw/resolved admission remain distinct.
381 src/agents/code-mode.ts READ: Exec and wait differ in admission authority; prompt byte construction and catalog projection retained.
380 src/agents/models-config.ts READ: Read-only plans and serialized publication differ in side effects; cache and recovery paths preserve owner identity and exact output bytes.
380 src/agents/sandbox-host.ts READ: No sound reduction: generated sandbox shell bytes and CSP origin/security behavior retained unchanged.
378 src/agents/openclaw-plugin-tools.ts READ: Untouched candidate read first; authority revalidation and runtime-config ownership require current distinct phases.
378 src/agents/runtime-plugins.ts READ: Registry borrowing and release paths encode distinct resource custody; no sound consolidation without changing lifecycle ordering.
377 src/agents/code-mode-mcp-api.ts READ: Generated declaration mapping is byte-sensitive and differs from general schema hint output.
374 src/agents/internal-events.ts READ: Protected/plain/data modes and exact generated-media prompt bytes remain required.
374 src/agents/prepared-model-runtime.configured.ts READ: Configured refs, authored transport fallback, runtime capability donors, and preserved workspace inputs require their current precedence.
372 src/agents/worktrees/provisioned-files.ts READ: File and parent identity checks preserve ignored-file bytes, exclusion from Git, and no-overwrite restoration.
371 src/agents/prepared-model-runtime.plugin-lifetime.ts READ: Publication references, admitted work, physical registry custody, transferred lenders, and retained cleanup failures are distinct responsibilities.
371 src/agents/worktrees/git.ts READ: Simplified absolute-or-relative common-directory handling through canonical path.resolve; retained transport-specific process-tree defaults.
370 src/agents/compaction-planning.ts READ: Atomic tool-call grouping and budgeted pruning preserve replay validity and omitted-message accounting.
370 src/agents/model-runtime-policy.ts READ: Per-agent exact and wildcard policy ordering plus inherited route intent are independently meaningful.
368 src/agents/command/acp-execution.ts READ: ACP transport, elicitation, and transcript boundaries differ from embedded attempts.
364 src/agents/worktrees/run-lease.ts READ: Admission settlement, refcounted Git locks, and retry cleanup own distinct lifetime facts; no safe duplicate removal.
360 src/agents/embedded-agent-subscribe.handlers.messages.lifecycle.ts READ: Removed Promise reclassification and forwarding finalizers while preserving flush settlement.
350 src/agents/code-mode-node.ts READ: Native retirement and continuation ownership protect live workers; no safe further cut identified.
349 src/agents/tool-search-ranking.ts READ: Fifth pass already replaced scorer scanning with canonical posting index; no new sound simplification.
345 src/agents/embedded-agent-tool-media.ts READ: Media metadata validation and core-TTS provenance guard separate trust boundaries.
345 src/agents/models-config.plan.ts READ: Combined identical no-write type arms and removed intermediate provider-map cast.
345 src/agents/session-tool-result-guard-wrapper.ts READ: No sound reduction: pending recorder and prepared message transitions preserve accepted input identity and callback correlation.
342 src/agents/apply-patch-update.ts READ: Tolerant matching tiers retain unchanged source bytes and detect ambiguity.
342 src/agents/mcp-oauth-store.kernel.ts READ: Schema and credential guards enforce canonical stored-state contracts; storage-admission changes exceed this behavior-preserving cleanup.
342 src/agents/session-activity-notes.ts READ: No sound reduction: raw/cumulative buffer handling and unmatched private marker retention are distinct; shared UTF-16 slice differs on isolated low surrogates.
340 src/agents/model-fallback-observation.ts READ: Observer transition fields remain available despite log coalescing; bounded auth deduplication and terminal-stop diagnostics serve distinct contracts.
337 src/agents/cli-backends.ts READ: Runtime and setup metadata have separate availability lifecycles; explicit capability projection retained.
336 src/agents/workspace-alias-rebind.ts READ: Untouched candidate retained: lexical and canonical identity checks fence separate filesystem and transaction races.
335 src/agents/mcp-connection-resolver.ts READ: Requester resolution, credential redaction, deterministic fingerprints, and static partitioning are distinct contracts.
335 src/agents/models-config.providers.secret-helpers.ts READ: Discovery markers and opaque credential values have distinct serialization/provenance rules.
333 src/agents/model-runtime-aliases.ts READ: Picker visibility, logical equivalence, display labels, explicit auth-order authority, and execution alias policy must remain distinct.
333 src/agents/tool-policy.ts READ: Retained shipped policy aliases, private intersection metadata, and explicit plugin allowlist semantics.
333 src/agents/transcript-policy.ts READ: FOLLOWUP: redundant transport-family spread guard after identical early-return check; retained during proof freeze.
331 src/agents/codex-mcp-config.ts READ: Configured and bundled ownership paths differ; deterministic locale-sorted fingerprints differ from generic stable JSON; preserved.
328 src/agents/run-wait.ts READ: Inlined single-use inter-session transcript predicate; retained timer implementation and terminal/grace handling unchanged.
323 src/agents/context-resolution.ts READ: Collapsed equivalent cached/fallback result projection; authored limits and discovered caps unchanged.
323 src/agents/github-read-identity.ts READ: Native anonymous admission, token caching and current-selection revalidation guard identity.
322 src/agents/agent-steering-queue.ts READ: Preserved post-await generation checks, live delivery leases, ordered prompt limits, and ack/release state.
320 src/agents/agent-bundle-mcp-combined.ts READ: Optional forwarding methods preserve owner binding and exact capability errors; generic dispatch would require stronger types or casts.
320 src/agents/execution-auth-binding.ts READ: Stable owner and exact credential fingerprints intentionally differ across credential kinds.
320 src/agents/session-placement-admission.ts READ: No sound reduction: local settlement, queued lifecycle and provider-owner assertions have different timing and error contracts.
317 src/agents/command/transcript-persistence.ts READ: Use canonical normalized usage field types instead of redeclaring six fields.
315 src/agents/workspace-legacy-state.ts READ: Untouched candidate retained: shipped legacy inputs, claims and sibling ownership have explicit migration contracts.
309 src/agents/worktrees/snapshot-restore-exact.ts READ: Receipt binding and original-inode checks preserve interrupted restore; provisioned files require their own byte owner.
306 src/agents/bash-tools.exec-script-preflight.ts READ: Removed single-use lazy-loader forwarding function; retained canonical loader and lazy import.
304 src/agents/live-model-switch.ts READ: Atomic row consolidation and deferred live switches have distinct scopes; provider alias handling needs separate Codex contract investigation.
303 src/agents/cli-session.ts READ: Retained original field insertion order after independent review; session binding normalization stays unchanged.
299 src/agents/worktrees/service-preparation.ts READ: Source admission, cleanup, name allocation, and setup-script settlement each supply a used boundary.
297 src/agents/pty-keys.ts READ: Prior pass removed redundant projection; byte mappings and modifier rules retained.
294 src/agents/identity-file.ts READ: Retained distinct synchronous shipped SDK reader and lazy worker reader; both share admitted snapshot kernel.
293 src/agents/compaction-planning-projection.ts READ: Bounded serialization estimator and omitted-character accounting preserve large-history planning.
292 src/agents/mcp-oauth-provider.ts READ: Prepared-state sequence fencing and per-operation authority checks cannot be collapsed without changing async publication behavior.
291 src/agents/worktrees/capacity.runtime.ts READ: Hydration, immutable size cache, transition estimates, and filesystem measurements have different validity rules.
288 src/agents/context.ts READ: Retained request-load and post-ready publication paths because generation and configured-cache lifecycle differ.
286 src/agents/command/session-preparation.ts READ: Separate skill, session-touch, and human-message writes have distinct conditional authority and ordering.
286 src/agents/embedded-agent-subscribe.handlers.messages.snapshot.ts READ: Reconciliation preserves UTF-16 source offsets and code boundaries; no safe cut identified.
285 src/agents/agent-lifecycle-registry.ts READ: No sound reduction: deletion journal fencing and committed-versus-uncertain cleanup distinguish durable ownership outcomes.
284 src/agents/command/types.ts READ: Trusted options and public ingress type omissions document required private capability boundary.
283 src/agents/code-mode-runtime.ts READ: Collapsed true/false/auto normalization branches into one typed shorthand case.
283 src/agents/requester-tool-policy.ts READ: No sound reduction: current-request, persisted-child and completion-handoff policies carry distinct verified lineage.
281 src/agents/prepared-model-runtime.types.ts READ: Types distinguish immutable snapshots, mutable inventory owners, leases, acquisition status, and publication gates; no redundant contract identified.
278 src/agents/worktrees/branches.runtime.ts READ: Fresh checkout validation and bounded cached ref inventory preserve different invalidation responsibilities.
275 src/agents/models-config.providers.catalog-context.ts READ: Selected-account HTTP admission, OAuth preparation, and retained catalog failure provenance are distinct required boundaries.
274 src/agents/apply-patch-file-ops.ts READ: Host, unconfined and sandbox mutation custody plus memory provenance require separate adapters.
274 src/agents/bash-tools.exec-approval-request.ts READ: Two-phase registration, cancellation distinction and public request projection retained.
274 src/agents/memory-search.ts READ: Index-only and provider-loaded resolution intentionally differ; outward type widening preserves consumer optional fields.
273 src/agents/model-catalog-visibility.ts READ: Prepared readers and synchronous publication preserve revocable state and physical route precedence.
273 src/agents/run-session-target.ts READ: No sound reduction: typed target, persisted marker and public compatibility inputs require separate ambiguity/identity checks.
272 src/agents/agent-command-recovery-owner.ts READ: Owner wait loop re-prepares only same target and releases exact transferred custody.
271 src/agents/github-oauth-records.ts READ: Strict schemas and agent lifecycle binding reject invalid persisted authorization.
271 src/agents/tool-loop-admission.ts READ: Retained projected atomic batch admission and assistant-order commit; single-call path has separate harness contract.
269 src/agents/exec-auto-review-transcript.ts READ: Bounded redacted evidence retains user anchors and tool-call/result pairing.
268 src/agents/agent-bundle-mcp-manager-install.ts READ: Runtime replacement and requester revalidation share installation already; retained lease-transfer and rollback sequence.
268 src/agents/openclaw-tools.media-factory-plan.ts READ: Generation kinds already share canonical capability selection; image/PDF readiness has distinct auth contracts.
265 src/agents/date-time.ts READ: Host/platform time fallback and input timestamp coercion protect prompt bytes; no sound overlapping owner found.
265 src/agents/model-selection.ts READ: Facade reexports canonical owners; persisted override precedence, auth-suffix preservation, case-only normalization, and spawn inheritance differ intentionally.
263 src/agents/agent-harness-completion-recovery.ts READ: No sound reduction: exact admitted source and later recovery inputs use distinct transcript provenance contracts.
263 src/agents/agent-tools.params.ts READ: Retained model-input repair and parameter diagnostics; asynchronous path ownership differs from pure XML repair.
263 src/agents/model-catalog-route.ts READ: Physical donor provenance and public/private projection remain necessary; follow-up only: combine adjacent identical model.reasoning guards at lines 103-104.
263 src/agents/prepared-model-runtime.inbound-registry.ts READ: Generic inbound identity, model-selected workspace identity, scoped Gateway lending, and primary resource ownership intentionally differ.
262 src/agents/prepared-model-runtime.refresh-scope.ts READ: Scoped retention, workspace preservation, synchronous fencing, plugin-loan recovery, and catalog-worker recovery retain distinct preconditions.
262 src/agents/worktrees/checkout-git-config.ts READ: Canonical refs versus filtered content and Windows per-process metadata need distinct adapters.
260 src/agents/exec-defaults.ts READ: Existing config/session/host-floor owner already centralizes defaults with lazy approval reads.
260 src/agents/node-plugin-tools.ts READ: Inlined three single-use payload/description forwarding helpers; policy filtering and MCP projection owners unchanged.
258 src/agents/mcp-stdio-transport.ts READ: Untouched transport has separate spawn, stream, process-tree cleanup, and notification ownership; guards remain necessary.
255 src/agents/agent-command-execution-identity.ts READ: Public sanitizer explicitly strips private fields; bind and registration commits are separate authority events.
255 src/agents/embedded-agent-subscribe.handlers.messages.replies.ts READ: Pending media custody, explicit selection and restoration require separate state transitions.
255 src/agents/tool-policy-pipeline.ts READ: Retained per-layer fresh declarations and provenance; no sound collapse of warning/policy/audit phases.
253 src/agents/code-mode-swarm.runtime.ts READ: Registry replay custody and authority checks remain required after awaits; other lane owns subagent contracts.
252 src/agents/bootstrap-budget.ts READ: Removed duplicate string guard already owned by normalizeOptionalString; simplified injected character count.
249 src/agents/mcp-stdio-client.ts READ: Untouched strict proxy layers handshake validation and fatal-error taxonomy over shared transport and lifecycle owners.
246 src/agents/code-mode-result-preview.ts READ: Bounded preview traversal and identity budget checks encode the documented retention contract.
245 src/agents/bash-tools.exec-types.ts READ: Public declaration compatibility and discriminated result shapes remain named contracts.
244 src/agents/context-cache-projection.ts READ: Retained minimum discovered-cap projection versus last-write configured-cap projection and count-preserving batch yields.
243 src/agents/agent-bundle-mcp-types.ts READ: Untouched common types capture caller-visible optional capabilities and lease/retirement contracts; no duplicate production owner.
243 src/agents/conversation-capability-profile.ts READ: Shared profile is the existing owner; policy arrays differ intentionally on runtime inheritance and explicit overrides.
242 src/agents/tool-result-error.ts READ: Retained hostile getter/reflection guards and trusted network-error identity; catch blocks protect real proxy failures.
240 src/agents/bash-tools.exec-script-target.ts READ: Python and Node CLI argument grammars differ; keep interpreter-specific parsing.
240 src/agents/mcp-transport.ts READ: Transport selection shares normalized config; SSE headers, auth-profile and OAuth routes retain intentionally different request behavior.
239 src/agents/exec-tool-target-pinning.ts READ: Tool lifecycle pinning and alias identity registry are security-sensitive capabilities.
237 src/agents/live-cache-regression-policy.ts READ: Consolidated identical provider token floors and removed suffix-presence condition implied by the complete marker.
236 src/agents/worktrees/registry-read.kernel.ts READ: Persisted projections validate untrusted rows and retain separate read shapes; no redundant runtime schema probes.
235 src/agents/bash-tools.exec-approval-followup-state.ts READ: Handoff clones intentionally strip entry-only private claims and expiry facts.
235 src/agents/embedded-agent-subscribe.handlers.compaction.ts READ: Hook suppression after unsubscribe and completed-only usage invalidation remain necessary.
235 src/agents/session-suspension.ts READ: No sound reduction: serialized writes plus cleanup-generation comparison and exact rollback preserve shutdown fencing.
234 src/agents/mcp-transport-config.ts READ: Replaced repeated raw casts and duplicate TLS-field reads with one record projection and canonical string normalization; absent keys stay absent.
234 src/agents/transcript-code-mode-source.ts READ: Opaque source handles and exact-call revalidation enforce storage redaction authority.
233 src/agents/cache-trace.ts READ: Removed redundant writer alias/forwarder and stream-return wrapper; assign existing summary projection directly.
232 src/agents/embedded-agent-subscribe.model-state.ts READ: Stream, retry and final usage accounting deliberately preserve different provenance.
230 src/agents/mcp-oauth-store.ts READ: Worker read adapters preserve distinct missing-database defaults and result discriminants; write adapters preserve authority boundaries.
230 src/agents/prepared-model-runtime.resources.ts READ: Registry claims join physical cleanup and retained failures; apparent catches and deferreds are custody boundaries.
229 src/agents/tool-search-request.ts READ: Retained selector ambiguity checks, input flattening, and independent batch query budgets.
227 src/agents/identity-avatar-file.ts READ: Retained path validation, descriptor pinning and primitive stat serialization for worker delivery.
227 src/agents/tool-search-directory.ts READ: Retained entry-array prompt cache ownership and staged description truncation preserving discovery bytes.
225 src/agents/command/shared-types.ts READ: Shared context types already serve CLI and embedded callers without duplicate runtime policy.
224 src/agents/agent-harness-completion-custody.ts READ: No sound reduction: independent execution and delivery reference counts prevent retired custody from retaining execution authority.
224 src/agents/code-mode-control-tools.ts READ: Potential shared hook-metadata assembly requires preserving distinct object and kind trust routes; retained.
223 src/agents/bash-tools.exec-approval-output.ts READ: Prompt delimiters, output range and UTF16 budgeting protect continuation bytes.
221 src/agents/model-catalog-auth-labels.ts READ: Replaced redundant stored-mode guard with direct exclusion of OAuth and token modes.
220 src/agents/worktrees/checkout-apfs.ts READ: Index parsing, clone provenance, racy timestamp exclusion, and metadata translation protect distinct byte contracts.
219 src/agents/minimax-vlm.ts READ: Inlined single-use provider/content helpers; error text and endpoint choice preserved.
219 src/agents/model-catalog-lookup.ts READ: Literal search deliberately skips sparse holes; simple loop replacement would break existing regression.
217 src/agents/mcp-content.ts READ: Tool and prompt result projection already share one content owner; recursive-result failure handling is a recent bug fix.
216 src/agents/codex-native-web-search-core.ts READ: Native eligibility/auth/policy projection is owner-local; keep shipped API and provider auth contracts unchanged.
216 src/agents/tool-policy-audit.ts READ: Retained multiplicity-aware removal provenance, deny matching, and bounded sanitized audit fields.
215 src/agents/models-config.providers.discovery-auth.runtime.ts READ: Deferred SecretRef failures and OAuth refresh fencing retain selected-account authority through async discovery.
215 src/agents/provider-model-auth-source-plan.ts READ: Secret-free provenance, declared authorization, tri-state readiness, cooldown policy, and pre-filter declared counts preserve distinct source-selection facts.
214 src/agents/fallback-skip-cache.ts READ: Removed getBuckets and nullable boolean-mode sessionBucket; sole writer creates buckets directly while reads stay read-only.
214 src/agents/realtime-bootstrap-context.ts READ: Budgeting and profile paths share canonical bootstrap owner; exact voice prompt bytes retained.
211 src/agents/agent-bundle-mcp-manager-api.ts READ: Prior pass already shares managed acquisition; APIs retain lifecycle-host admission and lazy non-creating peeks.
210 src/agents/prepared-model-runtime.plugin-generation.ts READ: Media invocation authority, selection support, derived generation identity, physical custody, and native catalog augmentation are distinct.
210 src/agents/run-termination.ts READ: No sound reduction: nested error handling distinguishes direct/restart/superseded and timeout sources including hostile getters.
210 src/agents/session-model-auto-revert.ts READ: Returned existing reconcile function directly as finish instead of an async forwarding wrapper.
209 src/agents/path-policy.ts READ: Runtime-root syntax and host-root syntax are deliberately different; public boundary wrappers carry error and custody contracts.
208 src/agents/transport-message-transform.ts READ: Provider-family replay policies and pairing provenance retain transcript bytes; no safe shared transform replacement.
206 src/agents/command/lifecycle.ts READ: Finishing, end, error and post-turn failure carry distinct terminal facts and settlement semantics.
206 src/agents/openai-routing.ts READ: Duplicate normalizer API consolidation crosses owned scope and requires exact Codex source review; left intact.
205 src/agents/plugin-text-transforms.ts READ: Message-content and tool-argument recursion intentionally target different keys; stream iteration/result share one output policy.
204 src/agents/embedded-agent-error-observation.ts READ: Different truncation, fingerprint and redaction outputs have distinct diagnostic contracts.
204 src/agents/internal-session-effects.ts READ: Creation/fork and removal guards preserve exact session ownership across awaited writes; no sound simplification.
202 src/agents/media-generation-activity.ts READ: Reuse requester agent id already parsed for admission when recording active state.
201 src/agents/command/maintenance.ts READ: Foreground and followup maintenance intentionally differ in source custody and callback retention.

Reuse canonical parsers, projections, and state owners while preserving agent authority and rendered bytes. Close CLI side-question admission even when backend cleanup rejects.
@clawsweeper

clawsweeper Bot commented Sep 30, 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.

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components. This comment is informational because the PR author has repository Maintain or Admin access.

  • Current SHA: d07a6981d40b124a25d4c14c7b7badf61285b655
  • Maintainer: @steipete
  • Repository role: admin

These security sensitive changes were made:

  • src/agents/bash-tools.exec-approval-followup.ts: Controls sandbox containment or tool execution authority. Check filesystem and network isolation, approval scope, and command allowlists.
  • src/agents/model-auth-availability.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/model-catalog-auth-labels.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/sandbox-media-paths.ts: Controls sandbox containment or tool execution authority. Check filesystem and network isolation, approval scope, and command allowlists.
  • src/agents/sandbox-paths.ts: Controls sandbox containment or tool execution authority. Check filesystem and network isolation, approval scope, and command allowlists.
  • src/agents/sandbox-tool-policy.ts: Controls sandbox containment or tool execution authority. Check filesystem and network isolation, approval scope, and command allowlists.

Carefully review these changes before merging.

@openclaw-barnacle openclaw-barnacle Bot added docker Docker and sandbox tooling agents Agent runtime and tooling size: XL labels Sep 30, 2026
@steipete
steipete enabled auto-merge (squash) September 30, 2026 19:12
@clawsweeper

clawsweeper Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 30, 2026, 4:49 PM ET / 20:49 UTC (Revision 4).

ClawSweeper review

What this changes

The branch consolidates agent-runtime parsing, display, routing, and lifecycle helpers and closes CLI /btw run admission when backend cleanup fails.

Merge readiness

⛔ Blocked before merge - 4 items remain

Current main still leaves CLI side-question admission open if backend cleanup rejects. This PR repairs that path, and the reviewed refactors show no discrete introduced defect. Its exact-head CI gate remains red, including a port-claim assertion that has not been established as inherited.

Priority: P2
Reviewed head: d07a6981d40b124a25d4c14c7b7badf61285b655

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch has substantial focused validation and no established code finding, while the central regression uses a mocked backend and one exact-head CI failure remains unclassified.
Proof confidence 🦐 gold shrimp (3/6) Not applicable: The maintainer-authored PR is exempt from contributor real-setup proof. Its changed CLI admission owner is exercised through the side-question entry point with injected backend cleanup failure and a real admission guard; the backend is mocked, and no stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The maintainer-authored PR is exempt from contributor real-setup proof. Its changed CLI admission owner is exercised through the side-question entry point with injected backend cleanup failure and a real admission guard; the backend is mocked, and no stored-data contract changes.
Evidence reviewed 8 items Current-main defect: The cleanup await precedes admission closure in one finally block; a cleanup rejection skips closure.
Introduced repair: The inner finally closes admission even when backend cleanup rejects; the verified test-merge result retains this change.
Admission regression coverage: The new CLI entry-point test injects a cleanup rejection, checks that the original error survives, and checks that the retained admission refuses another run.
Findings None None.
Security None None.

How this fits together

OpenClaw's agent runtime turns side questions, tool calls, and model settings into admitted work and user-visible results. The changed helpers prepare that work, present its activity, and clean it up.

flowchart LR
A[Side question and settings] --> B[Agent runtime selection]
B --> C[Prepared run admission]
C --> D[CLI backend]
D --> E[Backend cleanup]
E --> F[Close admission]
D --> G[Answer or error]
Loading

Before merge

  • Resolve merge risk (P1) - The exact-head port-claim assertion has not been attributed to this patch or reproduced on current main, so the documented inherited-failure exception does not yet cover it.
  • Complete next step (P2) - Resolve or causally classify the exact-head port-claim CI failure under the native landing gate before merge.
  • Resolve review confidence - ClawSweeper must reach high confidence before merge readiness is known.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

Source -675, Tests +46, Other -1. Total -630 across 65 files.

View PR surface stats
Area Files Added Removed Net
Source 61 429 1104 -675
Tests 3 95 49 +46
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 4 5 -1
Total 65 528 1158 -630

Review metrics

Metric Value Why it matters
CLI regression test cost 47.08 s cold wall; 172 ms hosted case time The PR explains that transform and import dominate the cold cost and that the CLI entry point is needed to catch the skipped closure.

Stored data model

Persistent data-model change detected: serialized state: src/agents/apply-patch.ts, unknown-data-model-change: src/agents/apply-patch.ts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Keep one admission owner that closes CLI side-question runs on every cleanup outcome while preserving existing agent display, routing, and security contracts.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Keep one admission owner that closes CLI side-question runs on every cleanup outcome while preserving existing agent display, routing, and security contracts.

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

Yes. Current-main source shows the cleanup rejection bypassing admission closure, and the PR supplies a before/after CLI entry-point regression; this reviewer did not execute it.

Is this the best way to solve the issue?

Yes. The nested finally repairs the lifecycle owner directly, and the surrounding consolidation retains the reviewed contracts without adding another owner.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against e024c6b8b4bd.

Labels

Label changes:

  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.

Label justifications:

  • P2: The branch repairs a narrow admission cleanup failure within a broader internal agent-runtime cleanup.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The maintainer-authored PR is exempt from contributor real-setup proof. Its changed CLI admission owner is exercised through the side-question entry point with injected backend cleanup failure and a real admission guard; the backend is mocked, and no stored-data contract changes.

Evidence

What I checked:

  • Current-main defect: The cleanup await precedes admission closure in one finally block; a cleanup rejection skips closure. (src/agents/btw.ts:636, e024c6b8b4bd)
  • Introduced repair: The inner finally closes admission even when backend cleanup rejects; the verified test-merge result retains this change. (src/agents/btw.ts:623, d07a6981d40b)
  • Admission regression coverage: The new CLI entry-point test injects a cleanup rejection, checks that the original error survives, and checks that the retained admission refuses another run. (src/agents/btw.cli-lifecycle.test.ts:59, d07a6981d40b)
  • Sensitive-path review: The sandbox path edit removes a redundant root-equality branch while retaining the escape checks; the auth-route edit shares the existing route-matching predicates. (src/agents/sandbox-paths.ts:69, d07a6981d40b)
  • Code Mode boundary: The repository documents OpenClaw Code Mode and Codex Code Mode as separate implementations; the changed Code Mode files are in the generic OpenClaw agent runtime. Public docs: docs/tools/code-mode.md. (docs/tools/code-mode.md:28, d07a6981d40b)
  • Feature-history routing: Prior merged history of the central side-question, tool-display, and Code Mode files includes Peter Steinberger, Vincent Koc, and Ayaan Zaidi; this is routing evidence, not source-line introduction proof. (src/agents/btw.ts, 34623068957b)

Likely related people:

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

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Classify the port-claim assertion using its fixture owner and the original failing shard order.

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 (3 earlier review cycles)
  • reviewed 2026-09-30T19:12:39.305Z sha d07a698 :: blocked before merge. :: none
  • reviewed 2026-09-30T19:21:36.966Z sha d07a698 :: blocked before merge. :: none
  • reviewed 2026-09-30T19:55:50.384Z sha d07a698 :: blocked before merge. :: none

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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 Sep 30, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Sep 30, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Sep 30, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Attribution follow-up for head d07a698:

The three SDK surface-report failures are inherited from main. Job 110052175838 ran merge 61636442c372c1a5ad2238d2a1f2dc0b38fcce60 against main 7ab9b21. Its compiler-join case failed because public exports were 4595 > 4594 and callable exports 2699 > 2698, not because the compiler failed to settle. Identical failures occur in scheduled-main run 36766156018 (head 1215ba8, job 110061040538) and unrelated PR jobs 110060850597 and 110060505752. Main commit 6830c82 leaked withUserPathBaseDirectory through the home-dir wildcard; ba80dfb (#162015) fixes that facade.

Fresh Linux AWS reproduction used pnpm install --frozen-lockfile then node scripts/run-vitest.mjs test/helpers/openclaw-test-instance.acquisition.test.ts test/scripts/plugin-sdk-surface-report.test.ts: 5/5 passing runs at this PR head and 5/5 at freshly fetched main 6f729f1, 29 tests per run (290 passing test executions). Run run_ff9870a69936e8eda08757007643592c; lease cbx_9b2adab3370e was released. One additional macOS acquisition-suite run passed 17 tests with the Linux-only test skipped.

The absent-Gateway port assertion has not reproduced. It passed in the three comparison jobs above (60 ms, 48 ms, 27 ms). Its fixture, TCP probe, allocator, and claim owners are unchanged in this PR. These passes do not establish that the original failure is pre-existing; that assertion remains unclassified.

Fresh independent Codex review produced one finding about suppression in summarizeAgentActivity. Rejected after inspecting the complete function: items with suppressChannelProgress are filtered out before constructing operations, so removing the repeated predicate inside the loop preserves suppression. No source edits, timeout changes, assertion weakening, or CI reruns have been made.

Original CI shard replay: the exact recorded 15-file group, with two Vitest workers through scripts/ci-run-node-test-shard.mts, passed 5/5 at the PR head and 5/5 at main 6f729f1. Each invocation passed 496 tests with one expected skip. Blacksmith Testbox tbx_01m3t9t99230q5k28njh8gx8zk (workflow run 36790432189). No original-shard failure reproduced.

Disposition: BLOCKED. The SDK failures qualify as inherited, but the absent-Gateway port failure does not yet have causal attribution or an independent failing baseline. Repeated green replays are not a fix. No merge requested.

@steipete

steipete commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

Coordinator admin-land on exact head d07a698.

This builds on the attribution evidence posted above. Every failing test on this head passed repeatedly at both this head and fresh main (5–10/10 per suite, including original-shard replays, plus 48 additional E2E executions on the original CI trees). The failures that could be pinned down are inherited from main: the SDK/Stop failures reproduced on the original CI base, and the delayed-text failure came from an inherited fixture deadlock. None reproduces as caused by this change, so I am treating the residual unclassified timeouts as CI flakes under the campaign's pre-existing-failure policy rather than holding a verified cleanup.

@steipete
steipete merged commit d1233a9 into main Oct 1, 2026
247 of 251 checks passed
@steipete
steipete deleted the deslop/l245-agents-root6 branch October 1, 2026 01:06
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 1, 2026
Reuse canonical parsers, projections, and state owners while preserving agent authority and rendered bytes. Close CLI side-question admission even when backend cleanup rejects.
steipete added a commit that referenced this pull request Oct 1, 2026
## What Problem This Solves

Production code still carries duplicated narration over function names, types, branches and CSS selectors. Some of that prose has drifted: Zalo polling is described as development-only even though it is the default production route, and a joined hook helper is called fire-and-forget.

## User Impact

No user-visible behavior changes. Runtime logic, templates, CSS declarations, configuration, persisted state, wire formats, public API documentation, licenses and lint-suppression reasons remain intact.

## Why This Change Was Made

This maintainer-requested cleanup removes redundant internal helper/registrar summaries, repeated section labels, and obsolete inline font-size history. Existing declarations and shared owners already express these facts; no new abstraction is needed. Comments explaining authority, lifecycle, ordering, cleanup, platform constraints, dependencies and public contracts stay.

The measured reduction is 696 net production/tooling lines: 604 standalone comment lines and 92 adjacent blank lines, plus 59 inline comment removals without net line savings. No tests or generated files changed. This is a bounded contextual sweep, not a claim of exhaustive repository coverage; the local census records exact findings, retained candidates, and unread files. Filename-header cleanup from #161768 is excluded.

## Evidence

Independent review completed; all accepted documentation findings were addressed by restoring base comments. The remaining changed files are byte-identical to the reviewed and remotely frozen candidate.

Blacksmith Testbox validation:
- Parser comparison: identical non-comment TypeScript tokens and CSS structure.
- Both import-cycle checks: 0 cycles.
- Focused existing tests: 40 Vitest shards passed (521.71 seconds).
- Plugin contracts: 48 files / 1,153 tests passed.
- Plugin, source-to-extension, and SDK/package import-boundary checks passed.
- Feishu asset hook check: no build hooks; no plugin browser/control-UI source changed.

SDK API comparison passed with no API changes. The full changed-file gate passed remotely. The lowered-threshold duplicate census (12 lines / 80 tokens) completed; its raw 155 records include deliberate probe/fixture matches and are not claimed as removable production code. No tests were added or changed.

Public JSDoc was audited independently: the SDK API comparison strips comments, while shipped declarations can preserve them, so API-shape equality alone would not prove documentation preservation.


### Inherited hosted CI failure

Exact-head [CI run 36815106181](https://github.com/openclaw/openclaw/actions/runs/36815106181) tested `ff26a4c05d3b41d25477df41cb94010c6cac5cb0` merged with main `75d1f82c18466450edcf63c405287ff88109c471`. The only failing test job was `checks-node-compact-small-19`: `test/helpers/openclaw-test-instance.acquisition.test.ts:33`, “keeps an absent Gateway unreachable while retaining its port claims,” expected `free` but received `busy`. The other failure is the aggregate CI gate. This attempt has 84 successful jobs, 16 skipped jobs, and 88 collateral cancellations; cancelled coverage is not counted as passing.

The identical assertion and error were independently verified in [job 110052175838](https://github.com/openclaw/openclaw/actions/runs/36763489663/job/110052175838), the latest attempt (1) for unrelated PR #162070's final head `d07a6981d40b124a25d4c14c7b7badf61285b655`. The acquisition test, instance helper, cleanup wrapper, isolated-state writer, port allocator, claim owner, claim-lock owner and TCP probe are byte-identical between that head and this PR. No changed file participates in the failing acquisition/probe path. The failure precedes Gateway startup; the logs do not identify the competing listener, so no root-cause repair is claimed.

Landing uses the maintainer-authorized inherited-failure exception pinned to this exact head, backed by the passing remote gates above. The fixture defect remains with the main-CI coordinator. No workflow rerun, test weakening, timeout increase, or source repush was used to obtain green. GitHub's GraphQL writer rejected auto-merge because its quota was exhausted; the request was reconciled as absent before selecting the supported REST squash path.
steipete added a commit that referenced this pull request Oct 1, 2026
An absent Gateway could still accept TCP connections after its reservation
closed: a sibling Vitest thread forked during acquisition, and the child
retained the listening socket until exec. A close callback only retired the
parent's descriptor. Cooperative port claims cannot close that inherited fd.

Route the acquisition suite through tooling-isolated and use forks for that
lane. Preserve file parallelism, every assertion, probe semantics, and existing
timeouts. This follows the listener lifetime repair in 4e4395c.

A forced Linux fork interleaving failed the original busy/free assertion and
matched the parent's socket inode in the held child. The actual isolated lane
passed the same interleaving with no inherited listener. Both children were
reaped, and the acquisition test source remained byte-for-byte unchanged.

Validation on Linux/Node 24.19.0: 30 standalone cycles and 32 cycles across four
concurrent processes before and after the change; all 369 isolated-lane tests;
port siblings and routing tests; and three clean original CI-neighbor replays
plus another 30 cycles on refreshed main. The initial neighbor replays exposed
SDK budget drift already fixed upstream by 63df802. Standard single-file
pnpm test --maxWorkers=1 wall time was 13.21s. Both import-cycle checks found 0;
node scripts/check-changed.mjs passed. No retries or timeout changes were added.

Original failures: PR #162070 job 110052175838 and PR #162392 job 110218620115.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 2, 2026
## What Problem This Solves

Production code still carries duplicated narration over function names, types, branches and CSS selectors. Some of that prose has drifted: Zalo polling is described as development-only even though it is the default production route, and a joined hook helper is called fire-and-forget.

## User Impact

No user-visible behavior changes. Runtime logic, templates, CSS declarations, configuration, persisted state, wire formats, public API documentation, licenses and lint-suppression reasons remain intact.

## Why This Change Was Made

This maintainer-requested cleanup removes redundant internal helper/registrar summaries, repeated section labels, and obsolete inline font-size history. Existing declarations and shared owners already express these facts; no new abstraction is needed. Comments explaining authority, lifecycle, ordering, cleanup, platform constraints, dependencies and public contracts stay.

The measured reduction is 696 net production/tooling lines: 604 standalone comment lines and 92 adjacent blank lines, plus 59 inline comment removals without net line savings. No tests or generated files changed. This is a bounded contextual sweep, not a claim of exhaustive repository coverage; the local census records exact findings, retained candidates, and unread files. Filename-header cleanup from openclaw#161768 is excluded.

## Evidence

Independent review completed; all accepted documentation findings were addressed by restoring base comments. The remaining changed files are byte-identical to the reviewed and remotely frozen candidate.

Blacksmith Testbox validation:
- Parser comparison: identical non-comment TypeScript tokens and CSS structure.
- Both import-cycle checks: 0 cycles.
- Focused existing tests: 40 Vitest shards passed (521.71 seconds).
- Plugin contracts: 48 files / 1,153 tests passed.
- Plugin, source-to-extension, and SDK/package import-boundary checks passed.
- Feishu asset hook check: no build hooks; no plugin browser/control-UI source changed.

SDK API comparison passed with no API changes. The full changed-file gate passed remotely. The lowered-threshold duplicate census (12 lines / 80 tokens) completed; its raw 155 records include deliberate probe/fixture matches and are not claimed as removable production code. No tests were added or changed.

Public JSDoc was audited independently: the SDK API comparison strips comments, while shipped declarations can preserve them, so API-shape equality alone would not prove documentation preservation.


### Inherited hosted CI failure

Exact-head [CI run 36815106181](https://github.com/openclaw/openclaw/actions/runs/36815106181) tested `ff26a4c05d3b41d25477df41cb94010c6cac5cb0` merged with main `d766d969eb1c5730598c551324bf47a4991eada7`. The only failing test job was `checks-node-compact-small-19`: `test/helpers/openclaw-test-instance.acquisition.test.ts:33`, “keeps an absent Gateway unreachable while retaining its port claims,” expected `free` but received `busy`. The other failure is the aggregate CI gate. This attempt has 84 successful jobs, 16 skipped jobs, and 88 collateral cancellations; cancelled coverage is not counted as passing.

The identical assertion and error were independently verified in [job 110052175838](https://github.com/openclaw/openclaw/actions/runs/36763489663/job/110052175838), the latest attempt (1) for unrelated PR openclaw#162070's final head `d07a6981d40b124a25d4c14c7b7badf61285b655`. The acquisition test, instance helper, cleanup wrapper, isolated-state writer, port allocator, claim owner, claim-lock owner and TCP probe are byte-identical between that head and this PR. No changed file participates in the failing acquisition/probe path. The failure precedes Gateway startup; the logs do not identify the competing listener, so no root-cause repair is claimed.

Landing uses the maintainer-authorized inherited-failure exception pinned to this exact head, backed by the passing remote gates above. The fixture defect remains with the main-CI coordinator. No workflow rerun, test weakening, timeout increase, or source repush was used to obtain green. GitHub's GraphQL writer rejected auto-merge because its quota was exhausted; the request was reconciled as absent before selecting the supported REST squash path.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 2, 2026
An absent Gateway could still accept TCP connections after its reservation
closed: a sibling Vitest thread forked during acquisition, and the child
retained the listening socket until exec. A close callback only retired the
parent's descriptor. Cooperative port claims cannot close that inherited fd.

Route the acquisition suite through tooling-isolated and use forks for that
lane. Preserve file parallelism, every assertion, probe semantics, and existing
timeouts. This follows the listener lifetime repair in a77fe7e.

A forced Linux fork interleaving failed the original busy/free assertion and
matched the parent's socket inode in the held child. The actual isolated lane
passed the same interleaving with no inherited listener. Both children were
reaped, and the acquisition test source remained byte-for-byte unchanged.

Validation on Linux/Node 24.19.0: 30 standalone cycles and 32 cycles across four
concurrent processes before and after the change; all 369 isolated-lane tests;
port siblings and routing tests; and three clean original CI-neighbor replays
plus another 30 cycles on refreshed main. The initial neighbor replays exposed
SDK budget drift already fixed upstream by 604296b. Standard single-file
pnpm test --maxWorkers=1 wall time was 13.21s. Both import-cycle checks found 0;
node scripts/check-changed.mjs passed. No retries or timeout changes were added.

Original failures: PR openclaw#162070 job 110052175838 and PR openclaw#162392 job 110218620115.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docker Docker and sandbox tooling P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. security-sensitive-changed 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