Skip to content

[FEATURE] Add Session Deduplication Warning #693

@EnthusiasticTech

Description

@EnthusiasticTech

Project

cortex

Description

When importing a session that already exists locally, warn the user instead of silently overwriting or failing cryptically.

Use Case

Prevent accidental data loss when re-importing sessions.

Proposed Solution

cortex import session.json
# Warning: Session 'abc123' already exists locally. 
# Use --force to overwrite or --rename to import as new session.

Alternatives Considered

No response

Impact

All users

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions