NousResearch/hermes-agent · error
adopt failed
Error message
adopt failed
What it means
Error "adopt failed" thrown in NousResearch/hermes-agent.
Source
Thrown at apps/desktop/src/store/pet-generate.ts:621
let adoptSlug = preview.slug
if (finalName && finalName !== preview.displayName) {
const renamed = await request<{ ok: boolean; slug: string }>('pet.rename', {
slug: preview.slug,
name: finalName
}).catch(() => null)
if (renamed?.slug) {
adoptSlug = renamed.slug
}
}
const result = await request<{ ok: boolean; slug: string; displayName: string }>('pet.select', {
slug: adoptSlug
})
if (!result?.ok) {
throw new Error('adopt failed')
}
// pet.select already set the active mascot (disk + config). Reflect it
// locally — no remote petdex manifest fetch — and close immediately.
resetPetGen()
void applyAdoptedPet(request, result.slug, result.displayName)
return { ok: true, slug: result.slug, displayName: result.displayName }
} catch (e) {
$petGenStatus.set('preview')
$petGenError.set(e instanceof Error ? e.message : 'Could not adopt the pet.')
return { ok: false }
}
}
/**
* Throw away the previewed pet (`pet.remove`) and return to the draft picker soView on GitHub (pinned to c896c09c42)
Solutions
- Retry the adopt action; the store write failed.
- Verify the generated preview still exists and the pet store directory is writable.
- Re-hatch and adopt again if the intermediate files were cleaned up.
When it happens
Trigger: Thrown at apps/desktop/src/store/pet-generate.ts:621 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of NousResearch/hermes-agent@c896c09c42 (2026-08-14).
Data as JSON: /api/errors/1b7f829ae6a10b67.
Report an issue: GitHub.