Fix sandbox "not strictly wider" in DeepSeek Harness

TroubleshootingPublished 2026-09-12Author: DeepSeek Plugin Market
DeepSeek HarnessDSH pluginnot strictly widersandbox permissionstool call rejected
DeepSeek Harness rejecting tool calls with not strictly wider? Sandbox escalation is advertised statically while the wider-mode table lacks the top tier.

DeepSeek Harness repeatedly reporting not strictly wider and rejecting tool calls comes down to the escalation validator treating a same-level permission request as an illegal upgrade: tool schemas advertise escalation targets statically, the wider-mode table has no entry for the top tier, and a session already at full access that retries with escalation parameters finds no wider target, so it is rejected. Sending the retry without sandbox_permissions clears it immediately.

What the DeepSeek Harness not strictly wider error looks like

It shows up most clearly in the highest-permission sessions: even at danger-full-access, escalation parameters keep appearing and retries keep being refused. A user hit this in the wild (see the discussion), with three typical shapes:

  1. A tool call is rejected with not strictly wider while the session is already at the top permission mode;
  2. The model keeps retrying with sandbox_permissions, so the same escalation block scrolls past again and again (see Discussion #468);
  3. A same-level retry is rejected too — the requested tier equals the current tier and should be a no-op, yet it is treated as an illegal upgrade (see Discussion #4359).

All three share one origin, and so does the fix: check the current permission tier, then check the escalation parameters on the request — in most cases the two are already equal.

Why a DSH plugin sandbox escalation hits "not strictly wider"

Two defects stack: parameters are not narrowed to the active mode, and the permission ladder is missing its top entry. Broken down:

  1. Tool schemas advertise escalation target parameters statically, so the model always sees an upgrade option no matter which mode is active;
  2. The internal WIDER_MODES ladder has no entry for danger-full-access, so at the top tier there is no "wider" target to find;
  3. The consumer-side validateEscalationArgs intercepts even earlier, so an otherwise legal request is rejected before it is evaluated properly;
  4. The community's fix is to have normalizeEscalationMode resolve the session's standing policy first, treat same-level requests as a no-op, and narrow the schema to the current mode (source: Discussion #4359).

In one line: the validator only knows how to answer "is this wider?" and never "is this the same?"

How to work around not strictly wider in DeepSeek Harness, and where the fix stands

The guiding idea is to stop the request from looking like an upgrade.

  1. Send the retry without sandbox_permissions: with no declared escalation intent, the validation layer lets it through;
  2. Drop from the top permission mode to a normal mode and repeat the action: a normal mode has a comparable tier in the ladder, so the "no wider target" branch is never reached;
  3. While diagnosing, confirm three things: the current tier, the target tier in the request, and whether escalation parameters are attached — when all three agree and the call is still refused, you are looking at this same-level misjudgement;
  4. To compare plugin behaviour, review installed plugins and permission-related settings under Settings → Plugin Marketplace; the community marketplace for this project is DSH Plugin Hub;
  5. On the fix: several community branches and one community plugin implement it, but none is merged, so expect the error to persist until you upgrade to a build that contains the change.

DSH plugin troubleshooting notes

Do not read not strictly wider as a DeepSeek Harness plugin problem, and do not widen permissions to push the request through — the trigger is a same-level request being misjudged, and more access only adds risk. Three points:

  1. This is not a plugin-compatibility problem: validation happens in the permission layer and does not care whether a plugin supports sandbox escalation, so switching or reinstalling plugins does nothing.
  2. Do not keep widening permissions just to make requests pass: the trigger is a same-level request being misjudged, and granting more access only exposes the session to more risk.
  3. Other runtime and UI failures are collected in DeepSeek Harness troubleshooting: entry points from install to runtime.
DSH Plugin Hub settings: update settings, security and trust, diagnostics and system logs

Sources: Discussion #201, Discussion #468, Discussion #4359

FAQ

Why does DeepSeek Harness reject tool calls with not strictly wider?

In DeepSeek Harness the escalation validator treats a same-level permission request as an illegal upgrade, which is why the call is rejected. Tool schemas advertise escalation targets statically, while the wider-mode table has no entry for the top tier, so a session already at full access that retries with escalation parameters finds no wider target and is rejected outright.

Why do DSH plugin escalation parameters keep showing up under danger-full-access?

In a DSH plugin the escalation parameters are advertised statically in the tool schema and never narrowed to the current mode. Whatever mode is active, the model still sees escalation targets in the tool definition, so it keeps asking for an upgrade and keeps getting rejected.

How do I work around not strictly wider in DeepSeek Harness?

In DeepSeek Harness you can work around not strictly wider by sending the retry without sandbox_permissions, or by dropping back from the top permission mode to a normal mode before repeating the action. Several community branches and one community plugin exist; the correct fix treats same-level requests as a no-op and is still waiting to be merged.

Is the DeepSeek Harness not strictly wider error caused by an incompatible plugin?

No — the DeepSeek Harness not strictly wider error is not caused by an incompatible plugin. Validation happens in the permission layer before the runtime consumes arguments, so whether a plugin exists or supports sandbox escalation makes no difference. Reinstalling plugins will not make the error go away.

Related Terms

sandbox escalation
Sandbox escalation is the mechanism that raises the current execution permission along a predefined ladder when a session is restricted, and only one-way, strictly wider moves are allowed.DeepSeek Harness official architecture docs
danger-full-access
danger-full-access is the highest tier on the DeepSeek Harness permission ladder, letting tools reach the host environment without sandbox restrictions.DeepSeek Harness official documentation
standing policy
A standing policy is the permission baseline established when a session is created and kept in force afterwards, and every later escalation request should be compared against it.DeepSeek Harness official architecture docs

Sources