diff --git a/openclaw-plugins/atocore-capture/handler.js b/openclaw-plugins/atocore-capture/handler.js index 1a87ffb..e9b32a3 100644 --- a/openclaw-plugins/atocore-capture/handler.js +++ b/openclaw-plugins/atocore-capture/handler.js @@ -98,6 +98,14 @@ export default definePluginEntry({ lastPrompt = null; return; } + // Filter cron-initiated agent runs. OpenClaw's scheduled tasks fire + // agent sessions with prompts that begin "[cron: ...]". These are + // automated polls (DXF email watcher, calendar reminders, etc.), not + // real user turns — they're pure noise in the AtoCore capture stream. + if (prompt.startsWith("[cron:")) { + lastPrompt = null; + return; + } lastPrompt = { text: prompt, sessionKey: ctx?.sessionKey || "", ts: Date.now() }; log.info("atocore-capture:prompt_buffered", { len: prompt.length }); });