deepseek-harness-handbook / site
llms.txt229 starsChanged 3 months agoApache-2.0View on GitHub
An independent, source-backed, agent-first field guide to the official DeepSeek Harness runtime. Canonical site: https://sandbaseai.github.io/deepseek-harness-handbook/ Latest field update (v0.5.438): align release metadata across machine-readable discovery surfaces: https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/CHANGELOG.md Continuable child empty-tool-registry diagnosis (v0.5.278): https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/agent-patterns/continuable-child-empty-tool-registry.md Windows read-only PowerShell stderr noise (v0.5.279): https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/troubleshooting/windows-readonly-pwsh-stderr.md Latest release (v0.5.438): align release metadata across machine-readable discovery surfaces: https://github.com/sandbaseai/deepseek-harness-handbook/releases/tag/v0.5.438 Resource JSON index: https://sandbaseai.github.io/deepseek-harness-handbook/awesome-deepseek-harness-resources.json The JSON index contains 82 source-linked resources grouped by Agent capability; treat each as a discovery lead and verify permissions, credentials, network access, and rollback…
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
Files
# DeepSeek Harness Handbook > An independent, source-backed, agent-first field guide to the official DeepSeek Harness runtime. Canonical site: https://sandbaseai.github.io/deepseek-harness-handbook/ Latest field update (v0.5.438): align release metadata across machine-readable discovery surfaces: https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/CHANGELOG.md Continuable child empty-tool-registry diagnosis (v0.5.278): https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/agent-patterns/continuable-child-empty-tool-registry.md Windows read-only PowerShell stderr noise (v0.5.279): https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/troubleshooting/windows-readonly-pwsh-stderr.md Latest release (v0.5.438): align release metadata across machine-readable discovery surfaces: https://github.com/sandbaseai/deepseek-harness-handbook/releases/tag/v0.5.438 Resource JSON index: https://sandbaseai.github.io/deepseek-harness-handbook/awesome-deepseek-harness-resources.json The JSON index contains 82 source-linked resources grouped by Agent capability; treat each as a discovery lead and verify permissions, credentials, network access, and rollback before activation. The pinned upstream catalog is much larger (271 hub repositories + 1,000 public dsh-plugin topic repositories + 471 manual additions); this handbook intentionally exposes a reviewed subset: https://github.com/0xsline/awesome-deepseek-harness/blob/07278233cba25e6f2d011018751187b7a4d8ed52/CATALOG.md SandBase Harness MCP bridge guide: https://sandbaseai.github.io/deepseek-harness-handbook/sandbase-harness-bridge.html English README and Star call-to-action (v0.5.315): https://github.com/sandbaseai/deepseek-harness-handbook#readme Latest field update (v0.5.283): pnpm isolated-tarball fallback closure and empty provider table: https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/troubleshooting/web-loading-plugins-pnpm-symlink.md Latest field update (v0.5.284): headless first-tool-call scheduler failure and duplicate core closure: https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/troubleshooting/duplicate-core-runtime-closure.md Latest field update (v0.5.285): corrupt attachment references and misleading TRANSPORT retries: https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/integrations/general-file-attachments.md Auth token acquisition and entry boundaries (v0.5.274): https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/troubleshooting/auth-token-not-available.md Firefox blank Web client diagnostics (v0.5.273): https://sandbaseai.github.io/deepseek-harness-handbook/firefox-web-client-blank.html Code Mode literal-section boundary: https://sandbaseai.github.io/deepseek-harness-handbook/code-mode-unknown-prompt-variable.html Manual compaction caller-abort diagnosis: https://sandbaseai.github.io/deepseek-harness-handbook/manual-compaction-aborted.html pnpm store-identity recovery: https://sandbaseai.github.io/deepseek-harness-handbook/pnpm-unexpected-store.html OpenCode Go model routing: https://sandbaseai.github.io/deepseek-harness-handbook/opencode-go-model-routing.html Web Client plugin boot failure: https://sandbaseai.github.io/deepseek-harness-handbook/web-client-plugin-boot-failure.html Shared workspace-write dependency caches: https://sandbaseai.github.io/deepseek-harness-handbook/workspace-write-shared-cache.html API key storage threat model: https://sandbaseai.github.io/deepseek-harness-handbook/api-key-storage.html Duplicated committed Session seq recovery: https://sandbaseai.github.io/deepseek-harness-handbook/duplicate-session-seq.html Image-send composer recovery: https://sandbaseai.github.io/deepseek-harness-handbook/image-send-readonly.html Headless reasoning effort: https://sandbaseai.github.io/deepseek-harness-handbook/headless-reasoning-effort.html Spawn subagent reasoning-effort recovery: https://sandbaseai.github.io/deepseek-harness-handbook/spawn-subagent-reasoning-effort.html Bailian Token Plan catalog route: https://sandbaseai.github.io/deepseek-harness-handbook/bailian-token-plan.html Custom provider catalog collision: https://sandbaseai.github.io/deepseek-harness-handbook/custom-provider-catalog-collision.html Expired MCP session recovery: https://sandbaseai.github.io/deepseek-harness-handbook/expired-mcp-session-loop.html ACP editor integration boundary: https://sandbaseai.github.io/deepseek-harness-handbook/acp-editor-boundary.html ACP permission request UI: https://sandbaseai.github.io/deepseek-harness-handbook/acp-permission-request-ui.html ACP permission reverse-request hang: https://sandbaseai.github.io/deepseek-harness-handbook/acp-permission-hang.html Subagent human question relay: https://sandbaseai.github.io/deepseek-harness-handbook/subagent-question-relay.html Windows nested-child hangs, subprocess crash isolation, and Host survival: https://sandbaseai.github.io/deepseek-harness-handbook/async-subprocess-tools.html rc.2 to alpha.1 upgrade preflight: https://sandbaseai.github.io/deepseek-harness-handbook/upgrade-deepseek-harness.html Recover third-party providers after an alpha.1 upgrade: https://sandbaseai.github.io/deepseek-harness-handbook/provider-upgrade-no-response.html Recover an id-less plugin notice without corrupting Zstandard framing: https://sandbaseai.github.io/deepseek-harness-handbook/idless-plugin-notice.html Windows Web Host hang evidence capture: https://sandbaseai.github.io/deepseek-harness-handbook/windows-web-event-loop-hang.html Session archive, trash, restore, and purge: https://sandbaseai.github.io/deepseek-harness-handbook/session-archive-trash-delete.html read_image missing fs injection: https://sandbaseai.github.io/deepseek-harness-handbook/read-image-fs-inject.html pi-ai image MIME compatibility: https://sandbaseai.github.io/deepseek-harness-handbook/pi-ai-image-media-type.html SDK and multi-channel human interaction: https://sandbaseai.github.io/deepseek-harness-handbook/sdk-human-interaction-wire.html — negotiate questions and approvals, then route Web/Feishu presentation through one authenticated decision owner and atomic settlement. Stuck tool cancellation: https://sandbaseai.github.io/deepseek-harness-handbook/stuck-tool-cancellation.html Degenerate model output: https://sandbaseai.github.io/deepseek-harness-handbook/degenerate-model-output.html npx install prompt hangs: https://sandbaseai.github.io/deepseek-harness-handbook/npx-install-prompt-hangs.html Web Search custom gateway: https://sandbaseai.github.io/deepseek-harness-handbook/web-search-custom-gateway.html Tool schema subset: https://sandbaseai.github.io/deepseek-harness-handbook/tool-schema-subset.html Partial plugin-add recovery: https://sandbaseai.github.io/deepseek-harness-handbook/plugin-add-nonzero-reconcile.html Conversation update-before-start recovery: https://sandbaseai.github.io/deepseek-harness-handbook/conversation-update-before-start.html Persistent Bash CJK locale/readline stalls: https://sandbaseai.github.io/deepseek-harness-handbook/macos-bash-nonascii.html OpenAI-compatible developer-role 400: https://sandbaseai.github.io/deepseek-harness-handbook/openai-compatible-developer-role.html tapIndex dollar-sign corruption: https://sandbaseai.github.io/deepseek-harness-handbook/tapindex-dollar-corruption.html Session and deployment model routing: https://sandbaseai.github.io/deepseek-harness-handbook/session-model-default.html Context overflow, large-to-small model transitions, and compaction convergence: https://sandbaseai.github.io/deepseek-harness-handbook/context-window-overflow.html WebView MutationObserver CPU loop: https://sandbaseai.github.io/deepseek-harness-handbook/webview-mutation-loop.html RTL and mixed-script rendering contract: https://sandbaseai.github.io/deepseek-harness-handbook/rtl-mixed-text.html Canonical content: https://github.com/sandbaseai/deepseek-harness-handbook/tree/main/docs/en Language status: English canonical; Simplified Chinese partial and reviewed; Japanese, Korean, and Spanish navigation drafts. Atom updates feed: https://sandbaseai.github.io/deepseek-harness-handbook/feed.xml Source repository: https://github.com/sandbaseai/deepseek-harness-handbook Official upstream runtime: https://github.com/deepseek-ai/deepseek-harness Web Loading plugins pnpm symlink recovery: https://sandbaseai.github.io/deepseek-harness-handbook/web-loading-plugins-pnpm.html Responses API overload and retry runbook: https://sandbaseai.github.io/deepseek-harness-handbook/responses-overload-retry.html Codex hooks bridge: https://sandbaseai.github.io/deepseek-harness-handbook/codex-hooks-bridge.html Claude Code hooks bridge: https://sandbaseai.github.io/deepseek-harness-handbook/claude-code-hooks-bridge.html Duplicate core runtime recovery: https://sandbaseai.github.io/deepseek-harness-handbook/duplicate-core-runtime.html Programmatic headless contract: https://sandbaseai.github.io/deepseek-harness-handbook/headless-programmatic-contract.html Air-gapped rc.8 source build: https://sandbaseai.github.io/deepseek-harness-handbook/air-gapped-source-build.html Source-build MISSING_EXPORT recovery: https://sandbaseai.github.io/deepseek-harness-handbook/source-build-missing-exports.html Stuck Turn stop, parked queue recovery, and safe retry: https://sandbaseai.github.io/deepseek-harness-handbook/stuck-turn-stop-retry.html TUI slash commands failing on signal.aborted: https://sandbaseai.github.io/deepseek-harness-handbook/tui-slash-command-signal.html Client-modules HTML preload failure: https://sandbaseai.github.io/deepseek-harness-handbook/client-modules-html-preload.html Token accounting map: https://sandbaseai.github.io/deepseek-harness-handbook/token-meter-accounting.html Preset generation, shared-provider, and scoped-tool recovery: https://sandbaseai.github.io/deepseek-harness-handbook/preset-generation-recovery.html Web IME and translation-extension composer recovery: https://sandbaseai.github.io/deepseek-harness-handbook/web-ime-composition.html Model input-modality authoring: https://sandbaseai.github.io/deepseek-harness-handbook/model-input-modalities.html ## Start here - [Prompt assembly and provenance](https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/architecture/prompt-assembly-provenance.md): Separate ordered prompt sections, runtime-fact snapshots, and tool schemas; measure Plan and Code Mode with explicit execution and cache evidence. - [GitFlow guardrails](https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/agent-patterns/gitflow-guardrails.md): Turn branch-role rules into a pre-execution Agent guard with external audit evidence, while retaining repository branch protection as the final authority. - [Text-model vision fallback](https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/integrations/text-model-vision-fallback.md): Route images through a configured vision adapter while preserving the base Agent model, evidence provenance, privacy boundaries, and measurable cost. - [Concurrent DSH_HOME session membership](https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/troubleshooting/concurrent-dsh-home-session-membership.md): Diagnose shared workspace-store write races, distinguish durable-account inspection from validated membership, isolate concurrent profiles, and recover Session membership without deleting logs. - [Client-module preload mismatch](https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/troubleshooting/web-client-plugin-boot-failure.md): Diagnose HTML/module revision drift, proxy rewrites, and preload contract failures before touching plugin packages. - [Context compression profiles](https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/architecture/context-compression-profiles.md): Separate Fresh, History, and TailTrim paths, preserve recoverable evidence, and measure cache invalidation, latency, and cost together. - [Subagent model and reasoning-route fidelity](https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/troubleshooting/spawn-subagent-reasoning-effort.md): Distinguish live UI model selection from Session-start snapshots and child request headers before attributing cost or effort behavior. - [Session and renderer memory boundaries](https://sandbaseai.github.io/deepseek-harness-handbook/session-heap-growth.html): Separate Web ChatView DOM growth from Host Session retention, then choose renderer virtualization or Session handoff based on process-level evidence. - [Verify official project identity](https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/reference/official-project-identity.md): Distinguish the official runtime from third-party desktop shells, packages, and sites by checking artifact, IPC, profile, and credential provenance. - [Agent lifecycle and prefix-cache ordering](https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/architecture/agent-lifecycle.md): Trace turns and steps, then separate provenance, recency, durable order, and cache stability before moving injected context. - [Agent Harness Evaluation Scorecard](https://sandbaseai.github.io/deepseek-harness-handbook/agent-harness-scorecard.html): Rate eight runtime boundaries with evidence, identify the next gate, and share a local browser-only review. - [Diagnose ask_user_question aborts](https://sandbaseai.github.io/deepseek-harness-handbook/ask-user-question-aborted.html): Prove rc.2 has no implicit answer timer, correlate the execution signal and provider lifecycle, and keep reminders distinct from typed deadlines. - [Diagnose unknown edit tools](https://sandbaseai.github.io/deepseek-harness-handbook/unknown-edit-tool.html): Distinguish Standard, Minimal, Code, Both, and custom Agent tool surfaces before routing lookup, freshness, path, schema, sandbox, or permission failures. - [Restore clipped Settings plugin navigation](https://sandbaseai.github.io/deepseek-harness-handbook/settings-plugin-nav-overflow.html): Repair the flex chain so every registered section remains scrollable, focusable, and clickable without moving fixed dialog chrome. - [Design Session Collections without invented Workspaces](https://sandbaseai.github.io/deepseek-harness-handbook/session-groups-workspace-less.html): Keep navigation membership outside Session identity, cwd, sandbox, archive, and retention; offer explicit conversation-only, ephemeral, or attach-later execution profiles. - [DeepSeek Harness AGENTS.md scope and enforcement map](https://sandbaseai.github.io/deepseek-harness-handbook/deepseek-harness-agents-md.html): Separate discovery, model visibility, probabilistic instruction following, and deterministic enforcement; diagnose scope, refresh, budget, and the rc.2 DSH_HOME collision. - [DeepSeek Harness CLI map](https://sandbaseai.github.io/deepseek-harness-handbook/deepseek-harness-cli.html): Distinguish the shipped profile launcher from terminal chat, inspect compositions, run one headless task, interpret process evidence, and audit a community TUI. - [Windows folder-picker crash and truncation guide](https://sandbaseai.github.io/deepseek-harness-handbook/windows-folder-picker-crash.html): Separate Node/Koffi aborts, UTF-16LE U+XX00 path corruption, incomplete native installation, and stale ownership, then switch safely to the shipped browse backend. - [Windows Web Host post-message hang](https://sandbaseai.github.io/deepseek-harness-handbook/windows-web-event-loop-hang.html): Join the listener PID to timestamped HTTP probes and three private full dumps, then distinguish a stable thread wait from provider, proxy, persistence, and watchdog correlations. - [DeepSeek API fetch failure guide](https://sandbaseai.github.io/deepseek-harness-handbook/deepseek-api-fetch-failed.html): Separate browser ingress, Node proxy routing, enterprise CA trust, DNS/TCP transport, and provider HTTP responses without disabling TLS. - [DeepSeek Harness MCP guide](https://sandbaseai.github.io/deepseek-harness-handbook/deepseek-harness-mcp.html): Add one server to a user Agent preset, start a fresh Session generation, and route stdio, HTTP, discovery, registration, and reconnect failures. - [DeepSeek Harness memory architecture](https://sandbaseai.github.io/deepseek-harness-handbook/deepseek-harness-memory.html): Separate Sessions, compaction, Skills, application records, and cross-session memory; migrate Codex or Claude Code state with provenance, isolation, and rollback evidence. - [Keep DeepSeek Harness Session roots single-writer](https://sandbaseai.github.io/deepseek-harness-handbook/deepseek-harness-single-writer.html): Isolate concurrent Web, headless, ACP, SDK, service, and test processes or serialize shared-history ownership handoffs. - [Recover spawn ENOENT after a workspace moves](https://sandbaseai.github.io/deepseek-harness-handbook/workspace-moved-spawn-enoent.html): Prove the shell executable exists, test the exact Session cwd, and choose a recovery that preserves workspace identity. - [Upgrade and roll back DeepSeek Harness](https://sandbaseai.github.io/deepseek-harness-handbook/upgrade-deepseek-harness.html): Capture the known-good executable, profile, config, and Sessions; test an exact target in isolation; pass compatibility gates; and prove rollback. - [Community plugin and marketplace audit](https://sandbaseai.github.io/deepseek-harness-handbook/deepseek-harness-plugin-audit.html): Bind runtime verdicts to exact package and runner evidence, keep compatibility distinct from security review, authorize Host mutations, diff the resolved composition, and prove rollback and cleanup. - [Install DeepSeek Harness safely](https://sandbaseai.github.io/deepseek-harness-handbook/install-deepseek-harness.html): Verify the official package, choose exact npx, project-local, source, or global execution, and capture executable, profile state, and workspace evidence. - [DeepSeek Harness Skills guide](https://sandbaseai.github.io/deepseek-harness-handbook/deepseek-harness-skills.html): Create a project Skill, understand progressive disclosure, test model and user invocation, and debug roots, precedence, policy, and hot refresh. - [Build your first DeepSeek Harness plugin](https://sandbaseai.github.io/deepseek-harness-handbook/first-deepseek-harness-plugin.html): Load a local TypeScript module, convert Windows drive paths to file URLs, type-check the scratch project, package a bundle, inspect it, and remove it cleanly. - [Custom plugin Session event registration and compatibility](https://sandbaseai.github.io/deepseek-harness-handbook/custom-session-events.html): Design optional observations, required state, foreign imports, schema ownership, cold-reader lifecycle, and global search isolation after alpha.1 removed the historical envelope marker. - [Fix the HMR expose-internals startup error](https://sandbaseai.github.io/deepseek-harness-handbook/hmr-expose-internals.html): Route the shared Web, headless, and custom-profile lifecycle; verify pinned pnpm and helper resolution; and use the direct Node flag only as a disposable diagnostic. - [Code Mode worker-thread trust boundary](https://sandbaseai.github.io/deepseek-harness-handbook/code-mode-security-boundary.html): Separate worker reliability containment from enforceable OS isolation, inspect exposure without an escape proof, and choose native tools or a constrained outer boundary. - [Fix ReplaceFileW EACCES on Windows](https://sandbaseai.github.io/deepseek-harness-handbook/windows-replacefile-eacces.html): Distinguish an HMR watcher conflict from ACL denial, then stop, back up, edit, validate, restart, and roll back without exposing partial YAML. - [Diagnose slow TTFT](https://sandbaseai.github.io/deepseek-harness-handbook/slow-ttft.html): Split time-to-first-token into Host outbound, provider, and Host inbound intervals, then test mature Session event volume and concurrent model steps independently. - [Recover a poisoned Session](https://sandbaseai.github.io/deepseek-harness-handbook/poisoned-session-recovery.html): Diagnose recurring `400 INVALID_REQUEST` after truncated tool-call JSON, export the durable evidence, and recover without editing a live compressed log. - [Design multi-Session Web presentation](https://sandbaseai.github.io/deepseek-harness-handbook/multi-session-presentation-contract.html): Separate visible membership from focused interaction, bind every pane to explicit Session identity, negotiate Client plugin multiplicity, and preserve single-pane compatibility. - [Extend the Web UI with a persistent Client plugin](https://sandbaseai.github.io/deepseek-harness-handbook/persistent-web-ui-client-plugin.html): Replace installed-file patches with a separately packaged SlotMap extension, then prove manifest discovery, browser loading, scoped rendering, removal, and upgrade compatibility. - [Generate Typert artifacts for an out-of-tree plugin](https://sandbaseai.github.io/deepseek-harness-handbook/out-of-tree-typert-generation.html): Route workspace discovery and real-path containment, prove external public wire-type exports, and test that strict fixed-object codecs reject unknown fields before business state changes. - [Recover insufficient tool messages](https://sandbaseai.github.io/deepseek-harness-handbook/insufficient-tool-messages.html): Stop repeated provider 400s when a scheduler failure leaves assistant tool calls without results, then verify unknown side effects before replay. - [Diagnose empty streamed tool identity](https://sandbaseai.github.io/deepseek-harness-handbook/streamed-tool-call-identity.html): Trace explicit empty continuation fields that overwrite a valid call ID and name before tool policy, then isolate the affected route safely. - [Route a runaway or narrative-only Agent loop](https://sandbaseai.github.io/deepseek-harness-handbook/runaway-agent-loop.html): Count durable events, distinguish one degenerate stream from repeated turns and steps, find the wake source, and stop automatically sourced actionless rounds without interpreting prose as a tool call. - [Bound live Session heap growth and cold restore](https://sandbaseai.github.io/deepseek-harness-handbook/session-heap-growth.html): Separate model context, the append-only resident Session log, durable history, synchronous cold reconstruction, desktop supervision, and runtime-copy drift; preserve the triggering artifact while isolating a restart loop. - [Control stale pending subagent follow-ups](https://sandbaseai.github.io/deepseek-harness-handbook/subagent-inbox-control.html): Derive one direct parent's eligible unclaimed follow-up subsequence from the shared Agent inbox, then list, cancel, replace, or reorder it without touching runtime notices or hiding claim races. - [Declare a tool-owned code-card language](https://sandbaseai.github.io/deepseek-harness-handbook/tool-code-card-language.html): Add a provider-neutral grammar hint to an execute call view, prefer explicit tool intent over the reserved wire name, and keep presentation metadata outside execution, policy, and runtime authority. - [Protect live session logs](https://sandbaseai.github.io/deepseek-harness-handbook/session-log-durability.html): Stop the writer before backup or repair, then separate missing paths, sequence gaps, torn tails, and tool-call identity corruption. - [Recover session history safely](https://sandbaseai.github.io/deepseek-harness-handbook/session-history-recovery.html): Reconcile physical, Host-history, client-assembly, and rendered tail sequences; route framing, ordering, identity, projection, false exhaustion, and temporary Web cutoffs without destroying evidence. - [Resume historical code-preset Sessions](https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/troubleshooting/historical-code-preset-resume.md): Bridge the durable `code` preset identity to alpha.1's `ptc` composition with an owned user-level alias, preserve the Session, and migrate ongoing work without rewriting history. - [Fix a missing /bin/bash](https://sandbaseai.github.io/deepseek-harness-handbook/pty-shell-path.html): Configure the terminal-bash preset row with the exact executable path on NixOS, containers, and other non-FHS hosts. - [Connect local Ollama](https://sandbaseai.github.io/deepseek-harness-handbook/ollama-local-provider.html): Configure the custom-provider form, prove reachability from the Harness host, and diagnose container localhost failures. - [Bound subagent scale](https://sandbaseai.github.io/deepseek-harness-handbook/subagent-scale-oom.html): Separate concurrency from total-agent limits and turn large fan-out jobs into measured, restartable batches. - [Profile repair, reset, and plugin compatibility recovery](https://sandbaseai.github.io/deepseek-harness-handbook/plugin-recovery.html): Classify default, user-layer, Bundle, dependency, activation, and runtime-export failures; choose one compatible closure and prove cold boot without erasing the Harness home. - [Fix missing dsh-client-schema-form](https://sandbaseai.github.io/deepseek-harness-handbook/missing-client-schema-form.html): Separate the plugin import from the DSH distribution closure and avoid creating a second internal runtime copy. - [Fix pnpm workspace-root plugin installation](https://sandbaseai.github.io/deepseek-harness-handbook/pnpm-adding-to-root.html): Resolve `ERR_PNPM_ADDING_TO_ROOT`, then verify dependency, materialization, bundle activation, and composed configuration. - [Version evidence](https://sandbaseai.github.io/deepseek-harness-handbook/version-evidence.html): Separate moving npm dist-tags, immutable published artifacts, the installed executable, and the source revision before reporting a failure. - [Official DeepSeek Harness identity](https://sandbaseai.github.io/deepseek-harness-handbook/official-deepseek-harness.html): Verify the DeepSeek AI repository, scoped npm package, rc.7 release commit, executable, and independent handbook boundary before installing. - [DeepSeek Harness field status](https://sandbaseai.github.io/deepseek-harness-handbook/field-status.html): rc.7 baseline plus alpha.1 migration context for installation, sessions, sandboxing, remote Web, Windows paths, and MCP configuration, with primary evidence and safer next actions. - [Interactive failure router](https://sandbaseai.github.io/deepseek-harness-handbook/diagnose.html): Pick the first broken boundary and get the first evidence, command, success signal, and focused guide. - [What is DeepSeek Harness?](https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/what-is-deepseek-harness.md): Separate the model, provider API, runtime, profile, tools, policy, and session layers. - [Fix reasoning replay across providers and thinking modes](https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/troubleshooting/pi-ai-cross-provider-reasoning-replay.md): Separate missing `reasoning_content` on pi-ai cross-provider routes from stale reasoning history on direct DeepSeek thinking-off requests, then apply the matching containment. - [DeepSeek Harness vs Claude Code vs Codex](https://sandbaseai.github.io/deepseek-harness-handbook/deepseek-harness-vs-claude-code-vs-codex.html): Choose a control plane by runtime ownership, extension contracts, policy, state, and the product being shipped. - [DeepSeek Harness Session log format](https://sandbaseai.github.io/deepseek-harness-handbook/deepseek-harness-session-log-format.html): Decode concatenated Zstandard frames and packed text, reasoning, and tool-call rows into a contiguous logical event stream. - [Invalid overlay boot recovery](https://sandbaseai.github.io/deepseek-harness-handbook/invalid-overlay-boot-failure.html): Recover outside Web when an unresolved user-layer insert prevents a profile from booting. - [Five-minute Web quickstart](https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/getting-started/quickstart.md): Run a bounded first task and inspect the resolved runtime graph. - [Headless Agent](https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/getting-started/headless-agent.md): Operate one non-interactive task with explicit artifacts and exit evidence. - [Python SDK](https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/getting-started/python-sdk.md): Embed the runtime over its JSON-RPC lifecycle. - [MCP integration](https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/integrations/mcp.md): Diagnose process, transport, handshake, registration, and policy separately. - [Troubleshooting](https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/troubleshooting/README.md): Route symptoms to the provider, loop, tool, policy, sandbox, or session layer. - [Subagent route inheritance incident note](https://sandbaseai.github.io/deepseek-harness-handbook/subagent-route-inheritance.html): Diagnose and mitigate child agents using a stale provider route or unexpected credential. - [Remote Web control-plane guide](https://sandbaseai.github.io/deepseek-harness-handbook/remote-web-secure-context.html): Prove when typed UUID minting aborts readiness and event streams before fetch, separate that reconnect loop from Origin 403 responses, and choose SSH localhost or an authenticated HTTPS gateway. - [Remote Settings authentication and capability boundary](https://sandbaseai.github.io/deepseek-harness-handbook/remote-settings-loopback.html): Distinguish the rc.2 non-loopback unavailable mirror from a 403, then design separate gateway identity, browser principals, narrow Settings grants, secret handling, audit, CSRF, and revocation. - [Session hard-link compatibility](https://sandbaseai.github.io/deepseek-harness-handbook/session-hard-link-unsupported.html): Recover first-flush link failures by moving the Session root while preserving atomic, no-overwrite publication. - [Cross-platform pnpm entrypoint](https://sandbaseai.github.io/deepseek-harness-handbook/windows-standalone-pnpm.html): Fix rc.8 runners that pass an ELF binary, POSIX launcher, or Windows executable to Node through npm_execpath. - [Windows console-window flash](https://sandbaseai.github.io/deepseek-harness-handbook/windows-console-window-flash.html): Route local subprocess and restricted-token ACL sandbox process creation separately without disabling the sandbox. - [Corrupt package manifest at boot](https://sandbaseai.github.io/deepseek-harness-handbook/corrupt-package-json-profile-boot.html): Find every malformed package.json behind a pathless JSON SyntaxError and repair the owning installation closure. - [pi-ai server_error retry](https://sandbaseai.github.io/deepseek-harness-handbook/pi-ai-server-error-retry.html): Route flattened overload text through classification, provider policy, and durable llm/retry event evidence. - [Operator cheat sheet](https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/reference/cheat-sheet.md): Commands, evidence checks, and production boundaries. ## Download - [DeepSeek Harness Field Guide v0.1.0](https://github.com/sandbaseai/deepseek-harness-handbook/releases/download/v0.1.0/DeepSeek-Harness-Field-Guide-v0.1.0.pdf): Ten-page visual PDF for onboarding and offline reference. ## Project boundary This is a community-maintained handbook from SandBase, not an official DeepSeek AI project. Version-sensitive claims link to primary sources and record verification dates. - [Fix pnpm global native-binding resolution](https://sandbaseai.github.io/deepseek-harness-handbook/pnpm-global-native-binding.html): Preserve the isolated store, trace the helper from its physical owner, and compare an exact project-local install before changing dependency visibility. - [Fix macOS workspace picker paths](https://sandbaseai.github.io/deepseek-harness-handbook/macos-workspace-picker.html): Distinguish valid spaces from a leaked terminal HFS colon, preserve realpath identity, and test the picker plus registry boundary. - [Todo stuck in progress](https://sandbaseai.github.io/deepseek-harness-handbook/todo-stuck-in-progress.html): Trace the last whole-list `todo/write`, final assistant message, turn-ending reason, and Host projection; reconcile with one bounded stop reminder without inventing completion. - [Code Mode Skill context gap](https://sandbaseai.github.io/deepseek-harness-handbook/code-mode-skill-context.html): Separate the nested canonical value, durable UI dispatch, outer `run_code` result, and next model request; repair instruction delivery without injecting every intermediate result. - [Windows Minimal preset Bash failure](https://sandbaseai.github.io/deepseek-harness-handbook/windows-minimal-bash.html): Route the exact win32 terminal-inspection error through preset, persistent PTY, subprocess, and platform-inspector boundaries before changing commands or permissions. - [Windows first workspace-write freeze](https://sandbaseai.github.io/deepseek-harness-handbook/windows-acl-first-run.html): Separate synchronous first-use ACL propagation from model latency, sandbox denial, and preset mismatch; preserve fail-closed behavior in any async repair. - [Windows compatibility, ACL, and native exit triage](https://sandbaseai.github.io/deepseek-harness-handbook/windows-native-exit.html): Decode 3221226505 as 0xC0000409 without guessing, identify the terminated process, correlate WER and a private dump, preserve Session durability evidence, and change one boundary at a time. - [Subagent unknown Job identity](https://sandbaseai.github.io/deepseek-harness-handbook/subagent-unknown-job.html): Route foreground run IDs, one-shot background Job IDs, and continuable child IDs before reconciling partial multi-agent output. - [Session-scoped MCP across ACP](https://sandbaseai.github.io/deepseek-harness-handbook/acp-session-mcp.html): Compare Host-per-tenant, deployment allowlist, authenticated gateway, and direct HTTP designs while rc.2 rejects client-supplied MCP servers. - [Synology NAS source deployment](https://sandbaseai.github.io/deepseek-harness-handbook/synology-nas.html): Keep Node, pnpm workspace links, native ABI, cwd-stable launch, service identity, and authenticated remote access as separate deployment gates. - [Missing question or approval card](https://sandbaseai.github.io/deepseek-harness-handbook/missing-question-card.html): Separate silent dead sockets from replay-then-resync clearing; recover authentic consent without manufacturing an answer. - [Output token limit reached](https://sandbaseai.github.io/deepseek-harness-handbook/output-token-limit.html): Separate request maxTokens, provider output capability, and remaining context headroom; retain partial output and recover in a bounded next turn. - [Git plugin missing dist or lib exports](https://sandbaseai.github.io/deepseek-harness-handbook/git-plugin-missing-dist.html): Separate a blocked build, a bypassed build, and a broken runtime artifact; remove the bundle without booting Web and verify the exact packed bytes before reinstalling. - [Compaction summary truncated at the token cap](https://sandbaseai.github.io/deepseek-harness-handbook/compaction-summary-truncated.html): Separate local-server context shift from durable Session compaction; diagnose MAX_TOKENS, preserve the original surface, and tune the summary cap or route. - [Plugin peer-dependency warnings](https://sandbaseai.github.io/deepseek-harness-handbook/plugin-peer-warnings.html): Separate expected Host-provided peers, real compatibility mismatches, missing third-party peers, and blocked build scripts without duplicating runtime singletons. - [Response and reasoning language](https://sandbaseai.github.io/deepseek-harness-handbook/response-language.html): Separate user instruction, deployment persona, provider reasoning, gateway injection, and Web locale before changing language controls. - [Prompt send recovery](https://sandbaseai.github.io/deepseek-harness-handbook/prompt-send-recovery.html): Distinguish Host admission from a durable user message, recover missing text safely, and avoid replaying ambiguous side effects. AbortSignal.any runtime identity: https://sandbaseai.github.io/deepseek-harness-handbook/abortsignal-any.html Multi-tenant ACP remote hosting: https://sandbaseai.github.io/deepseek-harness-handbook/acp-remote-hosting.html Embedded code escaping: https://sandbaseai.github.io/deepseek-harness-handbook/embedded-code-escaping.html Tool-produced image result cards: https://sandbaseai.github.io/deepseek-harness-handbook/tool-image-result-card.html Provider-native PDF/video and general file attachments: https://sandbaseai.github.io/deepseek-harness-handbook/general-file-attachments.html — negotiate the exact route, keep provider uploads as revocable derivatives, and preserve extraction or sampling truth. OpenRouter provider pinning: https://sandbaseai.github.io/deepseek-harness-handbook/openrouter-provider-pinning.html Goal rounds waiting for subagents: https://sandbaseai.github.io/deepseek-harness-handbook/goal-round-subagent-wait.html
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

