Skip to content

feat: clear GitHub links on project change, keep sessionLink #64

@drewdrewthis

Description

@drewdrewthis

Current

Behavior when a card is moved to a different project is not specified. GitHub-scoped links (worktreeLink, issueLink, prLink) may carry over and point at a repo that no longer matches the new project's context.

Proposed

On project change: nil out worktreeLink, issueLink, and prLink automatically. Keep sessionLink — the .jsonl file doesn't move, so the session is still the same session regardless of project.

Rationale

Drew's intuition: "if you move a conversation to another project, you break the link, and that's fine." GitHub links are project-scoped; sessions are not. Making this explicit prevents stale cross-project references and matches how users already think about it.

Ref: specs/sessions/linking.feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    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