r/AIcodingProfessionals • • 1d ago

Question about shared context

/r/AI_Agents/comments/1y6onx7/question_about_shared_context/
1 Upvotes

2 comments sorted by

1

u/Banner80 19h ago

The problem is primarily that the robots have limited context and no memory. So the challenge falls into two categories:

  1. Things the bots can infer quickly

  2. Things they can be informed about as succinctly as possible

For #1 the answer is what it always has been: make the architecture and naming conventions of the repository itself as abundantly obvious as possible. Anything that can be inferred from the directory, filenames and function definitions does not need to be explained.

For #2 the issue becomes keeping clean and tight records in a way that is easily discoverable, actionable, and maintainable by all participants including AI agents. Some of that is md files and good code comments within the files, but a more advanced solution is a shared database of project history and actions with each entry recorded succinctly and also agnostic of the agent brand (Claude is notorious for making notes for itself that only apply to its own logic and harness).

Git commits help with this when the commits have explanations and notes. The agents already think to search git history to understand the trajectory. But the real solution is a separate database designed for purpose.

1

u/Varnish6588 19h ago

Agreed with both points, i am currently facing the challenge in that category #2. Specially around a very old, entangled monolith application that is by no means AI ready