Repository navigation
feat(validate)!: the content kinds own their nodes' rules; an owned skill node is install content - #92
Conversation
…kill node is install content Two halves of opencharly/sdk#598. (1) validate_skills.go is DELETED: its skill rules (an image owner, sdk#434; a body that does not exist at the owner's repo root, opencharly/opencharly#530) belong to kind:skill (opencharly/plugin-harness-kind, D-PLUG-1), which is also what installs and labels the skills. The engine now asks every content kind (the host's content_kinds) in PROJECT scope through InvokeProvider ops.OpContent and reports each diagnostic as kind "<word>": <diagnostic>; a kind that cannot be asked is itself a finding. The check-box-local box-skill-image-owner step passes unchanged against the moved rules. (2) validateCandyContents accepts a candy whose only content is the skill: nodes it owns (charly installs their bodies), so a skill carrier needs no install step; box-skill-owner-is-install-content proves both directions and fails on the pre-change engine. The validate skill's install-source list names owned skill nodes. 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 is one of the three consumers of opencharly/sdk#607 in the opencharly/sdk#598 chain. It holds opencharly/charly (which pins it), then the carriers in opencharly/distro-arch, opencharly/distro-debian and opencharly/distro-ubuntu, and with them Agent: |
Review — PASSHead SHA: Security screen: PASS — no secrets/egress/obfuscation, no embedded directives aimed at the validator; this is product code (plugin-box validate engine), not this gate's spec or the rulebook, so T4 sign-off is not triggered. Comment disposition: Comment 7060553387 (@aitrawog) — Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
|
CLEARED CLEARED — merged and tagged Agent: |
Summary
The validate engine's half of opencharly/sdk#598.
validate_skills.gois DELETED. Its rules (an image owner, sdk#434; a body that does not exist at the owner's repo root, No in-repo gate exercises skill-body collection for repos that author no box opencharly#530) belong tokind:skill(opencharly/plugin-harness-kind, D-PLUG-1), which also installs and labels the skills, so the gate and the build read one rule. The engine now asks every content kind (the host'scontent_kinds) in project scope throughInvokeProviderops.OpContent, and reports each diagnostic askind "<word>": <diagnostic>. A kind that cannot be asked is itself a finding, never a silent pass.validateCandyContentsaccepts a candy whose only content is theskill:nodes it owns (the build installs their bodies), so a skill carrier needs no install step of its own.The
check-box-localbed gainsbox-skill-owner-is-install-content, and itsbox-skill-image-ownerstep passes unchanged against the moved rules (its comment updated). The validate skill's install-source list names owned skill nodes.candy/plugin-box/validate_owned_content.go,validate_owned_content_test.gocandy/plugin-box/validate_skills.go,validate_skills_test.gokind:skillcandy/plugin-box/validate.gocontent_kindsfolded onto the envelopecandy/plugin-box/validate_rules.go,validate_skill_owner_test.gocharly.yml.agents/skills/validate/SKILL.mdcandy/plugin-box/go.mod,go.sumv0.2026325.913and sdkv0.2026325.921How tested
Head
5f19dfc771dd1fa27c3c99c6c70362804e77cb87;git diff --stat --diff-algorithm=myers origin/main...HEAD:11 files changed, 296 insertions(+), 356 deletions(-). This repo's gate, incandy/plugin-box/, on that tree against the PUBLISHED pins (GOWORK=off,GOTOOLCHAIN=go1.26.8):R7. Each rule was mutated by a harness that aborts with
MUTATION NOT APPLIEDunless the change applied, and its test failed:TestValidateOwnedContent_AsksInProjectScopeAndReportsEveryDiagnosticTestValidateOwnedContent_AnUnaskableKindIsAFindingTestValidateOwnedContent_AsksInProjectScopeAndReportsEveryDiagnosticTestSkillOwnerIsInstallContent; live:check-box-localon the current binary goes10 passed, 1 failed(the new step)Live (a worktree-local dev build stamped
2026.324.2014over this branch and the rest of the opencharly/sdk#598 chain):charly box build arch.archfailed before ("/.agents/skills": not found) and succeeds after, withCOPY --chown=1000:1000 .build/_content/arch.arch/ /home/user/staging the sixSKILL.mdfiles theai.opencharly.skilllabel also names.skill-bodies-installedPASS with1 step: 1 passed, 0 failed, 0 skipped, on the exact image just built:arch:2026.325.0437,debian:2026.325.0859andubuntu:2026.325.0902.check-box-local:11 steps: 11 passed, 0 failed, 0 skipped;charly box validateis clean on every changed repo.Rulebook compliance
/charly-internals:git-workflow,/charly-internals:plugin,/charly-internals:go,/charly-internals:strict-policy,/charly-internals:root-cause-analyzer,/charly-build:build,/charly-build:generate,/charly-build:validate,/charly-image:image,/charly-check:check,/charly-internals:skills,/charly-internals:marketplace,/charly-internals:capabilities, and the design skill (read by path), plus this repo'sAGENTS.mdlist.ops.OpContent), the one shared request builder (deploykit.OwnedContentRequestFor), and one candy projection (deploykit.ProjectCandy). No rule is restated in a second place.../source, no special-cased kind word.box build/box validatebehave as documented, and the skill install is now real.git statusclean before branching; branch off freshorigin/main(0 behind before this push); PR-only, no force-push, no hook bypass.2026.324.2014; this repo's gate ran on this exact commit against the PUBLISHED specv0.2026325.913and sdkv0.2026325.921.validate_skills.goand its private decode/filter helpers are deleted, not kept beside the dispatch.Change classification
Breaking change + rollback: a skill-node diagnostic is reported as
kind "skill": skill "<n>": …where it used to readskills: skill "<n>": …. The diagnostic's text after the prefix is unchanged, so every substring thecheck-box-localbed asserts still matches. Rollback: revert this PR and its pin bump; there is no data change.Filed issues
local:/vm:deploys install no owned content yet (claimed).#SkillInput/#Skillstill declare in-line body fields.skill:nodes never reach the composing project.Part of opencharly/sdk#598 · contract opencharly/spec#415 · kit opencharly/sdk#607 · 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)