Skip to content

chore: docs: config node in charly.yml + pin plugin-harness-kind (docs kind admission) - #583

Merged
github-actions[bot] merged 4 commits into
mainfrom
feat/docs-config-node
Sep 11, 2026
Merged

github-actions[bot] merged 4 commits into
mainfrom
feat/docs-config-node

Conversation

@atrawog

@atrawog atrawog commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Lands the docs: config node in charly/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.

How tested

From the final committed tree (branch feat/docs-config-node @ 3f5927d, clean worktree):

  • The previously-failing check — go test ./internal/pluginsgen/ -run TestPluginsGenReproducible — now PASSES (candy/plugin-harness-kind/v0.2026254.600 resolves; 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.
  • Loader materialization suite on the final head: 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 ./... and go vet ./... exit 0; gofmt -l charly tools clean.
  • CI's own go check on the final head: success (run 103165382479).

Rulebook compliance

  • R3 — no special-casing: the docs word is admitted through the identical compiled-in ClassKind path as skill/hook/marketplace.
  • Pin discipline — only merged refs: all three bumps (spec v0.2026254.503, sdk v0.2026254.523, plugin-harness-kind v0.2026254.600) resolve to org-published merged tags, verified against the origin remotes.
  • Single-purpose cutover: the config node + its dependency pins, nothing else; CHANGELOG history untouched.
  • PR-only landing via the org validator; no direct-main push, no force-push.

Change classification

  • Change class: configuration (docs: node) + dependency pins + mirror tests.
  • Verification gate: module build/vet + the loader materialization suite (previously-failing check now green on the final head).
  • Attribution tier: analysed on a live system — the loader path executed live with retained output on the final head (3f5927d); the full docs regeneration against the real corpus is verified in the opencharly/docs landing.

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (analysed on a live system)

…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).
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: 3f5927d8cbaa5dc179b16c612f1252516a7334ad (branch: feat/docs-config-node)

Change class: config (docs: node in charly.yml) + dependency pins (spec/sdk/plugin-harness-kind) + mirror tests.

Security screen: PASS — no secrets, no exfiltration, no weakened guardrails, no scope mismatch. Dependency bumps are to opencharly org merged tags.

Blocks

  1. A1 / rule 4 — body's go.mod accounting contradicts the CURRENT diff. The body's Summary describes the pins as sdk v0.2026253.1947 → the merged sdk (v0.2026254.440-0.20260911...-eb7702068d33) and plugin-harness-kind v0.2026237.1423 → the pinned admission commit (v0.2026242.530-0.20260911...-8170c62b). The CURRENT diff shows sdk v0.2026254.523 and plugin-harness-kind v0.2026254.600 — neither pseudo-version exists in the diff. The final commit 3f5927d8 ("re-pin ... to merged tags") superseded the intermediate pins the body describes. Update the body's pin accounting to the merged tags actually in the diff.

  2. A1 / R10 — test evidence predates the final commit. The "How tested" section states the run was "From the pushed tree (branch feat/docs-config-node @ ed32a2c...)" — but the head is now 3f5927d8, which re-pinned sdk + plugin-harness-kind + spec after that test run. The re-pin commit message itself says "go check fix", i.e. the intermediate pins failed a check and were changed. The pasted suite pass (37.5s, go build/vet exit 0) therefore covers a dependency state that is NOT the state shipping in this PR. Re-run the loader materialization suite (TestEmbeddedDefaults, docs/skill kind tests, TestRunPluginKind, TestCueKinds, go build/vet) against the final head 3f5927d8 and paste the output, and confirm the final merged-tag state is what was verified.

Verdict: BLOCK


ollama/deepseek-v4-flash — action-review.

View action run

@github-actions

Copy link
Copy Markdown
Contributor

[step: review]

Review — BLOCK

Head SHA: 3f5927d8cbaa5dc179b16c612f1252516a7334ad (branch: feat/docs-config-node)

Change class: config (docs: node in charly.yml) + dependency pins (spec/sdk/plugin-harness-kind) + mirror tests.

