{"record":{"id":"ae6bea38a942dcb7","repo":"paperclipai/paperclip","slug":"claude-managed-runner-transport-requires-a-qualifi","errorCode":null,"errorMessage":"Claude Managed runner transport requires a qualified managed profile","messagePattern":"Claude Managed runner transport requires a qualified managed profile","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts","lineNumber":4296,"sourceCode":"    const unboundBaseInstructions = String(\n      params.baseInstructions ?? \"You are a Paperclip agent.\",\n    );\n    const baseInstructions =\n      sourceRuntimeContext && runtimeContext\n        ? unboundBaseInstructions.replaceAll(\n            sourceRuntimeContext.instructions.bundle.rootPath,\n            runtimeContext.instructions.bundle.rootPath,\n          )\n        : unboundBaseInstructions;\n    const acpxProfile =\n      provider === \"acpx\"\n        ? 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\",","sourceCodeStart":4278,"sourceCodeEnd":4314,"githubUrl":"https://github.com/paperclipai/paperclip/blob/01ad8584922b5d85292b1723cae71fa0d9b07a19/packages/paperclip-runner/src/live/runnerd-codex-transport.ts#L4278-L4314","documentation":"Guard in the runnerd Claude Managed transport setup: when the provider is claude_managed, this.options.managedProfile must hold a qualified managed profile; if it is absent the transport throws because it cannot authenticate or bind sessions to Claude's managed-agents API. Typically means runnerd was started without the managed profile configured while an assignment selected claude_managed.","triggerScenarios":"Thrown at packages/paperclip-runner/src/live/runnerd-codex-transport.ts:1728 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Start/reconfigure runnerd so its options include a qualified managedProfile.","Fix assignment resolution so claude_managed is only selected when a qualified profile exists.","Use a provider that needs no managed profile (codex, opencode, acpx) for this runner instance."],"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"}