{"record":{"id":"0c67a7dab1cbe3eb","repo":"deepseek-ai/deepseek-harness","slug":"hooks-claude-code-point-hook-emitted-a-systemm","errorCode":null,"errorMessage":"hooks-claude-code: ${point} hook emitted a systemMessage, which is not yet surfaced (ignored)","messagePattern":"hooks-claude-code: (.+?) hook emitted a systemMessage, which is not yet surfaced \\(ignored\\)","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/hooks/hooks-claude-code/src/index.ts","lineNumber":179,"sourceCode":"          })\n        }\n        const { output, durationMs } = await runHook(ctx.shell, hook, {\n          payload,\n          defaultTimeoutMs,\n          ...hookEnv ? { env: hookEnv } : {},\n          ...workdir !== undefined ? { cwd: workdir } : {},\n          signal: opts.signal,\n          trailingNewline: true,\n          // Discard a `hookSpecificOutput` block whose `hookEventName` names a\n          // different event than the one firing (the schemas key it by event).\n          expectedEventName: point,\n        }, () => performance.now())\n        outputs.push(output)\n        if (output.updatedInput !== undefined) {\n          ctx.logger.warn(`hooks-claude-code: ${point} hook requested updatedInput, which is not yet honored (ignored)`)\n        }\n        if (output.systemMessage !== undefined) {\n          ctx.logger.warn(`hooks-claude-code: ${point} hook emitted a systemMessage, which is not yet surfaced (ignored)`)\n        }\n        if (session && opts.turn !== undefined) {\n          appendHookResult(session, { turn: opts.turn, point, handlerId, output, stderrSummaryMaxChars, durationMs })\n        }\n      }\n    }\n    return mergeHookOutputs(outputs)\n  }\n\n  // TODO(hook-continue-false): `merged.stop` is logged but needs a run-level halt mechanism.\n\n  /** Build additional model context from hook output, or return undefined when empty. */\n  function contextFrom(merged: MergedHookOutcome): UserMessage | undefined {\n    if (merged.additionalContext.length === 0) return undefined\n    const content: ContentBlock[] = merged.additionalContext.map(text => ({ type: 'text', text }))\n    return createUserMessage({ content, source: PLUGIN_SOURCE })\n  }\n","sourceCodeStart":161,"sourceCodeEnd":197,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/hooks/hooks-claude-code/src/index.ts#L161-L197","documentation":"Error \"hooks-claude-code: ${point} hook emitted a systemMessage, which is not yet surfaced (ignored)\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/hooks/hooks-claude-code/src/index.ts:179 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Do not rely on systemMessage from this hook point; surface the message by other means."],"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"}