deepseek-ai/deepseek-harness · error

hooks-claude-code: ${point} hook emitted a systemMessage, wh

Error message

hooks-claude-code: ${point} hook emitted a systemMessage, which is not yet surfaced (ignored)

What it means

Error "hooks-claude-code: ${point} hook emitted a systemMessage, which is not yet surfaced (ignored)" thrown in deepseek-ai/deepseek-harness.

Source

Thrown at packages/hooks/hooks-claude-code/src/index.ts:179

          })
        }
        const { output, durationMs } = await runHook(ctx.shell, hook, {
          payload,
          defaultTimeoutMs,
          ...hookEnv ? { env: hookEnv } : {},
          ...workdir !== undefined ? { cwd: workdir } : {},
          signal: opts.signal,
          trailingNewline: true,
          // Discard a `hookSpecificOutput` block whose `hookEventName` names a
          // different event than the one firing (the schemas key it by event).
          expectedEventName: point,
        }, () => performance.now())
        outputs.push(output)
        if (output.updatedInput !== undefined) {
          ctx.logger.warn(`hooks-claude-code: ${point} hook requested updatedInput, which is not yet honored (ignored)`)
        }
        if (output.systemMessage !== undefined) {
          ctx.logger.warn(`hooks-claude-code: ${point} hook emitted a systemMessage, which is not yet surfaced (ignored)`)
        }
        if (session && opts.turn !== undefined) {
          appendHookResult(session, { turn: opts.turn, point, handlerId, output, stderrSummaryMaxChars, durationMs })
        }
      }
    }
    return mergeHookOutputs(outputs)
  }

  // TODO(hook-continue-false): `merged.stop` is logged but needs a run-level halt mechanism.

  /** Build additional model context from hook output, or return undefined when empty. */
  function contextFrom(merged: MergedHookOutcome): UserMessage | undefined {
    if (merged.additionalContext.length === 0) return undefined
    const content: ContentBlock[] = merged.additionalContext.map(text => ({ type: 'text', text }))
    return createUserMessage({ content, source: PLUGIN_SOURCE })
  }

View on GitHub (pinned to b150a551b8)

Solutions

  1. Do not rely on systemMessage from this hook point; surface the message by other means.

When it happens

Trigger: Thrown at packages/hooks/hooks-claude-code/src/index.ts:179 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24). Data as JSON: /api/errors/0c67a7dab1cbe3eb. Report an issue: GitHub.