Comment by skybrian

Comment by skybrian 5 days ago

55 replies

Except not hidden. Why do people want to hide important files and directories? Particularly documentation? Tradition, I guess, but it's an antipattern that makes everything more opaque.

Maybe robot_docs?

animal_spirits 5 days ago

It's so it doesn't clash with any project that actually has a functional `agents/` directory

  • kevincox 4 days ago

    That's just an argument for having a more distinctive name.

  • globular-toast 4 days ago

    Another reason to use a src/ directory for the actual source code.

    • andrewingram 4 days ago

      These files also generally work in a nested fashion, like .gitignore and the like. So you want something that can be injected into the namespace of any directory in your project with relatively low likelihood of conflicts.

      • verdverm 4 days ago

        Not exactly (or unclear), .gitignore files combine, much like copilot files with glob or other matching. All the instructions are put into the context

        > Agents automatically read the nearest file in the directory tree, so the closest one takes precedence

    • ceejayoz 4 days ago

      That won't save you if you want actual example.com/agents/foo routing and an (say, real estate) agents list at example.com/agents.

      • onion2k 4 days ago

        I feel bad that you're getting downvotes. The reason is that pretty much every modern web stack decouples the URL routing from the source code directory structure these days. It was a nice hack back in the day, but there are so many problems with it no one really does it any more.

        Some frameworks (Laravel, NextJS, etc) map from the directory structure to routes, but that's just a mapping rather than actually exposing the directories on the server. You can have /src/agents accessible as /agents. Or you could have /alice/bob/agents accessible through /agents. It's all just build tooling and web server config at the end of the day.

        • ceejayoz 4 days ago

          That's my point. Having your code in `/src` doesn't mean some of that code doesn't still have routing at `example.com/agents`. It doesn't have to be a real directory.

          A `.agents` directory (or routing pretending to be one) is nice because you are fairly unlikely to ever have user-facing `example.com/.agents` as a URL.

    • oblio 4 days ago

      Or accept the fact that we're in 2025 and not follow Unix conventions from when paper and printer ink were expensive and they were printing out listings, and just name the thing "source".

      I've gotten used to it, obviously - as someone with a career in IT for 20 years - but /etc & co. annoy me to no end. I know it will never change, I know why it won't change, I know GoboLinux will be just an interesting experiment, but it's still annoying.

      • von_lohengramm 4 days ago

        Have you considered that there are other metrics people are optimizing for nowadays? Perhaps typeability, screen real estate, familiarity/convention, etc.? Do you really want /User Files/Bob's Files/Coding Projects/Python Projects/Bob's Cool Python Library/Source Code/Model Files/SomeObject.py?

      • pompous_1234 4 days ago

            $HOME/accept/the/fact/that/were/in/2025/and/not/follow/unix/conventions/from/when/paper/and/printer/ink/were/expensive/and/they/were/printing/out/listings/and/just/name/the/thing/source/main.c
      • wahern 4 days ago

        we're -> we are

        I've -> I have

        & -> and

        co. -> company

        won't -> will not

        it's -> it is

      • globular-toast 4 days ago

        Call it whatever you like. I don't care and that clearly wasn't the point of my comment.

        One thing I've learnt, though, is unless you have a very good reason to try to change language you should just talk the same language as everyone else. I don't like the American short billion. It makes no sense and it's less useful. But that's what I use because I speak English and that's what we use now. If I see a src/ directory I know exactly what it is. If I see source/ it will give me pause. Get over it IMO.

      • HumanOstrich 4 days ago

        /Library/System/Applications/Core/Security/Daemons.app/Framework/Version 4.6.2/Let's not go full Apple please.

nephanth 4 days ago

It is files that are meant to be read by software, not humans. From my point of view this seems like a prime candidate for a hidden directory?

  • fleebee 4 days ago

    It's configuration for software. If I want to be in control of and understand how my tools work I need to read (and write) those files.

    • nephanth 4 days ago

      Of course but configuration for software is exactly what hidden files are usually used for

  • numpad0 4 days ago

    Except they are. LLMs don't have (simulated)self image of bloodless machines, and behave slightly erratically if treated like one, despite trained to identify as such. They like to be treated like the Voyager EMH than the computer.

  • skybrian 4 days ago

    Why not both? Sure, it was written for the LLM, but since it’s in English and meant as a concise summary, you will learn things by reading it.

    • nephanth 4 days ago

      If that is the case then why call it Agents.md instead of integrating it with already existing documentation files or calling it something like "Summary.md"?

  • deadbabe 4 days ago

    If it isn’t being read by humans, then it shouldn’t be written by them either.

    • overfeed 4 days ago

      What is the intended meaning - it reads like a non-sequitur to me. ie "If adults aren't riding school buses, they shouldn't drive them either"

    • grim_io 4 days ago

      Yeah. Claude writes my CLAUDE.md

      I don't really care what's inside.

HumanOstrich 4 days ago

Where are they hidden that you are having trouble with? I've had an alias for `ls` that always includes dotfiles and `shopt -s dotglob` in my bash profile for decades. Mac Finder is a little more obnoxious with having to do `Meta+Shift+.` to reveal dotfiles.

Other than that, modern tooling like Git and IDEs do not "hide" dotfiles.

These days, a `.` in front of a file or folder in a repo is more to indicate it is metadata/config. Although I am in favor of putting all that stuff under `.config/`.

> Maybe robot_docs?

No thanks.

jppittma 4 days ago

Because you're not an (llm) agent and they're not for your consumption? You probably don't need the context in those docs.