Skip to content

fix(config): preserve file timestamps in all data-dir migrations#243

Merged
akuehner merged 1 commit into
mainfrom
fix/migration-preserve-timestamps
Jun 12, 2026
Merged

fix(config): preserve file timestamps in all data-dir migrations#243
akuehner merged 1 commit into
mainfrom
fix/migration-preserve-timestamps

Conversation

@akuehner

Copy link
Copy Markdown
Member

No description provided.

cpSync without preserveTimestamps stamps every copied file with the
current time. Session lastActivity is derived from file mtime, so a
migration without this option collapses all session recency to a single
timestamp — breaking the hub's cross-project recent-sessions sort.

Add preserveTimestamps: true to both migration cpSync calls:
- ~/.clay/ → ~/.clagentic/ (clay→clagentic rebrand)
- ~/.clagentic/ root → ~/.clagentic/console/ (console subdir migration)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@akuehner akuehner merged commit 657cb81 into main Jun 12, 2026
@akuehner akuehner deleted the fix/migration-preserve-timestamps branch June 12, 2026 09:56
@clagentic-release-bot

Copy link
Copy Markdown

This issue has been resolved in version 1.5.0-beta.2 (beta).

To update, run:

npx @clagentic/console@1.5.0-beta.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant