Bug Description
Cron jobs running in isolated sessionTarget fail with error:
Error: Missing workspace template: AGENTS.md (/usr/lib/node_modules/openclaw/docs/reference/templates/AGENTS.md). Ensure docs/reference/templates are packaged.
The file AGENTS.md does exist at the path shown in the error:
$ ls -la /usr/lib/node_modules/openclaw/docs/reference/templates/AGENTS.md
-rw-r--r-- 1 root root 2.1K Feb 11 19:00 /usr/lib/node_modules/openclaw/docs/reference/templates/AGENTS.md
Affected Jobs
Jobs without explicit model in payload (defaulting to system default) fail. Jobs with model: 'kimi' or model: 'ollama/qwen2.5-1.5b-instruct' work correctly.
Failing jobs:
- pieter-interface-prd-generate
- pieter-interface-implement
- pieter-skills-discovery-cto
- hormozi-skills-discovery-content
- x-trends-openclaw
- hormozi-content-factory-daily
Working jobs (same isolated target):
- pieter-auto-compound (model: kimi)
- health-check-hourly-silent (model: ollama/qwen2.5-1.5b-instruct)
Environment
- OpenClaw version: 2026.2.9
- OS: Ubuntu 24.04 LTS
- Node.js: v22.22.0
Steps to Reproduce
- Create a cron job with:
sessionTarget: 'isolated'
- No
model specified in payload (or model: 'default')
- Let the job run
- Job fails immediately with AGENTS.md template error
Workaround
Specify model: 'kimi' (or another non-default model) in the payload — these don't require the AGENTS.md template.
Expected Behavior
Cron isolated jobs should find and use the AGENTS.md template when using the default model, or not require it if it's not needed for operation.
Additional Context
This started happening after the 2026.2.9 update. The AGENTS.md file was temporarily missing during the update (causing widespread failures), but now exists and the error persists for isolated jobs with default model.
Bug Description
Cron jobs running in
isolatedsessionTarget fail with error:The file AGENTS.md does exist at the path shown in the error:
Affected Jobs
Jobs without explicit
modelin payload (defaulting to system default) fail. Jobs withmodel: 'kimi'ormodel: 'ollama/qwen2.5-1.5b-instruct'work correctly.Failing jobs:
Working jobs (same isolated target):
Environment
Steps to Reproduce
sessionTarget: 'isolated'modelspecified in payload (or model: 'default')Workaround
Specify
model: 'kimi'(or another non-default model) in the payload — these don't require the AGENTS.md template.Expected Behavior
Cron isolated jobs should find and use the AGENTS.md template when using the default model, or not require it if it's not needed for operation.
Additional Context
This started happening after the 2026.2.9 update. The AGENTS.md file was temporarily missing during the update (causing widespread failures), but now exists and the error persists for isolated jobs with default model.