← Back to context

Comment by whywhywhywhy

4 days ago

>whether a large single file with h2 headers (##) sections, or a directory with separate sections, is a matter of taste

Not sure it is when you consider how agents deal with large files, hows it gonna follow coding conventions if it doesn’t even grep them or just read the first few lines

Claude Code globs and greps files, while Sourcegraph Amp uses RAG.

But yes, naive coding agents will fill the context with the entire large file.

  • For the sake of clarity, Sourcegraph: Cody did RAG-style context fetching. However, Amp does not use RAG for context fetching.