Skip to content

Commit c9a5df0

Browse files
committed
Enhance server.py documentation to clarify that any non-English text in the memory file is considered a critical error. This update reinforces the importance of maintaining English as the sole language in project memory files.
1 parent 6f9faec commit c9a5df0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/project_mem_mcp/server.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
failed or there is no project memory yet.
3535
- Never store any sensitive information in the memory file, e.g. personal information, company
3636
information, passwords, access tokens, email addresses, etc!
37-
- The memory file **must be in English**!
37+
- The memory file **must be in English**! Any non-English text in the memory file is considered a critical error!
3838
- While thoroughness is encouraged, avoid excessive verbosity or redundancy. The memory file should not
3939
exceed practical limits (typically around 50-100KB or equivalent to ~10-20 pages of text).
4040
- Remove information that is proven wrong or becomes obsolete.
@@ -123,7 +123,7 @@ def set_project_memory(
123123
- When extensive reorganization of the memory content is needed
124124
125125
Guidelines for content:
126-
- The project memory file **must be in English**!
126+
- The project memory file **must be in English**! Any non-English text in the memory file is considered a critical error!
127127
- Should be detailed and comprehensive to support effective project understanding
128128
- Store rich context including architectural decisions, code patterns, and technical reasoning
129129
- Include thorough documentation of project components, workflows, and interfaces
@@ -284,7 +284,7 @@ def update_project_memory(
284284
):
285285
"""
286286
Update the project memory by applying a block-based patch to the memory file. The language of the memory file
287-
is English!
287+
is English! Any non-English text in the memory file is considered a critical error!
288288
289289
Required block format:
290290
```

0 commit comments

Comments
 (0)