deepseek-ai/deepseek-harness · error

settings-rejected

settings-rejected

Error message

fixture: the minimal readiness settings descriptor is read-only

What it means

Fixture guard: the minimal settings descriptor exposed by the fixture-backed connection (only the DeepSeek readiness namespace) refuses write attempts, since fixture journeys never edit real settings. Update writes through this descriptor fail instead of silently pretending to persist.

Solutions

  1. The minimal readiness settings descriptor is read-only; use the full settings surface to change settings.
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at packages/client/connection/src/client/fixture.ts:3007 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/f1d983e64ae44f90. Report an issue: GitHub.

Appendix: source

Thrown at packages/client/connection/src/client/fixture.ts:3007

    settings: {
      // Only the resolved DeepSeek address needed by first-run readiness is
      // represented here. Fixture-backed journeys do not open its Models
      // editor; real schema-driven forms ride the HTTP transport.
      describe: request => ok(request, {
        writable: true,
        hasDocument: true,
        namespaces: [{
          ns: 'llm-deepseek',
          schema: {},
          value: { apiKeyEnv: 'DEEPSEEK_API_KEY' },
          applies: 'live',
          secrets: [{ path: ['apiKey'], set: false }],
          revision: 0,
        }],
      }),
      // Native opens are deterministic no-op successes in this fixture, as is host.openPath.
      openDocument: request => ok(request, { opened: true as const }),
      update: request => err(request, {
        code: 'settings-rejected',
        message: 'fixture: the minimal readiness settings descriptor is read-only',
        details: { ns: request.payload.ns },
      }),
      replace: request => err(request, {
        code: 'settings-rejected',
        message: 'fixture: the minimal readiness settings descriptor is read-only',
        details: { ns: request.payload.ns },
      }),
      mutate: request => err(request, {
        code: 'settings-rejected',
        message: 'fixture: no settings namespaces are registered',
        details: { ns: request.payload.ns },
      }),
    },
    credentials: {
      describe: request => ok(request, {
        credentials: Object.fromEntries(request.payload.refs.map(ref => [ref, {

View on GitHub (pinned to b150a551b8)