Skip to content

Inconsistent chat vs composer log classification in v44.9+ #18

@atxtechbro

Description

@atxtechbro

Current Behavior

I've noticed some inconsistencies in how chat and composer logs are being classified, particularly after Cursor v44.9's move to globalStorage. This affects both the count display and categorization in the chat browser UI.

Investigation So Far

While looking into this, I've observed:

  1. Chat counts don't match between workspace list and detail views
  2. Some composer logs are being counted as chats and vice versa
  3. Storage patterns differ between older and newer Cursor versions

Initial Implementation

I've started working on a fix that:

  • Extracts shared classification logic
  • Adds detailed logging for pattern analysis
  • Handles both old and new storage formats
  • Maintains backwards compatibility with pre-v44.9 logs

Questions for Discussion

Would appreciate the team's thoughts on:

  1. How aggressively should we handle backwards compatibility?
  2. What's the best way to identify chat vs composer logs in v44.9+?
  3. Should we consider a migration strategy for older logs?

Current Approach

  • Using title patterns to differentiate (e.g., # prefix indicates composer)
  • Falling back to source/type checks when available
  • Adding detailed logging to help understand patterns
  • Maintaining support for both old and new storage formats

Next Steps

  • Gather feedback on classification approach
  • Analyze more log patterns
  • Decide on backwards compatibility strategy
  • Update documentation

Not ready for PR yet - would love to hear thoughts from @team (@thomas-pedersen @mrmaarten @random-yang ) on this approach first.

Labels: needs-discussion, compatibility, refactor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions