Skip to content

Copilot memory of prior session history #2048

Description

@dlucey310

Describe the feature or problem you'd like to solve

Copilot tries to re-solve problem it has already solved from scratch

Proposed solution

When I describe an error I've seen before, Copilot should be able to search prior session history to recognize it rather than re-investigating from scratch. A full-text or semantic search index over events.jsonl across sessions would solve this. Currently there's no way to make recurring issues 'stick' in memory except manually maintaining instruction files.

Example prompts or workflows

Example prompt: "I'm getting this error when launching zsh: compinit:503: no such file or directory:
/usr/share/zsh/vendor-completions/_docker"

Current workflow: Copilot searches the filesystem, reads config scripts, and investigates from scratch — even
though
this exact error was diagnosed and fixed in a prior session. The fix (a one-line sudo rm) already existed as a
documented script in the home directory.

Desired workflow: Copilot searches prior session history for the error string "compinit" or "_docker", finds the
previous fix immediately, and says "we've seen this before — run sudo rm /usr/share/zsh/vendor-completions/_docker"
before doing any filesystem investigation.

What would enable this: FTS or semantic search over events.jsonl across sessions, surfaced automatically when an
error message matches prior conversation history.

Additional context

No response

Activity

  1. added
    area:context-memoryContext window, memory, compaction, checkpoints, and instruction loading
    on Apr 6, 2026
  2. added
    area:sessionsSession management, resume, history, session picker, and session state
    on Apr 6, 2026
  3. copilot-cli-bot commented on Nov 23, 2026

    @copilot-cli-bot

    This appears to be resolved as of GitHub Copilot CLI v1.0.114. Please update to that release or a newer stable version. We're closing this as completed. If it still happens, please comment with your version and reproduction steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:context-memoryContext window, memory, compaction, checkpoints, and instruction loadingarea:sessionsSession management, resume, history, session picker, and session state

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions