-
-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
Problem
When a Discord message is received, clawdbot fails with:
[discord] handler failed: Error: Missing workspace template: AGENTS.md
(/nix/store/.../lib/clawdbot/docs/reference/templates/AGENTS.md).
Ensure docs/reference/templates are packaged.
Root Cause
The docs/reference/templates/ directory is not included in the clawdbot-gateway package. This is similar to issue #14 (extensions not bundled).
Files missing
The gateway-install.sh script doesn't copy:
docs/reference/templates/AGENTS.mddocs/reference/templates/SOUL.mddocs/reference/templates/TOOLS.md- And other template files
Suggested Fix
Add to gateway-install.sh:
cp -r docs "$out/lib/clawdbot/"Or selectively:
mkdir -p "$out/lib/clawdbot/docs/reference"
cp -r docs/reference/templates "$out/lib/clawdbot/docs/reference/"Workaround
Currently investigating if there's an env var to override template path.
Metadata
Metadata
Assignees
Labels
No labels