{"record":{"id":"da9b8ce9e50f0ba2","repo":"vercel/ai","slug":"acp-lossy-rerun-requires-the-same-active-host-tool","errorCode":null,"errorMessage":"ACP lossy rerun requires the same active host tool catalog as the original turn.","messagePattern":"ACP lossy rerun requires the same active host tool catalog as the original turn\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/harness-acp/src/v1/acp-v1-harness.ts","lineNumber":1855,"sourceCode":"    throw new Error(\n      'ACP cold-session state is incompatible with the current non-secret session configuration.',\n    );\n  }\n  return current;\n}\n\nfunction assertRecoveryToolCatalog({\n  persisted,\n  current,\n}: {\n  persisted: ReadonlyArray<HarnessV1ToolSpec>;\n  current: ReadonlyArray<HarnessV1ToolSpec>;\n}): void {\n  if (\n    fingerprintValue({ value: persisted }) !==\n    fingerprintValue({ value: current })\n  ) {\n    throw new Error(\n      'ACP lossy rerun requires the same active host tool catalog as the original turn.',\n    );\n  }\n}\n\nfunction fingerprintValue({ value }: { value: unknown }): string {\n  return createHash('sha256').update(JSON.stringify(value)).digest('hex');\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n  return value != null && typeof value === 'object' && !Array.isArray(value);\n}\n\nfunction unsupported({\n  harnessId,\n  message,\n  cause,\n}: {","sourceCodeStart":1837,"sourceCodeEnd":1873,"githubUrl":"https://github.com/vercel/ai/blob/69428b1f8b037e4d118fb4853428d5c4e620493c/packages/harness-acp/src/v1/acp-v1-harness.ts#L1837-L1873","documentation":"Error \"ACP lossy rerun requires the same active host tool catalog as the original turn.\" thrown in vercel/ai.","triggerScenarios":"Thrown at packages/harness-acp/src/v1/acp-v1-harness.ts:1855 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"}