Skip to content

mcp: current.topSessions[].projectKey survives redactProjectNames #1325

Closed

Description

@iamtoruk

Found while verifying #1324. Since #1316 the menubar payload's current.topSessions rows carry projectKey, a dash-encoded absolute path such as -Users--Projects-. redactProjectNames(payload, false) pseudonymizes project names but leaves this field intact, so an MCP client that asked not to see project names still receives the working-directory path for every top session. sanitizeForSharing already removes it for sync. Add projectKey (and sessionDetails' equivalents) to the redaction pass.

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