Repository navigation
refactor(agents): deslop agents core sixth pass - #162070
Conversation
Reuse canonical parsers, projections, and state owners while preserving agent authority and rendered bytes. Close CLI side-question admission even when backend cleanup rejects.
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
|
Codex review: blocked before merge. Reviewed September 30, 2026, 4:49 PM ET / 20:49 UTC (Revision 4). ClawSweeper reviewWhat this changesThe branch consolidates agent-runtime parsing, display, routing, and lifecycle helpers and closes CLI 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 Review scores
Verification
How this fits togetherOpenClaw'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]
Before merge
Agent review detailsSecurityNone. PR surfaceSource -675, Tests +46, Other -1. Total -630 across 65 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest 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. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
|
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 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 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. |
|
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. |
Reuse canonical parsers, projections, and state owners while preserving agent authority and rendered bytes. Close CLI side-question admission even when backend cleanup rejects.
## 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.
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.
## 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.
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.
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
/btwside questions now close their prepared execution admission even when backend cleanup rejects.Why This Change Was Made
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
runCliBtwSideQuestionawaited backend cleanup and then closed admission in the samefinallyblock. A cleanup rejection skipped the close. A nestedfinallynow 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 waschecks-node-compact-small-15:test/scripts/plugin-sdk-surface-report.test.ts: three assertions fail with public exports4595 > 4594and callable exports2699 > 2698. The same errors occur on unrelated current-head config CI job 110060850597, head5b39f39a50e31942efb4edb9b9636a8e7a1b9df6. 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 claimsreceivedbusy, expectedfree. 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 base34623068957b474af18f8107528342da07c478baplus 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. Hostedchecks-node-changed-compact-large-12passed 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.tsandscripts/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 --checkpassed.pnpm buildpassed 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 34623068957b474af18f8107528342da07c478bacompleted 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.src/agents/bash-tools.exec-host-gateway.tssrc/agents/model-selection-shared.tssrc/agents/worktrees/service.tssrc/agents/agent-tools.read.tssrc/agents/model-auth-availability.tssrc/agents/btw.tssrc/agents/workspace.tssrc/agents/system-prompt.tssrc/agents/agent-bundle-mcp-runtime.tssrc/agents/bash-tools.exec-runtime.tssrc/agents/command/attempt-execution.tssrc/agents/command/delivery.tssrc/agents/provider-transport-fetch.tssrc/agents/plugin-model-catalog.tssrc/agents/prepared-model-runtime.tssrc/agents/tool-loop-detection.tssrc/agents/tool-search-runtime.tssrc/agents/provider-request-config.tssrc/agents/embedded-agent-block-chunker.tssrc/agents/model-fallback-runner.tssrc/agents/embedded-agent-subscribe.stream-rendering.tssrc/agents/transcript-redact.tssrc/agents/prepared-model-catalog-worker.tssrc/agents/bash-tools.exec-run.tssrc/agents/isolated-completion.tssrc/agents/command/cli-compaction.tssrc/agents/github-tool-identity.tssrc/agents/agent-command.tssrc/agents/failover-error.tssrc/agents/agent-create.tssrc/agents/model-auth-provider-config.tssrc/agents/cli-output-stream.tssrc/agents/agent-tools.before-tool-call.wrapper.tssrc/agents/code-mode-execution.tssrc/agents/command/post-run.tssrc/agents/agent-scope.tssrc/agents/prepared-model-runtime.owner.tssrc/agents/model-fallback-attempt.tssrc/agents/simple-completion-runtime.tssrc/agents/cli-output-records.tssrc/agents/tool-display-exec.tssrc/agents/prepared-model-runtime.full-catalog.tssrc/agents/agent-tools.before-tool-call.diagnostics.tssrc/agents/prepared-model-runtime.catalog-access.tssrc/agents/apply-patch.tssrc/agents/cli-output-events.tssrc/agents/cli-runner.tssrc/agents/command/session.tssrc/agents/tool-display-exec-shell.tssrc/agents/prepared-model-runtime.facts.tssrc/agents/command/model-selection.tssrc/agents/model-auth-provider.tssrc/agents/model-catalog-view.tssrc/agents/provider-local-service.tssrc/agents/command/run-embedded-attempt.tssrc/agents/code-mode-state.tssrc/agents/models-config.providers.implicit.tssrc/agents/admitted-run-context.tssrc/agents/worktrees/checkout.tssrc/agents/bash-tools.exec-host-node-phases.tssrc/agents/agent-tools.policy.tssrc/agents/bash-tools.exec-host-node.tssrc/agents/bash-tools.process.tssrc/agents/agent-bundle-lsp-runtime.tssrc/agents/provider-attribution.tssrc/agents/embedded-agent-subscribe.handlers.messages.update.tssrc/agents/embedded-agent-subscribe.handlers.tools.completion.tssrc/agents/worktrees/snapshot-exact-state.tssrc/agents/agent-tool-definition-adapter.tssrc/agents/agent-bundle-mcp-materialize.tssrc/agents/session-tool-result-guard.tssrc/agents/tool-catalog.tssrc/agents/worktrees/snapshot-inventory.tssrc/agents/model-catalog-decisions.tssrc/agents/agent-tools.tssrc/agents/cli-executable-identity.tssrc/agents/worktrees/registry.tssrc/agents/agent-scope-config.tssrc/agents/prepared-model-catalog.worker.tssrc/agents/embedded-agent-subscribe.handlers.tools.start.tssrc/agents/media-generation-task-status-shared.tssrc/agents/embedded-agent-subscribe.handlers.tools.results.tssrc/agents/prepared-model-runtime.build.tssrc/agents/prepared-model-catalog.tssrc/agents/openclaw-tools.tssrc/agents/mcp-oauth.tssrc/agents/code-mode-namespaces.tssrc/agents/bash-tools.exec-approval-followup.tssrc/agents/agent-tools.before-tool-call.approval.tssrc/agents/agent-run-terminal-outcome.tssrc/agents/agent-bundle-mcp-manager-lifecycle.tssrc/agents/embedded-agent-subscribe.reply-delivery.tssrc/agents/model-catalog.tssrc/agents/provider-http-errors.tssrc/agents/provider-model-route-auth.tssrc/agents/worktrees/removal-recovery.tssrc/agents/worktrees/snapshot-restore.tssrc/agents/bash-tools.exec-request-preparation.tssrc/agents/embedded-agent-subscribe.tssrc/agents/code-mode-node.worker.tssrc/agents/tool-search-catalog.tssrc/agents/tool-display-config.tssrc/agents/exec-auto-reviewer.tssrc/agents/bash-process-registry.tssrc/agents/bash-tools.exec-host-shared.tssrc/agents/workspace-access.tssrc/agents/shell-snapshot.tssrc/agents/command/attempt-execution.helpers.tssrc/agents/cli-credentials.tssrc/agents/agent-command-restart-recovery.tssrc/agents/code-mode-controller-source.tssrc/agents/embedded-agent-tool-results.tssrc/agents/github-oauth-client.tssrc/agents/usage.tssrc/agents/worktrees/snapshot-host.tssrc/agents/command/prepare.tssrc/agents/cron-creator-authority-context.tssrc/agents/tool-schema-hints.tssrc/agents/code-mode-headless.tssrc/agents/embedded-agent-utils.tssrc/agents/bash-tools.exec-script-ambiguity.tssrc/agents/model-auth-model.tssrc/agents/tool-call-id.tssrc/agents/code-mode-bridge.tssrc/agents/agent-tools.before-tool-call.policy.tssrc/agents/command/acp-lifecycle.tssrc/agents/internal-runtime-context.tssrc/agents/agent-bundle-mcp-harness.tssrc/agents/bootstrap-files.tssrc/agents/embedded-agent-message-delivery.tssrc/agents/prepared-model-runtime-lease.tssrc/agents/session-tool-result-guard.payload.tssrc/agents/prepared-model-runtime-auth-publication.tssrc/agents/agent-bundle-mcp-manager.tssrc/agents/model-runtime-choice.tssrc/agents/tool-mutation.tssrc/agents/workspace-state-store.tssrc/agents/models-config.providers.secrets.tssrc/agents/tool-display-common.tssrc/agents/embedded-agent-messaging-extraction.tssrc/agents/bash-tools.exec-workdir.tssrc/agents/mcp-ui-resource.tssrc/agents/auth-health.tssrc/agents/embedded-agent-subscribe.handlers.messages.stream.tssrc/agents/embedded-agent-subscribe.handlers.types.tssrc/agents/worktrees/removal-git.tssrc/agents/core-coding-tools.tssrc/agents/model-scan.tssrc/agents/embedded-agent-subscribe.handlers.lifecycle.tssrc/agents/workspace-state-store.kernel.tssrc/agents/shell-utils.tssrc/agents/model-auth-runtime.tssrc/agents/tool-images.tssrc/agents/mcp-http-transport.tssrc/agents/cli-auth-epoch.tssrc/agents/sandbox-paths.tssrc/agents/command/session-store.tssrc/agents/session-transcript-repair.tssrc/agents/spawn-plan.tssrc/agents/tool-search.tssrc/agents/tools-effective-inventory.tssrc/agents/code-mode-json.tssrc/agents/compaction.tssrc/agents/models-config.merge.tssrc/agents/model-fallback-candidates.tssrc/agents/code-mode.tssrc/agents/models-config.tssrc/agents/sandbox-host.tssrc/agents/openclaw-plugin-tools.tssrc/agents/runtime-plugins.tssrc/agents/code-mode-mcp-api.tssrc/agents/internal-events.tssrc/agents/prepared-model-runtime.configured.tssrc/agents/worktrees/provisioned-files.tssrc/agents/prepared-model-runtime.plugin-lifetime.tssrc/agents/worktrees/git.tssrc/agents/compaction-planning.tssrc/agents/model-runtime-policy.tssrc/agents/command/acp-execution.tssrc/agents/worktrees/run-lease.tssrc/agents/embedded-agent-subscribe.handlers.messages.lifecycle.tssrc/agents/code-mode-node.tssrc/agents/tool-search-ranking.tssrc/agents/embedded-agent-tool-media.tssrc/agents/models-config.plan.tssrc/agents/session-tool-result-guard-wrapper.tssrc/agents/apply-patch-update.tssrc/agents/mcp-oauth-store.kernel.tssrc/agents/session-activity-notes.tssrc/agents/model-fallback-observation.tssrc/agents/cli-backends.tssrc/agents/workspace-alias-rebind.tssrc/agents/mcp-connection-resolver.tssrc/agents/models-config.providers.secret-helpers.tssrc/agents/model-runtime-aliases.tssrc/agents/tool-policy.tssrc/agents/transcript-policy.tssrc/agents/codex-mcp-config.tssrc/agents/run-wait.tssrc/agents/context-resolution.tssrc/agents/github-read-identity.tssrc/agents/agent-steering-queue.tssrc/agents/agent-bundle-mcp-combined.tssrc/agents/execution-auth-binding.tssrc/agents/session-placement-admission.tssrc/agents/command/transcript-persistence.tssrc/agents/workspace-legacy-state.tssrc/agents/worktrees/snapshot-restore-exact.tssrc/agents/bash-tools.exec-script-preflight.tssrc/agents/live-model-switch.tssrc/agents/cli-session.tssrc/agents/worktrees/service-preparation.tssrc/agents/pty-keys.tssrc/agents/identity-file.tssrc/agents/compaction-planning-projection.tssrc/agents/mcp-oauth-provider.tssrc/agents/worktrees/capacity.runtime.tssrc/agents/context.tssrc/agents/command/session-preparation.tssrc/agents/embedded-agent-subscribe.handlers.messages.snapshot.tssrc/agents/agent-lifecycle-registry.tssrc/agents/command/types.tssrc/agents/code-mode-runtime.tssrc/agents/requester-tool-policy.tssrc/agents/prepared-model-runtime.types.tssrc/agents/worktrees/branches.runtime.tssrc/agents/models-config.providers.catalog-context.tssrc/agents/apply-patch-file-ops.tssrc/agents/bash-tools.exec-approval-request.tssrc/agents/memory-search.tssrc/agents/model-catalog-visibility.tssrc/agents/run-session-target.tssrc/agents/agent-command-recovery-owner.tssrc/agents/github-oauth-records.tssrc/agents/tool-loop-admission.tssrc/agents/exec-auto-review-transcript.tssrc/agents/agent-bundle-mcp-manager-install.tssrc/agents/openclaw-tools.media-factory-plan.tssrc/agents/date-time.tssrc/agents/model-selection.tssrc/agents/agent-harness-completion-recovery.tssrc/agents/agent-tools.params.tssrc/agents/model-catalog-route.tssrc/agents/prepared-model-runtime.inbound-registry.tssrc/agents/prepared-model-runtime.refresh-scope.tssrc/agents/worktrees/checkout-git-config.tssrc/agents/exec-defaults.tssrc/agents/node-plugin-tools.tssrc/agents/mcp-stdio-transport.tssrc/agents/agent-command-execution-identity.tssrc/agents/embedded-agent-subscribe.handlers.messages.replies.tssrc/agents/tool-policy-pipeline.tssrc/agents/code-mode-swarm.runtime.tssrc/agents/bootstrap-budget.tssrc/agents/mcp-stdio-client.tssrc/agents/code-mode-result-preview.tssrc/agents/bash-tools.exec-types.tssrc/agents/context-cache-projection.tssrc/agents/agent-bundle-mcp-types.tssrc/agents/conversation-capability-profile.tssrc/agents/tool-result-error.tssrc/agents/bash-tools.exec-script-target.tssrc/agents/mcp-transport.tssrc/agents/exec-tool-target-pinning.tssrc/agents/live-cache-regression-policy.tssrc/agents/worktrees/registry-read.kernel.tssrc/agents/bash-tools.exec-approval-followup-state.tssrc/agents/embedded-agent-subscribe.handlers.compaction.tssrc/agents/session-suspension.tssrc/agents/mcp-transport-config.tssrc/agents/transcript-code-mode-source.tssrc/agents/cache-trace.tssrc/agents/embedded-agent-subscribe.model-state.tssrc/agents/mcp-oauth-store.tssrc/agents/prepared-model-runtime.resources.tssrc/agents/tool-search-request.tssrc/agents/identity-avatar-file.tssrc/agents/tool-search-directory.tssrc/agents/command/shared-types.tssrc/agents/agent-harness-completion-custody.tssrc/agents/code-mode-control-tools.tssrc/agents/bash-tools.exec-approval-output.tssrc/agents/model-catalog-auth-labels.tssrc/agents/worktrees/checkout-apfs.tssrc/agents/minimax-vlm.tssrc/agents/model-catalog-lookup.tssrc/agents/mcp-content.tssrc/agents/codex-native-web-search-core.tssrc/agents/tool-policy-audit.tssrc/agents/models-config.providers.discovery-auth.runtime.tssrc/agents/provider-model-auth-source-plan.tssrc/agents/fallback-skip-cache.tssrc/agents/realtime-bootstrap-context.tssrc/agents/agent-bundle-mcp-manager-api.tssrc/agents/prepared-model-runtime.plugin-generation.tssrc/agents/run-termination.tssrc/agents/session-model-auto-revert.tssrc/agents/path-policy.tssrc/agents/transport-message-transform.tssrc/agents/command/lifecycle.tssrc/agents/openai-routing.tssrc/agents/plugin-text-transforms.tssrc/agents/embedded-agent-error-observation.tssrc/agents/internal-session-effects.tssrc/agents/media-generation-activity.tssrc/agents/command/maintenance.ts