Repository navigation
fix(generator): honour the corpus's retirement list in the candy-walk complement - #29
Merged
Merged
Conversation
… complement generate() merges the corpus's skills with the candy `skill:` entities a remote-aware walk collects, keeping the corpus's copy when both exist and the walk's when the corpus lacks it. A skill the corpus has RETIRED is absent from it by definition, so the walk always won it back: after opencharly/marketplace#644 retired pod-immich-ml, this generator still wrote recipes/immich/immich-ml.md from the retired tree, reached through the stale subpath pins opencharly/plugin-marketplace#63 measured. The retirement policy is data in one place, retired.cue at the corpus root, and --plugins already names that checkout. loadRetired validates the file against the same closed shape the generator's #Retired defines (restated in three lines because this module must not depend on the marketplace plugin), and collectCandySkills skips every entity whose fetched tree is a retired repo. A missing list is a no-op; a malformed one is fatal. Measured with the real inputs (corpus at b9f7a5e, charly at bd82136, umbrella at c3fffc2e): recipes/immich/ no longer contains immich-ml.md, and the run proceeds to the link gate, which then reports the three dangling references to the retired address that opencharly/pod-postgresql#6, opencharly/pod-redis#4 and opencharly/layer-vectorchord#12 remove at their sources. Pre-existing, filed separately (#28): collectCandySkills projects a blank card for a skill whose body lives in a file, so the module's go test gate is red independently of this change; the failure reproduces on the released tag. 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)
Review — PASSHead SHA: Security screen: PASS — no secrets, no network/exec added, no weakened guardrails; the new code only reads a local Change class: generator behaviour change inside the Non-blocking notes (not blocks):
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
This was referenced Nov 23, 2026
feat(docs): retire the immich-ml pages and regenerate against the retired corpus
opencharly/docs#222
Merged
github-actions Bot
pushed a commit
to opencharly/docs
that referenced
this pull request
Nov 23, 2026
…ired corpus (#222) The site's three pinned inputs advance together and the generated half is regenerated from them: - CHARLY_PIN -> bd82136f877c4002f2da6b7a6057f4540fd9b4a3, whose distro-cachyos pin (v2026.326.1804) no longer carries box/immich-ml, so the box recipes stop being generated; - UMBRELLA_PIN -> c3fffc2e2677737bfdaa808b2e4ef917494e7448 (opencharly/opencharly#1252, the pin wave that follows the retired corpus); - the marketplace gitlink -> 6339156013596d2364767b31e14aa7f21cf99d83 (opencharly/marketplace#646, the three source fixes that remove the retired /charly-immich:immich-ml address); - the docs generator -> v2026.327.1807 (opencharly/plugin-docs#29), which honours the corpus's retired.cue so the candy-walk complement can no longer re-add the retired skill. The regenerated tree drops recipes/immich/immich-ml.md and immich-ml-layer.md and the reference/box and reference/candy pages for the retired pod, and adds the consolidated immich-cdi box and the newest pod-immich candy pages. 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)
github-actions Bot
pushed a commit
to opencharly/opencharly
that referenced
this pull request
Nov 23, 2026
…1256) charly task sync (org-wide) moves 11 pins to their merged heads: docs (the retired-immich-ml regeneration, opencharly/docs#222), marketplace (opencharly/marketplace#646), plugin-docs (opencharly/plugin-docs#29), plugin-marketplace (opencharly/plugin-marketplace#67), pod-postgresql, pod-redis and layer-vectorchord (the three /charly-immich:immich-ml address fixes), sdk, and the leaf currency of the same wave (layer-example, plugin-builder-pixi, plugin-deploy-pod). The bindings re-derivation is part of the same step. 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)
This was referenced Nov 23, 2026
github-actions Bot
pushed a commit
to opencharly/docs
that referenced
this pull request
Nov 24, 2026
…wept corpus (#224) The pins advance together and the generated half is regenerated from them: - UMBRELLA_PIN -> 7667f9fc8561fa580dd03cfcd40d9e2c4d6ee0a4 (opencharly/opencharly#1265): the liberation example links the stable /recipes/coder/sshd/ page instead of a per-version reference page that the pin advances had removed. - the marketplace gitlink -> 7eab90333ad0f9e645e6e648896455f33791e7e7 (opencharly/marketplace#650): the two ownerless coder cards retired, and the swept skill bodies. - the docs generator -> v2026.328.0705 (opencharly/plugin-docs#29/#31/#32): the corpus retirement list, the file-sourced skill bodies. The regenerated tree deletes the nine retired cards' recipe pages — herdr, fedora-coder, debian-coder, ubuntu-coder, fedora-test and the four openclaw variants — with their reference pages, carries the swept bodies, retargets the two hand-authored concepts pages, and drops the per-version candy reference pages the pin advances superseded. Agent: `immich-consolidation` · Claude Code session `113f762e-5d70-484a-9ed9-e34c6423c926` Assisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The docs generator now honours the corpus's retirement list, closing #27.
generate()merges the corpus's skills with the candyskill:entities a remote-aware walk collects (collectCandySkills), keeping the corpus's copy when both exist and the walk's when the corpus lacks it. A skill the corpus has retired is absent from the corpus by definition, so the walk always won it back: after opencharly/marketplace#644 retiredpod-immich-ml, this generator still wroterecipes/immich/immich-ml.mdfrom the retired tree — reached through the stale subpath pins opencharly/plugin-marketplace#63 measured.The policy is data in ONE place,
retired.cueat the corpus root, and--pluginsalready names that checkout:retired.goreads and validates it against the same CLOSED shape the generator's#Retireddefines (three lines, restated here because this module must not depend on the marketplace plugin). A missing list is a no-op; a malformed one is fatal, never "nothing retired".collectCandySkillsskips every entity whose fetched export tree is a retired repo (Entity.SourceRoot); a local entity is never retired by a repo list.How tested
The module gates:
New tests, by name:
TestCollectCandySkills_SkipsRetiredRepo— a retired repo's skill is NOT projected while a live one and a local one are. FAILS WITHOUT THE CHANGE (the walk projected every entity it reached).TestParseRetired— the@form, an empty list, the closed-shape rejection of an unknown field, an unqualified path.TestLoadRetired_AbsentIsEmptyAndMalformedIsFatal.The live proof, on the real inputs (corpus at
b9f7a5e, charly atbd82136, umbrella atc3fffc2e), after opencharly/pod-postgresql#6, opencharly/pod-redis#4 and opencharly/layer-vectorchord#12 removed the last three references to the retired address:Before the change the same run emitted
immich-ml.mdbyte-identical to the pre-retirement page.The suite is red for one PRE-EXISTING failure, filed as #28 and reproduced unchanged on the released tag
v2026.289.0814:It is
collectCandySkillsprojecting a BLANK card for a skill whose body lives in a file — independent of the retirement filter (the pre-existing test passesnilfor the retired set), and not introduced here.Rulebook compliance
/charly-build:docs,/charly-internals:plugin,/charly-internals:go,/charly-internals:git-workflow,/charly-internals:strict-policy.generate(), not to the corpus; the residual pre-existing failure is filed as 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 with the released-tag reproduction.retired.cue), shared by both generators; the closed shape is restated in three lines with the dependency direction stated, not duplicated as a second policy.fix/honour-retired-corpusoff freshorigin/main; no other session's work touched.charlybinary).#Retiredcontract; it adds no field, kind or mechanism.Change classification
Behaviour change in the generator; additive in every other respect (with no
retired.cuethe output is byte-identical). No!marker. Rollback: revert, which restores the retired page on the next generation.Filed issues
collectCandySkillsprojects a blank card for a file-sourced skill body; the module'sgo testgate is red because of it, pre-existing atv2026.289.0814.Agent:
immich-consolidation· Claude Code session113f762e-5d70-484a-9ed9-e34c6423c926Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (fully tested and validated)