News for hackers. Stuff that matters.
Re:Codex logging bug may write TBs to local SSDs by me551ah on Monday June 22, 2026 @09:16AM (#48629719)
Claude is also weird for being the only coding assistant that for some reason doesn't support AGENTS.md. Codex, Amp, Cursor all of them support it and read from it, but not claude which forces it's users to use CLAUDE.md instead.

The issue is the higest voted issue on their gitlab repo: https://github.com/anthropics/claude-code/issues/6235

Re:Codex logging bug may write TBs to local SSDs by ValentineC on Monday June 22, 2026 @09:27AM (#48629831)
My CLAUDE.md is just:

    @AGENTS.md
And Claude processes it just fine.

(I see that it's a common workaround, and there's a comment in the above link saying just this: https://github.com/anthropics/claude-code/issues/6235#issuec...)

It's a hassle having to add it to every repo that I use Claude with though, and I often use other models and harnesses too for the more trivial tasks.

Re:Codex logging bug may write TBs to local SSDs by troupo on Monday June 22, 2026 @12:11PM (#48632144)
I beg people to learn what symlinks are. The fact that "put @AGENTS.md in there" is a "common workaround" shows why programmers (good ones at least) are not going anywhere soon.
Re:Codex logging bug may write TBs to local SSDs by ahtihn on Monday June 22, 2026 @12:22PM (#48632293)
Symlinks are a pain if you're on Windows, I'd rather not bother with them.
Re:Codex logging bug may write TBs to local SSDs by drysine on Monday June 22, 2026 @04:09PM (#48635408)
>Symlinks are a pain if you're on Windows

How so?

Re:Codex logging bug may write TBs to local SSDs by qwertox on Monday June 22, 2026 @02:40PM (#48634210)
I never had any issues with them. And they fixed my problems in a good way.
Re:Codex logging bug may write TBs to local SSDs by layer8 on Monday June 22, 2026 @12:34PM (#48632454)
Symlinks aren’t portable.
Re:Codex logging bug may write TBs to local SSDs by rurban on Saturday June 27, 2026 @08:49PM (#48703270)
Portable to all systems Claude runs on
Re:Codex logging bug may write TBs to local SSDs by ValentineC on Monday June 22, 2026 @12:36PM (#48632484)
One bonus to this approach is that I can add Claude Code-specific stuff in there, that I wouldn't need for other harnesses.
Re:Codex logging bug may write TBs to local SSDs by fortuitous-frog on Monday June 22, 2026 @01:04PM (#48632844)
I used to use a symlink but was concerned that Claude might see the presence of an "AGENTS.md" file (in e.g, a "List Files" tool call output or from a direct `ls`), be curious and attempt to read it directly (not knowing that it's the same as the "CLAUDE.md" file auto-injected by the harness), and essentially double the token impact / context bloat. Indeed, I did some local experimentation and noticed this was the case, which is why I switched to the explicit "@AGENTS.md" approach.

So perhaps there's no need to be rude about it :)

Re:Codex logging bug may write TBs to local SSDs by lelandbatey on Monday June 22, 2026 @06:06PM (#48636918)
Your solution "appears" to solve the problem, but without any information about how exactly that solution works, it's just magic an vibes.

Does the harness parse the contents of CLAUDE.md, see the @AGENTS.md and then inject the contents of AGENTS.md into that file with a note saying "hey Claude-the-llm, here's the contents of AGENTS.md per an @reference"? Does the harness parse and inject but WITHOUT any ceremony telling claude-the-llm that what it's looking at is from another file? Or does the harness do nothing and Claude-the-llm is merely trained to see @references and treat those as "I should go read that file"? Which is it? If it's #1 and #3, then on long contexts/after compaction, then the LLM is still pretty likely to lose the fact that it read that file and re-read it again. If it's #2, the LLM could have the same problem as with the symlinks.

How does it work? The Anropic docs certainly don't say. So what's the best choice? I guess it's magic. For folks like me who care though, I guess there's always Pi or Opencode (or even, writing your own harness [which is shockingly easy if you want it reliable without all the fanciest features]).

Re:Codex logging bug may write TBs to local SSDs by thejazzman on Monday June 22, 2026 @06:48PM (#48637503)
why over complicate it? the answer is obviously yes? it sees it and reads the file? might it sometimes not? yeah, just like every other thing you write in agents.md or the prompt. if you want to write a more verbose statement telling it to read the other file do so. or if you really want to make damn sure it read what you wrote, then symlink it, because it does in fact read the thing twice.
Re:Codex logging bug may write TBs to local SSDs by dpkirchner on Monday June 22, 2026 @01:05PM (#48632847)
I'm pretty sure some agent harnesses read both files when present, so this @ "aliasing" is more token efficient.
Re:Codex logging bug may write TBs to local SSDs by lijok on Monday June 22, 2026 @02:17PM (#48633850)
Good programmers know symlinks are not portable
Re:Codex logging bug may write TBs to local SSDs by _alternator_ on Monday June 22, 2026 @03:01PM (#48634515)
Neither are line endings. But like line endings, I just put it into git and get over it.
Re:Codex logging bug may write TBs to local SSDs by chorkpop on Monday June 22, 2026 @10:06AM (#48630337)
CLAUDE.md has been incredibly successful for them advertising wise. I wouldn’t expect them to admit AGENTS.md exists anytime soon.
Re:Codex logging bug may write TBs to local SSDs by anon373839 on Monday June 22, 2026 @09:28AM (#48629839)
Gee, I wonder why that is. Do you think Anthropic’s Claude Code team are just trying to protect humanity somehow? Maybe our mortal brains just can’t comprehend the damage that supporting a non-Claude-branded standard might do...
Re:Codex logging bug may write TBs to local SSDs by sethaurus on Monday June 22, 2026 @01:27PM (#48633106)
> Be kind. Don't be snarky. Converse curiously; don't cross-examine. Edit out swipes.

https://news.ycombinator.com/newsguidelines.html

Re:Codex logging bug may write TBs to local SSDs by bandrami on Monday June 22, 2026 @11:09AM (#48631268)
So there's this amazing thing called a symlink
Re:Codex logging bug may write TBs to local SSDs by hk__2 on Monday June 22, 2026 @03:56PM (#48635222)
Not amazing enough. Let me present you claude-md-symlinker [1], an 8k-lines Rust project designed to do exactly the same as a symlink but in an obscure manner, running as a Linux service and maintaining its own database. This is like left_pad but for symlinks.

[1]: https://github.com/dutifuldev/claude-md-symlinker#claude-md-...

(I’m not the author obviously)

Re:Codex logging bug may write TBs to local SSDs by denkmoon on Monday June 22, 2026 @04:48PM (#48635959)
Haven’t even had my coffee yet and this is definitely the most cursed thing I’ll see today, thanks!
Re:Codex logging bug may write TBs to local SSDs by bandrami on Monday June 22, 2026 @10:03PM (#48639260)
A few years ago I noticed a junior dev was creating a lot of one-file, two-branch git repositories and I asked him why. He said he wanted to run a diff on two versions of a file that wasn't in version control, so he would make a branch with each version and run git diff.

I think about that a lot lately.

Re:Codex logging bug may write TBs to local SSDs by hexsprite on Monday June 22, 2026 @10:39AM (#48630807)
I created a Claude Code plugin to load AGENTS.md. Uses symlinks but it’s better than no support.

https://github.com/hexsprite/claude-agents-md

Re:Codex logging bug may write TBs to local SSDs by arcanemachiner on Monday June 22, 2026 @11:46AM (#48631849)
Claude Code supports native imports: `@AGENTS.md`
Re:Codex logging bug may write TBs to local SSDs by OJFord on Monday June 22, 2026 @11:49AM (#48631892)
To be fair if you can do it through some kind of plugin or skill it does spare you having a CLAUDE.md of `@AGENTS.md` in every repo individually.
Re:Codex logging bug may write TBs to local SSDs by troupo on Monday June 22, 2026 @12:11PM (#48632152)
You two realise that symlinks exist, right? That you need neither a "plugin" nor a "native import"?
Re:Codex logging bug may write TBs to local SSDs by arcanemachiner on Monday June 22, 2026 @10:23PM (#48639405)
What if I need Claude-specific instructions?
Re:Codex logging bug may write TBs to local SSDs by hk__2 on Monday June 22, 2026 @03:59PM (#48635264)
What’s actually better is doing a symlink by hand. 1- if you didn’t know it you learn what’s a symlink; 2- if that’s in a git repo you share it with all your coworkers without all of them needing to install the plugin; 3- security-wise it’s way better than running some 100+ lines of Bash from a repo on GitHub.
Re:Codex logging bug may write TBs to local SSDs by datsci_est_2015 on Monday June 22, 2026 @01:01PM (#48632806)
Literally trying to use file naming to build a moat. “We can’t switch to Cursor, we’d have to rename all of our files from CLAUDE.md to AGENTS.md!”
Re:Codex logging bug may write TBs to local SSDs by dgunay on Monday June 22, 2026 @07:12PM (#48637770)
Maybe I'm just not aware enough to notice any quality degradation, but I've been using Claude Code in repos that only have AGENTS.md and it just generally seems to know to read it when getting its bearings.