Repository navigation
docs: relocate the docs: config node to the top-level charly.yml (the generator's config source) - #586
Conversation
… 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.
Review — BLOCKHead SHA: Change class: configuration relocation (docs node) + test fixture alignment. Blocks
Verdict: BLOCK ollama/deepseek-v4-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: configuration relocation (docs node) + test fixture alignment. Blocks
Verdict: BLOCK ollama/deepseek-v4-flash — action-review. |
Review — BLOCKHead SHA: Change class: configuration relocation (docs node) + test fixture alignment. Blocks
Comments considered
Verdict: BLOCK ollama/deepseek-v4-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: configuration relocation (docs node) + test fixture alignment. Blocks
Comments considered
Verdict: BLOCK ollama/deepseek-v4-flash — action-review. |
Review — PASSHead SHA: Security screen: PASS — config relocation only; no secrets, no exfiltration, no guardrail changes, no supply-chain edits. Checklist: All applicable rules PASS or NA. Prior BLOCK findings re-derived against the CURRENT body/diff and resolved:
Verified from diff + body: node values in the top-level Verdict: PASS ollama/deepseek-v4-flash — action-review. |
[step: review]Review — PASSHead SHA: Security screen: PASS — config relocation only; no secrets, no exfiltration, no guardrail changes, no supply-chain edits. Checklist: All applicable rules PASS or NA. Prior BLOCK findings re-derived against the CURRENT body/diff and resolved:
Verified from diff + body: node values in the top-level Verdict: PASS ollama/deepseek-v4-flash — action-review. |
Summary
Relocates the
docs:config node from the module-levelcharly/charly/charly.ymlto the top-levelcharly.ymlof the charly repo — the location the docs generator (readDocsConfig) and the runtime project loader actually read. The module-level placement was never consulted, so the config-driven generator fell back to its baked default and aborted withread go.mod charly/charly/go.mod: no such file(ENOENT; discovered live, RCA'd, spike-proven — appending the node at the top level passes the go.mod gate).compiled_plugins_path: charly/charly.yml,go_mod_path: charly/go.mod,release_repos: [plugin-review, plugin-pipeline],extra_repos: [plugin-gh, plugin-docs](this PR adds plugin-docs so the generator self-documents — thedocscommand word + plugin-docs page now emit), projections + hand_authored defaults.harness_kind_load_test.go.How tested — END-TO-END generation against the relocated node, in this PR (A2)
Real output from the final committed tree (branch feat/docs-node-top-level @ 8548151...):
Emission checks on the tree: reference/cli = 58 top-level words incl. docs, check, deploy, build, vm, review, pipeline, gh, cmd, doctor; reference/providers.md carries the docs word + plugin-docs row (162 provider words); recipes 319/319 of the corpus (963 pages incl. references children); index.md regenerated with 'The wonky DevOps tool for you and your agents.' in description, head title, and hero.tagline; the two concepts pages link the exact emitted plugin-example-command page (version-qualified).
Rulebook compliance
Change classification
Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (analysed on a live system)