{"record":{"id":"4ea1ebd4a162d058","repo":"deepseek-ai/deepseek-harness","slug":"steer-unavailable","errorCode":"steer-unavailable","errorMessage":"current turn no longer accepts steering","messagePattern":"current turn no longer accepts steering","errorType":"error_code","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/host/apiproxy/src/api-proxy.ts","lineNumber":2503,"sourceCode":"            details: { itemId },\n          }))\n        }\n        const target = agent.inbox.nextTurn.some(message => message.id === itemId)\n          ? 'next-turn'\n          : agent.inbox.nextStep.some(message => message.id === itemId) ? 'next-step' : undefined\n        const message = target === undefined\n          ? undefined\n          : (target === 'next-turn' ? agent.inbox.nextTurn : agent.inbox.nextStep)\n            .find(candidate => candidate.id === itemId)\n        if (target === undefined || message === undefined) {\n          return Promise.resolve(err(request, {\n            code: 'queue-item-not-found',\n            message: 'queued item is no longer pending',\n            details: { itemId },\n          }))\n        }\n        if (action.kind === 'steer' && (target !== 'next-turn' || agent.status !== 'running')) {\n          return Promise.resolve(err(request, {\n            code: 'steer-unavailable',\n            message: 'current turn no longer accepts steering',\n            details: { itemId },\n          }))\n        }\n        if (action.kind === 'edit') {\n          agent.inbox.replace(itemId, freezeMessage({ ...message, content: action.content }))\n        } else {\n          agent.inbox.remove(itemId)\n          if (action.kind === 'steer') agent.steer(message)\n        }\n        return Promise.resolve(ok(request, { accepted: true as const }))\n      },\n\n      cancel(request) {\n        const { sessionId } = request.payload\n        const agent = ctx.agents.get(sessionId)\n        if (agent === undefined) {","sourceCodeStart":2485,"sourceCodeEnd":2521,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/host/apiproxy/src/api-proxy.ts#L2485-L2521","documentation":"Error \"current turn no longer accepts steering\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/host/apiproxy/src/api-proxy.ts:2503 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Steer earlier in the turn or target the next turn; the current turn no longer accepts steering."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}