{"record":{"id":"7cbeb1f04f4925f8","repo":"deepseek-ai/deepseek-harness","slug":"skill-file-path-ignored-fsreaderrormessage-t","errorCode":null,"errorMessage":"skill file ${path} ignored: ${fsReadErrorMessage(target, error)}","messagePattern":"skill file (.+?) ignored: (.+?)","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/skill/skill-filesystem/src/index.ts","lineNumber":882,"sourceCode":"    throw error\n  }\n  signal?.throwIfAborted()\n  let info\n  try {\n    info = await fs.stat(target, signal)\n  } catch (error) {\n    signal?.throwIfAborted()\n    if (isAbsentSkillPathError(error)) return undefined\n    throw error\n  }\n  if (info === undefined || info.type !== 'file') return undefined\n  try {\n    return await fs.readText(target, signal)\n  } catch (error) {\n    signal?.throwIfAborted()\n    if (isAbsentSkillPathError(error)) return undefined\n    if (!hasErrorCode(error, 'FS_NOT_TEXT')) throw error\n    ctx.logger.warn(`skill file ${path} ignored: ${fsReadErrorMessage(target, error)}`)\n    return undefined\n  }\n}\n\nfunction fsReadErrorMessage(target: FsTarget, error: unknown): string {\n  return `failed to read text file at ${target.displayPath}: ${errorMessage(error)}`\n}\n\nasync function nodeEntryKind(fullPath: string, entry: { isDirectory(): boolean; isFile(): boolean; isSymbolicLink(): boolean }, ctx: Context): Promise<'directory' | 'file' | undefined> {\n  if (entry.isDirectory()) return 'directory'\n  if (entry.isFile()) return 'file'\n  /* v8 ignore next -- Non-file directory entries such as FIFOs are platform-specific and intentionally skipped. */\n  if (!entry.isSymbolicLink()) return undefined\n  try {\n    const info = await stat(fullPath)\n    if (info.isDirectory()) return 'directory'\n    /* v8 ignore else -- the special-file symlink branch relies on POSIX /dev/null. */\n    if (info.isFile()) return 'file'","sourceCodeStart":864,"sourceCodeEnd":900,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/skill/skill-filesystem/src/index.ts#L864-L900","documentation":"Error \"skill file ${path} ignored: ${fsReadErrorMessage(target, error)}\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/skill/skill-filesystem/src/index.ts:882 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check that the skill file path exists and is readable by the agent process.","Fix filesystem permissions or remove the broken skill file, then reload the skill catalog."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}