Skip to content

[BUG] [v0.0.7] cortex --help PATHS section shows XDG-style paths (~/.config/cortex/, ~/.local/share/cortex/) but actual paths use ~/.cortex/ #53311

@codvy8282

Description

@codvy8282

Project

cortex

Description

The main help text hardcodes XDG Base Directory paths, but the actual runtime uses ~/.cortex/ as the base directory.

Error Message

Debug Logs

System Information

windows 11

Screenshots

https://github.com/codvy8282/images/blob/main/19.png

Steps to Reproduce

$ cortex --help

Shows:

Config ~/.config/cortex/config.toml

Sessions ~/.local/share/cortex/sessions/

Logs ~/.cache/cortex/logs/

$ cortex debug paths

Shows:

Config /home/user/.cortex

Sessions /home/user/.cortex/sessions

Logs /home/user/.cortex/logs

Expected Behavior

--help should show the same paths that debug paths and the runtime actually use.

Actual Behavior

Help shows ~/.config/cortex/config.toml, ~/.local/share/cortex/sessions/, ~/.cache/cortex/logs/ while actual paths are ~/.cortex/config.toml, ~/.cortex/sessions/, ~/.cortex/logs/.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions