From ca0cef4fb7103913ad6069938833bbfac934ec9a Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Thu, 3 Sep 2026 04:07:37 +1000 Subject: [PATCH] docs(modules): fix example install path; ModuleDir has no default The example log module's install comment claimed a default module_dir of ~/.config/archie/modules. ModuleDir defaults to empty (internal/config), and the canonical example path is ~/.local/share/archie/modules, consistent with plugin_dir/work_dir/skills_dir in config.example.toml. Recomment to point at config.example.toml's module_dir and drop the overclaim. Docs audit finding (.crew/reports/docs-audit.md): no live architecture doc contradicts today's changes; Module-family documentation in ARCHITECTURE.md is deferred pending sign-off and parity with the Memory precedent. --- examples/modules/log.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/modules/log.go b/examples/modules/log.go index 419ac6050..34080bad0 100644 --- a/examples/modules/log.go +++ b/examples/modules/log.go @@ -6,8 +6,9 @@ // -> Yaegi load -> ModuleRegistry -> dispatch mechanism end to end without // needing an idempotency answer. // -// Install: copy this file into the configured module_dir (default -// ~/.config/archie/modules) and restart archied. The daemon evaluates it +// Install: copy this file into the configured module_dir (see module_dir +// in config.example.toml, e.g. ~/.local/share/archie/modules) and restart +// archied. The daemon evaluates it // with Yaegi and registers kind "log". The //go:build ignore tag is a // comment to the interpreter, so this file loads normally; the Go toolchain // skips it, so it may live inside the module tree.