Bug Report
Summary
The memory-core short-term-promotion cron job fails during narrative session cleanup because the isolated agentTurn run lacks the operator.admin scope.
Observed Behavior
Every day at ~03:00, the dream promotion cron runs and logs:
[plugins] memory-core: narrative session cleanup failed for light phase: missing scope: operator.admin
[plugins] memory-core: narrative session cleanup failed for rem phase: missing scope: operator.admin
[plugins] memory-core: narrative session cleanup failed for deep phase: missing scope: operator.admin
[plugins] memory-core: dreaming promotion complete (workspaces=1, candidates=10, applied=3, failed=0).
The promotion itself succeeds, but the narrative cleanup step fails every time.
Expected Behavior
The cron job should either:
- Automatically carry the required
operator.admin scope for cleanup operations, or
- Document that the scope needs to be explicitly configured, or
- Gracefully skip cleanup when the scope is unavailable (with a clear one-time warning, not repeated errors)
Environment
- OpenClaw: 2026.5.6
- memory-core: bundled
- Cron sessionTarget: isolated
Bug Report
Summary
The memory-core short-term-promotion cron job fails during narrative session cleanup because the isolated agentTurn run lacks the
operator.adminscope.Observed Behavior
Every day at ~03:00, the dream promotion cron runs and logs:
The promotion itself succeeds, but the narrative cleanup step fails every time.
Expected Behavior
The cron job should either:
operator.adminscope for cleanup operations, orEnvironment