# OpenClaw daily session reset hour (default 4 AM)

Canonical: https://cwyn.com/pages/openclaw-guide-daily-session-reset.html
Last updated: 2026-11-27T05:44:21-05:00

OpenClaw operations guide

Set `session.reset.mode` to `daily` to enable OpenClaw’s daily reset. By default, the first message at or after 4 AM Gateway local time starts a new session if the current one began before that hour. To choose a different hour, set `session.reset.atHour` to a value from 0 to 23.

Last updated November 27, 2026 · Published November 18, 2026

The [Context Reliability Build Kit](https://cwyn.com/pages/pack-context-reliability-build-kit.html) is an optional paid kit with handoff templates and continuity checks for work that spans session resets.

Context Reliability Build Kit $21.95

Stop agent drift with structured context, deterministic handoffs, and continuity checks across multi-step workflows.

By CWYN · Reviewed November 27, 2026 against the [OpenClaw 2026.11.5 session lifecycle](https://github.com/openclaw/openclaw/blob/v2026.11.5/docs/concepts/session.md#session-lifecycle)

## 1. Read the policy for the affected chat

On the Gateway host, read `session.reset`, `session.resetByType`, and `session.resetByChannel` in the active profile. Check the entry for the affected channel and conversation type, including whether it is a thread. The [session lifecycle reference](https://docs.openclaw.ai/concepts/session) describes `none` as the default in 2026.11.5. A daily policy must be enabled explicitly on that version.

## 2. Compare the session start with the Gateway clock

Record the session ID and `sessionStartedAt` before the boundary. Match the chat to its key with `openclaw sessions --agent <agent-id> --json` on the Gateway host. See [the sessions CLI reference](https://docs.openclaw.ai/cli/sessions) for selecting the store. Daily `atHour` uses the Gateway host’s local time. Later activity can change the last-updated time without moving the daily boundary.

## 3. Test the first message across the boundary

Use a disposable chat on the same route with a session started before the boundary. Send one harmless message after the reset hour and compare the session ID and start time. Confirm the message receives a reply and the conversation has rolled over. The old transcript can still be retained. If the start time and ID stay unchanged, recheck the effective policy and host time. If the chat rolls over but the first message fails, record both outcomes.

## 4. Adjust the smallest policy that serves the workflow

If the intended chat inherits `none` or an idle policy, configure daily mode for the smallest supported scope that covers it. Check what other conversations share that scope. Save the prior setting and capture completed work, pending steps, and constraints before moving an active task. Use `/new` or `/reset` only if a manual rollover is intended.

## 5. Verify continuity after rollover

Repeat the boundary test with the corrected policy and check a nearby chat intended to keep its current session. For ongoing work, give the new session the handoff and ask it to state the next unfinished step before it uses tools. If the reset affects other chats unexpectedly, restore the prior policy and repeat both checks.

[Get your free CWYN Score](https://cwyn.com/score) to choose your next setup improvement.

## Related guides

- [OpenClaw context overflow: recover a long task without losing its handoff](https://cwyn.com/pages/openclaw-guide-context-overflow.html)
- [OpenClaw session storage growing? Preview cleanup](https://cwyn.com/pages/openclaw-guide-session-storage-growth.html)
- [Preview OpenClaw memory forget with --dry-run](https://cwyn.com/pages/openclaw-guide-memory-forget-preview.html)

## Next steps

- [All 135 OpenClaw guides](https://cwyn.com/guides/openclaw/)
- [OpenClaw setup walkthrough](https://cwyn.com/setup/openclaw/)
- [Check your OpenClaw AGENTS.md](https://cwyn.com/score/setup-file-checker/?profile=openclaw)
- [OpenClaw Complete Setup Pack ($14.95)](https://cwyn.com/pages/pack-openclaw-complete-setup-pack.html)
