r/AIcodingProfessionals • u/Varnish6588 • 1d ago
Question about shared context
/r/AI_Agents/comments/1y6onx7/question_about_shared_context/
1
Upvotes
r/AIcodingProfessionals • u/Varnish6588 • 1d ago
1
u/Banner80 22h ago
The problem is primarily that the robots have limited context and no memory. So the challenge falls into two categories:
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.