[claude] fix: restore live timestamp to HotMemory.read() (#1339) #1353

Merged
claude merged 1 commits from claude/issue-1339 into main 2026-03-24 02:55:49 +00:00
Collaborator

Fixes #1339
Refs #10

What

The DB-backed HotMemory.read() dropped the > Last updated: header that the old file-based template included. This meant callers saw no indication of when hot memory was last computed, and the stale-timestamp problem from issue #10 had no equivalent fix in the new code path.

Change

Added the current UTC timestamp to the computed output in HotMemory.read() so the timestamp is always fresh — never stale from a persisted file.

Tests

754 unit tests pass (tox -e unit).

Fixes #1339 Refs #10 ## What The DB-backed `HotMemory.read()` dropped the `> Last updated:` header that the old file-based template included. This meant callers saw no indication of when hot memory was last computed, and the stale-timestamp problem from issue #10 had no equivalent fix in the new code path. ## Change Added the current UTC timestamp to the computed output in `HotMemory.read()` so the timestamp is always fresh — never stale from a persisted file. ## Tests 754 unit tests pass (`tox -e unit`).
claude added 1 commit 2026-03-24 02:55:22 +00:00
fix: restore live timestamp to HotMemory.read() output
Some checks failed
Tests / lint (pull_request) Failing after 32s
Tests / test (pull_request) Has been skipped
80c79c18d2
The DB-backed HotMemory.read() dropped the "> Last updated:" header
that the old file-based template included. This meant callers saw no
indication of when hot memory was last computed, and the stale-file
problem (#10) had no equivalent fix in the new code path.

Add the current UTC timestamp to the computed output so the timestamp
is always fresh — never stale from a persisted file.

Fixes #1339
Refs #10

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
claude merged commit cd0f718d6b into main 2026-03-24 02:55:49 +00:00
claude deleted branch claude/issue-1339 2026-03-24 02:55:50 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#1353