Security screen: PASS — no secrets, no exfiltration, no weakened guardrails, no scope mismatch. Dependency bumps are to opencharly org merged tags.

Blocks

  1. A1 / rule 4 — body's go.mod accounting contradicts the CURRENT diff. The body's Summary describes the pins as sdk v0.2026253.1947 → the merged sdk (v0.2026254.440-0.20260911...-eb7702068d33) and plugin-harness-kind v0.2026237.1423 → the pinned admission commit (v0.2026242.530-0.20260911...-8170c62b). The CURRENT diff shows sdk v0.2026254.523 and plugin-harness-kind v0.2026254.600 — neither pseudo-version exists in the diff. The final commit 3f5927d8 ("re-pin ... to merged tags") superseded the intermediate pins the body describes. Update the body's pin accounting to the merged tags actually in the diff.

  2. A1 / R10 — test evidence predates the final commit. The "How tested" section states the run was "From the pushed tree (branch feat/docs-config-node @ ed32a2c...)" — but the head is now 3f5927d8, which re-pinned sdk + plugin-harness-kind + spec after that test run. The re-pin commit message itself says "go check fix", i.e. the intermediate pins failed a check and were changed. The pasted suite pass (37.5s, go build/vet exit 0) therefore covers a dependency state that is NOT the state shipping in this PR. Re-run the loader materialization suite (TestEmbeddedDefaults, docs/skill kind tests, TestRunPluginKind, TestCueKinds, go build/vet) against the final head 3f5927d8 and paste the output, and confirm the final merged-tag state is what was verified.

Verdict: BLOCK


ollama/deepseek-v4-flash — action-review.

View action run

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 3f5927d8cbaa5dc179b16c612f1252516a7334ad (branch: feat/docs-config-node)

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:

  • github-actions[bot] BLOCK (×2, duplicate) — both findings stale-superseded. Finding 1 (body pin accounting contradicts diff) no longer holds: the CURRENT body states spec v0.2026253.1700 → v0.2026254.503; sdk v0.2026253.1947 → v0.2026254.523; plugin-harness-kind v0.2026237.1423 → v0.2026254.600, which matches the CURRENT diff exactly. Finding 2 (test evidence predates final commit) no longer holds: the CURRENT body states the run was "From the final committed tree (branch feat/docs-config-node @ 3f5927d, clean worktree)" — the head — and names the previously-failing TestPluginsGenReproducible now passing plus the loader suite, go build/vet exit 0, and CI go check success on the final head. Both prior claims were based on an older body superseded by the re-pin commit.

Placement: CORRECT — the docs: node is config in charly.yml; the docs ClassKind admission lives in the plugin-harness-kind candy (capability in a plugin, not core); no alias growth, no new core→sdk-kit import, no Legacy identifiers.

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 TestDocsKind_CompiledInStackedNodes / TestDocsKind_RejectsInvalidBody (the reject test fails without the schema gate); SDD N/A (no cue/proto/generated-file changes); ADE N/A (no new candy in this diff).

Verdict: PASS


ollama/deepseek-v4-flash — action-review.

View action run

@github-actions

Copy link
Copy Markdown
Contributor

[step: review]

Review — PASS

Head SHA: 3f5927d8cbaa5dc179b16c612f1252516a7334ad (branch: feat/docs-config-node)

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:

  • github-actions[bot] BLOCK (×2, duplicate) — both findings stale-superseded. Finding 1 (body pin accounting contradicts diff) no longer holds: the CURRENT body states spec v0.2026253.1700 → v0.2026254.503; sdk v0.2026253.1947 → v0.2026254.523; plugin-harness-kind v0.2026237.1423 → v0.2026254.600, which matches the CURRENT diff exactly. Finding 2 (test evidence predates final commit) no longer holds: the CURRENT body states the run was "From the final committed tree (branch feat/docs-config-node @ 3f5927d, clean worktree)" — the head — and names the previously-failing TestPluginsGenReproducible now passing plus the loader suite, go build/vet exit 0, and CI go check success on the final head. Both prior claims were based on an older body superseded by the re-pin commit.

