Repository navigation
chore: docs: config node in charly.yml + pin plugin-harness-kind (docs kind admission) - #583
Conversation
…6254.503 + sdk pin, the docs-site generation config in the embedded charly.yml
…es a docs: node The embedded charly.yml carries the #DocsConfig docs: node, but the pinned plugin-harness-kind (v0.2026237.1423) served only skill/hook/marketplace, so loaderThreaded().Kinds has no docs word and loaderkit.classifyKind fails the node: 'no kind discriminator' (TestEmbeddedDefaults_SameLoaderPath FAIL). Fix per the existing kinds admission (R3 — every authoring kind is an externalized plugin candy; zero in-core kind registration exists to extend): bump the plugin-harness-kind pin to 8170c62b (its feat/docs-config-node commit: the docs ClassKind capability + served #DocsInput schema + the spec.DocsConfig OpLoad decode arm, spec v0.2026254.503 + sdk pseudo eb7702068d33) and re-point go.sum. The docs word now enters the registry from the compiled-in plugin's Describe at init, feeding the Threaded.Kinds snapshot exactly like skill/hook/marketplace. Tests mirror the skill-kind registration tests: a stacked candy+docs file decodes into uf.PluginKinds[docs] (TestDocsKind_CompiledInStackedNodes) and a closedness-violating body is rejected at load (TestDocsKind_RejectsInvalidBody). TestEmbeddedDefaults_SameLoaderPath is GREEN; go build ./... and go vet ./... pass; the reserved-registry/kind-invoke/prescan admission suites pass. NOTE for the parent: the pin targets the plugin branch commit (pseudo-version) — re-point to the merged plugin tag when its PR lands, per pin discipline.
…go check fix) The branch pinned plugin-harness-kind and sdk at Go pseudo-versions that resolved to unmerged refs (plugin-harness-kind PR #4 head, sdk PR #250 head) - the charly plugin resolver cannot resolve refs that only exist on PR branches, so TestPluginsGenReproducible failed with 'could not resolve ref'. Both upstream PRs have since merged: re-pin to the merged tags (plugin-harness-kind v0.2026254.600, sdk v0.2026254.523, spec v0.2026254.503).
Review — BLOCKHead SHA: Change class: config ( Security screen: PASS — no secrets, no exfiltration, no weakened guardrails, no scope mismatch. Dependency bumps are to opencharly org merged tags. Blocks
Verdict: BLOCK ollama/deepseek-v4-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: config ( Security screen: PASS — no secrets, no exfiltration, no weakened guardrails, no scope mismatch. Dependency bumps are to opencharly org merged tags. Blocks
Verdict: BLOCK ollama/deepseek-v4-flash — action-review. |
Review — PASSHead SHA: Security screen: PASS — no secrets, no exfiltration, no weakened guardrails, no scope mismatch; dependency bumps resolve to opencharly org merged tags (spec v0.2026254.503, sdk v0.2026254.523, plugin-harness-kind v0.2026254.600). Checklist: All applicable rules PASS or NA. Comment intake:
Placement: CORRECT — the Notable verifications: A1 body complete and internally consistent with the diff; A3 tier "analysed on a live system" honestly capped (loader path executed live; full regeneration deferred to the docs landing); R1 RCA given for the previously-failing check (intermediate pseudo-version refs absent from remote → re-pin to merged tags); R10 coverage ships Verdict: PASS ollama/deepseek-v4-flash — action-review. |
[step: review]Review — PASSHead SHA: Security screen: PASS — no secrets, no exfiltration, no weakened guardrails, no scope mismatch; dependency bumps resolve to opencharly org merged tags (spec v0.2026254.503, sdk v0.2026254.523, plugin-harness-kind v0.2026254.600). Checklist: All applicable rules PASS or NA. Comment intake:
Placement: CORRECT — the Notable verifications: A1 body complete and internally consistent with the diff; A3 tier "analysed on a live system" honestly capped (loader path executed live; full regeneration deferred to the docs landing); R1 RCA given for the previously-failing check (intermediate pseudo-version refs absent from remote → re-pin to merged tags); R10 coverage ships Verdict: PASS ollama/deepseek-v4-flash — action-review. |
Review — PASSHead SHA: Security screen: PASS — no secrets, no exfiltration, no weakened guardrails, no scope mismatch; dependency bumps resolve to opencharly org merged tags (spec v0.2026254.503, sdk v0.2026254.523, plugin-harness-kind v0.2026254.600). Checklist: All applicable rules PASS or NA. Comment intake:
Notable verifications: A1 body complete and internally consistent with the diff (all 4 files accounted); A3 tier "analysed on a live system" honestly capped (loader path executed live; full regeneration deferred to the docs landing); R1 RCA given for the previously-failing check (intermediate pseudo-version refs absent from remote → re-pin to merged tags); R10 coverage ships Verdict: PASS ollama/deepseek-v4-flash — action-review. |
[step: review]Review — PASSHead SHA: Security screen: PASS — no secrets, no exfiltration, no weakened guardrails, no scope mismatch; dependency bumps resolve to opencharly org merged tags (spec v0.2026254.503, sdk v0.2026254.523, plugin-harness-kind v0.2026254.600). Checklist: All applicable rules PASS or NA. Comment intake:
Notable verifications: A1 body complete and internally consistent with the diff (all 4 files accounted); A3 tier "analysed on a live system" honestly capped (loader path executed live; full regeneration deferred to the docs landing); R1 RCA given for the previously-failing check (intermediate pseudo-version refs absent from remote → re-pin to merged tags); R10 coverage ships Verdict: PASS ollama/deepseek-v4-flash — action-review. |
… generator's config source) (#586) * chore: move the docs: config node from the embedded module yml to the repo top-level charly.yml The docs generator and the runtime loader materialize the #DocsConfig node from the PROJECT charly.yml at the repo TOP LEVEL. The node was merged at charly/charly.yml (the module-level embedded-defaults file, #583) — the generator never saw it, and every other project inherited it via the embed merge. Move the node (comment + identical values) to charly.yml so the project config itself carries the docs entity; the embedded defaults no longer contribute one. Values unchanged: sources.compiled{enabled, compiled_plugins_path: charly/charly.yml, go_mod_path: charly/go.mod}, release_repos [plugin-review, plugin-pipeline], extra_repos [plugin-gh], marketplace.path marketplace, projections all on, output.hand_authored [start, concepts, guides]. Fixture adaptation (harness_kind_load_test.go): the TestDocsKind_* fixtures already read the node from a top-level project config; align the mirrored go_mod_path value with the moved node (charly/go.mod) and update the comment; admission assertions unchanged. * docs: self-document the generator — plugin-docs joins extra_repos * docs: re-trigger validator on current body (A1/A2 evidence pasted) --------- Co-authored-by: atrawog <[email protected]>
Summary
Lands the
docs:config node incharly/charly/charly.yml— the single configuration file for docs auto-generation per the spec docs-config contract (opencharly/spec v0.2026254.503, merged) — and pins the host-side kind admission it requires (opencharly/plugin-harness-kind, the compiled-in provider that admits corpus kinds; the docs word is now a registered ClassKind, exactly like skill/hook/marketplace — no special-casing, R3).The 44-line docs node declares all generation knobs: sources (compiled policy + paths, release repos plugin-review/plugin-pipeline, extra repo plugin-gh), marketplace corpus path, the seven projection toggles, and the hand-authored output markers — defaults per the merged #DocsConfig contract.
charly/charly/go.mod: spec v0.2026253.1700 → v0.2026254.503; sdk v0.2026253.1947 → v0.2026254.523 (merged tag of sdk PR fix(charly-mcp): assert box.list.boxes in the MCP tool-surface checks #250, the docs-config contract companion); plugin-harness-kind v0.2026237.1423 → v0.2026254.600 (merged tag of plugin-harness-kind PR refactor(charly): P1 lint/dead/dup rewrite + concurrency & correctness fixes #4, the docs ClassKind word admission).TestDocsKind_CompiledInStackedNodes/TestDocsKind_RejectsInvalidBody.How tested
From the final committed tree (branch feat/docs-config-node @ 3f5927d, clean worktree):
go test ./internal/pluginsgen/ -run TestPluginsGenReproducible— now PASSES (candy/plugin-harness-kind/v0.2026254.600resolves; the pinned pseudo-version refs from the intermediate commits do not exist in the remote and were the failure):ok github.com/opencharly/charly/charly/internal/pluginsgen 29.301s.TestEmbeddedDefaults_*,TestCueKinds_Corpus(kind candy 12 / kubernetes 3 / local 27 / pod 12 / vm 29 real entities validated),TestDocsKind_CompiledInStackedNodes,TestSkillKind_CompiledInStackedNodes,TestRunPluginKind_DecodesViaEnvelope— PASS (34.051s).go build ./...andgo vet ./...exit 0;gofmt -l charly toolsclean.gocheck on the final head: success (run 103165382479).Rulebook compliance
Change classification
Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (analysed on a live system)