Repository navigation
Description
What
Six live comments in charly/ still name the contract packages by their pre-2026.210 module paths: sdk/schema/*.cue (four sites) and sdk/schemaconcat (one), plus one more sdk/schema/… path. The schema and the concatenation contract have lived in github.com/opencharly/spec since CHANGELOG/2026.210.0644.md moved sdk/{spec,proto,schema,schemaconcat} → spec/{spec,proto,schema,schemaconcat}; the Go code was repointed then, the comments were not.
Evidence
$ grep -rn 'sdk/schemaconcat\|sdk/schema\b' --include='*.go' --include='*.md' charly/ .agents/ | grep -v CHANGELOG
charly/check_kit_adapter.go:173:// concatenates here via the public sdk/schemaconcat over the conventional "schema"
charly/provider_checkenv.go:20:// CUE-sourced (K1-unblock W3 Unit B, sdk/schema/checkresult.cue's #CheckEnv) — the SAME
charly/reserved_registry.go:7:// sdk/schema/*.cue); this file is the SINGLE place that proves every
charly/reserved_registry.go:18:// from sdk/schema/*.cue. Every loader consumer reads these; no hand-maintained
charly/reserved_registry.go:40:// from sdk/schema/*.cue. NEVER hand-edit a parallel copy; change the schema and
charly/vm_plugin_client.go:24:// spec.VmDisplayEndpoint / spec.VmResolveResult) are now CUE-sourced (sdk/schema/vmclient.cue) —
grep -rn 'sdk/schemaconcat' charly/go.mod is empty, and github.com/opencharly/spec/schemaconcat is the package that exists — so every one of these names a path that resolves to nothing.
Why it matters
A reader following one of these pointers lands on a package that no longer exists, in the file that documents the concat contract's own caller (the kit-verb adapter) and the schema's generated-word lists (reserved_registry.go). The code is correct; only the signposts are wrong.
RCA — the missed control
The sdk → spec move was a REPO move whose Go imports were mechanical (compile-checked), while its prose references were not: nothing in that cutover's control set read comments, and R5's claim-keyed grep is keyed on the retired IDENTIFIER (schemaconcat), which still matches here with the wrong module prefix — so a grep keyed on the bare package name passes over a stale prefix.
Root fix
One sweep, retargeting the six comments to spec/…. The candidate control is a repo-wide grep keyed on the FULL import path shape (sdk/<pkg>) rather than the package name alone, in the same family as scripts/check-pin-verb-scope.py.
Found while landing the concat → package cutover's consumer leg (opencharly/charly, spec schema composed by module import); it is unrelated to that change and separable from it.
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
Activity
aitrawog commentedon Nov 9, 2026
Additional evidence, found while checking this issue's own list against the code — the
check_kit_adapter.go:173site is stale in a SECOND way, not just the module prefix.The comment says "The candy passes its RAW schema embed.FS + InputDefs; charly concatenates here via the public sdk/schemaconcat over the conventional
schemasubdir". The function below it does no such thing:registerCompiledCheckVerbreadscaps.GetSchemaCue()offmeta.Describe(...)— the kit candy's ownBuildCapabilitiesconcatenates its schema SERVE-SIDE (in the plugin/SDK), and charly only receives the resultingschema_cuetext. So the comment also names a concat step that moved out of charly.The fix for this site is therefore two edits: the module prefix, and the claim itself (the candy's
NewMeta/BuildCapabilitiesis where the concatenation happens).Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
aitrawog commentedon Nov 9, 2026
Third site, and it is the same claim as the
check_kit_adapter.goone — in this repo's own authored skill prose, which is why it is worth recording separately from the stale path..agents/skills/plugin/references/authoring-recipes.md(the kit-verb recipe, COMPILED-IN bullet) saysregisterCompiledCheckVerb"… convertskit.Result→CheckResult), concatenates the candy's schema (via the publicspec/schemaconcat), and registers through the SAMERegisterBuiltinPluginUnitgate". The function readscaps.GetSchemaCue()offmeta.Describe(...); the concatenation happens SERVE-SIDE, in the kit candy's ownNewMeta/BuildCapabilities— which the SAME file says correctly a few dozen lines above ("BuildCapabilitiesconcatenates + compiles the …"). So this repo states both the true and the false version of one mechanism.No stale module path here — the package named is the right one after the 2026.210 move — so this one is prose-only: the verb belongs to the candy's
NewMeta, not to charly's registration.Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
feat(schema): compose the base document schema by importing the spec …