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.
This commit is contained in:
1 parent
a2b0ab3d7e
commit
ca0cef4fb7
1 file changed
+3
-2
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user