Skip to content

Check .claude/settings.json and show a warning if cleanupPeriodDays is not set to a very high value #3

@bl-ue

Description

@bl-ue

In ~/.claude/settings.json, if you don't set cleanupPeriodDays (see docs) explicitly to a very large number of days, then it will default to 30, and Claude Code will automatically permanently delete all sessions older than that on each startup. (Note: Don't set it to 0, because then all your data will be deleted instantly and no new data will be recorded!)

We should show a big loud banner in the CLI if cleanupPeriodDays isn't explicitly set very high.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions