r/AI_Agents: stop asking the model not to hallucinate timestamps — make it impossible with a hook
A Claude Code user kept getting invented timestamps in ops logs despite instructions and memory files, so they wrote a PreToolUse hook that injects the real time before every bash command and file write. The pattern generalizes: don't ask the model to behave, make the wrong behavior impossible — instructions work for a day, hooks work forever.