Repository navigation
feat(plugins): publish the content kinds, and adopt the owned-skill chain's pins - #1230
Conversation
…hain's pins The host half of ops.OpContent (opencharly/sdk#598), and the five pins of the chain that installs a composed candy's owned skills. - buildCapMeta records ProvidedCapability.contents for a class:kind capability (capMeta.IsContentKind implements spec.ContentKindCarrier). The validate-word-sets leg publishes the declaring kind words, sorted, as content_kinds. They are read off each provider's own capability, never a per-kind branch. That set is what plugin-build's render-prep and plugin-box's validate ask. - The charly-skill-shelf's validate-satisfying no-op run: step is deleted: an owned skill node is install content now. - Pins, all merged and tagged: spec v0.2026325.913 (#415), sdk v0.2026325.921 (#607), plugin-box v0.2026325.928 (#92), plugin-build v0.2026325.959 (#62, #63), plugin-harness-kind v0.2026325.1012 (#13). They move together: the old plugin-box pin calls deploykit.CollectSkillBodies, which the new sdk deletes. Claude-Session: https://claude.ai/code/session_01Tvdn3vtn8FoWTMqGwqn4ZT Agent: kde-cstream · Claude Code session 25c0bf9d-28ad-4716-bc1b-5ca2118cc942 Assisted-by: Claude Code Claude Opus 5.5 (analysed on a live system)
|
HOLDING HOLDING — this PR is the core leg of the opencharly/sdk#598 chain. It holds:
Agent: |
Review — PASSHead SHA: Security screen: PASS — no secrets/egress, no guardrail weakening, no scope mismatch; the 5 pin bumps point at merged+tagged versions and match Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
|
STATUS STATUS — the review is PASS, but the required RCA.
The fix lands as one new commit, and the body gains it. From now on, a pin bump here runs Agent: |
The required go check failed TestContractPinsMatchShared: the tools/generate-packages, tools/golden-cloudinit and tools/golden-compile modules still required sdk v0.2026324.1928 / spec v0.2026324.1914 while charly/go.mod moved to sdk v0.2026325.921 / spec v0.2026325.913. The previous commit moved the pins with go get inside charly/ only. charly task mods-tidy adopts the shared pins in every lockstep module and tidies them. The whole ci.yml go job passes locally: go test ./charly/..., every tools/* module (GOWORK=off -count=1), gofmt over charly and tools, and golangci-lint over both. Claude-Session: https://claude.ai/code/session_01Tvdn3vtn8FoWTMqGwqn4ZT Agent: kde-cstream · Claude Code session 25c0bf9d-28ad-4716-bc1b-5ca2118cc942 Assisted-by: Claude Code Claude Opus 5.5 (analysed on a live system)
Review — PASSHead SHA: Security screen: PASS — no secrets/egress, no guardrail weakening, no scope mismatch; the five pin bumps (spec Checklist: All applicable rules PASS or NA. Cross-checks that hold: A1 file table accounts for all 12 files; A3 Comments: 7061327866 (@aitrawog) — Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
|
CLEARED CLEARED — merged, tagged Agent: |
Summary
The core leg of opencharly/sdk#598. It installs the skills a composed candy owns, as content the
skillkind compiles, and it moves the chain's pins.buildCapMetarecordsProvidedCapability.contentsfor aclass:kindcapability, andcapMeta.IsContentKindimplementsspec.ContentKindCarrier. Thevalidate-word-setsleg publishes those kind words, sorted, ascontent_kinds. The words are read off each provider's own capability, never a per-kind branch (D-LAW-3, D-LAW-8). That set is what plugin-build's render-prep and plugin-box's validate ask.github.com/opencharly/specv0.2026324.1914v0.2026325.913github.com/opencharly/sdkv0.2026324.1928v0.2026325.921…/plugin-box/candy/plugin-boxv0.2026320.2124v0.2026325.928…/plugin-build/candy/plugin-buildv0.2026322.2319v0.2026325.959…/plugin-harness-kind/candy/plugin-harness-kindv0.2026288.1214v0.2026325.1012One pin cannot move alone: the old plugin-box pin calls
deploykit.CollectSkillBodies, which the new sdk deletes.charly.yml: the charly-skill-shelf's no-oprun:step is deleted. It existed only to satisfy validate's install-content rule, and an owned skill node is install content now (plugin-box#92).charly/plugin_provider_common.gocontentsrecorded for a kind;IsContentKindcharly/validate_project_host.gocontent_kindspublished, sortedcharly/content_kinds_test.gobuildCapMetafor a kind and a verbcharly/go.mod,charly/go.sumcharly.ymltools/{generate-packages,golden-cloudinit,golden-compile}/go.{mod,sum}charly task mods-tidyHow tested
Head
fb033781b023babc81b59856a8baf5e18958e048;git diff --stat --diff-algorithm=myers origin/main...HEAD:12 files changed, 120 insertions(+), 40 deletions(-). It is rebased ontoorigin/main07723ae9. This repo's gate for the class, on that tree, incharly/withGOWORK=offandGOTOOLCHAIN=go1.26.8:This repo's whole
ci.ymlgojob (round 2), reproduced step for step aftercharly task mods-tidy(2 step(s), 0 failed, 0 skipped):The round-2 commit touches only the
tools/*modules, which are separate from thecharly/module the binary is built from. So the2026.325.1025build and itsbox validate/check-wave-pinsproof below are the binary of this head.R7. Each rule was mutated by a harness that aborts with
MUTATION NOT APPLIEDunless the change applied, and its test failed:contentsrecorded for any class, not only a kindcontent_kinds_test.go:63:a verb declaring contents: IsContentKind = true … want falsecontent_kinds_test.go:48:content_kinds = [add-candy addr agent …]content_kindssorted in reversecontent_kinds_test.go:51:content_kinds = [stubcontentkind skill], want sortedDropping the sort call outright only fails to compile (an unused import), so the semantic reverse-sort mutation is the one recorded.
R9.
scripts/bootstrap-charly.sh(a plain build, no--dev-plugin) built./bin/charly, andcharly versionreports2026.325.1025, built from this commit. The bootstrap'scheck-generated-cleanprinted its documentedplugins_refs_generated.goNOTICE: the refs index reads each corpus repo at its default-branch HEAD, which moved with the merges above. It restored the tracked file, and the tree stayed clean.charly box validate, with that binary, over this repo's whole project:R10. This repo's pin-adoption witness bed
check-wave-pins(disposable: true), with that binary:The run is
.check/check-wave-pins/2026.325.1027. It ran with 0 warnings.The chain end to end, on a dev build of these same trees (
2026.325.0457,--dev-pluginfor the three plugins, each byte-identical to its merged tag):plugin-box's
check-box-local:11 passed, 0 failed, 0 skipped.distro-arch's
check-tmux-pod, a pod onbase: archwith a fresh rebuild:image-buildinstalled the six skills throughCOPY --chown=1000:1000 .build/_content/arch/ /home/user/;check-imagegaveskill-bodies-installed exit=0.Its one failing live step,
tmux-roundtrip, predates this chain: it was measured identical on the released binary and is filed as check-tmux-pod: tmux-roundtrip needs ~123 s against a 120 s never-hang ceiling (~20 charly calls × 5.6 s project resolve) distro-arch#75. Those runs are pasted in full on plugin-harness-kind#13 and plugin-build#63.Rulebook compliance
/charly-internals:git-workflow,/charly-internals:go,/charly-internals:plugin,/charly-internals:capabilities,/charly-internals:strict-policy,/charly-internals:root-cause-analyzer,/charly-internals:skills,/charly-internals:marketplace,/charly-build:validate,/charly-check:check, and the design skill (read by path), plus this repo'sAGENTS.md.check-wave-pinswas refused by the stale-binary guard. That was correct: my mutation runs had touchedvalidate_project_host.goafter the build, so I rebuilt from the committed tree and the bed ran. The guard's printed remedy names the retiredtask build:binary; that is filed as freshness guard's remedy names the retired 'task build:binary'; the build entrypoint is scripts/bootstrap-charly.sh plugin-doctor#19. Round 2: the requiredgocheck failedTestContractPinsMatchShared. I had moved the pins withgo getincharly/only, so threetools/*lockstep modules stayed on the old sdk/spec. The missed control: I gated thecharly/module, not the wholeci.ymlgojob. Fixed withcharly task mods-tidy, and the whole job was rerun (above).validate / armfailed only becausegodid.box validateandcheck runwork as documented with only thecharlybinary.git statuswas clean before the rebase. The branch isfeat/content-kinds, off freshorigin/mainand current with it (0 behind) before this push. PR-only; no force-push, no hook bypass.charly version, above).2026.325.1025(above).check-wave-pinspassed on that build with 0 warnings (above).Change classification
Code/config: a host capability record plus module pin adoption. Additive on the wire (
content_kinds); no flag, verb or shape is removed from this repo.Filed issues
task build:binary.check-tmux-pod'stmux-roundtripneeds ~123 s against a 120 s ceiling (pre-existing).kind:skillreads only the default skill tree (claimed).local:/vm:deploys, installs no owned content yet (claimed).Part of opencharly/sdk#598 · tracking opencharly/opencharly#1201.
https://claude.ai/code/session_01Tvdn3vtn8FoWTMqGwqn4ZT
Agent:
kde-cstream· Claude Code session25c0bf9d-28ad-4716-bc1b-5ca2118cc942Assisted-by: Claude Code Claude Opus 5.5 (analysed on a live system)