Repository navigation
refactor: share repeated core and plugin paths - #167205
Conversation
|
🦞👀 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: needs maintainer review before merge. Reviewed October 8, 2026, 7:56 AM ET / 11:56 UTC. ClawSweeper reviewWhat this changesThe branch consolidates repeated core and plugin implementations into shared private helpers while preserving existing contracts. Review scores
ProductKind: Refactor · Worth it: Yes Merge readiness✅ Ready for maintainer review Keep open: this PR provides useful consolidation that remains absent from current main. No concrete introduced defect was found; the recorded CLI timeouts limit validation confidence. Priority: P3 Before mergeNone. FindingsNone. Provenance
Tests
Agent review detailsHow this fits togetherCore code manages agent setup, package ownership, process lifecycle, and recovery; bundled plugins translate requests and events into provider calls, channel messages, and telemetry. The refactor shares repeated preparation and projection steps within those existing owners. flowchart TD
A[Operator commands and agent requests] --> B[Core lifecycle owners]
C[Provider requests and channel events] --> D[Bundled plugin owners]
B --> E[Shared private preparation and projection]
D --> E
E --> F[Existing validation and lifecycle decisions]
F --> G[Stored records and process control]
F --> H[Provider calls messages and telemetry]
Technical reviewBest possible solution: Keep consolidation inside the existing owners, preserving their validation, persisted values, authority checks, and cleanup ordering. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR proposes behavior-preserving consolidation rather than reporting a reproducible product bug. Is this the best way to solve the issue? Yes: the inspected extractions reuse existing owners and migrate private callers together without adding public configuration, SDK contracts, or persistent formats. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e380a256e9a0. Provenance checked
TestingProof path: in-process harness. Added test files: 5. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -991, Tests -32, Other -1. Total -1024 across 63 files. View PR surface stats
Stored data modelPersistent data-model change detected: LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment |
…lers #166988 inlined clearFailedSystemAgentSessionState at its single caller while #167205 added a second caller, leaving main failing tsgo:core (TS2304 in src/system-agent/agent-turn.ts). Restore the helper and use it from both paths. Also drop the unused SessionPendingInputState re-export left behind by #167106.
Consolidate core lifecycle/provenance preparation and bundled plugin variant paths while preserving their existing contracts. Remove 991 net production lines. Type, cycle, lint, independent review, selected-directory tests, Claws CLI E2E, and exact-head hosted CI are recorded in openclaw#167205, along with the coverage log and original local timeout outcomes.
…lers openclaw#166988 inlined clearFailedSystemAgentSessionState at its single caller while openclaw#167205 added a second caller, leaving main failing tsgo:core (TS2304 in src/system-agent/agent-turn.ts). Restore the helper and use it from both paths. Also drop the unused SessionPendingInputState re-export left behind by openclaw#167106.
Share Google SSE startup, OpenAI voice configuration preparation and MiniMax request credentials. Reuse the SDK FIFO permit pool for Session Share and return Logbook's committed standup receipt instead of rereading its write. Remove repeated ONNX validation after the existing schema boundary and unused response/header copies. Preserve public surfaces, auth, resource bounds, snapshot limits, user-data durability and shutdown settlement. Phase E stays untouched. Simplify ordinary Memory Core sync-error bookkeeping and remove late-probe cache fencing and synthetic multi-process LanceDB startup retries. Remove redundant Bonjour sentinel/cleanup/listener defenses while retaining network-error handling and stop settlement. Net production reduction: 217 lines; test reduction: 204 lines. Best-effort tradeoffs accepted: - Active Memory's synthetic maximum-Date clock no longer bypasses caching; d649548 introduced the forced-clock fixture, not a human-use report. - Voice Call's synthetic maximum-Date clock uses numeric expiry and always admits the cache entry before native Promise rejection cleanup; 55d4456 introduced the forced-clock fixture, not a human-use report. - Future mutation of an internal webhook response is not isolated by copies; #118754 records synthetic HTTP proof, and no current consumer mutates it. - A publication racing compiled-cache reconciliation is picked up on the next lifecycle refresh; #110167 pins a synthetic lookup interleaving, not an incident. - A later parallel standup may overwrite the stored day, while each caller gets its own committed receipt; #99930/#144982 add the self-reread without an incident. - Deliberate mutation of Fal's internal image array during credential lookup may reach provider validation; migration 0f54ca2 already had a guarded caller. - Future mutation of Comfy's internal GET headers is not isolated by extra copies; #167205 retained these copies, but the current consumers are read-only. - An embedding probe finishing during adapter replacement can cache old availability for the existing 30-second TTL or until invalidation; #144252 and related #135599/#141280 describe architecture/synthetic lifecycle proof, not a human incident. Provider authority and shutdown drainage stay intact. - A competing LanceDB initializer exposing a table before its first readable version may fail startup and need the next invocation/restart. #105896's retry proof coordinates six processes; #105680 describes source inference, and its review explicitly notes that no actual failure log was supplied. Atomic existOk creation, schema/agent checks and user-data durability stay. - Internal handled-sync failure calls no longer re-check a tracked-active flag; #133239 introduced the bookkeeping, but every production caller is already inside tracked sync. A future untracked internal caller records its advisory failure directly. Deferred work and real overlapping failure identity stay. - Nonfinite ONNX logits still fail at the TypeBox IPC schema boundary; #153476 redundantly scanned the same validated vector a second time. No malformed network/worker input is newly admitted. - Bonjour's fixed-path existsSync no longer catches impossible filesystem exceptions; direct 989cfd1 cites no incident and Node already returns false. A throwing monkey-patch now fails startup visibly. - Bonjour cleanup no longer repeats stopPromise's once-only bookkeeping; ddc2036 added the flag for smoke stabilization without a user incident. Failed startup cannot expose a stop handle; SDK unsubscribe is idempotent. - Bonjour's fixed EventEmitter listeners no longer swallow attachment errors; direct 7389fc0 cites no incident, and pinned Ciao inherits ordinary on(). A future dependency-contract violation follows existing startup cleanup. Proof: targeted production/test types, syntax lint, formatting, zero runtime and Madge cycles, SDK source boundaries, lint-suppressions and focused plugin owner/sibling suites. Fresh independent review's sole ONNX finding is disproved by actual parseWorkerReply rejecting NaN and both infinities, as the installed TypeBox validator calls Number.isFinite. No accepted finding remains. One kept Memory Core generation-lease case hits its unchanged five-second embedding-start deadline on both candidate and unchanged task base 9e3e16c. It bypasses changed outcome/probe bookkeeping. It is not claimed passing or fixed. Typed-lint declaration preparation and full Active Memory suite startup also exceeded unchanged deadlines. Broad build/check-changed and PR CI unrun. Below-500 branch-only packet for bundling; Phase E remains untouched.
* refactor(plugins): consolidate provider and feature paths Share Google SSE startup, OpenAI voice configuration preparation and MiniMax request credentials. Reuse the SDK FIFO permit pool for Session Share and return Logbook's committed standup receipt instead of rereading its write. Remove repeated ONNX validation after the existing schema boundary and unused response/header copies. Preserve public surfaces, auth, resource bounds, snapshot limits, user-data durability and shutdown settlement. Phase E stays untouched. Simplify ordinary Memory Core sync-error bookkeeping and remove late-probe cache fencing and synthetic multi-process LanceDB startup retries. Remove redundant Bonjour sentinel/cleanup/listener defenses while retaining network-error handling and stop settlement. Net production reduction: 217 lines; test reduction: 204 lines. Best-effort tradeoffs accepted: - Active Memory's synthetic maximum-Date clock no longer bypasses caching; d649548 introduced the forced-clock fixture, not a human-use report. - Voice Call's synthetic maximum-Date clock uses numeric expiry and always admits the cache entry before native Promise rejection cleanup; 55d4456 introduced the forced-clock fixture, not a human-use report. - Future mutation of an internal webhook response is not isolated by copies; #118754 records synthetic HTTP proof, and no current consumer mutates it. - A publication racing compiled-cache reconciliation is picked up on the next lifecycle refresh; #110167 pins a synthetic lookup interleaving, not an incident. - A later parallel standup may overwrite the stored day, while each caller gets its own committed receipt; #99930/#144982 add the self-reread without an incident. - Deliberate mutation of Fal's internal image array during credential lookup may reach provider validation; migration 0f54ca2 already had a guarded caller. - Future mutation of Comfy's internal GET headers is not isolated by extra copies; #167205 retained these copies, but the current consumers are read-only. - An embedding probe finishing during adapter replacement can cache old availability for the existing 30-second TTL or until invalidation; #144252 and related #135599/#141280 describe architecture/synthetic lifecycle proof, not a human incident. Provider authority and shutdown drainage stay intact. - A competing LanceDB initializer exposing a table before its first readable version may fail startup and need the next invocation/restart. #105896's retry proof coordinates six processes; #105680 describes source inference, and its review explicitly notes that no actual failure log was supplied. Atomic existOk creation, schema/agent checks and user-data durability stay. - Internal handled-sync failure calls no longer re-check a tracked-active flag; #133239 introduced the bookkeeping, but every production caller is already inside tracked sync. A future untracked internal caller records its advisory failure directly. Deferred work and real overlapping failure identity stay. - Nonfinite ONNX logits still fail at the TypeBox IPC schema boundary; #153476 redundantly scanned the same validated vector a second time. No malformed network/worker input is newly admitted. - Bonjour's fixed-path existsSync no longer catches impossible filesystem exceptions; direct 989cfd1 cites no incident and Node already returns false. A throwing monkey-patch now fails startup visibly. - Bonjour cleanup no longer repeats stopPromise's once-only bookkeeping; ddc2036 added the flag for smoke stabilization without a user incident. Failed startup cannot expose a stop handle; SDK unsubscribe is idempotent. - Bonjour's fixed EventEmitter listeners no longer swallow attachment errors; direct 7389fc0 cites no incident, and pinned Ciao inherits ordinary on(). A future dependency-contract violation follows existing startup cleanup. Proof: targeted production/test types, syntax lint, formatting, zero runtime and Madge cycles, SDK source boundaries, lint-suppressions and focused plugin owner/sibling suites. Fresh independent review's sole ONNX finding is disproved by actual parseWorkerReply rejecting NaN and both infinities, as the installed TypeBox validator calls Number.isFinite. No accepted finding remains. One kept Memory Core generation-lease case hits its unchanged five-second embedding-start deadline on both candidate and unchanged task base 9e3e16c. It bypasses changed outcome/probe bookkeeping. It is not claimed passing or fixed. Typed-lint declaration preparation and full Active Memory suite startup also exceeded unchanged deadlines. Broad build/check-changed and PR CI unrun. Below-500 branch-only packet for bundling; Phase E remains untouched. * refactor(plugins): consolidate remaining feature and provider owners Replace ACPX trust scanning with the existing TOML parser, consolidate Logbook operation dispatch, reuse SDK FIFO playback admission, and prepare wiki claims once. Remove repeated internal validation and redundant copies while retaining external validation, live authority, resource bounds, durability and Phase E. Shrink only the assertion allowances eliminated by these removals. The complete branch removes 750 net production lines. Accepted timing and internal-mutation tradeoffs, provenance, review decisions and proof are recorded in the PR body and requested local ledger. * test(plugins): align checks with simplified owners
…aw#173064) * refactor(plugins): consolidate provider and feature paths Share Google SSE startup, OpenAI voice configuration preparation and MiniMax request credentials. Reuse the SDK FIFO permit pool for Session Share and return Logbook's committed standup receipt instead of rereading its write. Remove repeated ONNX validation after the existing schema boundary and unused response/header copies. Preserve public surfaces, auth, resource bounds, snapshot limits, user-data durability and shutdown settlement. Phase E stays untouched. Simplify ordinary Memory Core sync-error bookkeeping and remove late-probe cache fencing and synthetic multi-process LanceDB startup retries. Remove redundant Bonjour sentinel/cleanup/listener defenses while retaining network-error handling and stop settlement. Net production reduction: 217 lines; test reduction: 204 lines. Best-effort tradeoffs accepted: - Active Memory's synthetic maximum-Date clock no longer bypasses caching; 1802f6b introduced the forced-clock fixture, not a human-use report. - Voice Call's synthetic maximum-Date clock uses numeric expiry and always admits the cache entry before native Promise rejection cleanup; c7b888b introduced the forced-clock fixture, not a human-use report. - Future mutation of an internal webhook response is not isolated by copies; openclaw#118754 records synthetic HTTP proof, and no current consumer mutates it. - A publication racing compiled-cache reconciliation is picked up on the next lifecycle refresh; openclaw#110167 pins a synthetic lookup interleaving, not an incident. - A later parallel standup may overwrite the stored day, while each caller gets its own committed receipt; openclaw#99930/openclaw#144982 add the self-reread without an incident. - Deliberate mutation of Fal's internal image array during credential lookup may reach provider validation; migration d365cd8 already had a guarded caller. - Future mutation of Comfy's internal GET headers is not isolated by extra copies; openclaw#167205 retained these copies, but the current consumers are read-only. - An embedding probe finishing during adapter replacement can cache old availability for the existing 30-second TTL or until invalidation; openclaw#144252 and related openclaw#135599/openclaw#141280 describe architecture/synthetic lifecycle proof, not a human incident. Provider authority and shutdown drainage stay intact. - A competing LanceDB initializer exposing a table before its first readable version may fail startup and need the next invocation/restart. openclaw#105896's retry proof coordinates six processes; openclaw#105680 describes source inference, and its review explicitly notes that no actual failure log was supplied. Atomic existOk creation, schema/agent checks and user-data durability stay. - Internal handled-sync failure calls no longer re-check a tracked-active flag; openclaw#133239 introduced the bookkeeping, but every production caller is already inside tracked sync. A future untracked internal caller records its advisory failure directly. Deferred work and real overlapping failure identity stay. - Nonfinite ONNX logits still fail at the TypeBox IPC schema boundary; openclaw#153476 redundantly scanned the same validated vector a second time. No malformed network/worker input is newly admitted. - Bonjour's fixed-path existsSync no longer catches impossible filesystem exceptions; direct 1fa8665 cites no incident and Node already returns false. A throwing monkey-patch now fails startup visibly. - Bonjour cleanup no longer repeats stopPromise's once-only bookkeeping; 2ef6daa added the flag for smoke stabilization without a user incident. Failed startup cannot expose a stop handle; SDK unsubscribe is idempotent. - Bonjour's fixed EventEmitter listeners no longer swallow attachment errors; direct 836f011 cites no incident, and pinned Ciao inherits ordinary on(). A future dependency-contract violation follows existing startup cleanup. Proof: targeted production/test types, syntax lint, formatting, zero runtime and Madge cycles, SDK source boundaries, lint-suppressions and focused plugin owner/sibling suites. Fresh independent review's sole ONNX finding is disproved by actual parseWorkerReply rejecting NaN and both infinities, as the installed TypeBox validator calls Number.isFinite. No accepted finding remains. One kept Memory Core generation-lease case hits its unchanged five-second embedding-start deadline on both candidate and unchanged task base d6898f3. It bypasses changed outcome/probe bookkeeping. It is not claimed passing or fixed. Typed-lint declaration preparation and full Active Memory suite startup also exceeded unchanged deadlines. Broad build/check-changed and PR CI unrun. Below-500 branch-only packet for bundling; Phase E remains untouched. * refactor(plugins): consolidate remaining feature and provider owners Replace ACPX trust scanning with the existing TOML parser, consolidate Logbook operation dispatch, reuse SDK FIFO playback admission, and prepare wiki claims once. Remove repeated internal validation and redundant copies while retaining external validation, live authority, resource bounds, durability and Phase E. Shrink only the assertion allowances eliminated by these removals. The complete branch removes 750 net production lines. Accepted timing and internal-mutation tradeoffs, provenance, review decisions and proof are recorded in the PR body and requested local ledger. * test(plugins): align checks with simplified owners
What Problem This Solves
Consolidates repeated implementations in core and bundled plugins.
User Impact
No user-visible change: configuration, CLI/protocol fields, persisted records, emitted messages, and card output retain their existing contracts.
Why This Change Was Made
Shares Claw provenance projections and migration preparation, system-agent inference guards, process control-message construction, and stale-run recovery. Plugin changes share variant dispatch, provider request preparation, migration verification, and LINE card construction while retaining their distinct validation, authority, ordering, and cleanup behavior. Telemetry methods remain bound to their original recorder owner.
Measured production delta: 991 net lines removed (1,611 added / 2,602 removed, 57 production files). Five existing tests only migrate removed private seams; assertions remain unchanged (37 added / 69 removed). The assertion-safety baseline was regenerated shrink-only (48 assertions removed). No new suppressions, dependencies, configuration/protocol/persisted shapes, or changelog changes.
This uses the campaign's authorized 500–999-line exception after a deep implementation and inspection pass. The 3% subsystem target was not reached. Per-file coverage follows below, including retained and partially inspected areas.
Evidence
645b327559be3d4650e7665662336a4dfbaae9f7/ tree7e09c6b3c6e2f4e72502368248762b6ba22ab0dd. The native wrapper reports exit 0 and settled lease cleanup; the backing Actions status may reflect that one-shot teardown. The remaining planned guards, including script lint, completed locally. This is combined local/remote proof; the original local exit 1 is retained.645b327559be3d4650e7665662336a4dfbaae9f7; its jobs have no failures or non-skipped zero-step results.The original full infra run timed out in
setup-inference.groq-external.integration.test.tsat its existing 120s limit. One focused replay passed with the limit unchanged; the original 44-file order was not repeated, and the original cause remains unclassified. The initial Claws lifecycle CLI E2E run passed grouped inspection but timed out in migration (120s), initial add preview for Gateway removal (30s), and export round-trip (120s). A separate replay of the unchanged file passed all 4 cases with the original limits: migration 64.89s, inspection 1.30s, Gateway removal 29.89s, and export 12.74s. The initial timeout causes remain unclassified; the passing replay is not presented as a fix. No timeouts, retries, skips, or assertions were relaxed, and these failures are not claimed as proven main-red.Existing test-file cost measurements
Each command was
pnpm test <file> --maxWorkers=1on the shared local host. These are fixture-seam updates with no added test cases. Wall time includes transformation and setup; existing localhost provider fixtures retain their real request/envelope/stream coverage. Hosted CI took 733s wall time; its 32 selected Node test jobs totaled 6,739 job-seconds including setup. That is the full PR test-job footprint, not marginal cost attributable to these five fixture updates.extensions/minimax/image-generation-provider.test.tsminimax/music-generation-provider.test.tsminimax/tts.test.tsminimax/video-generation-provider.test.tstlon/src/monitor/approval-runtime.test.tsCoverage log
The pass inspected all production files in Claws, process, and system-agent. Logging and eligible long-tail plugins were inspected largest-first with file-by-file decisions. Distinct authority, formatting, and cleanup paths were retained when they were not interchangeable. This does not claim exhaustive coverage of every long-tail plugin.
Condensed per-file inspection log
Paths without a
src/orextensions/prefix are relative toextensions/.amazon-bedrock-mantle/discovery.tsamazon-bedrock/discovery.tsamazon-bedrock/register.sync.runtime.tsamazon-bedrock/stream.runtime.tsanthropic/cli-shared.tsanthropic/cli.runtime.tsanthropic/register.runtime.tsanthropic/session-catalog-discovery.tsanthropic/session-catalog-listing.tsazure-speech/speech-provider.tsazure-speech/tts.tsbrave/src/brave-web-search-provider.runtime.tsbyteplus/video-generation-provider.tsclawrouter/provider-catalog.tscomfy/image-generation-provider.tscomfy/music-generation-provider.tscomfy/video-generation-provider.tscomfy/workflow-runtime.tscrabbox/src/crabbox-worker-desktop-macos.tscrabbox/src/crabbox-worker-desktop-windows.tscrabbox/src/crabbox-worker-node-process.tscrabbox/src/crabbox-worker-provider.tscrabbox/src/crabbox-worker-warm-image.tsdeepgram/realtime-transcription-provider-factory.tsdeepinfra/media-models.tsdeepinfra/provider-models.tselevenlabs/speech-provider-factory.tsexa/src/exa-web-search-provider.runtime.tsextensions/code-mode-quickjs/src/code-mode.worker.tsextensions/cua-computer/src/action-targets.tsextensions/cua-computer/src/browser-actions.tsextensions/cua-computer/src/commands.tsextensions/cua-computer/src/mcp-driver-client.tsextensions/cua-computer/src/window-actions.tsextensions/diagnostics-otel/src/service-attributes.tsextensions/diagnostics-otel/src/service-events.tsextensions/diagnostics-otel/src/service-genai-attributes.tsextensions/diagnostics-otel/src/service-metrics.tsextensions/diagnostics-otel/src/service-recorders-harness.tsextensions/diagnostics-otel/src/service-recorders-model.tsextensions/diagnostics-otel/src/service-recorders-operations.tsextensions/diagnostics-otel/src/service-recorders-tools.tsextensions/diagnostics-otel/src/service-recorders-usage.tsextensions/diagnostics-otel/src/service-traces.tsextensions/diagnostics-otel/src/service.tsextensions/facetime/src/helper-rpc.tsextensions/file-transfer/src/node-host/file-write.tsextensions/file-transfer/src/tools/dir-fetch-tool.tsextensions/file-transfer/src/tools/dir-list-tool.tsextensions/file-transfer/src/tools/file-fetch-tool.tsextensions/file-transfer/src/tools/file-write-tool.tsextensions/github/src/detail.tsextensions/github/src/github-api.tsextensions/google-meet/src/cli-export.tsextensions/google-meet/src/meet-api.tsextensions/google-meet/src/runtime.tsextensions/line/src/actions.ts (447)extensions/line/src/bot-handlers.ts (722)extensions/line/src/bot-message-context.ts (667)extensions/line/src/card-command.ts (325)extensions/line/src/flex-templates/basic-cards.ts (220)extensions/line/src/flex-templates/common.ts (42)cardTextandcardBoxconstructors; all callers stay inside pluginextensions/line/src/flex-templates/media-control-cards.ts (320)extensions/line/src/flex-templates/message.ts/types.tsextensions/line/src/flex-templates/schedule-cards.ts (386)extensions/line/src/markdown-to-line.ts (455)extensions/line/src/rich-messages.ts (368)extensions/logbook/src/store.tsextensions/memory-lancedb/index.tsextensions/oc-path/src/oc-path/universal.tsextensions/onnx/src/worker-client.tsextensions/opencode/session-catalog.tsextensions/openshell/src/backend.tsextensions/session-share/src/session-catalog.tsextensions/team-reports/src/aggregate.tsextensions/team-reports/src/sources/github/index.tsextensions/team-reports/src/store.tsextensions/zalo/src/monitor.ts (981)extensions/zalouser/src/channel.adapters.ts (452)extensions/zalouser/src/send-api.ts (187)extensions/zalouser/src/setup-surface.ts (425)extensions/zalouser/src/text-styles-compile.ts (480)extensions/zalouser/src/text-styles-ranges.ts (413)extensions/zalouser/src/tool.ts (220)extensions/zalouser/src/zalo-js.ts (1,446)fal/image-generation-provider.tsfal/video-generation-provider.tsfirecrawl/src/firecrawl-client.tsfish-audio-speech/speech-provider.tsfish-audio-speech/tts.tsgoogle/cli-backend-auth.runtime.tsgoogle/cli-backend-isolated-auth.runtime.tsgoogle/embedding-batch.tsgoogle/embedding-provider.tsgoogle/realtime-voice-lazy.tsgoogle/realtime-voice-provider.tsgoogle/speech-dialogue.tsgoogle/speech-provider.tsgoogle/speech-synthesis.tsgoogle/src/gemini-web-search-provider.runtime.tsgoogle/transport-stream.tsgoogle/video-generation-provider.tsinworld/speech-provider.tsinworld/tts.tsllama-cpp/src/llama-server-assets.tsllama-cpp/src/managed-server.tsllama-cpp/src/model-catalog.tsllama-cpp/src/setup.tslmstudio/src/models.tslmstudio/src/setup.tsmemory-wiki/src/chatgpt-import.tsmemory-wiki/src/cli.tsmemory-wiki/src/compile.tsmemory-wiki/src/compiled-cache.tsmemory-wiki/src/gateway.tsmemory-wiki/src/markdown.tsmemory-wiki/src/query.tsmicrosoft-foundry/auth.tsmicrosoft-foundry/cli.tsmicrosoft-foundry/onboard.tsmicrosoft-foundry/provider.tsmicrosoft-foundry/runtime.tsmicrosoft-foundry/shared.tsminimax/api.tsminimax/image-generation-provider.tsminimax/index.tsminimax/media-provider-runtime.tsminimax/music-generation-provider.tsminimax/provider-registration.tsminimax/speech-provider-factory.tsminimax/video-generation-provider.tsmistral/realtime-transcription-provider-factory.tsnovita/video-generation-provider.tsollama/index.tsollama/src/embedding-provider.runtime.tsollama/src/stream.runtime.tsopencode/session-catalog-plugin.tsopencode/session-upstream-activity.tsopenrouter/generation-request-context.tsopenrouter/music-generation-provider.tsopenrouter/video-generation-provider.tsperplexity/src/perplexity-web-search-provider.runtime.tsperplexity/src/perplexity-web-search-provider.shared.tsperplexity/src/perplexity-web-search-provider.tspixverse/video-generation-provider.tsqwen/stream.tsreef/doctor-contract-api.test.tsreef/doctor-contract-api.tsreef/protocol/audit.tsreef/src/audit-state.tsreef/src/cli.tsreef/src/doctor-durable-state.tsreef/src/flow.tsreef/src/transport.tsreef/src/trust-store.tsrunway/video-generation-provider.tssrc/claws/add-plan-helpers.tssrc/claws/add.tssrc/claws/application-plan.tssrc/claws/application-provenance.tssrc/claws/bootstrap.tssrc/claws/cron-update.tssrc/claws/cron.tssrc/claws/digest.tssrc/claws/doctor.tssrc/claws/experimental.tssrc/claws/export.tssrc/claws/lifecycle-adopted-removal.tssrc/claws/lifecycle-bootstrap-removal.tssrc/claws/lifecycle-config-removal.tssrc/claws/lifecycle-delete-support.tssrc/claws/lifecycle-mcp-removal.tssrc/claws/lifecycle-remove-contract.tssrc/claws/lifecycle-remove-state-blockers.tssrc/claws/lifecycle-state.tssrc/claws/lifecycle-status.tssrc/claws/lifecycle.tssrc/claws/manifest-contract.tssrc/claws/mcp-records.tssrc/claws/mcp-update.tssrc/claws/mcp.tssrc/claws/migrate-errors.tssrc/claws/migrate-package.tssrc/claws/migrate-safety.tssrc/claws/migrate-validation.tssrc/claws/migrate-workspace-files.tssrc/claws/migrate.tssrc/claws/monitor-cleanup-binding.tssrc/claws/monitor-cleanup-contract.tssrc/claws/openclaw-profile.tssrc/claws/package-extension-provenance.tssrc/claws/package-remove-contract.tssrc/claws/package-remove-phase.tssrc/claws/package-remove-plan.tssrc/claws/package-remove.tssrc/claws/package-resume.tssrc/claws/package-setup-requirements.tssrc/claws/package-status.kernel.tssrc/claws/package-update-provenance.tssrc/claws/package-update.tssrc/claws/packages.tssrc/claws/path-containment.tssrc/claws/plugin-runtime.tssrc/claws/project-build.tssrc/claws/project.tssrc/claws/provenance-adopted.tssrc/claws/provenance-agent-origin.tssrc/claws/provenance-async.tssrc/claws/provenance-bootstrap.tssrc/claws/provenance-read.kernel.tssrc/claws/provenance-record.tssrc/claws/provenance-runtime-read.kernel.tssrc/claws/provenance-runtime-read.tssrc/claws/provenance-schema-version.tssrc/claws/provenance-secondary-references.tssrc/claws/provenance-types.tssrc/claws/provenance-write.tssrc/claws/provenance-write.worker-contract.tssrc/claws/provenance-write.worker.tssrc/claws/provenance.tssrc/claws/reader.tssrc/claws/removal-journal-contract.tssrc/claws/removal-journal.tssrc/claws/removal-journal.worker.tssrc/claws/schema-portability.tssrc/claws/schema.tssrc/claws/source-diagnostics.tssrc/claws/source-limits.tssrc/claws/tool-policy-candidates.tssrc/claws/tool-policy-runtime.tssrc/claws/tool-profile-consent.tssrc/claws/types.tssrc/claws/update-apply.tssrc/claws/update-capability-changes.tssrc/claws/update-plan-empty.tssrc/claws/update-plan-summary.tssrc/claws/update-plan-types.tssrc/claws/update-plan.tssrc/claws/update-rollback.tssrc/claws/workspace-update.tssrc/claws/workspace.tssrc/claws/yaml-document.tssrc/logging/code-mode-diagnostic.tssrc/logging/console.tssrc/logging/diagnostic-argument-churn-activity.tssrc/logging/diagnostic-cpu-profile.tssrc/logging/diagnostic-embedded-run-index.tssrc/logging/diagnostic-heap-profile.tssrc/logging/diagnostic-memory-bundle.tssrc/logging/diagnostic-memory.tssrc/logging/diagnostic-owned-activity.tssrc/logging/diagnostic-phase.tssrc/logging/diagnostic-profile.tssrc/logging/diagnostic-repeated-request-activity.tssrc/logging/diagnostic-run-activity-recovery.tssrc/logging/diagnostic-run-activity-state.tssrc/logging/diagnostic-run-activity.tssrc/logging/diagnostic-runtime.tssrc/logging/diagnostic-session-recovery-coordinator.tssrc/logging/diagnostic-session-recovery.tssrc/logging/diagnostic-stability-bundle.tssrc/logging/diagnostic-stability-query.tssrc/logging/diagnostic-stability-readers.tssrc/logging/diagnostic-stability.tssrc/logging/diagnostic-stuck-session-recovery.runtime.tssrc/logging/diagnostic-support-export.tssrc/logging/diagnostic-support-redaction.tssrc/logging/diagnostic.tssrc/logging/logger.tssrc/logging/message-lifecycle.tssrc/logging/redact-json.tssrc/logging/redact.tssrc/logging/redacting-stream.tssrc/logging/subsystem.tstavily/src/tavily-client.tstts-local-cli/speech-provider.tsxai/capability-provider-metadata-factory.tsxai/lazy-capability-provider-factories.tsxai/realtime-voice-events.tsxai/realtime-voice-lazy.tsxai/speech-provider-metadata-factory.tsxai/tts.tsxai/xai-oauth.tsxiaomi/index.ts|
src/process/command-queue.ts| Retained: queue admission, timeout arbitration and generation completion have distinct ordering contracts; no duplicate feature path. ||
src/process/supervisor/adapters/child.ts| Changed: pending output derives from owned streams through one drain callback registration; direct child signaling shares its best-effort failure policy. ||
src/process/supervisor/service-child-relay-host.ts| Changed: existing control sender stamps generation/sequence once, replacing per-frame repetition. Retirement still shares the same sequence owner. ||
src/process/supervisor/supervisor.ts| Retained: output completion and extinction ownership are separate; scope replacement fences and startup cancellation already have one owner. ||
src/process/exec-runner.ts| Retained: combined/per-stream head/tail limits, output deadlines and execa cleanup are already shared; startup and final result shapes differ intentionally. ||
src/process/spawn-broker/host.ts| Retained: ordered native admission and resource claims have distinct lifetime owners; result, close and transport readiness are separate facts. ||
src/process/gateway-work-admission.ts| Retained: independent/detached admission already share owners; synchronous and asynchronous continuation scopes have different lifetime boundaries. ||
src/process/supervisor/service-child-group-anchor.ts| Retained: Linux subreaper, retained worker lineage and ordinary process-group cleanup have different custody proofs and ACK behavior. ||
src/process/supervisor/service-child-windows-job-anchor.ts| Retained: Windows HANDLE/Job extinction owner and output polling are platform-specific, distinct from POSIX receipts. ||
src/process/spawn-broker/resource-server.ts| Retained: parent and worker close observers already share native close; ports are transport, not custody. ||
src/process/spawn-broker/worker.ts| Retained: prepared spawn, ordinary spawn and execa already share launch; pipe-transfer and ownership publication ordering is required. ||
src/process/supervisor/service-child-windows-job-native.ts| Retained: ABI declarations and transferred HANDLE ownership must remain explicit; compacting tables would mostly golf declarations. ||
src/process/exec-spawn.ts| Retained: scope custody and broker/native admission maintain different no-start and uncertain-cleanup evidence. ||
src/process/spawn-broker/resource-host.ts| Retained: outbound owner delivery, inbound reorder buffer and close observer state have distinct settlement/error semantics. ||
src/process/exec.ts| Retained: runExec preserves execa error semantics; buffered runner has independent discard-stream accounting and cannot delegate capture unchanged. ||
src/process/spawn-broker/child.ts| Retained: focused broker transport/serialization helper with a distinct bounded ownership contract. ||
src/process/command-queue.capacity-groups.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/spawn-broker/execa-worker.ts| Retained: focused broker transport/serialization helper with a distinct bounded ownership contract. ||
src/process/supervisor/service-child-relay.ts| Retained: focused supervisor adapter, platform or lifecycle primitive; no sound structural consolidation found. ||
src/process/supervisor/service-child-group-ownership.ts| Retained: focused supervisor adapter, platform or lifecycle primitive; no sound structural consolidation found. ||
src/process/terminal-pty-node.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/exec-result.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/windows-command.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/terminal-pty.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/linux-oom-score.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/exec-termination.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/terminal-pty-bun.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/exec-output.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/supervisor/adapters/pty.ts| Retained: PTY fallback refresh differs from direct child monotonic fallback; sharing them would need policy generalization without material reduction. ||
src/process/spawn-broker/resource-client.ts| Retained: attachment retry is bounded by startup authority; transport cleanup cannot replace resource close. ||
src/process/spawn-broker/ipc.ts| Retained: focused broker transport/serialization helper with a distinct bounded ownership contract. ||
src/process/supervisor/types.ts| Retained: concrete type/transport contract; no removable duplicate runtime responsibility. ||
src/process/spawn-broker/execa-client.ts| Retained: focused broker transport/serialization helper with a distinct bounded ownership contract. ||
src/process/command-queue.state.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/decoded-output.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/spawn-secret-input.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/supervisor/linux-child-subreaper.ts| Retained: focused supervisor adapter, platform or lifecycle primitive; no sound structural consolidation found. ||
src/process/supervisor/service-child-windows-task-launcher.ts| Retained: focused supervisor adapter, platform or lifecycle primitive; no sound structural consolidation found. ||
src/process/respawn-child-runner.ts| Changed: one best-effort signal operation now serves TERM and KILL; removed the redundant force-only wrapper and duplicated catch. ||
src/process/supervisor/service-child-relay-preparation.ts| Retained: focused supervisor adapter, platform or lifecycle primitive; no sound structural consolidation found. ||
src/process/supervisor/service-child-protocol.ts| Changed: factor control payload from unchanged identity intersection; every discriminant and wire field is identical. ||
src/process/spawn-broker/resource-socket.ts| Retained: focused broker transport/serialization helper with a distinct bounded ownership contract. ||
src/process/spawn-broker/relay-integration.ts| Changed: existing sender constructs the control envelope for all variants, preserving field insertion order and admission/cancellation timing. ||
src/process/scoped-child-reaper.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/spawn-broker/pipe.ts| Retained: focused broker transport/serialization helper with a distinct bounded ownership contract. ||
src/process/supervisor/service-child-relay-retirement.ts| Retained: focused supervisor adapter, platform or lifecycle primitive; no sound structural consolidation found. ||
src/process/terminal-pty-worker.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/background-work.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/supervisor/service-child-output-relay.ts| Retained: pushed Windows text, native byte backpressure and awaited consumers already share output relay lifecycle. ||
src/process/spawn-broker/cleanup.ts| Retained: focused broker transport/serialization helper with a distinct bounded ownership contract. ||
src/process/spawn-broker/execa-protocol.ts| Retained: concrete type/transport contract; no removable duplicate runtime responsibility. ||
src/process/spawn-diagnostics.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/supervisor/darwin-process-command.ts| Retained: focused supervisor adapter, platform or lifecycle primitive; no sound structural consolidation found. ||
src/process/command-lane-diagnostics.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/terminal-pty-protocol.ts| Retained: concrete type/transport contract; no removable duplicate runtime responsibility. ||
src/process/spawn-broker/execa-types.ts| Retained: concrete type/transport contract; no removable duplicate runtime responsibility. ||
src/process/spawn-broker/worker-sender.ts| Retained: focused broker transport/serialization helper with a distinct bounded ownership contract. ||
src/process/owned-stdio.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/command-error.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/spawn-utils.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/spawn-broker/protocol.ts| Retained: concrete type/transport contract; no removable duplicate runtime responsibility. ||
src/process/child-process.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/spawn-broker/execa-message.ts| Retained: focused broker transport/serialization helper with a distinct bounded ownership contract. ||
src/process/command-queue.types.ts| Retained: concrete type/transport contract; no removable duplicate runtime responsibility. ||
src/process/windows-command-line.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/spawn-broker/resource-protocol.ts| Retained: concrete type/transport contract; no removable duplicate runtime responsibility. ||
src/process/supervisor/service-child-cleanup-deadline.ts| Retained: focused supervisor adapter, platform or lifecycle primitive; no sound structural consolidation found. ||
src/process/supervisor/adapters/child-stdin.ts| Retained: focused supervisor adapter, platform or lifecycle primitive; no sound structural consolidation found. ||
src/process/command-process-custody.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/child-process-tree.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/spawn-broker/execa-output.ts| Retained: focused broker transport/serialization helper with a distinct bounded ownership contract. ||
src/process/child-process-bridge.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/supervisor/adapters/process-events.ts| Retained: focused supervisor adapter, platform or lifecycle primitive; no sound structural consolidation found. ||
src/process/spawn-broker/context.ts| Retained: focused broker transport/serialization helper with a distinct bounded ownership contract. ||
src/process/supervisor/service-child-control-reader.ts| Retained: focused supervisor adapter, platform or lifecycle primitive; no sound structural consolidation found. ||
src/process/supervisor/service-child-windows-job-start.ts| Retained: focused supervisor adapter, platform or lifecycle primitive; no sound structural consolidation found. ||
src/process/lanes.ts| Retained: concrete type/transport contract; no removable duplicate runtime responsibility. ||
src/process/spawn-broker/resource-port.ts| Retained: focused broker transport/serialization helper with a distinct bounded ownership contract. ||
src/process/bounded-line-framer.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/pipe-output.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/supervisor/service-child-cleanup.ts| Retained: focused supervisor adapter, platform or lifecycle primitive; no sound structural consolidation found. ||
src/process/supervisor/inherited-process-lineage.ts| Retained: focused supervisor adapter, platform or lifecycle primitive; no sound structural consolidation found. ||
src/process/pty-terminal-name.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/output-drain.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/supervisor/index.ts| Retained: focused supervisor adapter, platform or lifecycle primitive; no sound structural consolidation found. ||
src/process/supervisor/cleanup-budget.ts| Retained: focused supervisor adapter, platform or lifecycle primitive; no sound structural consolidation found. ||
src/process/process-deadline.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/supervisor/service-child-stdio.ts| Retained: focused supervisor adapter, platform or lifecycle primitive; no sound structural consolidation found. ||
src/process/supervisor/adapters/env.ts| Retained: focused supervisor adapter, platform or lifecycle primitive; no sound structural consolidation found. ||
src/process/kill-tree.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/process/supervisor/supervisor-log.runtime.ts| Retained: focused supervisor adapter, platform or lifecycle primitive; no sound structural consolidation found. ||
src/process/command-process-custody.types.ts| Retained: concrete type/transport contract; no removable duplicate runtime responsibility. ||
src/process/supervisor/cancellation-policy.ts| Retained: focused supervisor adapter, platform or lifecycle primitive; no sound structural consolidation found. ||
src/process/spawn-initiation.ts| Retained: focused process owner/helper; sibling inspection found no sound material consolidation. ||
src/system-agent/verified-inference.ts| Retained: creation/revalidation differ in failure contract, source authority, artifact reads, and successful-route freezing; merging those paths would obscure authority sequencing. ||
src/system-agent/operations-execution-helpers.ts| Retained: persistent apply already centralizes approval/audit/hash markers; model-write and setup commit checks bind different owners and phases. ||
src/system-agent/setup-inference-turn.ts| Retained: shared probe exists; verify/complete differ in owner proof and config rereads, with distinct user messages. ||
src/system-agent/operations-execute.ts| Retained: dispatch shares persistent operation owner; repeated case wrappers carry distinct action/audit and lazy-import boundaries. ||
src/system-agent/setup-inference-credentials.ts| Retained: stagePreparedCandidate already shares normalization/save/projection; login, auto-discovery, and saved-auth branches differ in cancellation and persistence. ||
src/system-agent/chat-turn-router.ts| Retained: typed config, navigation, approval, and model turns have distinct host/proposal state transitions. ||
src/system-agent/chat-wizard-host.ts| Retained: HOSTED_SETUP table already unifies variants; structured and text answer validation intentionally differ. ||
src/system-agent/setup-inference-activate.ts| Retained: candidate staging and commit/recovery checks bind separate temporal snapshots; no safe large equivalent path collapse. ||
src/system-agent/setup-apply.ts| Retained: roster admission, config commit, workspace creation, and Gateway lifecycle are separate guarded effects. ||
src/system-agent/greeting.ts| Retained: CAS cache, flight/backoff, grounding and delivery cursor have separate lifetimes; model and host alert text stay separate. ||
src/system-agent/setup-inference-core.ts| Retained: closed protocol/result types and distinct error wording; shared model-target and provider-kind parsing already present. ||
src/system-agent/operations-parse.ts| Changed: one whitespace/path validation scan for literal writes and SecretRef writes; distinct value grammar and order preserved. ||
src/system-agent/config-redaction.ts| Retained: path embedding and value sensitivity have deliberately different URL/container behavior; unknown-owner fallback is security behavior. ||
src/system-agent/tui-backend.ts| Retained: transport adapter and wizard handoffs preserve queue/retirement semantics; persistent guard recognizes cross-module errors unlike one-shot path. ||
src/system-agent/setup-inference-detect.ts| Retained: manual metadata, saved credentials, and live discovery publish distinct partial views and detection-only eligibility. ||
src/system-agent/agent-turn.ts| Changed: shared ordinary inference route guard; callback keeps failed proposal and CLI continuity cleanup in the guard failure continuation. ||
src/system-agent/inference-route.ts| Retained: projections distinguish model owner vs reserved execution identity and authored vs materialized plugin policy. ||
src/system-agent/hosted-setup.runtime.ts| Retained: runHostedSetup already owns config/lease lifecycle; memory outcome rendering has different count/failure branches. ||
src/system-agent/plugin-artifact.ts| Retained: proposal retention, expiry, digest verification, lease ownership, and activation are independent trust boundaries. ||
src/system-agent/overview.ts| Retained: ordinary overview and startup/onboarding text differ intentionally; fallback empty roster shape preserved. ||
src/system-agent/rescue-message.ts| Retained: consume/delete/replace paths have distinct atomic ownership; remote rejection strings and pending persisted shape remain untouched. ||
src/system-agent/setup-app-recommendations.ts| Retained: inventory and candidate normalization have distinct prioritization; bounded discovery and matching paths share existing owners. ||
src/system-agent/chat-engine.ts| Changed: shared ordinary inference route guard; conversation still owns history/wizard/proposal retirement; persistent-apply guard unchanged. ||
src/system-agent/assistant-prompts.ts| Retained: literal prompt bytes and distinct vocabulary are task contracts; greeting payload and hash have deliberate ordering differences. ||
src/system-agent/setup-inference-transition.ts| Retained: write/activate/recovery/deferred completion ownership is non-duplicate temporal behavior. ||
src/system-agent/assistant.ts| Changed: shared ordinary inference route guard before dispatch and after cleanup; planner stage and failure payload preserved. ||
src/system-agent/setup-inference-auth-options.ts| Changed: manual and guided options share eligibility/dedup collection; manual presentation comparator remains explicit. ||
src/system-agent/system-agent.ts| Changed: shared ordinary inference route guard; one-shot persistent probe retains separate error identity semantics. ||
src/system-agent/setup-inference-credential-access.ts| Retained: access/materialization and activate/rollback bind separate credential revisions; no persistence changes. ||
src/system-agent/setup-model-selection.ts| Retained: default/agent model selection differs in ownership, runtime override and utility migration behavior. ||
src/system-agent/inference-fallback.ts| Retained: policy-expanded routes and default auth fallbacks have different failure breadth/dedup keys. ||
src/system-agent/setup-inference-codex.ts| Retained: provider-owned auth and installer semantics require sibling Codex audit before changes; no changes proposed. ||
src/system-agent/onboarding-welcome.ts| Retained: authored setup and receipt recovery differ; model-only config must stay onboardable. ||
src/system-agent/approval-intent.ts| Retained: exact closed-list fast path and owned completion resource draining are distinct mechanisms. ||
src/system-agent/setup-recovery.ts| Retained: receipt and config ownership checks; crosses prohibited state owner only through existing contract. ||
src/system-agent/dialogue.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/operation-types.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/setup-native-session-catalogs.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/probes.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/setup-provider-method.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/rescue-policy.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/operator-approval.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/inference-error.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/setup-inference-profile.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/post-write-verification.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/transcript-store.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/setup-inference-probe-work.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/audit.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/plugin-install.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/setup-inference-custom.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/setup-inference.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/assistant-timeout.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/inference-guard.ts| New shared ordinary route guard; no persistent-write authority or runtime selection moved. ||
src/system-agent/setup-config-snapshot.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/new-agent-welcome.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/plugin-install-spec.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/agent-id.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/delegation-session.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/operations-internal.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. ||
src/system-agent/operations.ts| Retained: small single-responsibility module or type/export contract; no useful behavior-identical structural reduction found. |