Repository navigation
feat(schema): skill/hook/marketplace kinds + the ai.opencharly.skill label - #19
Conversation
…label New closed kind schemas (#Skill/#Hook/#Marketplace) generate spec.Skill/spec.Hook/ spec.Marketplace — the harness-surface kinds carrying the plugins->candies migration. BoxMetadata/BakedLabelSet gain the structured Skills label (ai.opencharly.skill, a JSON array — the wire shape of the vestigial doc-pointer URL); Config gains the Skills map (the raw uf.PluginKinds[skill] bodies, mirroring Sidecar). The loaderkit discovered-candy parse now accepts STACKED manifests (a candy node plus sibling skill:/hook:/marketplace: entities). Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
pr-validator — CHANGES REQUESTED ❌Change class: code/config (spec wire-contract module: CUE schema + generated Go types + the The code itself is technically sound — I re-ran every SDD gate and they all pass. The FAIL is on the discipline/evidence gates. Any one of the FAIL items below is blocking; together they are unambiguous. Checklist
Comments considered: none — the PR carries zero comments and zero reviews. Cross-PR interactions considered:
Decision: FAIL — the PR stays open. Blocking fixes the author must make before re-push (which resets the status and re-runs validation):
Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system) |
…R18) R1: the new comments named the OCI label ai.opencharly.skills (plural) while the actual const is ai.opencharly.skill (singular) — fixed across schema/skill.cue, schema/boxmetadata.cue, spec/config.go + regenerated. R11: coverage that fails without the change — TestExtractMetadata_SkillsLabel (valid array + malformed value round-trip the ai.opencharly.skill label) and TestConfig_SkillsThreading (PluginKinds[skill] -> Config.Skills). R18: a CHANGELOG entry for this landing. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
pr-validator — CHANGES REQUESTED ❌Change class: code/config (spec wire-contract module: CUE schema + generated Go types + the Every gate the prior CHANGES-REQUESTED round demanded was independently re-run and passes. The verdict fails on one fresh, mechanical, blocking finding (item 17). Checklist
Comments considered:
Cross-PR interactions considered:
Decision: FAIL — the PR stays open. One blocking finding:
All other gates — SDD reproducibility, generated-type/label-const/CapabilityLabelMap consistency, go test incl. the new tests, singular label-name comments, the PR template body, and the staged CHANGELOG — verified independently and PASS. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system) |
Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
pr-validator — APPROVED ✅Head SHA validated: Change class: code/config (spec producer wire-contract module: CUE schemas + generated Go types + the Checklist
Phase 1b (documentation scrutiny): skipped honestly — the diff touches no reader-facing page (CHANGELOG + code/config only); no Comments considered:
Cross-PR interactions considered:
Decision: PASS — every rule and pillar verified from the diff + my own re-runs at the final head; the change is in full compliance. Proceeding to finalize the merge-time CalVer, squash-merge, and tag. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system) |
Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
Summary
The spec leg of the plugins→candies migration: the wire-contract surface for the harness-surface kinds + the self-describing-image label.
schema/skill.cue/hook.cue/marketplace.cue— three closed kind schemas generatingspec.Skill/spec.Hook/spec.Marketplace: the first-class entities carrying the plugins/ skill corpus, the harness gate hooks, and the marketplace/harness config into candy config.schema/boxmetadata.cue—BoxMetadata.Skills/BakedLabelSet.Skills([]LabelSkillEntry) + the#LabelSkillEntry/#LabelSkillReferencewire shapes; the vestigialskill(doc-pointer URL string) field removed.spec/label_consts.go—LabelSkill = "ai.opencharly.skill"retained (singular wire name per the list-label convention); the wire SHAPE migrates from the URL string to the JSON array.spec/config.go/loadmodel.go—Config.Skillsthreading the rawuf.PluginKinds["skill"]bodies (mirroring theSidecarprecedent), soCollectSkills(sdk) projects the composed candies' skills into the label.spec/container/box_metadata_coneb.go—ExtractMetadataparses the skill array back; a malformed value (a pre-cutover URL string) hard-fails — the deliberate cutover.TestExtractMetadata_SkillsLabel(+ malformed) andTestConfig_SkillsThreading.How R10-tested
The runtime-consumed label path (CollectSkills → WriteLabels → the image label) is the companion sdk leg + the superproject check-marketplace R10 bed.
Attribution
analysed on a live system— the changed paths ran live (the ExtractMetadata parse + Config.Skills threading tests, the full go test gate, cue:gen reproducibility).Rule compliance
Config.SkillsmirrorsSidecar). R5 hard cutover (theSkill→Skillsfield rename swept; no stale.Skillaccess). SDD (CUE-first, generated types, reproducible). Architecture gate: placement correct (wire shapes in the contract module; opaque-body threading; no aliases/kit imports).Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)