diff --git a/qa/scenarios/memory/memory-dreaming-sweep.md b/qa/scenarios/memory/memory-dreaming-sweep.md index a54d405ace7..69b6c281768 100644 --- a/qa/scenarios/memory/memory-dreaming-sweep.md +++ b/qa/scenarios/memory/memory-dreaming-sweep.md @@ -96,7 +96,7 @@ steps: - ref: env - set: managed value: - expr: "jobs.find((job) => job.name === 'Memory Dreaming Promotion' && job.payload?.kind === 'systemEvent' && job.payload.text === '__openclaw_memory_core_short_term_promotion_dream__')" + expr: "jobs.find((job) => job.description?.includes('[managed-by=memory-core.short-term-promotion]') || (job.name === 'Memory Dreaming Promotion' && ((job.payload?.kind === 'systemEvent' && job.payload.text === '__openclaw_memory_core_short_term_promotion_dream__') || (job.payload?.kind === 'agentTurn' && job.payload.message === '__openclaw_memory_core_short_term_promotion_dream__' && job.sessionTarget === 'isolated' && job.payload.lightContext === true && job.delivery?.mode === 'none'))))" - assert: expr: "Boolean(managed?.id)" message: managed dreaming cron job missing after enablement diff --git a/qa/scenarios/scheduling/cron-natural-fire-no-duplicate.md b/qa/scenarios/scheduling/cron-natural-fire-no-duplicate.md index 41cbc69a4d0..76c9e6ae5f2 100644 --- a/qa/scenarios/scheduling/cron-natural-fire-no-duplicate.md +++ b/qa/scenarios/scheduling/cron-natural-fire-no-duplicate.md @@ -64,6 +64,7 @@ steps: wakeMode: now payload: kind: agentTurn + timeoutSeconds: 90 message: expr: "config.reminderPromptTemplate.replace('{{marker}}', cronMarker)" delivery: