GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Stale "Note: The user opened the file ..." leaks across sessions and projects · Issue #24295 · anomalyco/opencode

Stale "Note: The user opened the file ..." leaks across sessions and projects #24295

New issue
Copy link
New issue
Copy link
Closed
#24323
Closed
Stale "Note: The user opened the file ..." leaks across sessions and projects#24295
#24323
Copy link
Assignees
rekram1-node
Labels
bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)windows

Description

@nakisen
nakisen
opened on Apr 25, 2026
Issue body actions

Description

Stale "Note: The user opened the file ..." leaks across sessions and projects

Expected: New session has no "user opened the file" note, or only references files from current project
Actual: Previous session's file path appears in system note.

Related (likely same family): #6697, #3551, #5005, #4628. Possibly a regression introduced after the v1.14.22 stale-state fix.

Plugins

No response

OpenCode version

1.14.24

Steps to reproduce

  1. Open file A in project X, work in opencode session
  2. Close opencode
  3. Open opencode in project Y, start NEW session
  4. First prompt's system note still references file A from project X

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

PowerShell

Activity

  1. nakisen
    added
    bugSomething isn't working
    on Apr 25, 2026
  2. github-actions
    assigned
    rekram1-node
    on Apr 25, 2026
  3. github-actions
    added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    windows
    on Apr 25, 2026
  4. jjjermiah commented on Apr 25, 2026

    @jjjermiah
    jjjermiah
    on Apr 25, 2026
    Contributor
    More actions

    yeah this is really frustrating, i thought it had to do with having sessions open in vscode which is where i see it changes the files open

  5. jjjermiah commented on Apr 25, 2026

    @jjjermiah
    jjjermiah
    on Apr 25, 2026
    Contributor
    More actions

    looks like introduced in #24034

  6. jjjermiah commented on Apr 25, 2026

    @jjjermiah
    jjjermiah
    on Apr 25, 2026
    Contributor
    More actions

    looking through #24034 i discovered it was because i had Claude Code Vscode extension, and the feature looks through ~/.claude/ide folder for lock files that describe the editor's state, and then has some scoring logic to see if the cwd is relative to it, but doesnt discriminate when its unrelated at all?

  7. jlongster
    closed this as completedin #24323on Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @rekram1-node
    rekram1-node

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)windows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.