Placement: CORRECT — the docs: node is config in charly.yml; the docs ClassKind admission lives in the plugin-harness-kind candy (capability in a plugin, not core); no alias growth, no new core→sdk-kit import, no Legacy identifiers.

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 TestDocsKind_CompiledInStackedNodes / TestDocsKind_RejectsInvalidBody (the reject test fails without the schema gate); SDD N/A (no cue/proto/generated-file changes); ADE N/A (no new candy in this diff).

Verdict: PASS


ollama/deepseek-v4-flash — action-review.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) September 11, 2026 06:15
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 3f5927d8cbaa5dc179b16c612f1252516a7334ad (branch: feat/docs-config-node)

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:

  • github-actions[bot] BLOCK (×2, duplicate) — both findings stale-superseded. Finding 1 (body pin accounting contradicts diff) no longer holds: the CURRENT body states spec v0.2026253.1700 → v0.2026254.503; sdk v0.2026253.1947 → v0.2026254.523; plugin-harness-kind v0.2026237.1423 → v0.2026254.600, matching the CURRENT diff exactly. Finding 2 (test evidence predates final commit) no longer holds: the CURRENT body states the run was "From the final committed tree (branch feat/docs-config-node @ 3f5927d, clean worktree)" — the head — and names the previously-failing TestPluginsGenReproducible now passing plus the loader suite, go build/vet exit 0, and CI go check success on the final head. Both prior claims were based on an older body superseded by the re-pin commit.
  • github-actions[bot] PASS (×2, duplicate) — consistent with my independent re-derivation.

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 TestDocsKind_CompiledInStackedNodes / TestDocsKind_RejectsInvalidBody (the reject test fails without the schema gate); R3 no special-casing (docs admitted via the identical compiled-in ClassKind path as skill/hook/marketplace); placement CORRECT (docs node is config in charly.yml, docs ClassKind admission lives in the plugin-harness-kind candy); SDD/ADE N/A (no cue/proto/generated-file changes, no new candy in this diff).

Verdict: PASS


ollama/deepseek-v4-flash — action-review.

View action run

@github-actions

Copy link
Copy Markdown
Contributor

[step: review]

Review — PASS

Head SHA: 3f5927d8cbaa5dc179b16c612f1252516a7334ad (branch: feat/docs-config-node)

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:

  • github-actions[bot] BLOCK (×2, duplicate) — both findings stale-superseded. Finding 1 (body pin accounting contradicts diff) no longer holds: the CURRENT body states spec v0.2026253.1700 → v0.2026254.503; sdk v0.2026253.1947 → v0.2026254.523; plugin-harness-kind v0.2026237.1423 → v0.2026254.600, matching the CURRENT diff exactly. Finding 2 (test evidence predates final commit) no longer holds: the CURRENT body states the run was "From the final committed tree (branch feat/docs-config-node @ 3f5927d, clean worktree)" — the head — and names the previously-failing TestPluginsGenReproducible now passing plus the loader suite, go build/vet exit 0, and CI go check success on the final head. Both prior claims were based on an older body superseded by the re-pin commit.
  • github-actions[bot] PASS (×2, duplicate) — consistent with my independent re-derivation.

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 TestDocsKind_CompiledInStackedNodes / TestDocsKind_RejectsInvalidBody (the reject test fails without the schema gate); R3 no special-casing (docs admitted via the identical compiled-in ClassKind path as skill/hook/marketplace); placement CORRECT (docs node is config in charly.yml, docs ClassKind admission lives in the plugin-harness-kind candy); SDD/ADE N/A (no cue/proto/generated-file changes, no new candy in this diff).

Verdict: PASS


ollama/deepseek-v4-flash — action-review.

View action run

@github-actions
github-actions Bot merged commit 34ff019 into main Sep 11, 2026
4 of 5 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Sep 11, 2026
github-actions Bot pushed a commit that referenced this pull request Sep 11, 2026
… 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]>
@aitrawog
aitrawog deleted the feat/docs-config-node branch September 25, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant