Skip to content

Changes view can show state from a different chat/task #777

@rabanspiegel

Description

@rabanspiegel

There appears to be state leakage in the Changes view where diffs from a different chat/task can appear in the current context.

Observed behavior:

  • Changes from another chat/task are sometimes shown.
  • The view may self-correct later, but not consistently.

Expected behavior:

  • Changes should be strictly scoped to the active chat/task/worktree context at all times.

Acceptance criteria:

  1. No cross-chat/task change-state contamination in the Changes view.
  2. Context switches reliably rebind to the correct scoped data.
  3. Any background refresh/reconciliation cannot overwrite active context with stale/foreign state.
  4. Add diagnostics to trace context IDs during load/update for debugging.

Metadata

Metadata

Assignees

Labels

MeganbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions