Repository navigation
feat(marketplace): skills → candies — the harness surface generated from candy config - #231
Conversation
Final landing of the coordinated liberation cutover (producer → docs page + plugins count → catalog sync → re-pin). Bumps the docs gitlink to 143b125c (the merged liberation page + catalog sync, docs#19/#20, v2026.218.1417/v2026.218.1450) and the plugins gitlink to 6eb14dff (the merged skill-count update, plugins#140, v2026.218.1404); re-pins candy/docs-site DOCS_REF + the pinned-commit literal to 143b125c (both occurrences; task docs:pin asserts both against the gitlink); and adds the docs-site-liberation-page check so the check-docs bed fails without the easter-egg page. docs:pin and docs:drift are clean; charly box validate passes; the generator Go tests pass. The check-docs bed (R10) is re-run independently by the pr-validator. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
… harness kinds The plugins->candies migration: all 295 skills + 7 agents now live as sibling skill: kind entities in their owning candies' charly.yml (concept candies for the cross-cutting families, namesake candies for per-pod/foundation skills), declared inline per the operator directive. The harness kinds (skill/hook/marketplace) are served by the compiled-in candy/plugin-harness-kind; candy/plugin-marketplace (command:marketplace) regenerates the entire plugins/ corpus + .claude/ hooks + settings + dispatcher from candy config (charly marketplace generate/drift), with candy/charly-hooks owning the gate hooks and the marketplace entity the family metadata. charly box validate passes on the relocated tree; spec/sdk/plugins submodules pinned. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
Remove the unused emissions.put/putMarkdown/hasAnyHeader + familyNames that the pre-commit golangci-lint gate flagged. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
Transcribe the CLAUDE.md/AGENTS.md Skill Dispatcher table into the skills' triggers: declarations (72 trigger-skill pairs across 57 skills); the dispatcher table now lives between the generated markers and is regenerated by charly marketplace generate. Every original trigger row is covered (72/72). Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
The docs generator reads the regenerated plugins/ SKILL.md + references, which now carry the marketplace generator's DO-NOT-EDIT HTML comment (the prune marker) at the top of the body. It is internal, not skill content — strip it so the published recipe pages do not carry it. 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)
The R0 dispatcher legitimately references agent entities (root-cause-analyzer); the buildDispatcherTable skip dropped agent-triggered rows. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
A disposable bed proving the plugins->candies harness surface: the marketplace-app box composes the ripgrep candy (which owns a skill: entity), and the bed asserts the ai.opencharly.skill OCI label carries the skill definition (R8 — readable from the image, no fetch), the pod reaches steady state, and the composed binary is present — across a fresh charly update. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (fully tested and validated)
…e (R4a) The README documents ./setup <harness> <profile>; the emissions map writes bytes at 0644, so the launcher lost its exec bit (100755 -> 100644). Restore it after write, like the hook modes. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
…ags)
The plugins validator verified the generated marketplace.json had owner.Name
(capital N) which Claude Code's loader rejects ('Invalid schema: owner.name').
The emit_marketplace.go structs lacked the inner json:"name" tags.
Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
The sdk spec pin bump to v0.2026218.1950 changed the dependency graph; the out-of-process example plugins needed go mod tidy to build. 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)
The spec/sdk submodule PRs merged; the superproject pins the merged commits. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
plugins#143 (v2026.218.2041) + docs#22 merged; the superproject pins the merged commits (f98fa41, 6a1fd3d). Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
pr-validator — CHANGES REQUESTED ❌Change class: cross-repo (code/config + submodule gitlink pins) — a runtime-tier change Validated head: Checklist
Blocking findings
Verified passing
Comments considered: none (the PR carries no comments or reviews). Cross-PR interactions considered: none found — What must change before re-submission
Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system) |
The previous pins were the feat-branch heads (234f465/69e8320); the correct permanent pins are the tagged merged commits (v0.2026218.1950/ab3a62b, v0.2026218.2009/cf6d5b9e) — trees identical, but off-main pins are fragile. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
Remove the stale 2026.218.0000 (duplicates the landed test-migration changelog) + 2026.218.1500 (superseded docs re-pin); add the marketplace migration entry. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
- go mod tidy all candies on the stale spec pin (the sdk pin bump to v0.2026218.1950 left their go.sum stale; GOWORK=off builds failed) - fix the skill text claiming kindWordSet/stepKeywordSet are live (removed with the kind-externalization; classifyKind reads the registry's Threaded snapshot) - fix the marketplace generator's hook-mode apply (an explicit '0755' declaration now applies regardless of extension) + restore gate_test.py - remove the stale CHANGELOGs (2026.218.0000 duplicates the landed test-migration changelog; 2026.218.1500 describes a superseded docs re-pin) + add the marketplace migration entry - point the spec/sdk gitlinks at the tagged merged main commits Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
buildHookWiring iterated the ks.Hooks map (random order), so the settings.json hook commands drifted non-deterministically between generates; sort by hook name. Also apply an explicit '0755' mode regardless of extension (gate_test.py was regressed to 0644). 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)
Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
pr-validator — CHANGES REQUESTED ❌Change class: cross-repo (code/config + submodule gitlink pins) — a runtime-tier change Validated head: Checklist
Blocking findings
Verified passing
Comments considered: one — the prior Cross-PR interactions considered: none found — What must change before re-submission
Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system) |
Remove the stale 2026.218.0000 (a byte-duplicate of the landed test-migration changelog) + 2026.218.1500 (a superseded docs re-pin); add the marketplace migration entry. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
pr-validator — APPROVED ✅Change class: cross-repo (code/config + submodule gitlink pins) — a runtime-tier change Validated head: Checklist
Blocking findingsNone. Every prior-round finding is resolved at the current head, verified independently:
Verified passing (re-run by me at this head)
Comments considered: two — the prior Cross-PR interactions considered: none found — DecisionAPPROVED. The PR is in full compliance: every rulebook item passes at the final head; the R10 bed is fresh, correct, zero-warning, and exercises the changed label path live; the test gate, validate, drift, and SDD reproducibility gates are all green; the gitlinks sit on the tagged merged submodule commits; the CHANGELOG is clean and current; the architecture placement is CORRECT. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (fully tested and validated) |
pr-validator — CHANGES REQUESTED ❌Change class: cross-repo (code/config + submodule gitlink pins) — a runtime-tier change Validated head: What I verified at
|
…tity The validator's main-merge surfaced a drift: main's pre-push-gate.sh gained the +4 amend-comment lines (the amend-policy clarification) that the charly-hooks entity predates. Regenerate now produces the merged hook. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
pr-validator — APPROVED ✅Change class: cross-repo (code/config + submodule gitlink pins) — a runtime-tier change Validated head: Checklist
Blocking findingsNone. The round-4 blocking finding (the main-merge
All four prior-round blocking findings (test-gate go.mod pins, Verified passing (re-run by me at this head)
Comments considered: four — the prior Cross-PR interactions considered: none found — Phase 1b: the reader-facing pages in the diff (CLAUDE.md/AGENTS.md Skill Dispatcher table, the plugins SKILL.md corpus) are GENERATED projections; their byte-reproducibility is machine-verified by DecisionAPPROVED. The PR is in full compliance: every rulebook item passes at the final head; the R10 bed is fresh, correct, zero-warning, and exercises the changed label path live; the drift/validate/test/docs/cue gates are all green; the gitlinks sit on the tagged merged submodule commits; the CHANGELOG is clean and current; the architecture placement is CORRECT. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (fully tested and validated) |
Finalize the merge-time CalVer for the plugins→candies migration (skills → candies: the harness surface generated from candy config). Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (fully tested and validated)
pr-validator — merged ✅Phase 3 complete:
Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (fully tested and validated) |
pr-validator — APPROVEDChange class: cross-repo (code/config + submodule gitlink pins) — runtime tier Validated head: Checklist
The six brief findings, re-derived at the current head
Comments considered
Cross-PR interactionsNone open in DecisionPASS. The PR was concurrently landed by a prior validator round; I independently verified the merged object is byte-consistent with what I validated:
I also posted the Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (fully tested and validated) |
…2026250.702 - wire the retired-command-word guard into main() BEFORE kong.Parse (the guard file itself landed in the preceding fix commit; this is its call site) - KERNEL_MANIFEST.md: document retired_command_word.go (clause B — CLI-root bootstrap wiring, same class as main.go) - unified_test.go: hermeticize TestLoadUnified_AbsentFileReturnsNotPresent against the user config-stack layer (sdk v0.2026250.702+ LoadUnified merges the system → user → in-dir stack, so a sibling test's deploy-state write into the shared TestMain XDG_CONFIG_HOME surfaced as an existing user layer; R1 2026-09-07) - pins: sdk v0.2026250.527 → v0.2026250.702 (the #229+#231 tag), spec v0.2026250.523 → v0.2026250.656 per sdk 702's transitive require
… fleet/→deploy/ (#554) * feat(cutover-c2): retire the fleet vocabulary — FleetNode→DeployNode, fleet/→deploy/ CC-2 charly cutover: the charly module's fleet vocabulary retires in lockstep with the spec/sdk/plugin wave that already removed the group: kind and renamed the member tree. - charly/fleet_add_cmd.go → charly/deploy_add_cmd.go - charly/fleet_compile_parity_test.go → charly/deploy_compile_parity_test.go - charly/fleet_del_diagnostics_test.go → charly/deploy_del_diagnostics_test.go - charly/fleetnode_disposable_loader_test.go → charly/deploynode_disposable_loader_test.go - charly/node_fleet_test.go → charly/node_deploy_test.go - charly/testdata/fleet_compile_parity_{golden,tags}.json → charly/testdata/deploy_compile_parity_{golden,tags}.json - tools/golden-compile regenerates the renamed goldens - FleetNode → DeployNode, Fleet map → Deploy map, fleet add → deploy add, fleetDiscForEntity → deployDiscForEntity, LoadFleetConfig → LoadDeployConfig throughout Go sources, charly.yml, KERNEL_MANIFEST.md, and the root charly.yml corpus - pins UNCHANGED: spec v0.2026250.523, sdk v0.2026250.527 (the MCP packaging PR bumps to 632/650 after this lands) Verified: go build ./..., go vet ./..., go test ./... all exit 0 * docs(cc2): retire the fleet vocabulary across the repo-root rulebooks and README Finishes the CC-2 charly cutover's claim-keyed sweep: every remaining 'charly fleet add/del' reference in the repo-root docs (.gitignore, .reasonix/README.md, AGENTS.md, CLAUDE.md, README.md, PROGRAM/factory-north-star.md) moves to the new 'charly deploy add/del' surface. The candy/plugin-fleet package-name references are dispositioned for the plugin rename PR. * fix(cc2): gofmt the swept files + ship the retired-command-word intercept (was missed in the staging; pins stay spec 523 / sdk 527) * feat(cc2): complete the retired-command intercept + re-pin sdk to v0.2026250.702 - wire the retired-command-word guard into main() BEFORE kong.Parse (the guard file itself landed in the preceding fix commit; this is its call site) - KERNEL_MANIFEST.md: document retired_command_word.go (clause B — CLI-root bootstrap wiring, same class as main.go) - unified_test.go: hermeticize TestLoadUnified_AbsentFileReturnsNotPresent against the user config-stack layer (sdk v0.2026250.702+ LoadUnified merges the system → user → in-dir stack, so a sibling test's deploy-state write into the shared TestMain XDG_CONFIG_HOME surfaced as an existing user layer; R1 2026-09-07) - pins: sdk v0.2026250.527 → v0.2026250.702 (the #229+#231 tag), spec v0.2026250.523 → v0.2026250.656 per sdk 702's transitive require * test(cc2): isolate two more LoadUnified consumers from the sdk 702 config-stack user layer sdk v0.2026250.702+ merges the system → user → in-dir config stack in LoadUnified; a sibling test's deploy-state write into the shared TestMain XDG_CONFIG_HOME previously surfaced as an existing user layer and changed these two consumers: - plugin_bootstrap_test.go: the F9 marker comment was dropped by the yaml.Node merge, so the marker-gated transform never fired and the stale version was rejected by the schema gate - layers_test.go: the merged user-layer candy map shadowed the fixture's local svc candy Both now set their own XDG_CONFIG_HOME (R1 2026-09-07, the CC-2 sdk 702 pin). * chore(cc2): re-pin sdk v0.2026250.702 → v0.2026250.758 (the duplicate-top-level-key fix, sdk #234) The sdk 702 config-stack merge (loaderkit/config_stack.go) silently collapsed duplicate top-level keys within a single config layer, making the parse-level 'duplicate top-level entity name' contract (pinned by TestCrossKindNameReuse_LoaderAcceptsAllKinds) unreachable. sdk #234 rejects duplicates per layer before the merge; spec follows to v0.2026250.709 (sdk 758's transitive require; go mod tidy confirms the minimal consistent graph). Full suite green. * test(cc2): B12 end-to-end exit-80 test + B14 sweep wording (pr-validator round 2) - retired_command_word_test.go: TestRetiredCommandWord_EndToEnd builds a real charly binary (buildCharlyBinary) and asserts exits 80 with the pointed retired-word message and Usage: charly <command> [flags] OpenCharly — the open infrastructure compiler for you and your agents Flags: -h, --help Show context-sensitive help. --host=STRING Remote host (alias or user@host[:port]) to run this command on via SSH ($CHARLY_HOST) --host-identity-file=STRING SSH identity file for --host ($CHARLY_HOST_IDENTITY_FILE) --host-option=HOST-OPTION,... OpenSSH option for --host (repeatable, KEY=VALUE) ($CHARLY_HOST_OPTION) -C, --dir=STRING Project directory containing charly.yml (default: cwd) ($CHARLY_PROJECT_DIR) --repo=OWNER/REPO[@ref] Read charly.yml from a remote git repo (e.g. opencharly/charly). Use 'default' for opencharly/charly ($CHARLY_PROJECT_REPO). Commands: agent [<args> ...] [flags] agent (out-of-process command plugin) agentteams [<args> ...] [flags] agentteams (out-of-process command plugin) alias [<args> ...] [flags] alias (out-of-process command plugin) cache [<args> ...] [flags] cache (out-of-process command plugin) candy [<args> ...] [flags] candy (out-of-process command plugin) check box [<args> ...] Pure-box check (disposable container, build-scope checks) check plan [<args> ...] Resolve a box's check plan and print it as JSON without running it check live [<args> ...] Full-stack check against a running deployment check feature [<args> ...] Run a running deployment's baked plan as acceptance tests; agent steps are agent-graded (Agent Driven Evaluation) check run [<args> ...] Run a disposable check bed (R10 sequence) or an iterate: entity (AI loop). check sync-credential [<args> ...] Copy AI credentials into a score's target. check scope [<args> ...] AI-facing: print the active iteration's scope.yml. check last-tag [<args> ...] AI-facing: print the prior iteration's image tag. check self-evaluate [<args> ...] AI-facing: re-run the in-scope plan live. check stop [<args> ...] Stop the in-flight run of a bed, scoped to that bed's lock holder. check list [<args> ...] List past runs under .check/. check report [<args> ...] Print a past result-<calver>.yml. check note [<args> ...] Persistent NOTES.md memory (read/append). check list-agent [<args> ...] List configured agents. clean [<args> ...] [flags] clean (out-of-process command plugin) cmd [<args> ...] [flags] cmd (out-of-process command plugin) config [<args> ...] [flags] config (out-of-process command plugin) cp [<args> ...] [flags] cp (out-of-process command plugin) doctor [<args> ...] [flags] doctor (out-of-process command plugin) dsh [<args> ...] [flags] dsh (out-of-process command plugin) examplecommand [<args> ...] [flags] examplecommand (out-of-process command plugin) feature [<args> ...] [flags] feature (out-of-process command plugin) fleet [<args> ...] [flags] fleet (out-of-process command plugin) logs [<args> ...] [flags] logs (out-of-process command plugin) migrate [<args> ...] [flags] migrate (out-of-process command plugin) ollama [<args> ...] [flags] ollama (out-of-process command plugin) preempt [<args> ...] [flags] preempt (out-of-process command plugin) reap-orphans [<args> ...] [flags] reap-orphans (out-of-process command plugin) remove [<args> ...] [flags] remove (out-of-process command plugin) restart [<args> ...] [flags] restart (out-of-process command plugin) service [<args> ...] [flags] service (out-of-process command plugin) settings [<args> ...] [flags] settings (out-of-process command plugin) shell [<args> ...] [flags] shell (out-of-process command plugin) ssh tunnel [<args> ...] Forward a VM's SPICE/VNC endpoint from a remote libvirt host to the local machine start [<args> ...] [flags] start (out-of-process command plugin) status [<args> ...] [flags] status (out-of-process command plugin) stop [<args> ...] [flags] stop (out-of-process command plugin) tmux [<args> ...] [flags] tmux (out-of-process command plugin) tui [<args> ...] [flags] tui (out-of-process command plugin) update [<args> ...] [flags] update (out-of-process command plugin) vm [<args> ...] [flags] vm (out-of-process command plugin) volume [<args> ...] [flags] volume (out-of-process command plugin) udev [<args> ...] [flags] udev (out-of-process command plugin) marketplace [<args> ...] [flags] marketplace (out-of-process command plugin) bpf [<args> ...] [flags] bpf (out-of-process command plugin) generate-packages [<args> ...] [flags] generate-packages (out-of-process command plugin) cardwire [<args> ...] [flags] cardwire (out-of-process command plugin) box add-candy [<args> ...] add-candy (out-of-process command plugin) box build [<args> ...] build (out-of-process command plugin) box cat [<args> ...] cat (out-of-process command plugin) box feature [<args> ...] feature (out-of-process command plugin) box fetch [<args> ...] fetch (out-of-process command plugin) box generate [<args> ...] generate (out-of-process command plugin) box inspect [<args> ...] inspect (out-of-process command plugin) box labels [<args> ...] labels (out-of-process command plugin) box list boxes [<args> ...] List enabled boxes box list candies [<args> ...] List every scanned candy box list targets [<args> ...] List build targets in dependency order box list services [<args> ...] List candies that trigger an init system box list routes [<args> ...] List candies that declare a route box list volumes [<args> ...] List candies' declared volumes box list aliases [<args> ...] List candies' declared aliases box list tags [<args> ...] List an image's tags in local podman storage box load [<args> ...] load (out-of-process command plugin) box merge [<args> ...] merge (out-of-process command plugin) box new [<args> ...] new (out-of-process command plugin) box pull [<args> ...] pull (out-of-process command plugin) box reconcile [<args> ...] reconcile (out-of-process command plugin) box refresh [<args> ...] refresh (out-of-process command plugin) box rm-candy [<args> ...] rm-candy (out-of-process command plugin) box set [<args> ...] set (out-of-process command plugin) box validate [<args> ...] validate (out-of-process command plugin) box write [<args> ...] write (out-of-process command plugin) version [flags] Print computed CalVer tag Run "charly <command> --help" for more information on a command. still parses (exit 0) — the B12 gate the validator required (the guard now has a committed test that fails without the main() wiring) - KERNEL_MANIFEST.md + main.go + retired_command_word.go: reword the historical 'bundle→fleet cutover' references to 'bundle-era cutover' so the claim-keyed sweep (git grep -iw fleet, excl CHANGELOG/plugin-fleet) has zero matches outside the guard mechanism itself (B14(d))
…ame 404 (#624) * fix(release): weld plugin-review v2026.263.1956 — it fixes the bare-name 404 Bump the WELDED plugin-review pin from v2026.263.1642 -> v2026.263.1956 so the next charly release's plugin bundle carries the owner/repo slug fix merged into opencharly/plugin-review#15. The #14 weld (v2026.263.1642) made the engine FAST but exposed a regression: the ghkit adoption collapsed (owner, repo) into ONE slug argument, while the tool dispatch kept passing the BARE repo name. Every read-only tool 404'd (/repos/spec/pulls/140), so the model correctly returned a BLOCK -- "No retrievable PR state". Measured on umbrella #231 (charly v2026.263.1828, run 35531666727): get_pr_meta -> /repos/opencharly/pulls/231 404. That is why spec#140, action-review#7 and umbrella #231 stayed BLOCKED after the #14 weld. #15 adds toolSet.slug() -- the one place the engine's split (owner, repo) meets ghkit's single slug -- resolves it once in call(), passes it at all seven dispatch sites, and fails loudly on an empty owner instead of silently re-creating the bare-name path. A stub-GitHub regression test drives all seven tools and reproduces the 404s without the fix. Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated) * docs: re-freeze the PR body with the real change-class bed evidence Paste the release workflow's own plugin-build step run verbatim on the pinned tag (plus the built binary's fix strings and the .providers manifest), correct the R5 sweep to a real command+output, and lower the attribution tier to `analysed on a live system` (the post-merge release build is the full R10). Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (analysed on a live system) --------- Co-authored-by: Andreas Trawoeger <[email protected]>
Summary
The plugins→candies migration: the entire harness surface is now GENERATED from candy config by a new marketplace plugin candy.
skill:/hook:/marketplace:first-class entities (closed CUE schemas), served by the compiled-incandy/plugin-harness-kind; theai.opencharly.skillOCI label carries the composed candies' actual skill definitions (R8 — readable from the image, no fetch).CollectSkills+ the sharedsdk/candywalkkit + the stacked-manifest parse.candy/charly-hooksowns the gate hooks; the marketplace entity declares all 25 families + MCP servers).charly box validatepasses.candy/plugin-marketplace(charly marketplace generate/drift) regenerates the whole surface;task skills:driftis the fail-closed CI gate.How R10-tested
Attribution
fully tested and validated— thecheck-marketplacedisposable bed passed all 13 steps at the final head with a freshcharly update, zero warnings, and the changed label path executed live.Rule compliance
sdk/candywalkshared kit). R5 hard cutover (the skill corpus relocated; superseded scripts deleted; the kindWordSet sweep clean whole-tree). R10 fresh disposable proof (check-marketplace, 13 steps, zero warnings). SDD (kinds CUE-first, generated). Architecture gate (kinds externalized as plugins; core untouched). Submodule gitlinks pinned to the tagged merged commits.Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (fully tested and validated)