Skip to content

refactor(agent): replace runtime root with harness facade - #2028

Merged
yyhhyyyyyy merged 16 commits into
devfrom
refactor/agent-harness-facade
Jul 25, 2026
Merged

refactor(agent): replace runtime root with harness facade#2028
yyhhyyyyyy merged 16 commits into
devfrom
refactor/agent-harness-facade

Conversation

@yyhhyyyyyy

@yyhhyyyyyy yyhhyyyyyy commented Jul 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

Replaces DeepChatRuntimeCoordinator with a thin DeepChatAgentHarness facade over a
one-directional owner graph.

The TypeScript runtime refactor preserves existing behavior. The required build-preflight resource
refresh is isolated in its own commit and is the only behavior-affecting exception.

This is the fifth slice of the deepchat-agent-harness-boundaries architecture goal, following the
typed tool execution contract and coordinator ownership slices.

Why

The previous slice extracted lifecycle, admission, pump, and compaction owners, but the root remained
both composition root and implementation site. Its constructor held 72 anonymous callbacks pointing
back into private root methods:

root creates owner -> owner closes over root method -> root method reaches another owner

As a result, owners were not independently constructible, runtime ports carried root helpers instead
of collaborators, DeepChatAgentInstance called back into orchestration through a delegate, and the
1185-line root was approaching its 1300-line guard ceiling.

What changed

Metric Before After
Orchestration root 1185 lines deleted
Facade none 286 lines, 0 anonymous callbacks
Constructor callbacks 72 20 composition adapters, 0 facade back-references
Deferred wiring implicit 1 named binding (pendingInputWakeupBinding)
DeepChatLoopRunnerPorts 32 27
TurnCoordinatorPorts / InteractionCoordinatorPorts 26 / 13 24 / 12
Facade size guard 1300 350
Main-process tests 4932 4975
  • Added focused owners for session identity, state resolution, lifecycle, transcript mutation,
    message projection, prompt assembly, and tool runtime bindings.
  • Composed six Tape capabilities into one DeepChatLoopTapePort.
  • Removed DeepChatAgentInstanceDelegate, the registry hydrator, and
    DeepChatAgentRuntime.dispose().
  • Routed send, cancel, snapshot, and close through the harness port.
  • Removed the two type-only cycles found during review; no touched DeepChat owner or harness module
    remains in a dependency cycle.
  • Restricted the harness barrel to the facade factory and public types, preventing callers from
    bypassing the facade or constructing a second runtime owner graph.
  • Added architecture guards for owner-to-harness imports, internal harness imports, public export
    surface, protected implementation ownership, and the 350-line facade ceiling.
  • Pinned state hydration, message refresh, status publication, and destroy ordering with focused
    tests.
  • Kept the required provider/ACP resource refresh in a separate commit for independent review and
    rollback.

Summary by CodeRabbit

  • New Features
    • Expanded model catalog with new providers/models, richer media (including image/video/attachment options), updated limits, and revised pricing/reasoning settings.
  • Bug Fixes
    • Improved DeepChat session lifecycle reliability: pending-input wakeup/admission flow, message projection refresh for streaming/terminal states, and stronger stale-instance fencing to prevent incorrect updates.
    • Enhanced crash recovery and cleanup behavior during session suspension/teardown.
  • Documentation
    • Refreshed DeepChat architecture boundary plans and baseline reports.
  • Maintenance
    • Updated ACP registry package versions and regenerated architecture baselines.

@coderabbitai

coderabbitai Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 31f6372f-dbf2-4331-981c-67c619833dea

📥 Commits

Reviewing files that changed from the base of the PR and between 5f1e3fb and e1c7b7d.

📒 Files selected for processing (9)
  • docs/architecture/deepchat-agent-harness-boundaries/spec.md
  • docs/architecture/deepchat-agent-harness-boundaries/tasks.md
  • resources/model-db/providers.json
  • scripts/agent-cleanup-guard.mjs
  • src/main/agent/deepchat/runtime/sessionSettingsCoordinator.ts
  • src/main/agent/deepchat/runtime/turnCoordinator.ts
  • test/main/agent/deepchat/harness/deepChatAgentHarness.test.ts
  • test/main/agent/deepchat/runtime/sessionSettingsCoordinator.test.ts
  • test/main/scripts/agentCleanupGuard.test.ts
