News for hackers. Stuff that matters.
Re:Cognitive Debt: When Velocity Exceeds Comprehension by nsvd2 on Saturday February 28, 2026 @01:06PM (#47198382)
I think that recording dialog with the agent (prompt, the agent's plan, and agent's report after implementation) will become increasingly important in the future.
Re:Cognitive Debt: When Velocity Exceeds Comprehension by slashdev on Saturday February 28, 2026 @01:21PM (#47198546)
I have this at the bottom of my AGENTS.md:

You will also add a markdown file to the changelog directory named with the current date and time `date -u +"%Y-%m-%dT%H-%M-%SZ"`, record the prompt, and a brief summary of what changes you made, this should be the same summary you gave the developer in the chat.

From that I get the prompt and the summary for each change. It's not perfect but it at least adds some context around the commit.

Re:Cognitive Debt: When Velocity Exceeds Comprehension by atmosx on Saturday February 28, 2026 @02:21PM (#47199145)
Isn’t the commit message a better place to add what and why? You might need to feed some info that the agent doesn’t have access to “we are developing feature X this change will such and such to blah blah”. The agent will write a pretty good commit message most of the times. Why do you need a markdown file? Are releasing new versions of the software for third parties?
Re:Cognitive Debt: When Velocity Exceeds Comprehension by Belphemur on Saturday February 28, 2026 @02:37PM (#47199304)
Cheaper and faster retrieval to be added to the context and discoverable by the agent.

You need more git commands to find the right commit that contains the context you want (either you the human or the LLM burning too many token and time) than just include the right MD file or use grep with proper keywords.

Moreover you could need multiple commits to get the full context, while if you ask the LLM to keep the MD file up to date, you have everything together.

Re:Cognitive Debt: When Velocity Exceeds Comprehension by atmosx on Saturday February 28, 2026 @02:49PM (#47199420)
I doubt you can give more context to an LLM from a README file than 500 properly written commits. Or to a human for that matter.
Re:Cognitive Debt: When Velocity Exceeds Comprehension by generallyjosh on Sunday March 01, 2026 @08:17AM (#47206447)
The problem isn't giving MORE context to an agent, it's giving the right context

These things are built for pattern matching, and if you keep their context focused on one pattern, they'll perform much better

You want to avoid dumping in a bunch of data (like a year's worth of git logs) and telling it to sort out what's relevant itself

Better to have pre-processing steps, that find (and maybe summarize) what's relevant, then only bring that into context

You can do that by running your git history through a cheap model, and asking it to extract the relevant bits for the current change. But, that can be overkill and error prone, compared to just maintaining markdown files as you make changes

Re:Cognitive Debt: When Velocity Exceeds Comprehension by just6979 on Monday March 02, 2026 @01:08PM (#47221676)
"You want to avoid dumping in a bunch of data (like a year's worth of git logs) and telling it to sort out what's relevant itself"

So instead you give it a years worth of changelog.md?

"Better to have pre-processing steps, that find (and maybe summarize) what's relevant, then only bring that into context"

So, not a list of commits that touched the relevant files or are associated with relevant issues? That kind of "preprocessing" doesn't count?

"You can do that by running your git history through a cheap model, and asking it to extract the relevant bits for the current change. But, that can be overkill and error prone, compared to just maintaining markdown files as you make changes"

And somehow extracting the same data out of a [relatively] unstructured and context-free (the changelog only has dates and description, that will need to be correlated to actual changes with git anyway...) markdown file is magically less error-prone?

Re:Cognitive Debt: When Velocity Exceeds Comprehension by generallyjosh on Monday March 02, 2026 @10:21PM (#47227578)
Hey you can try it if you like. That's one of the beauties of the current moment, nobody REALLY knows what works best, just a whole lot of people trying stuff

And no, I wouldn't ever give it a year of changelog.md. I give it a short description of the current functionality, and a well-trimmed list of 'lessons-learned' (specific pitfalls/traps from previous work, so the AI doesn't have to repeat them)

If you think git logs are a good way to give context, try it and and see how it works! My instinct's that it won't work as well as a short readme, but I could be wrong. It's so easy to prototype these days, no reason to not give it a shot

Re:Cognitive Debt: When Velocity Exceeds Comprehension by just6979 on Saturday March 07, 2026 @01:47PM (#47290344)
"a short description of the current functionality, and a well-trimmed list of 'lessons-learned'"

Where does that come from?

"And no, I wouldn't ever give it a year of changelog.md."

No, instead you'll "[run] your git history through a cheap model". Except it's "overkill and error prone". So you're writing it up yourself? You didn't do the work, how do you know what the pitfalls and traps are?

Re:Cognitive Debt: When Velocity Exceeds Comprehension by mort96 on Saturday February 28, 2026 @02:34PM (#47199264)
How often, in your experience, do people read those auto-generated markdown files? Do you have any empirical data on how useful people find reading other people's agents' auto-generated files?
Re:Cognitive Debt: When Velocity Exceeds Comprehension by addaon on Saturday February 28, 2026 @01:52PM (#47198859)
How often is it the same summary given to the developer in the chat?
Re:Cognitive Debt: When Velocity Exceeds Comprehension by Klaster_1 on Saturday February 28, 2026 @01:16PM (#47198497)
Agree, but current agents don't help with that. I use Copilot, and you can't even dump it preserving complete context, including images, tool call results and subagent outputs. And even if you could, you'd immediately blow up the context trying to ingest that. This needs some supporting tooling, like in today's submission where agent accesses terabytes of CI logs via ClickHouse.
Re:Cognitive Debt: When Velocity Exceeds Comprehension by gopher_space on Saturday February 28, 2026 @01:53PM (#47198872)
I've had some luck creating tiny skills that produce summaries. E.g. a current TASK.md is generated from a milestone in PLAN.md, and when work is checked in STATUS.md and README.md are regenerated as needed. AGENTS.md is minimal and shrinking as I spread instructions out to the tools.

Part of my CI process when creating skills involves setting token caps and comparing usage rates with and without the skill.

Re:Cognitive Debt: When Velocity Exceeds Comprehension by just6979 on Monday March 02, 2026 @01:03PM (#47221616)
Why doesn't this apply to human collaborators as well? If you need all this extra metadata to comprehend the changes, isn't that kind of going backwards? You spend time (setting up the agents, building extensive prompts that explain soooo much of how to do things, adding to whatever markdown file you think controls the parrot) and money (so many token$), to get code that you don't comprehend, and just decide to fill your repo with all of the above to... what exactly does all this accomplish? So you can later ask another parrot to "fix" something?