{"record":{"id":"4b3b67e2e1edb6db","repo":"multica-ai/multica","slug":"skill-bundle-missing-after-resolve-skill-id-s-so","errorCode":null,"errorMessage":"skill bundle missing after resolve: skill_id=%s source=%s hash=%s","messagePattern":"skill bundle missing after resolve: skill_id=(.+?) source=(.+?) hash=(.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"server/internal/daemon/daemon.go","lineNumber":5907,"sourceCode":"\t\tif err != nil {\n\t\t\t// Name the skill, its declared size, and how long we actually\n\t\t\t// waited. The bare \"resolve skill bundles: context deadline\n\t\t\t// exceeded\" this replaced was indistinguishable from a generic\n\t\t\t// network fault, and cost a community thread three hours of\n\t\t\t// guesswork (MUL-5370): size + elapsed separate \"this bundle is\n\t\t\t// too big for the link\" from \"the link is dead\".\n\t\t\treturn fmt.Errorf(\"%w: skill %q (id=%s, %d bytes) after %s: %w\",\n\t\t\t\terrSkillBundleUnavailable, ref.Name, ref.ID, ref.SizeBytes,\n\t\t\t\ttime.Since(started).Round(time.Millisecond), err)\n\t\t}\n\t\tresolved[skillRefKey(bundle.Source, bundle.ID)] = bundle\n\t}\n\n\tskills := make([]SkillData, 0, len(task.Agent.SkillRefs))\n\tfor _, ref := range task.Agent.SkillRefs {\n\t\tbundle, ok := resolved[skillRefKey(ref.Source, ref.ID)]\n\t\tif !ok {\n\t\t\treturn fmt.Errorf(\"skill bundle missing after resolve: skill_id=%s source=%s hash=%s\", ref.ID, ref.Source, ref.Hash)\n\t\t}\n\t\tskills = append(skills, bundle)\n\t}\n\ttask.Agent.Skills = skills\n\treturn nil\n}\n\n// resolveSkillBundle downloads one skill bundle and writes it to the on-disk\n// cache before returning. The request runs under its own deadline, scaled to\n// the bundle's declared size rather than the daemon's fixed 30s control-plane\n// timeout, so a large bundle on a slow link is given room to finish instead of\n// being cut off mid-body. Caching on success is what lets the resolve converge\n// across dispatches. (GitHub #4505 / MUL-3650)\nfunc (d *Daemon) resolveSkillBundle(ctx context.Context, task *Task, ref SkillRefData) (SkillData, error) {\n\treqCtx, cancel := context.WithTimeout(ctx, skillBundleResolveTimeout(ref.SizeBytes))\n\tdefer cancel()\n\n\tbundle, err := d.client.ResolveSkillBundle(reqCtx, task.RuntimeID, task.ID, ref)","sourceCodeStart":5889,"sourceCodeEnd":5925,"githubUrl":"https://github.com/multica-ai/multica/blob/2c0912b6ec764b373d44eeea1e80f0d9f11ab417/server/internal/daemon/daemon.go#L5889-L5925","documentation":"Error \"skill bundle missing after resolve: skill_id=%s source=%s hash=%s\" thrown in multica-ai/multica.","triggerScenarios":"Thrown at server/internal/daemon/daemon.go:5907 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Clear the skill bundle cache and retry; the bundle resolution failed to persist."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2c0912b6ec764b373d44eeea1e80f0d9f11ab417","analyzedAt":"2026-08-15T13:25:18.241Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}