opencode-hashline icon indicating copy to clipboard operation
opencode-hashline copied to clipboard

Issue: Cache causes File Veracity problems.

Open kelvinauta opened this issue 8 months ago • 0 comments

I was testing the plugin a bit. I found this: It doesn't update the cache of a file's content with its hashes if it hasn't been edited by the agent. This means that if I edit it externally using another method when the agent tries to read the file again it will still show the old version...

Minimal example:

  • create /tmp/test with "Hola Mundo"
  • ask the agent to read it
  • with bash you can echo "Adios mundo" >> /tmp/test
  • ask the agent to read it again Expected result: The agent can see the actual file state Current result: The agent sees the outdated version without the "Adios Mundo" line

kelvinauta avatar Mar 28 '26 23:03 kelvinauta