{"record":{"id":"ff26acdc7099eaae","repo":"NousResearch/hermes-agent","slug":"hatch-produced-no-preview","errorCode":null,"errorMessage":"hatch produced no preview","messagePattern":"hatch produced no preview","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"apps/desktop/src/store/pet-generate.ts","lineNumber":548,"sourceCode":"        prompt: concept,\n        style: options.style ?? 'auto',\n        ...($petGenProvider.get() ? { provider: $petGenProvider.get() } : {})\n      },\n      HATCH_TIMEOUT_MS,\n      controller.signal\n    )\n\n    // Stopped mid-hatch: the server created the pet anyway, so delete it.\n    if (!hatch.isCurrent(hatchRunId)) {\n      if (result?.slug) {\n        void request('pet.remove', { slug: result.slug }).catch(() => {})\n      }\n\n      return false\n    }\n\n    if (!result?.ok || !result.pet?.spritesheetBase64) {\n      throw new Error('hatch produced no preview')\n    }\n\n    $petGenPreview.set({ ...result.pet, enabled: true })\n    $petGenStatus.set('preview')\n    notifyPetGenDone('Your pet hatched', 'Reopen to name and adopt it.', 'success')\n\n    return true\n  } catch (e) {\n    if (!hatch.isCurrent(hatchRunId)) {\n      return false\n    }\n\n    $petGenStatus.set('error')\n    $petGenError.set(e instanceof Error ? e.message : 'Could not hatch the pet.')\n    notifyPetGenDone('Hatching failed', 'Reopen to try again.', 'error')\n\n    return false\n  } finally {","sourceCodeStart":530,"sourceCodeEnd":566,"githubUrl":"https://github.com/NousResearch/hermes-agent/blob/c896c09c42910c584c4c7d2325b58c14713ea42c/apps/desktop/src/store/pet-generate.ts#L530-L566","documentation":"Error \"hatch produced no preview\" thrown in NousResearch/hermes-agent.","triggerScenarios":"Thrown at apps/desktop/src/store/pet-generate.ts:548 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry the hatch; the pipeline produced no preview frame.","Check the image backend logs for generation failures.","Regenerate drafts and hatch again."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"c896c09c42910c584c4c7d2325b58c14713ea42c","analyzedAt":"2026-08-14T17:18:01.089Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}