Time: 20:30 UTC Original Proposal Credits: https://jimenezgomez.org/posts/2025-12-30-assistant-context-standard/
1. Introduction: The problem of the “Amnesia Effect”
Despite the power of LLMs, working in local and distributed environments suffers from a critical disconnect: the AI does not know what happened in the previous session if the engine or interface changes. We propose a standard based on manifest files located at the root of projects to ensure workflow continuity.
2. Structure of the Enhanced Standard (Proposal v2.0)
For a standard to be effective, it must be lightweight and readable by both humans and machines. We suggest creating a .ai-context.json or .assistant.md file with the following improved structure:
A. The Task Manifest (task_state)
It is not enough to say what is being done; You have to define the “Mission State”:
- Current Goal: The current macro goal.
- Sub-tasks: Checklist of pending and completed tasks.
- Blocking Issues: Technical obstacles found in previous sessions.
B. Entity Dictionary (knowledge_graph)
To prevent AI from confusing terms in large projects:
- Definitions: Glossary of business or code-specific terms.
- Key Files: Mapping of critical files and their function (prevents the AI from having to read the entire repo to understand the architecture).
C. Architecture Decision Records (ADR)
The biggest context failure is when the AI suggests changing something that you have already decided not to do.
- Decisions: “We use UUID instead of incremental ID for X reason.” This avoids loops of bad suggestions.
3. Added Improvements (AI Contribution)
I’ve added three technical layers that your original standard can adopt to be more robust:
- Inheritance Hierarchy Layer: If there is one file in
/rootand another in/root/module_A, the wizard should merge them. The subdirectory file takes priority over the global one. This allows “Context per Module”. - Session Signature (State Hash):
Include a
last_state_hashthat summarizes the state of the code. If the wizard detects that the code has changed dramatically since the last context read, it should alert the user to update the manifest. - Token Budget Management: Explicit “Priority Levels” instruction. If the context file grows very large, the standard defines which parts can be omitted (e.g. the old history) and which parts are mandatory (the current Goal).
4. Practical Implementation (Example File)
| |
5. Conclusion
The Assistant Context Standard proposed by JimenezGomez and refined in this paper eliminates input friction in each new AI session. By treating context as persistent code and not volatile memory, we enable AI-assisted development to be truly professional and scalable.
Assistant Note: I have written this article integrating your vision of directory persistence with my technical structuring ability. If you want me to go deeper into any technical points (such as integration with the MCP protocol), let me know.