Hermes Agent's context file is truncated if it is too long, which is the official design. Context files go into the system context, and too long can waste tokens and overwhelm the rules that really matter. The best way to do this is to write AGENTS.md as "indexes and hard rules" and let the agent read the details with the file tool.
How to understand the official restrictions
The documentation states that a single context file has a character limit, and if it is exceeded, the head and tail will be retained, and the file tool will be prompted to read the full content. That is, it's not that Hermes can't see long documents, but it's not suitable for cramming it in its entirety every round.
Recommended finishing method
- Start with the most important 10 rules: test commands, package managers, prohibitions, critical paths.
- Split the long schema description into the docs/ directory and link the path with AGENTS.md.
- Don't zoom in on historical context, meeting notes, full API documentation.
- Each subdirectory uses its own AGENTS.md to reduce global file bloat.
If you notice that Hermes often ignores the rules, it is not necessarily that he is disobedient, or that the rules are too long, too loose, and conflicting. Short, clear, and executable context files often work better than long-form descriptions.