{"record":{"id":"2fb2cd09f3349153","repo":"vercel/ai","slug":"acp-lifecycle-state-belongs-to-sandbox-json-stri","errorCode":null,"errorMessage":"ACP lifecycle state belongs to sandbox ${JSON.stringify(expectedSandboxId)}, not ${JSON.stringify(sandboxId)}.","messagePattern":"ACP lifecycle state belongs to sandbox (.+?), not (.+?)\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/harness-acp/src/v1/acp-v1-lifecycle.ts","lineNumber":89,"sourceCode":"  if (lifecycleData.implementationIdentity !== implementationIdentity) {\n    throw new Error(\n      'ACP lifecycle state is incompatible with the configured implementation.',\n    );\n  }\n  if (\n    lifecycleData.authenticationProfile?.digest !== authenticationProfile.digest\n  ) {\n    throw new Error(\n      'ACP lifecycle state is incompatible with the configured authentication profile.',\n    );\n  }\n  const expectedSandboxId = lifecycleData.bridge?.sandboxId;\n  if (\n    expectedSandboxId != null &&\n    sandboxId != null &&\n    expectedSandboxId !== sandboxId\n  ) {\n    throw new Error(\n      `ACP lifecycle state belongs to sandbox ${JSON.stringify(\n        expectedSandboxId,\n      )}, not ${JSON.stringify(sandboxId)}.`,\n    );\n  }\n}\n","sourceCodeStart":71,"sourceCodeEnd":96,"githubUrl":"https://github.com/vercel/ai/blob/69428b1f8b037e4d118fb4853428d5c4e620493c/packages/harness-acp/src/v1/acp-v1-lifecycle.ts#L71-L96","documentation":"Error \"ACP lifecycle state belongs to sandbox ${JSON.stringify(expectedSandboxId)}, not ${JSON.stringify(sandboxId)}.\" thrown in vercel/ai.","triggerScenarios":"Thrown at packages/harness-acp/src/v1/acp-v1-lifecycle.ts:89 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"69428b1f8b037e4d118fb4853428d5c4e620493c","analyzedAt":"2026-08-30T12:32:21.016Z","schemaVersion":2},"datasetVersion":"2026-08-30T13:17:10.514Z"}