r/secondbrain • • 25d ago

AGENTS.md too fat

Are we asking AGENTS.md to do too many jobs?

I've seen people use AGENTS.md, handoff files, session logs, and Git history to keep agents aligned across tasks.

It's a pretty practical setup. You can inspect it, version it, and avoid maintaining another system.

But I think we're sometimes mixing three different things:

  • History: What happened?
  • Memory: What still matters?
  • Context: What does this agent need right now?

A decision from three months ago might be useful history without being a valid instruction today.

And a summary generated by an agent might be useful context without being something the user has actually confirmed.

I'm curious how people are handling that distinction in practice.

Do you maintain separate files for these, periodically rewrite your handoff docs, or just let the agent figure it out at retrieval time?

3 Upvotes

5 comments sorted by

2

u/Previous_Tea_2250 25d ago

I have had better results treating them as different layers, even if they live in the same repo:

  • history is append-only evidence;
  • memory is a small, revised set of durable facts or decisions;
  • context is a task-specific packet with an expiry or a clear owner.

The failure mode is letting an old handoff silently become policy. A useful habit is to put a review date or trigger next to operational instructions, then regenerate the task packet from current memory plus the relevant history instead of pasting the whole archive. Git is excellent for proving how a decision changed, but it should not decide what is still true.

1

u/cairn-memory 24d ago

appreciate the -review date or trigger next to operational instructions, then regenerate the task packet from current memory plus the relevant history tips, but that's also a generative endless pit for a md file

1

u/Illustrious-Call-455 24d ago

I am facing the same conundrum so this post is welcomed

1

u/cairn-memory 24d ago

have you looked into any workarounds? there's some out there

2

u/Illustrious-Call-455 21d ago

I have been toying around across multiple setup of the distinction. I know have Hystory in place using weekly files, agents logs what it did in a single file.
I have a single context file for now, thinking of splitting it.
I am just trying to figuring out memory, for now I don’t want a single file, I am spreading it across all particular notes in a status section. But I am wondering if this is efficient and if I need some sort of index file because agents are not very good at search