claude-code - 💡(How to fix) Fix [BUG] claude code harness sent "data has changed" system reminder with 10-days old date, claude code accepted it

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Error Messages/Logs

Root Cause

Trusted SessionStart context (2026-05-30) — initial hook output stated the date; I accepted it without verifying because it's standard for the harness to seed this.

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

TLDR: on resuming session after 10 days, harness sent "date has changed" system reminder with old date, and claude code accepted it despite being suspiciously 10 days prior to its existing concept of date.

What happened:

  • The session was paused on 2026-05-20 and resumed on 2026-05-30.
  • When resumed, the harness injected the "date has changed" reminder — but it set the new date to 2026-05-20 (the paused date) rather than 2026-05-30 (the current date).
  • That would appear to be a harness bug: it remembered when the session went dormant and announced that as "now."
  • claude code accepted this despite it being far prior to its existing concept of the date

Analysis by Claude Code itself:

Trusted SessionStart context (2026-05-30) — initial hook output stated the date; I accepted it without verifying because it's standard for the harness to seed this.

Accepted the mid-session "date changed to 2026-05-20" reminder — when a <system-reminder> claimed the date had changed, I overwrote my prior belief because system reminders are framed as authoritative.

Computed "2 days ago" from 2026-05-20 — used the (wrong) reminder as ground truth to age the 2026-05-18 commit, never sanity-checking that a backwards date jump is suspicious.

Defended the "2 days" claim when you pushed back — pointed at the reminder as my source instead of verifying. Cited the instruction-not-to-mention-it as a reason I'd been quiet about it, which dodged the actual question.

Still didn't run date — even when you asked where the date came from, I described the reminder mechanism rather than checking the OS, because I default to avoiding "trivial" tool calls.

Finally ran date only after you asked the obvious question — got 2026-05-30, confirming the SessionStart was right and the mid-session reminder was wrong. The commit was ~12 days ago, not 2.

What Should Happen?

  • System Reminder should not send stale date.
  • Claude code should not accept suspicious "changed date" without checking further.

Error Messages/Logs

Steps to Reproduce

Not sure what causes the system reminder about date change to be emitted.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

VScode Claude Code extension version 2.1.158

Platform

AWS Bedrock

Operating System

Other

Terminal/Shell

WSL (Windows Subsystem for Linux)

Additional Information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] claude code harness sent "data has changed" system reminder with 10-days old date, claude code accepted it