🚧 Files skipped from review as they are similar to previous changes (6)
  • test/main/scripts/agentCleanupGuard.test.ts
  • docs/architecture/deepchat-agent-harness-boundaries/tasks.md
  • docs/architecture/deepchat-agent-harness-boundaries/spec.md
  • scripts/agent-cleanup-guard.mjs
  • src/main/agent/deepchat/runtime/turnCoordinator.ts
  • test/main/agent/deepchat/harness/deepChatAgentHarness.test.ts

📝 Walkthrough

Walkthrough

The PR replaces DeepChatRuntimeCoordinator with DeepChatAgentHarness, extracts runtime responsibilities into dedicated services, narrows coordinator ports, updates main-process wiring and backend lifecycle handling, strengthens harness boundary checks, refreshes architecture baselines, and updates related tests and catalogs.

Changes

DeepChat harness migration

Layer / File(s) Summary
Harness composition and runtime ownership
src/main/agent/deepchat/harness/*, src/main/agent/deepchat/runtime/*, src/main/agent/deepchat/instance/*, src/main/tape/ports/capabilities.ts
Adds the harness facade and composition root, extracts session, lifecycle, prompt, projection, transcript, tool, and scope services, and removes delegate-based runtime orchestration.
Application and backend integration
src/main/app/composition.ts, src/main/agent/manager/deepChatAgentBackend.ts, test/main/session/*
Main-process wiring and backend handles now use harness operations for sending, state access, cleanup, and destruction.
Boundary enforcement and validation
scripts/agent-cleanup-guard.mjs, scripts/generate-architecture-baseline.mjs, test/main/agent/deepchat/*, test/main/scripts/*
Guard checks and tests cover harness imports, exports, ownership, scope fencing, lifecycle ordering, projections, pending inputs, and integration construction.
Architecture and catalog records
docs/architecture/*, resources/acp-registry/registry.json, resources/model-db/providers.json
Architecture baselines and plans were regenerated, ACP versions were bumped, and provider model metadata was updated.

Estimated code review effort: 5 (Critical) | ~120 minutes

Sequence Diagram(s)

sequenceDiagram
  participant MainProcess
  participant DeepChatAgentHarness
  participant TurnCoordinator
  participant DeepChatLoopRunner
  participant MessageProjectionService
  MainProcess->>DeepChatAgentHarness: create harness with dependencies
  DeepChatAgentHarness->>TurnCoordinator: send or processMessage
  TurnCoordinator->>DeepChatLoopRunner: run turn
  DeepChatLoopRunner->>MessageProjectionService: refresh projection
  MessageProjectionService-->>MainProcess: publish session update
Loading

Possibly related PRs

Suggested reviewers: zerob13

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 10.34% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: replacing the DeepChat runtime root with a harness facade.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/agent-harness-facade

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 6

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (3)
resources/acp-registry/registry.json (1)

490-501: 🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win

Align fast-agent-acp with the supported Python range before publishing.

dirac-cli@0.4.24 is published with the expected npm bin, but fast-agent-acp==0.9.24 requires Python >=3.12,<3.15, which will fail for users/runtime environments outside that range. Either bump the registry entries to versions compatible with the target uvx runtime or drop the unsupported bumps.

Also applies to: 537-547

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@resources/acp-registry/registry.json` around lines 490 - 501, Update the
`fast-agent-acp` registry entries, including the additional entry referenced by
the review, so their declared versions and `uvx` distributions are compatible
with the supported Python runtime range. If no compatible release exists, remove
the unsupported version bumps and restore the prior compatible versions; keep
the `dirac-cli` entry unchanged unless required for alignment.

Source: MCP tools

src/main/agent/deepchat/runtime/compactionRuntimeCoordinator.ts (1)

315-335: 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Early assertCurrent in apply() skips message cleanup and swallows the original error on staleness.

At Line 315 (catch path) and Line 325 (post-try path), assertCurrent(sessionId, expectedInstance) runs before deleteMessage/updateCompactionMessage and messageProjection.refresh. Neither of those calls depends on instance identity — they only need sessionId/compactionMessageId. If the instance goes stale mid-flight (session evicted/rehydrated concurrently), this:

  • In the catch branch: throws a StaleDeepChatAgentInstanceError that replaces the original compaction failure (throw error is never reached), and leaves the "compacting" placeholder message undeleted.
  • In the success branch: skips finalizing the compaction message to 'compacted' (or deleting it on failure) and skips the projection refresh, even though compactionService.applyCompaction already succeeded and persisted its summary state — leaving an orphaned placeholder message and a stale UI projection.

emit() (Line 373-378) already calls this.assertCurrent(...) internally before mutating state, so these two extra guards are redundant for enforcing staleness and only cause harm by gating unrelated bookkeeping.

🛠️ Proposed fix: let cleanup run unconditionally, rely on `emit()`'s own currency check
     } catch (error) {
-      this.assertCurrent(sessionId, expectedInstance)
       this.deps.messageStore.deleteMessage(compactionMessageId)
       this.deps.messageProjection.refresh(sessionId, compactionMessageId)
       this.emit(sessionId, this.fromSummary(intent.previousState), expectedInstance)
       if (isAbortError(error) || options?.signal?.aborted) {
         throwIfAbortRequested(options?.signal)
       }
       throw error
     }
 
-    this.assertCurrent(sessionId, expectedInstance)
     if (result.succeeded) {
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/main/agent/deepchat/runtime/compactionRuntimeCoordinator.ts` around lines
315 - 335, Remove the pre-cleanup assertCurrent calls in apply() so message
cleanup and projection refresh always run using sessionId and
compactionMessageId, including stale-instance cases. In the catch path, perform
deleteMessage and refresh before preserving the original error and abort
handling; in the success path, finalize or delete the compaction message and
refresh before emitting. Continue relying on emit() for the instance-currentness
check.
src/main/agent/deepchat/runtime/sessionSettingsCoordinator.ts (1)

68-117: 🗄️ Data Integrity & Integration | 🔴 Critical | ⚡ Quick win

TOCTOU: setModel/setAgentContext/updateGenerationSettings capture state before an await, then mutate/read it as if still current.

setModel (Lines 75, 103-106) captures state = this.state(sessionId) before the getEffectiveGenerationSettings/sanitizeGenerationSettings awaits, then fetches a possibly-different fresh instance afterward, but mutates the stale state object (state.providerId = nextProviderId) instead of the fresh instance's state. If the session is evicted/rehydrated during those awaits (e.g. concurrent SessionLifecycleCoordinator.cleanup/destroy or agent reassignment), this silently fails to update the current instance's provider/model even though the DB write succeeds — runtime/DB state diverges. setAgentContext has the same stale-capture pattern for state?.status (Line 160). updateGenerationSettings shares the pattern but is lower risk since its final mutation targets a freshly-fetched instance.

This file's own getEffectiveGenerationSettings/resolveProjectDir (and sibling coordinators like TranscriptMutationCoordinator, PendingInputPump.drain) get this right by capturing a single instance reference and calling assertCurrent/scope.assertCurrent() right before any post-await mutation — that pattern should be applied here too.

🔒 Proposed fix for setModel (same pattern applies to setAgentContext)
   async setModel(sessionId: string, providerId: string, modelId: string): Promise<void> {
     const nextProviderId = providerId?.trim()
     const nextModelId = modelId?.trim()
     if (!nextProviderId || !nextModelId) {
       throw new Error('Session model update requires providerId and modelId.')
     }

-    const state = this.state(sessionId)
+    const instance = this.instance(sessionId)
+    const state = instance.getRuntimeState()
     const dbSession = this.deps.sessionStore.get(sessionId)
     if (!state && !dbSession) {
       throw new Error(`Session ${sessionId} not found`)
     }
     ...
     this.deps.sessionStore.updateSessionConfiguration(
       sessionId,
       nextProviderId,
       nextModelId,
       buildPersistedGenerationSettingsReplacement(sanitized)
     )

-    const instance = this.instance(sessionId)
+    this.assertCurrent(sessionId, instance)
     if (state) {
       state.providerId = nextProviderId
       state.modelId = nextModelId
     } else {
       instance.setRuntimeState({
         status: 'idle',
         providerId: nextProviderId,
         modelId: nextModelId,
         permissionMode
       })
     }
     instance.setGenerationSettings(sanitized)
     this.invalidateToolProfile(sessionId)
   }

Also applies to: 119-178, 240-270

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/main/agent/deepchat/runtime/sessionSettingsCoordinator.ts` around lines
68 - 117, Fix the TOCTOU handling in setModel, setAgentContext, and
updateGenerationSettings by capturing the session instance once before awaits,
asserting it remains current immediately before each post-await read or
mutation, and using that same instance’s runtime state rather than a stale state
snapshot. Apply the existing getEffectiveGenerationSettings/resolveProjectDir
assertCurrent pattern so eviction, rehydration, or reassignment cannot leave
runtime state divergent from persisted state.
🧹 Nitpick comments (1)
src/main/agent/deepchat/runtime/turnCoordinator.ts (1)

1320-1336: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Default expectedInstance parameter silently rehydrates rather than requiring an explicit instance.

rollbackPendingInputTurn's default (this.ports.registry.getOrHydrateScope(...).instance) is unused today since both call sites in start() pass the already-held instance explicitly. Since the whole point of expectedInstance is staleness fencing via assertCurrentInstance, a silent default that always re-hydrates the current instance could mask a future caller's intent to validate a specific instance. Consider making the parameter required to keep the staleness contract explicit.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/main/agent/deepchat/runtime/turnCoordinator.ts` around lines 1320 - 1336,
Make the expectedInstance parameter required in rollbackPendingInputTurn instead
of defaulting it through getOrHydrateScope. Preserve the existing
assertCurrentInstance staleness fencing and ensure every call site, including
those in start(), passes the explicitly held instance.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/architecture/deepchat-agent-harness-boundaries/tasks.md`:
- Around line 81-82: Complete the validation and handoff checklist in the
documented harness specification: run focused and full validation, review the
complete diff, and commit each reviewed stage without pushing. Mark the slice as
ready only after these tasks are complete; otherwise explicitly leave it marked
as not ready.

In `@resources/model-db/providers.json`:
- Around line 124163-124166: Update the input modalities for the Grok Imagine
Video 1.5 entry to use the provider-documented combination, likely text and
image, instead of image and pdf. Verify the exact supported modalities against
the provider docs and keep the video output declaration unchanged.
- Around line 170913-170914: Reconcile the catalog dates in
resources/model-db/providers.json at lines 170913-170914 and 178417-178418 so
each entry’s last_updated is not earlier than its release_date, correcting the
transposed values while preserving the intended dates.
- Around line 262546-262599: Update the type field for the
anthropic/claude-opus-5 and anthropic/claude-opus-5-fast entries to "chat",
preserving all other model metadata unchanged.

In `@scripts/agent-cleanup-guard.mjs`:
- Around line 387-428: Update findDeepChatHarnessBarrelViolations to reject
export assignments, including export default someIdentifier, unless the exported
identifier is in DEEPCHAT_HARNESS_PUBLIC_EXPORTS. Also include exported
EnumDeclaration and ModuleDeclaration names in the existing flag validation,
using TypeScript’s ExportAssignment, EnumDeclaration, and ModuleDeclaration node
handling while preserving current named re-export behavior.

In `@src/main/agent/deepchat/harness/createDeepChatAgentHarness.ts`:
- Around line 277-288: Replace the temporary async sessionState adapter in the
PendingInputPump construction with explicit per-session synchronization or
ownership tracking shared by steering and settlement-triggered draining. Ensure
steer-merging claims the in-flight turn before a competing drain can adopt it,
independent of microtask timing, and remove the workaround comment and extra
async boundary.

---

Outside diff comments:
In `@resources/acp-registry/registry.json`:
- Around line 490-501: Update the `fast-agent-acp` registry entries, including
the additional entry referenced by the review, so their declared versions and
`uvx` distributions are compatible with the supported Python runtime range. If
no compatible release exists, remove the unsupported version bumps and restore
the prior compatible versions; keep the `dirac-cli` entry unchanged unless
required for alignment.

In `@src/main/agent/deepchat/runtime/compactionRuntimeCoordinator.ts`:
- Around line 315-335: Remove the pre-cleanup assertCurrent calls in apply() so
message cleanup and projection refresh always run using sessionId and
compactionMessageId, including stale-instance cases. In the catch path, perform
deleteMessage and refresh before preserving the original error and abort
handling; in the success path, finalize or delete the compaction message and
refresh before emitting. Continue relying on emit() for the instance-currentness
check.

In `@src/main/agent/deepchat/runtime/sessionSettingsCoordinator.ts`:
- Around line 68-117: Fix the TOCTOU handling in setModel, setAgentContext, and
updateGenerationSettings by capturing the session instance once before awaits,
asserting it remains current immediately before each post-await read or
mutation, and using that same instance’s runtime state rather than a stale state
snapshot. Apply the existing getEffectiveGenerationSettings/resolveProjectDir
assertCurrent pattern so eviction, rehydration, or reassignment cannot leave
runtime state divergent from persisted state.

---

Nitpick comments:
In `@src/main/agent/deepchat/runtime/turnCoordinator.ts`:
- Around line 1320-1336: Make the expectedInstance parameter required in
rollbackPendingInputTurn instead of defaulting it through getOrHydrateScope.
Preserve the existing assertCurrentInstance staleness fencing and ensure every
call site, including those in start(), passes the explicitly held instance.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 8c8d85f3-59c1-4f00-9c52-0d7df5bca7c9

📥 Commits

Reviewing files that changed from the base of the PR and between 7e57b6f and 02a8a02.

📒 Files selected for processing (70)
  • docs/architecture/baselines/agent-system-layered-runtime-baseline.json
  • docs/architecture/baselines/dependency-report.md
  • docs/architecture/baselines/main-kernel-boundary-baseline.md
  • docs/architecture/baselines/main-kernel-bridge-register.md
  • docs/architecture/baselines/main-kernel-migration-scoreboard.json
  • docs/architecture/baselines/main-kernel-migration-scoreboard.md
  • docs/architecture/baselines/zero-inbound-candidates.md
  • docs/architecture/deepchat-agent-harness-boundaries/plan.md
  • docs/architecture/deepchat-agent-harness-boundaries/spec.md
  • docs/architecture/deepchat-agent-harness-boundaries/tasks.md
  • docs/architecture/tape-layering/spec.md
  • resources/acp-registry/registry.json
  • resources/model-db/providers.json
  • scripts/agent-cleanup-guard.mjs
  • scripts/generate-architecture-baseline.mjs
  • src/main/agent/deepchat/harness/createDeepChatAgentHarness.ts
  • src/main/agent/deepchat/harness/deepChatAgentHarness.ts
  • src/main/agent/deepchat/harness/index.ts
  • src/main/agent/deepchat/harness/pendingInputWakeupBinding.ts
  • src/main/agent/deepchat/harness/runtimeServices.ts
  • src/main/agent/deepchat/instance/deepChatAgentInstance.ts
  • src/main/agent/deepchat/instance/deepChatAgentRuntime.ts
  • src/main/agent/deepchat/memory/memoryRuntimeCoordinator.ts
  • src/main/agent/deepchat/runtime/compactionRuntimeCoordinator.ts
  • src/main/agent/deepchat/runtime/deepChatLoopRunner.ts
  • src/main/agent/deepchat/runtime/deepChatRuntimeCoordinator.ts
  • src/main/agent/deepchat/runtime/deferredToolExecutor.ts
  • src/main/agent/deepchat/runtime/interactionCoordinator.ts
  • src/main/agent/deepchat/runtime/messageProjectionService.ts
  • src/main/agent/deepchat/runtime/pendingInputAdmissionCoordinator.ts
  • src/main/agent/deepchat/runtime/pendingInputPump.ts
  • src/main/agent/deepchat/runtime/promptAssemblyService.ts
  • src/main/agent/deepchat/runtime/providerPermissionCoordinator.ts
  • src/main/agent/deepchat/runtime/runLifecycleCoordinator.ts
  • src/main/agent/deepchat/runtime/runtimeHookSink.ts
  • src/main/agent/deepchat/runtime/sessionIdentityService.ts
  • src/main/agent/deepchat/runtime/sessionLifecycleCoordinator.ts
  • src/main/agent/deepchat/runtime/sessionSettingsCoordinator.ts
  • src/main/agent/deepchat/runtime/sessionStateResolver.ts
  • src/main/agent/deepchat/runtime/streamRequestId.ts
  • src/main/agent/deepchat/runtime/toolResolver.ts
  • src/main/agent/deepchat/runtime/toolRuntimeBindings.ts
  • src/main/agent/deepchat/runtime/transcriptMutationCoordinator.ts
  • src/main/agent/deepchat/runtime/turnCoordinator.ts
  • src/main/agent/deepchat/runtime/turnResumeContract.ts
  • src/main/agent/manager/deepChatAgentBackend.ts
  • src/main/app/composition.ts
  • src/main/tape/ports/capabilities.ts
  • test/main/agent/deepchat/harness/deepChatAgentHarness.test.ts
  • test/main/agent/deepchat/instance/deepChatAgentRuntime.test.ts
  • test/main/agent/deepchat/memory/memoryRuntimeCoordinator.test.ts
  • test/main/agent/deepchat/runtime/compactionRuntimeCoordinator.test.ts
  • test/main/agent/deepchat/runtime/messageProjectionService.test.ts
  • test/main/agent/deepchat/runtime/pendingInputAdmissionCoordinator.test.ts
  • test/main/agent/deepchat/runtime/pendingInputPump.test.ts
  • test/main/agent/deepchat/runtime/promptAssemblyService.test.ts
  • test/main/agent/deepchat/runtime/runLifecycleCoordinator.test.ts
  • test/main/agent/deepchat/runtime/runtimeHookSink.test.ts
  • test/main/agent/deepchat/runtime/sessionIdentityService.test.ts
  • test/main/agent/deepchat/runtime/sessionLifecycleCoordinator.test.ts
  • test/main/agent/deepchat/runtime/sessionStateResolver.test.ts
  • test/main/agent/deepchat/runtime/sessionStatusPublisher.test.ts
  • test/main/agent/deepchat/runtime/toolResolver.test.ts
  • test/main/agent/deepchat/runtime/toolRuntimeBindings.test.ts
  • test/main/agent/deepchat/runtime/transcriptMutationCoordinator.test.ts
  • test/main/agent/manager/deepChatAgentBackend.test.ts
  • test/main/agent/manager/deepChatAgentBackendFixture.ts
  • test/main/scripts/agentCleanupGuard.test.ts
  • test/main/session/runtimeIntegration.test.ts
  • test/main/session/session.integration.test.ts
💤 Files with no reviewable changes (1)
  • src/main/agent/deepchat/runtime/deepChatRuntimeCoordinator.ts

Comment thread docs/architecture/deepchat-agent-harness-boundaries/tasks.md Outdated
Comment thread resources/model-db/providers.json
Comment thread resources/model-db/providers.json
Comment thread resources/model-db/providers.json
Comment thread scripts/agent-cleanup-guard.mjs
Comment thread src/main/agent/deepchat/harness/createDeepChatAgentHarness.ts
@yyhhyyyyyy
yyhhyyyyyy merged commit 2b70bb3 into dev Jul 25, 2026
12 checks passed
@zhangmo8
zhangmo8 deleted the refactor/agent-harness-facade branch July 27, 2026 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant