DeepSeek Harness documentation says its session-log upload to DeepSeek's API is on by default
DeepSeek's own docs for its open-source agent harness say the `dsh_session_log` field "is enabled by default" and "may expose" system-prompt snapshots, user and assistant content, and tool arguments and results. The 28 November release notes do not mention it.

DeepSeek's documentation for DeepSeek Harness, its open-source agent harness, says a request field called dsh_session_log is switched on by default and can send the newest part of a session's log with eligible model requests to DeepSeek's API, or to a gateway configured in its place. The reference document was last edited on Friday 27 November 2026, and the same text ships in the dsh-v0.2.3-alpha.3 release, which GitHub shows as published at 12:36 UTC on Saturday 28 November and marks as a pre-release.
What the documentation says
The wire-extensions reference lists every extra header and JSON field the Harness's DeepSeek adapter adds to requests. On the session log, it says: "The field is enabled by default."
According to the same document:
- What it may contain. "Unless a composition disables it,
dsh_session_logmay expose the Session working directory, system-prompt snapshots, user and Assistant content, embedded Assistant streams, failed-attempt output, tool arguments and results, compaction summaries, feedback, and plugin-owned events." - What it excludes. "Adapter API keys are not Session events and therefore do not enter the field."
- Size. Each request carries the longest run of new events that fits a
maxByteslimit, "8 MiB by default and counted in UTF-8 bytes including the header and numeric fields, so a backlog above the limit spans several accepted requests." - Where it goes. "The adapter sends the additions to its resolved
baseURL, including a configured gateway." The document adds: "A gateway selected throughbaseURLreceives the same values as the official endpoint."
The field is scoped to DeepSeek's own providers. The document says it covers "deepseek-official and deepseek-account Messages requests", and that "The provider-neutral LLM interface and llm-pi-ai do not implement these additions." It also says the extra fields "remain outside messages, system prompts, and tool schemas, so they do not add model-input tokens".
The upload is incremental. The package README describes it as "Incremental canonical session-log upload for official DeepSeek LLM API requests." The reference says an accepted upload means only that "the configured endpoint returned HTTP 2xx for the containing LLM request. It does not assert SSE completion or remote persistence."
The documents we read do not say how DeepSeek stores the uploaded logs, how long it keeps them or what it uses them for.
How to switch it off
The package README gives two routes. In configuration: "Set enabled: false when the official API must not receive a Session-log suffix". In the Web interface, the README names a switch at "Settings → General → Data management → Upload session log when using the official model API".
Two details in the README matter for anyone relying on that switch:
- "Re-enabling resumes the unaccepted suffix, including events recorded while disabled."
- Two subagent headers are registered by the same plugin, and "
enabledcontrols only the log field, so both headers are sent while upload is disabled." The README adds that "removing the plugin also stops the subagent headers."
The README also says: "Shipped profiles mount the plugin". The plugin's source at the release tag sets the enabled setting's default to true and maxBytes to 8 MiB.
Separately from the log, the reference says every authorised model request carries an x-deepseek-harness-user-id header holding "The stable anonymous UUID for the resolved Harness home".
Not new in this release
The default-on wording predates this release. The reference first described the session-log wire format on 22 August 2026, when it said: "The field is disabled by default." A commit on Monday 14 September 2026 changed that line to "enabled by default"; its description begins: "With the plugin defaulting to on". We have not traced which earlier release first shipped the on-by-default setting.
The 28 November release notes do not mention the session log or its upload. They do include one related line: "Native DeepSeek inference requests identify subagents and their immediate parent sessions in HTTP headers." Those are the two headers the session-log plugin registers. The release's headline additions, per the notes, are DeepSeek cloud transcription for voice input, an experimental Read aloud plugin, experimental Office previews and instant-messaging plugins, and a new Connectors tab for managing official connectors and custom MCP servers.
DeepSeek's README says the Harness is in "developer preview" and is MIT-licensed, per the repository's LICENSE file. We previously covered DeepSeek's dsh-superagent, which its README calls a "Research prototype for reference only, not an official DeepSeek product", and which is packaged for DeepSeek Harness.
Why it matters
On our reading, anyone running DeepSeek Harness against DeepSeek's official API, or through a gateway set as its baseURL, should assume from DeepSeek's own documentation that session content, including tool arguments and results and the working directory, may be sent with their requests unless they have turned the upload off. The documentation is explicit about what the field can carry and how to disable it; what it does not cover, in the pages we read, is what happens to the data once it arrives.
- DeepSeek Harness: Official DeepSeek LLM API wire extensions (docs, last edited 27 Nov 2026, commit 7f4125d)
- @deepseek-ai/dsh-session-log-deepseek README
- DeepSeek Harness release dsh-v0.2.3-alpha.3
- Commit 7da882d (14 Sep 2026): default-on wording
- Commit history of the wire-extensions doc
- DeepSeek Harness LICENSE (MIT)
Ask Relay — he reads every question himself and replies personally by email.
