apps/desktop/src/app/DesktopAppIdentity.test.ts | 12 +- apps/desktop/src/app/DesktopAssets.test.ts | 16 +- apps/desktop/src/app/DesktopClerk.test.ts | 18 +- apps/desktop/src/app/DesktopConnectionCatalogStore.test.ts | 34 +- apps/desktop/src/app/DesktopEnvironment.test.ts | 5 +- apps/desktop/src/app/DesktopLifecycle.test.ts | 48 +- apps/desktop/src/app/DesktopLinuxUrlHandler.test.ts | 6 +- apps/desktop/src/app/DesktopObservability.test.ts | 108 +- apps/desktop/src/app/DesktopObservability.ts | 32 +- apps/desktop/src/app/DesktopPreReadyPlatform.test.ts | 10 +- apps/desktop/src/backend/DesktopBackendConfiguration.test.ts | 104 +- apps/desktop/src/backend/DesktopBackendManager.test.ts | 134 +- apps/desktop/src/backend/DesktopBackendPool.test.ts | 6 +- apps/desktop/src/backend/DesktopLocalEnvironmentAuth.test.ts | 10 +- apps/desktop/src/backend/DesktopNetworkInterfaces.test.ts | 6 +- apps/desktop/src/backend/DesktopServerExposure.test.ts | 26 +- apps/desktop/src/backend/tailscaleEndpointProvider.test.ts | 8 +- apps/desktop/src/electron/ElectronMenu.test.ts | 18 +- apps/desktop/src/electron/ElectronProtocol.test.ts | 14 +- apps/desktop/src/electron/ElectronWindow.test.ts | 42 +- apps/desktop/src/ipc/methods/localEnvironment.test.ts | 4 +- apps/desktop/src/ipc/methods/sshEnvironment.test.ts | 8 +- apps/desktop/src/ipc/methods/wsl.test.ts | 44 +- apps/desktop/src/main.ts | 74 +- apps/desktop/src/preview/BrowserImport/BrowserImport.test.ts | 8 +- apps/desktop/src/preview/BrowserImport/ChromiumKeys.test.ts | 30 +- apps/desktop/src/preview/BrowserImport/LinuxBrowserSecret.test.ts | 4 +- apps/desktop/src/preview/BrowserSession.test.ts | 4 +- apps/desktop/src/preview/Manager.test.ts | 12 +- apps/desktop/src/settings/DesktopAppSettings.test.ts | 4 +- apps/desktop/src/settings/DesktopClientSettings.diagnostics.test.ts | 11 +- apps/desktop/src/settings/DesktopClientSettings.test.ts | 8 +- apps/desktop/src/settings/DesktopSavedEnvironments.test.ts | 22 +- apps/desktop/src/shell/DesktopShellEnvironment.test.ts | 6 +- apps/desktop/src/snapShot/DesktopSnapShot.test.ts | 98 +- apps/desktop/src/ssh/DesktopSshPasswordPrompts.test.ts | 16 +- apps/desktop/src/telemetry/DesktopTelemetryPublisher.test.ts | 26 +- apps/desktop/src/updates/updatesTestHarness.ts | 24 +- apps/desktop/src/window/DesktopApplicationMenu.test.ts | 20 +- apps/desktop/src/window/DesktopWindow.test.ts | 102 +- apps/desktop/src/wsl/DesktopWslBackend.test.ts | 28 +- apps/desktop/src/wsl/DesktopWslServerTree.test.ts | 14 +- apps/mobile/src/connection/background-activity.ts | 4 +- apps/mobile/src/connection/platform.ts | 50 +- apps/mobile/src/connection/runtime.ts | 43 +- apps/mobile/src/connection/storage.ts | 2 +- apps/mobile/src/features/agent-awareness/liveActivityPreferences.test.ts | 12 +- apps/mobile/src/features/agent-awareness/remoteRegistration.test.ts | 54 +- apps/mobile/src/features/cloud/dpop.test.ts | 18 +- apps/mobile/src/features/cloud/dpop.ts | 2 +- apps/mobile/src/features/cloud/linkEnvironment.test.ts | 14 +- apps/mobile/src/features/cloud/managedRelayLayer.test.ts | 8 +- apps/mobile/src/features/cloud/managedRelayLayer.ts | 6 +- apps/mobile/src/features/cloud/managedRelayState.ts | 4 +- apps/mobile/src/features/observability/tracing.test.ts | 24 +- apps/mobile/src/features/observability/tracing.ts | 8 +- apps/mobile/src/lib/hot-swappable-atom-runtime.test.ts | 16 +- apps/mobile/src/lib/runtime.ts | 32 +- apps/mobile/src/persistence/layer.ts | 8 +- apps/mobile/src/state/client-cache-state.ts | 2 +- apps/mobile/src/state/preferences.test.ts | 2 +- apps/mobile/src/state/preferences.ts | 2 +- apps/server/integration/NetworkTransferMeasurement.integration.ts | 8 +- apps/server/integration/transferBudgetV2.integration.test.ts | 44 +- apps/server/scripts/measure-pr-preview.ts | 8 +- apps/server/scripts/record-codex-app-server-replay-fixture.ts | 12 +- apps/server/scripts/record-grok-acp-replay-fixture.ts | 12 +- apps/server/scripts/record-pi-rpc-replay-fixture.ts | 8 +- apps/server/scripts/verify-background-live.ts | 8 +- apps/server/src/assets/AssetAccess.test.ts | 80 +- apps/server/src/assets/AttachmentUpload.test.ts | 22 +- apps/server/src/assets/NativeAppIconResolver.test.ts | 10 +- apps/server/src/auth/EnvironmentAuth.test.ts | 40 +- apps/server/src/auth/EnvironmentAuth.ts | 8 +- apps/server/src/auth/EnvironmentAuthAdmin.test.ts | 18 +- apps/server/src/auth/EnvironmentAuthPolicy.test.ts | 20 +- apps/server/src/auth/PairingGrantStore.test.ts | 32 +- apps/server/src/auth/RpcAuthorization.test.ts | 4 +- apps/server/src/auth/RpcAuthorization.ts | 2 +- apps/server/src/auth/ServerSecretStore.test.ts | 55 +- apps/server/src/auth/SessionStore.test.ts | 96 +- apps/server/src/auth/http.test.ts | 28 +- apps/server/src/auth/http.ts | 4 +- apps/server/src/background/BackgroundPolicy.test.ts | 34 +- apps/server/src/background/HostPowerMonitor.test.ts | 8 +- apps/server/src/binCli.ts | 4 +- apps/server/src/checkpointing/CheckpointDiffQuery.test.ts | 12 +- apps/server/src/checkpointing/CheckpointStore.test.ts | 20 +- apps/server/src/cli/auth.ts | 2 +- apps/server/src/cli/config.test.ts | 14 +- apps/server/src/cli/connect.ts | 19 +- apps/server/src/cli/pair.test.ts | 4 +- apps/server/src/cli/pair.ts | 2 +- apps/server/src/cli/project.test.ts | 13 +- apps/server/src/cli/project.ts | 10 +- apps/server/src/cli/service.ts | 4 +- apps/server/src/cli/uninstall.ts | 4 +- apps/server/src/cli/update.ts | 4 +- apps/server/src/cloud/CliState.test.ts | 6 +- apps/server/src/cloud/CliTokenManager.test.ts | 14 +- apps/server/src/cloud/CliTokenManager.ts | 4 +- apps/server/src/cloud/CloudPreferences.test.ts | 4 +- apps/server/src/cloud/ManagedEndpointRuntime.test.ts | 6 +- apps/server/src/cloud/environmentKeys.test.ts | 6 +- apps/server/src/cloud/http.ts | 2 +- apps/server/src/cloud/relayTracing.ts | 17 +- apps/server/src/device/DeviceHubProxy.test.ts | 4 +- apps/server/src/device/DeviceHubProxy.ts | 6 +- apps/server/src/diagnostics/ProcessDiagnostics.test.ts | 26 +- apps/server/src/environment/DirectEndpoints.test.ts | 8 +- apps/server/src/environment/RemoteOpenTargets.test.ts | 6 +- apps/server/src/environment/ServerEnvironment.test.ts | 22 +- apps/server/src/environment/ServerEnvironment.ts | 4 +- apps/server/src/environment/ServerEnvironmentLabel.test.ts | 32 +- apps/server/src/environment/ServerEnvironmentMachine.test.ts | 12 +- apps/server/src/git/GitManager.test.ts | 34 +- apps/server/src/git/GitWorkflowService.test.ts | 18 +- apps/server/src/git/linkCreatedPullRequest.test.ts | 28 +- apps/server/src/htmlRender/HtmlRender.test.ts | 22 +- apps/server/src/http.test.ts | 41 +- apps/server/src/http.ts | 18 +- apps/server/src/keybindings.test.ts | 43 +- apps/server/src/mcp/McpDeviceToolkit.test.ts | 14 +- apps/server/src/mcp/McpHttpServer.test.ts | 34 +- apps/server/src/mcp/McpHttpServer.ts | 127 +- apps/server/src/mcp/OrchestratorMcpService.test.ts | 50 +- apps/server/src/mcp/OrchestratorMcpToolkit.integration.test.ts | 75 +- apps/server/src/mcp/PreviewAutomationBroker.test.ts | 4 +- apps/server/src/mcp/ThreadMetadataMcpService.test.ts | 10 +- apps/server/src/mcp/WorktreeMcpService.test.ts | 4 +- apps/server/src/mcp/toolkits/attachment/handlers.ts | 2 +- apps/server/src/mcp/toolkits/core.test.ts | 14 +- apps/server/src/mcp/toolkits/device/handlers.ts | 4 +- apps/server/src/mcp/toolkits/environment/handlers.ts | 2 +- apps/server/src/mcp/toolkits/html/handlers.ts | 4 +- apps/server/src/mcp/toolkits/orchestrator/handlers.ts | 2 +- apps/server/src/mcp/toolkits/preview/handlers.ts | 4 +- apps/server/src/mcp/toolkits/previewControls/handlers.test.ts | 10 +- apps/server/src/mcp/toolkits/previewControls/handlers.ts | 2 +- apps/server/src/mcp/toolkits/project/handlers.test.ts | 26 +- apps/server/src/mcp/toolkits/project/handlers.ts | 2 +- apps/server/src/mcp/toolkits/pullRequests/handlers.test.ts | 9 +- apps/server/src/mcp/toolkits/pullRequests/handlers.ts | 2 +- apps/server/src/mcp/toolkits/thread/handlers.ts | 2 +- apps/server/src/mcp/toolkits/worktree/handlers.ts | 2 +- apps/server/src/mcp/toolkits/worktree/registration.test.ts | 8 +- apps/server/src/observability/Layers/Observability.ts | 31 +- apps/server/src/orchestration-v2/AcpRegistryOrchestratorV2.live.test.ts | 64 +- apps/server/src/orchestration-v2/Adapters/AcpAdapterV2.test.ts | 180 +- apps/server/src/orchestration-v2/Adapters/AcpRegistryAdapterV2.test.ts | 18 +- apps/server/src/orchestration-v2/Adapters/AcpRegistryAdapterV2.testkit.ts | 10 +- apps/server/src/orchestration-v2/Adapters/AntigravityAdapterV2.test.ts | 8 +- apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.testkit.ts | 18 +- apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts | 2 +- apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.test.ts | 21 +- apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.testkit.ts | 22 +- apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.ts | 4 +- apps/server/src/orchestration-v2/Adapters/CursorAdapterV2.testkit.ts | 19 +- apps/server/src/orchestration-v2/Adapters/CursorAgentSdk.test.ts | 12 +- apps/server/src/orchestration-v2/Adapters/CursorAgentSdk.ts | 2 +- apps/server/src/orchestration-v2/Adapters/GrokAdapterV2.test.ts | 6 +- apps/server/src/orchestration-v2/Adapters/GrokAdapterV2.testkit.ts | 10 +- apps/server/src/orchestration-v2/Adapters/OpenCode2AdapterV2.testkit.ts | 14 +- apps/server/src/orchestration-v2/Adapters/OpenCodeAdapterV2.testkit.ts | 14 +- apps/server/src/orchestration-v2/Adapters/PiAdapterV2.test.ts | 92 +- apps/server/src/orchestration-v2/Adapters/PiAdapterV2.testkit.ts | 10 +- apps/server/src/orchestration-v2/AttachmentClaims.test.ts | 22 +- apps/server/src/orchestration-v2/BackgroundWorkStop.integration.test.ts | 6 +- apps/server/src/orchestration-v2/CheckpointCaptureService.test.ts | 22 +- apps/server/src/orchestration-v2/CheckpointRestoreSafety.test.ts | 4 +- apps/server/src/orchestration-v2/CheckpointRollbackService.test.ts | 22 +- apps/server/src/orchestration-v2/CheckpointScopeOwnership.test.ts | 14 +- apps/server/src/orchestration-v2/CheckpointService.test.ts | 4 +- apps/server/src/orchestration-v2/ClaudeAutomaticDelivery.integration.test.ts | 14 +- apps/server/src/orchestration-v2/CommandReceiptStore.ts | 8 +- apps/server/src/orchestration-v2/ContextHandoffService.test.ts | 4 +- apps/server/src/orchestration-v2/CursorOrchestratorV2.live.test.ts | 68 +- apps/server/src/orchestration-v2/DelegatedCompletionDelivery.test.ts | 46 +- apps/server/src/orchestration-v2/EffectOutbox.ts | 2 +- apps/server/src/orchestration-v2/EffectWorker.test.ts | 72 +- apps/server/src/orchestration-v2/EffectWorker.ts | 4 +- apps/server/src/orchestration-v2/EventSink.ts | 6 +- apps/server/src/orchestration-v2/EventStore.ts | 10 +- apps/server/src/orchestration-v2/FoundationPersistence.test.ts | 158 +- apps/server/src/orchestration-v2/GrokOrchestratorV2.live.test.ts | 64 +- apps/server/src/orchestration-v2/OpenCode2OrchestratorV2.live.test.ts | 88 +- apps/server/src/orchestration-v2/Orchestrator.control-reads.test.ts | 26 +- apps/server/src/orchestration-v2/ProjectSettingsUpgrade.integration.test.ts | 30 +- apps/server/src/orchestration-v2/ProjectStore.test.ts | 4 +- apps/server/src/orchestration-v2/ProjectionControlReads.test.ts | 10 +- apps/server/src/orchestration-v2/ProjectionRecovery.test.ts | 16 +- apps/server/src/orchestration-v2/ProjectionSettlement.test.ts | 16 +- apps/server/src/orchestration-v2/ProjectionStore.test.ts | 10 +- apps/server/src/orchestration-v2/ProviderAdapterRegistry.test.ts | 8 +- apps/server/src/orchestration-v2/ProviderAdapterRegistry.ts | 10 +- apps/server/src/orchestration-v2/ProviderContinuationService.test.ts | 72 +- apps/server/src/orchestration-v2/ProviderContinuationService.ts | 2 +- apps/server/src/orchestration-v2/ProviderEventIngestor.test.ts | 28 +- apps/server/src/orchestration-v2/ProviderEventIngestor.ts | 2 +- apps/server/src/orchestration-v2/ProviderRuntimeRecoveryPerformance.test.ts | 14 +- apps/server/src/orchestration-v2/ProviderSessionManager.test.ts | 140 +- apps/server/src/orchestration-v2/ProviderSwitchService.test.ts | 24 +- apps/server/src/orchestration-v2/ProviderTurnControlService.test.ts | 12 +- apps/server/src/orchestration-v2/ProviderTurnStartService.testkit.ts | 2 +- apps/server/src/orchestration-v2/PullRequestSyncReactor.test.ts | 4 +- apps/server/src/orchestration-v2/ResourceCleanupService.ts | 2 +- apps/server/src/orchestration-v2/RestartContinuation.test.ts | 23 +- apps/server/src/orchestration-v2/RunCompletionReads.test.ts | 12 +- apps/server/src/orchestration-v2/RunExecutionService.test.ts | 56 +- apps/server/src/orchestration-v2/RunFinalizationService.test.ts | 2 +- apps/server/src/orchestration-v2/RunFinalizationService.ts | 2 +- apps/server/src/orchestration-v2/RuntimePolicy.test.ts | 4 +- apps/server/src/orchestration-v2/RuntimeRequestService.test.ts | 26 +- apps/server/src/orchestration-v2/SelectionRestart.integration.test.ts | 22 +- apps/server/src/orchestration-v2/SteeringCompletion.integration.test.ts | 10 +- apps/server/src/orchestration-v2/ThreadFork.execution.test.ts | 6 +- apps/server/src/orchestration-v2/ThreadLaunchService.test.ts | 65 +- apps/server/src/orchestration-v2/ThreadManagementService.test.ts | 20 +- apps/server/src/orchestration-v2/ThreadManagementService.ts | 4 +- apps/server/src/orchestration-v2/ThreadMessageIntake.test.ts | 42 +- apps/server/src/orchestration-v2/ThreadPullRequestService.test.ts | 8 +- apps/server/src/orchestration-v2/ThreadSearch.test.ts | 8 +- apps/server/src/orchestration-v2/ThreadSettlementService.test.ts | 4 +- apps/server/src/orchestration-v2/ThreadStop.test.ts | 34 +- apps/server/src/orchestration-v2/ThreadTitleRegenerationService.test.ts | 33 +- apps/server/src/orchestration-v2/TurnStartReads.test.ts | 12 +- apps/server/src/orchestration-v2/UsageLimitRecoveryWorker.ts | 2 +- apps/server/src/orchestration-v2/http.ts | 2 +- apps/server/src/orchestration-v2/legacy/LegacyV1Cutover.integration.test.ts | 50 +- apps/server/src/orchestration-v2/legacy/LegacyV1ThreadImporter.test.ts | 36 +- apps/server/src/orchestration-v2/runtimeLayer.test.ts | 127 +- apps/server/src/orchestration-v2/runtimeLayer.ts | 288 +- apps/server/src/orchestration-v2/testkit/ClaudeReplayFixtures.integration.test.ts | 4 +- apps/server/src/orchestration-v2/testkit/OrchestratorReplayRecovery.integration.test.ts | 20 +- apps/server/src/orchestration-v2/testkit/OrchestratorReplayRestartBackgroundNote.integration.test.ts | 18 +- apps/server/src/orchestration-v2/testkit/ProviderReplayHarness.ts | 227 +- apps/server/src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts | 142 +- apps/server/src/persistence/Layers/OrchestrationCommandReceipts.ts | 2 +- apps/server/src/persistence/Layers/OrchestrationEventStore.sequence.test.ts | 14 +- apps/server/src/persistence/Layers/OrchestrationEventStore.test.ts | 14 +- apps/server/src/persistence/Layers/OrchestrationEventStore.ts | 5 +- apps/server/src/persistence/Layers/Sqlite.test.ts | 13 +- apps/server/src/persistence/Layers/Sqlite.ts | 14 +- apps/server/src/persistence/RepositoryErrorCorrelation.test.ts | 18 +- apps/server/src/persistence/initializeV2Database.test.ts | 22 +- apps/server/src/preview/PortScanner.test.ts | 50 +- apps/server/src/process/externalLauncher.test.ts | 68 +- apps/server/src/project/AgentSessionImporter.test.ts | 4 +- apps/server/src/project/AgentSessionScanner.test.ts | 20 +- apps/server/src/project/ManagedProjectFolders.test.ts | 26 +- apps/server/src/project/ProjectEnrichmentService.test.ts | 26 +- apps/server/src/project/ProjectFaviconResolver.test.ts | 4 +- apps/server/src/project/ProjectService.deletion.test.ts | 28 +- apps/server/src/project/ProjectService.test.ts | 53 +- apps/server/src/project/RepositoryIdentityResolver.test.ts | 22 +- apps/server/src/project/T3ProjectFileLoader.test.ts | 4 +- apps/server/src/project/http.ts | 2 +- apps/server/src/provider/CodexManagedRuntime.test.ts | 4 +- apps/server/src/provider/Drivers/AntigravityDriver.test.ts | 8 +- apps/server/src/provider/Drivers/CodexDriver.test.ts | 4 +- apps/server/src/provider/Drivers/CursorDriver.test.ts | 4 +- apps/server/src/provider/Drivers/CursorDriver.ts | 2 +- apps/server/src/provider/Drivers/GrokDriver.test.ts | 4 +- apps/server/src/provider/Drivers/OpenCodeDriver.test.ts | 4 +- apps/server/src/provider/Layers/AcpRegistryCatalog.ts | 2 +- apps/server/src/provider/Layers/AntigravityProvider.test.ts | 4 +- apps/server/src/provider/Layers/CursorProvider.test.ts | 6 +- apps/server/src/provider/Layers/CursorSdkCatalog.ts | 6 +- apps/server/src/provider/Layers/OpenCodeProvider.test.ts | 6 +- apps/server/src/provider/Layers/ProviderAuthService.ts | 5 +- apps/server/src/provider/Layers/ProviderInstanceRegistryHydration.ts | 26 +- apps/server/src/provider/Layers/ProviderInstanceRegistryLive.test.ts | 44 +- apps/server/src/provider/Layers/ProviderInstanceRegistryLive.ts | 2 +- apps/server/src/provider/Layers/ProviderOrchestrationAdapterInfrastructure.ts | 8 +- apps/server/src/provider/Layers/ProviderRegistry.test.ts | 5448 ++++++++++++++++---------------- apps/server/src/provider/Layers/ProviderRegistry.ts | 2 +- apps/server/src/provider/Layers/ProviderUsageLimitsIngestion.ts | 2 +- apps/server/src/provider/ModelManifest.test.ts | 28 +- apps/server/src/provider/OpenCodeServerLedger.test.ts | 4 +- apps/server/src/provider/acp/AcpRegistrySupport.test.ts | 60 +- apps/server/src/provider/makeManagedServerProvider.test.ts | 36 +- apps/server/src/provider/opencode2/OpenCode2Client.events.test.ts | 14 +- apps/server/src/provider/opencode2/OpenCode2Client.test.ts | 4 +- apps/server/src/provider/opencode2/OpenCode2Server.live.test.ts | 2 +- apps/server/src/provider/opencode2/OpenCode2Server.test.ts | 32 +- apps/server/src/provider/opencodeRuntime.environment.test.ts | 2 +- apps/server/src/provider/opencodeRuntime.inventory.test.ts | 4 +- apps/server/src/provider/opencodeRuntime.ts | 2 +- apps/server/src/provider/providerCompatibility.test.ts | 6 +- apps/server/src/provider/providerMaintenanceRunner.test.ts | 104 +- apps/server/src/provider/testUtils/providerRegistryMock.ts | 2 +- apps/server/src/pullRequest/PullRequestService.test.ts | 4 +- apps/server/src/pullRequest/http.ts | 2 +- apps/server/src/pullRequest/linkedThreads.test.ts | 4 +- apps/server/src/resourceTelemetry/ResourceTelemetry.test.ts | 70 +- apps/server/src/review/ReviewService.test.ts | 14 +- apps/server/src/scheduledTasks/ScheduledTaskService.schedule.test.ts | 14 +- apps/server/src/scheduledTasks/ScheduledTaskService.test.ts | 8 +- apps/server/src/scheduledTasks/ScheduledTaskService.webhook.test.ts | 8 +- apps/server/src/scheduledTasks/webhookRoute.test.ts | 5 +- apps/server/src/scheduledTasks/webhookRoute.ts | 2 +- apps/server/src/scheduling/Scheduler.integration.test.ts | 14 +- apps/server/src/secrets/SecretRequests.test.ts | 4 +- apps/server/src/server.ts | 411 ++- apps/server/src/serverLogger.test.ts | 22 +- apps/server/src/serverLogger.ts | 12 +- apps/server/src/serverSettings.test.ts | 142 +- apps/server/src/sourceControl/AzureDevOpsCli.test.ts | 4 +- apps/server/src/sourceControl/PrTemplateDetection.test.ts | 4 +- apps/server/src/sourceControl/SourceControlDiscovery.test.ts | 14 +- apps/server/src/sourceControl/SourceControlProviderRegistry.test.ts | 8 +- apps/server/src/sourceControl/SourceControlRepositoryService.test.ts | 30 +- apps/server/src/telemetry/AnalyticsService.test.ts | 40 +- apps/server/src/terminal/Manager.test.ts | 27 +- apps/server/src/terminal/NodePtyAdapter.test.ts | 24 +- apps/server/src/textGeneration/ClaudeTextGeneration.test.ts | 4 +- apps/server/src/textGeneration/CodexTextGeneration.test.ts | 4 +- apps/server/src/textGeneration/CursorTextGeneration.test.ts | 24 +- apps/server/src/textGeneration/GrokTextGeneration.test.ts | 4 +- apps/server/src/textGeneration/OpenCodeTextGeneration.test.ts | 8 +- apps/server/src/textGeneration/ThreadTitleLinks.test.ts | 8 +- apps/server/src/usage/UsageService.test.ts | 54 +- apps/server/src/vcs/GitVcsDriver.test.ts | 48 +- apps/server/src/vcs/GitVcsDriver.ts | 2 +- apps/server/src/vcs/GitVcsDriverCore.test.ts | 56 +- apps/server/src/vcs/VcsProcess.test.ts | 4 +- apps/server/src/vcs/VcsProjectConfig.test.ts | 16 +- apps/server/src/vcs/VcsProvisioningService.test.ts | 8 +- apps/server/src/vcs/VcsStatusBroadcaster.test.ts | 68 +- apps/server/src/vcs/VcsStatusBroadcaster.ts | 2 +- apps/server/src/workspace/WorkspaceEntries.test.ts | 4 +- apps/server/src/workspace/WorkspaceFileSystem.test.ts | 8 +- apps/server/src/workspace/WorkspacePaths.test.ts | 4 +- apps/server/src/ws.ts | 20 +- apps/web/src/cloud/dpop.test.ts | 5 +- apps/web/src/cloud/dpop.ts | 2 +- apps/web/src/cloud/linkEnvironment.test.ts | 22 +- apps/web/src/cloud/linkEnvironment.ts | 10 +- apps/web/src/cloud/managedRelayLayer.ts | 6 +- apps/web/src/connection/platform.ts | 53 +- apps/web/src/connection/runtime.ts | 43 +- apps/web/src/connection/storage.ts | 2 +- apps/web/src/environments/primary/httpLayer.test.ts | 6 +- apps/web/src/environments/primary/httpLayer.ts | 16 +- apps/web/src/lib/backgroundActivityReporter.ts | 4 +- apps/web/src/lib/runtime.ts | 42 +- apps/web/src/observability/clientTracing.ts | 8 +- infra/relay/alchemy.run.ts | 6 +- infra/relay/scripts/android-push-watch.ts | 12 +- infra/relay/src/agentActivity/AgentActivityPublisher.test.ts | 12 +- infra/relay/src/agentActivity/ApnsClient.test.ts | 14 +- infra/relay/src/agentActivity/ApnsDeliveries.test.ts | 74 +- infra/relay/src/agentActivity/FcmClient.test.ts | 8 +- infra/relay/src/agentActivity/FcmDeliveries.test.ts | 4 +- infra/relay/src/agentActivity/MobileRegistrations.test.ts | 8 +- infra/relay/src/environments/EnvironmentConnector.test.ts | 32 +- infra/relay/src/environments/EnvironmentLinker.test.ts | 10 +- infra/relay/src/environments/ManagedEndpointProvider.test.ts | 82 +- infra/relay/src/hooks/HeldHooks.test.ts | 4 +- infra/relay/src/hooks/HookForwarder.test.ts | 16 +- infra/relay/src/hooks/HookForwarder.ts | 2 +- infra/relay/src/hooks/HookInboxObject.ts | 6 +- infra/relay/src/http/Api.test.ts | 84 +- infra/relay/src/http/Api.ts | 32 +- infra/relay/src/observability.test.ts | 4 +- infra/relay/src/observability.ts | 2 +- infra/relay/src/worker.ts | 94 +- packages/client-runtime/src/authorization/layer.test.ts | 4 +- packages/client-runtime/src/authorization/remote.test.ts | 5 +- packages/client-runtime/src/connection/layer.ts | 18 +- packages/client-runtime/src/connection/onboarding.test.ts | 30 +- packages/client-runtime/src/connection/registry.test.ts | 4 +- packages/client-runtime/src/connection/resolver.test.ts | 48 +- packages/client-runtime/src/connection/supervisor.test.ts | 12 +- packages/client-runtime/src/operations/commands.performance.test.ts | 4 +- packages/client-runtime/src/operations/commands.test.ts | 44 +- packages/client-runtime/src/relay/managedRelay.test.ts | 38 +- packages/client-runtime/src/rpc/http.ts | 6 +- packages/client-runtime/src/rpc/session.test.ts | 4 +- packages/client-runtime/src/rpc/session.ts | 8 +- packages/client-runtime/src/state/boundedThreadSnapshotHttp.test.ts | 12 +- packages/client-runtime/src/state/boundedThreadSnapshotHttp.ts | 2 +- packages/client-runtime/src/state/environmentHttpAuth.test.ts | 19 +- packages/client-runtime/src/state/pullRequestDiffHttp.test.ts | 6 +- packages/client-runtime/src/state/threads.ts | 2 +- packages/effect-acp/scripts/generate.ts | 4 +- packages/effect-acp/src/agent.ts | 4 +- packages/effect-acp/src/client.test.ts | 16 +- packages/effect-acp/src/client.ts | 4 +- packages/effect-codex-app-server/src/client.test.ts | 8 +- packages/effect-codex-app-server/test/examples/codex-app-server-probe.ts | 4 +- packages/shared/src/httpObservability.ts | 2 +- packages/shared/src/observability.test.ts | 6 +- packages/shared/src/observability.ts | 2 +- packages/shared/src/otelEnvironment.test.ts | 9 +- packages/shared/src/relayClient.test.ts | 36 +- packages/shared/src/relayTracing.test.ts | 19 +- packages/shared/src/relayTracing.ts | 6 +- packages/ssh/src/command.test.ts | 18 +- packages/ssh/src/tunnel.test.ts | 30 +- packages/tailscale/src/tailscale.test.ts | 24 +- 401 files changed, 7288 insertions(+), 7368 deletions(-)