Skip to content

sharing: current.byBranch[].branch survives sanitizeForSharing and MCP redaction #1321

Closed

Description

@iamtoruk

Found while verifying #1319. The menubar payload's current.byBranch rows (from #788) carry raw git branch names, and both sanitizeForSharing and the MCP redactProjectNames pass leave the branch field intact, so a branch such as exp/extraction-arms reaches the shared payload verbatim. Every other identity in the payload (projects, sessions, worktree paths) is stripped or pseudonymized. Branch names can encode ticket ids, customer names and feature codenames, so they should get the same treatment as project names. Pre-existing, not introduced by the branch lens.

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