{"record":{"id":"0fdf9dc0070e17bc","repo":"deepseek-ai/deepseek-harness","slug":"meta-invalid","errorCode":"META_INVALID","errorMessage":"invalid meta: ${violations.join('; ')}","messagePattern":"invalid meta: (.+?)","errorType":"exception","errorClass":"WorkflowError","httpStatus":null,"severity":"error","filePath":"packages/workflow/workflow-worker-thread/src/meta.ts","lineNumber":79,"sourceCode":"      ...record.whenToUse !== undefined ? { whenToUse: record.whenToUse as string } : {},\n      ...record.phases !== undefined ? { phases } : {},\n    },\n  }\n}\n\n/**\n * Validate a caller-provided meta value against the {@link WorkflowMeta}\n * contract. Throws `META_INVALID` naming every violation (unknown fields,\n * missing/mistyped `name`/`description`, malformed `phases`); the returned\n * meta is a NORMALIZED copy built from the validated fields, so the engine\n * never aliases the caller's object.\n * @param value - the meta data from the start request (plain JSON by the seam contract).\n * @returns the validated, normalized meta block.\n */\nexport function validateMeta(value: unknown): WorkflowMeta {\n  const { meta, violations } = validateMetaShape(value)\n  if (meta === undefined) {\n    throw new WorkflowError(`invalid meta: ${violations.join('; ')}`, 'META_INVALID')\n  }\n  return meta\n}\n","sourceCodeStart":61,"sourceCodeEnd":83,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/workflow/workflow-worker-thread/src/meta.ts#L61-L83","documentation":"Error \"invalid meta: ${violations.join('; ')}\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/workflow/workflow-worker-thread/src/meta.ts:79 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Fix the meta fields listed in the violations so they satisfy the meta schema (allowed keys, value types, sizes)."],"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"}