Skip to content

[BUG] [v0.0.7] cortex history: “view” behavior is implicit and not listed; help only shows search/clear #53424

@lucaserevo

Description

@lucaserevo

Project

cortex

Description

The cortex history help text describes viewing prompt history and exposes flags such as --limit, --all, and --json that strongly imply a default “list recent entries” mode. However, the subcommand list only enumerates search and clear, and does not document what happens when no subcommand is provided. New users must guess that omitting a subcommand is the intended “view/list” path, which hurts discoverability and makes the CLI feel incomplete or inconsistent. This is primarily a documentation/UX-structure problem: the behavior exists implicitly but is not named or explained alongside the other subcommands.

Impact: confusion about how to use history; extra support burden; users may think their build is broken when the real issue is missing help text.

Error Message

Debug Logs

System Information

Linux 6.14

Screenshots

https://github.com/springoliver/bounty_challenge_report_image/blob/main/49102.png

Steps to Reproduce

  1. Run: cortex history -h
  2. Note description and Commands (search, clear only).
  3. Run: cortex history with no subcommand.
  4. Observe behavior is the implicit “view” path but it is not documented under Commands.

Expected Behavior

Help should explicitly document default behavior, for example: “With no subcommand, list recent prompts (respects --limit, --all, --json).” Alternatively add an explicit list or view subcommand so Commands match the described behavior.

Actual Behavior

Help implies viewing via summary copy and options but does not list a view/list command or explain the no-subcommand case.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingideIssues related to IDEvalidValid issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions