openclaw/openclaw · error · Error

Codex runtime launcher selection changed

Error message

Codex runtime launcher selection changed

What it means

Error "Codex runtime launcher selection changed" thrown in openclaw/openclaw.

Source

Thrown at extensions/codex/src/app-server/runtime-artifact.ts:363

    }
    if (!SAFE_NODE_OPTIONS_NUMERIC_FLAGS.has(flag)) {
      return { ok: false, option: flag };
    }
    const numericValue = inlineValue ?? tokens[++index];
    if (!numericValue || !/^\d+$/u.test(numericValue)) {
      return { ok: false, option: flag };
    }
  }
  return { ok: true };
}

async function hashSelectedArtifactFiles(
  descriptor: CodexRuntimeFilesystemDescriptor,
  signal?: AbortSignal,
): Promise<string> {
  throwIfAborted(signal);
  if ((await fs.realpath(descriptor.commandPath)) !== descriptor.commandRealPath) {
    throw new Error("Codex runtime launcher selection changed");
  }
  const packageRoot = descriptor.packageRoot;
  const resolvedPackageRoot = await resolvePackageRoot(descriptor.nativePath);
  if (resolvedPackageRoot !== packageRoot) {
    throw new Error("Codex runtime package selection changed");
  }
  if (packageRoot && (await fs.realpath(packageRoot)) !== packageRoot) {
    throw new Error("Codex runtime package root changed");
  }
  const allFiles = [
    descriptor.commandRealPath,
    ...descriptor.invocationPaths,
    descriptor.nativePath,
    ...(descriptor.codeModeHostPath ? [descriptor.codeModeHostPath] : []),
  ];
  for (const filePath of allFiles) {
    if ((await fs.realpath(filePath)) !== filePath) {
      throw new Error(`Codex runtime artifact file selection changed: ${filePath}`);

View on GitHub (pinned to 01804a7531)

When it happens

Trigger: Thrown at extensions/codex/src/app-server/runtime-artifact.ts:363 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of openclaw/openclaw@01804a7531 (2026-08-12). Data as JSON: /api/errors/57e3ab6cadca97b5. Report an issue: GitHub.