Summary
When a subagent is triggered via binding (e.g., Feishu group message), the subagent does not load its AGENTS.md configuration from the workspace directory. This causes the subagent to behave differently compared to manual spawn.
Steps to reproduce
Create a subagent with a workspace directory containing AGENTS.md
Configure a binding in openclaw.json to trigger this subagent when a message is received in a Feishu group
Send a message in the Feishu group to trigger the subagent
Observe: The subagent responds with chat-like messages instead of following AGENTS.md instructions
Expected behavior
Subagent should load AGENTS.md from its workspace directory when triggered via binding
Should behave the same as manual sessions_spawn
Actual behavior
Workaround:
Manual spawn with detailed instructions = Works correctly
Binding trigger = Does not load AGENTS.md, responds incorrectly
OpenClaw version
2026.2.16
Operating system
ubuntu 24
Install method
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response
Summary
When a subagent is triggered via binding (e.g., Feishu group message), the subagent does not load its AGENTS.md configuration from the workspace directory. This causes the subagent to behave differently compared to manual spawn.
Steps to reproduce
Create a subagent with a workspace directory containing AGENTS.md
Configure a binding in openclaw.json to trigger this subagent when a message is received in a Feishu group
Send a message in the Feishu group to trigger the subagent
Observe: The subagent responds with chat-like messages instead of following AGENTS.md instructions
Expected behavior
Subagent should load AGENTS.md from its workspace directory when triggered via binding
Should behave the same as manual sessions_spawn
Actual behavior
Workaround:
Manual spawn with detailed instructions = Works correctly
Binding trigger = Does not load AGENTS.md, responds incorrectly
OpenClaw version
2026.2.16
Operating system
ubuntu 24
Install method
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response