{"record":{"id":"0bbc8a42dc7b85b9","repo":"paperclipai/paperclip","slug":"aws-agentcore-runner-transport-requires-a-qualifie","errorCode":null,"errorMessage":"AWS AgentCore runner transport requires a qualified AgentCore profile","messagePattern":"AWS AgentCore runner transport requires a qualified AgentCore profile","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts","lineNumber":4308,"sourceCode":"        ? resolveQualifiedAcpxProfile(acpxAgent!, requestedModel)\n        : null;\n    const managedProfile = this.options.managedProfile;\n    const agentCoreProfile = this.options.agentCoreProfile;\n    if (provider === \"claude_managed\") {\n      if (!managedProfile) {\n        throw new Error(\n          \"Claude Managed runner transport requires a qualified managed profile\",\n        );\n      }\n      if (requestedModel !== managedProfile.model) {\n        throw new Error(\n          \"Claude Managed requested model does not match its qualified profile\",\n        );\n      }\n    }\n    if (provider === \"aws_agentcore\") {\n      if (!agentCoreProfile) {\n        throw new Error(\n          \"AWS AgentCore runner transport requires a qualified AgentCore profile\",\n        );\n      }\n      if (requestedModel !== agentCoreProfile.model) {\n        throw new Error(\n          \"AWS AgentCore requested model does not match its qualified profile\",\n        );\n      }\n    }\n    const completionContract = record(params.completionContract);\n    const runAttachTemplate = {\n      authorizedTools: this.#authorizedTools,\n      ...(completionContract.revision &&\n      Array.isArray(completionContract.criterionIds)\n        ? { completionContract }\n        : {}),\n      provider:\n        provider === \"acpx\"","sourceCodeStart":4290,"sourceCodeEnd":4326,"githubUrl":"https://github.com/paperclipai/paperclip/blob/01ad8584922b5d85292b1723cae71fa0d9b07a19/packages/paperclip-runner/src/live/runnerd-codex-transport.ts#L4290-L4326","documentation":"Guard in the runnerd AWS AgentCore transport: when the provider is aws_agentcore, this.options.agentCoreProfile must contain a qualified AgentCore profile; if missing, the transport throws because it cannot resolve the harness/endpoint/memory ARNs needed to invoke AgentCore. Indicates runnerd lacks the remote-agent profile while an assignment selected aws_agentcore.","triggerScenarios":"Thrown at packages/paperclip-runner/src/live/runnerd-codex-transport.ts:1736 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Start/reconfigure runnerd with a qualified agentCoreProfile in its options.","Gate aws_agentcore assignments on AgentCore profile availability.","Switch the assignment to a locally-backed provider until the AgentCore profile is provisioned."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"01ad8584922b5d85292b1723cae71fa0d9b07a19","analyzedAt":"2026-09-10T03:14:50.855Z","contentChangedAt":"2026-09-10T03:14:50.855Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}