logoalt Hacker News

nulld3vtoday at 12:01 AM1 replyview on HN

Sadly, this issue is systemic: https://github.com/openai/codex/issues/2847


Replies

stavrostoday at 2:11 AM

OpenCode has a plugin that lets you add an .ignore file (though I think .agentignore would be better). The problem is that, even though the plugin makes it so the agent can't directly read the file, there's no guarantee the agent will try to be helpful and do something like "well I can't read .envrc using my read tool, so let me cat .envrc and read it that way".