From 71d131691969c7ed6095c2e52849386d25a9df3f Mon Sep 17 00:00:00 2001 From: john Date: Mon, 31 Aug 2026 09:42:11 +0800 Subject: [PATCH] Remove accidental harness runtime wiring from cursor release. The cursor channel commit picked up unstaged harness bootstrap code without the service module, which broke Portal runtime bundling. Co-authored-by: Cursor --- server.mjs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server.mjs b/server.mjs index 8fcfc63..357ad9a 100644 --- a/server.mjs +++ b/server.mjs @@ -63,7 +63,6 @@ import { resolveRequestOrigin, } from './server/portal-publication-shell.mjs'; import { attachPortalRuntimeRoutes } from './server/portal-runtime-routes.mjs'; -import { createHarnessRuntimeService } from './services/harness/runtime.mjs'; import { attachPortalStaticDeliveryRoutes } from './server/portal-static-delivery-routes.mjs'; import { createPortalWorkspacePublicationDelivery } from './server/portal-workspace-publication-delivery.mjs'; import { attachPortalSeoDiscoveryRoutes } from './server/portal-seo-discovery-routes.mjs'; @@ -284,7 +283,6 @@ let memoryV2ConfigService = null; let skillRuntimeConfigService = null; let systemDisclosurePolicyService = null; let agentCodeRunPolicyService = null; -let harnessRuntimeService = null; let wechatCursorExecutorPolicyService = null; let wechatScheduleLlmConfigService = null; let wechatScheduledTaskManageLlmConfigService = null; @@ -340,7 +338,6 @@ async function bootstrapUserAuth() { try { if (!isDatabaseConfigured()) return false; const pool = createDbPool(); - harnessRuntimeService = createHarnessRuntimeService({ pool, env: process.env }); const domainServices = await bootstrapPortalDomainServices({ pool, @@ -793,7 +790,6 @@ attachPortalRuntimeRoutes(api, { getEpisodicMemoryService: () => episodicMemoryService, getAgentRunGateway: () => agentRunGateway, getCodeRunPolicyService: () => agentCodeRunPolicyService, - getHarnessRuntimeService: () => harnessRuntimeService, env: process.env, });