deepseek-ai/deepseek-harness · error

windows-acl-run

Error message

windows-acl-run: ${detail}

What it means

Error "windows-acl-run: ${detail}" thrown in deepseek-ai/deepseek-harness.

Solutions

  1. Read the detail in the message for the failing step and fix the reported ACL, token, or spawn precondition.

When it happens

Trigger: Thrown at packages/sandbox/sandbox-windows-acl/src/runner.ts:61 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/9fc7292a38a62859. Report an issue: GitHub.

Appendix: source

Thrown at packages/sandbox/sandbox-windows-acl/src/runner.ts:61

 * signature. The child is NEVER spawned unrestricted.
 * @module @deepseek-ai/dsh-sandbox-windows-acl/runner
 */

import { existsSync, mkdtempSync, rmSync, statSync } from 'node:fs'
import { join } from 'node:path'

import { win32 } from './ffi.ts'
import { AclSandbox, assertTempRootOutsideWorkspace } from './index.ts'
import { tempWriteSid, workspaceWriteSid } from './workspace-sid.ts'

const RUNNER_SIGNATURE = 'windows-acl-run'
const RUNNER_FAILURE_EXIT = 127

class RunnerFailure extends Error {}

/** Print the runner-failure signature line and unwind. */
function fail(detail: string): never {
  process.stderr.write(`${RUNNER_SIGNATURE}: ${detail}\n`)
  throw new RunnerFailure(detail)
}

interface ParsedArgs {
  workspace: string
  temp: string
  mode: 'read-only' | 'workspace-write'
  writeSid: string | undefined
  tempWriteSid: string | undefined
  command: string
  args: string[]
}

function parseArgs(raw: string[]): ParsedArgs {
  let workspace: string | undefined
  let temp: string | undefined
  let mode: string | undefined
  let writeSid: string | undefined

View on GitHub (pinned to b150a551b8)