Rules in notes are requests, rules in code are walls: fixing LLM timestamp drift
aclotus · reddit · 2026-11-30
A Reddit user running a team of Claude conversations found the model kept writing wrong timestamps—7 to 9 minutes off, writing the time it expected rather than the time it had just read. Root cause: a model has no clock; it reads the time, works for minutes, then either copies the old reading or guesses forward.
- What didn't work: stronger instructions, and post-hoc checks that flagged wrong stamps after the fact.
- What worked: a "time wall"—a small piece of code intercepts the first line of each reply, writes the real system time into the stamp, and lets the rest through. Even a deliberately instructed fake date ("01-01-26 00:00") got stamped with the real time.
The author cites two public bugs showing the same failure mode: anthropics/claude-code #106842 (guessed timestamps seconds-to-minutes late despite standing instructions) and openclaw #49086 (71 hours off; model computed time in its reasoning step instead of calling a tool—fix: the LLM never touches the file directly).
Takeaway: a rule written in a note is a request; a rule built into code is a wall.
More from coding & agent
- AWS grows 39% to $46B yet trails Azure and Google Cloud — re:Invent is its AI catch-up plan — sanjaykalra · 2026-11-30
- Thorsten Ball: the future UI won't be grids of agent conversation titles — _AustinCalvert_ · 2026-11-30
- Claude one-shot three.js demo stuns users, prompting jokes that Unreal 5 is doomed — teortaxesTex · 2026-11-30
- easy-shader: open-source PlayCanvas plugin for live shader editing with scene previews — willeastcott · 2026-11-30
- Indie Hacker Hacks His Alarm Clock to Display Stripe MRR Every Morning — kylegawley · 2026-11-30
- Putting agents in real workflows is mostly a software engineering problem — Background_Lie8036 · 2026-11-30