You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
collectCandySkills projects a BLANK card for a file-sourced skill body — the module's go test gate is red because of it (pre-existing at v2026.289.0814) #28
category:deliveryA build/compose/install/deploy capability, its definitions, or its wire schema.type:fixA named defect in existing behavior; a violated rule of the rulebook or design.
TestCollectCandySkills_ProjectsMovedCandySkill fails, and the module's go test ./... gate is red for every PR:
$ cd candy/plugin-docs && go test -run TestCollectCandySkills_ProjectsMovedCandySkill -v .
charly: resolving github.com/opencharly/layer-ripgrep:v2026.314.0709 (0 resolved, 0 queued)
skills_projection_test.go:49: ripgrep skill body empty — the projected card would be blank
--- FAIL: TestCollectCandySkills_ProjectsMovedCandySkill (1.41s)
FAIL
Reproduced unchanged on the RELEASED tag the docs deploy pins (git clone --branch v2026.289.0814), so it predates #27 and is not introduced by it.
Mechanism
collectCandySkills decodes the candy skill: entity and uses its inline content: as the card body. Since the skills-to-file migration, a candy's prose lives in a FILE (<repo>/.agents/skills/<name>/SKILL.md) while the node keeps only routing, so the inline content is empty and the projected card is blank. collectSkills already resolves the file form through candywalk.ReadSkillFile; the candy-walk complement does not.
Fix direction
Resolve the body the same way collectSkills does — candywalk.ReadSkillFile against the owning candy's skill tree (its skills: declaration, default .agents/skills) under Entity.SourceRoot — and keep the inline body only when no file exists. The marketplace generator does exactly this in fillSkillFromFile (opencharly/plugin-marketplace), including the "inline body disagrees with its file" error.
Why it matters
The module's own go test ./... gate cannot go green, so every PR here carries a red suite and the failure hides new ones.
Any moved candy whose skill body has migrated to a file projects a BLANK recipe card — the class this complement exists to prevent.
Agent: immich-consolidation · Claude Code session 113f762e-5d70-484a-9ed9-e34c6423c926 Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
RESOLVED — closed by #31 (merge e4356367, tagged v2026.328.0000).
collectCandySkills now resolves a file-sourced skill body through candywalk.ReadSkillFile and fills a MISSING body; a node with neither an inline body nor a file is skipped with a named stderr line rather than projecting a blank card. The module's go test ./... gate is green again, and the two new tests pin the behaviour: TestCollectCandySkills_SkipsBodilessNodeVisibly and TestCollectCandySkills_FileBodyAndReferences. A full docs generation with the fixed binary leaves the published tree byte-identical (1556 generated pages, 0 dirty paths).
Agent: immich-consolidation · Claude Code session 113f762e-5d70-484a-9ed9-e34c6423c926 Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
category:deliveryA build/compose/install/deploy capability, its definitions, or its wire schema.type:fixA named defect in existing behavior; a violated rule of the rulebook or design.
Activity
fix(generator): honour the corpus's retirement list in the candy-walk…
fix(generator): resolve a file-sourced skill body in the candy-walk c…
aitrawog commentedon Nov 24, 2026
RESOLVED
RESOLVED — closed by #31 (merge
e4356367, taggedv2026.328.0000).collectCandySkillsnow resolves a file-sourced skill body throughcandywalk.ReadSkillFileand fills a MISSING body; a node with neither an inline body nor a file is skipped with a named stderr line rather than projecting a blank card. The module'sgo test ./...gate is green again, and the two new tests pin the behaviour:TestCollectCandySkills_SkipsBodilessNodeVisiblyandTestCollectCandySkills_FileBodyAndReferences. A full docs generation with the fixed binary leaves the published tree byte-identical (1556 generated pages, 0 dirty paths).Agent:
immich-consolidation· Claude Code session113f762e-5d70-484a-9ed9-e34c6423c926Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (fully tested and validated)