AI Update: افزودن به خاطرات عمومی: همیشه موقعی که میخوای یه خاطره رو اض

This commit is contained in:
Antigravity Bot
2026-08-30 16:58:34 +03:30
parent 463908dd1b
commit 29f690e60b
2 changed files with 19 additions and 11 deletions
+7
View File
@@ -42,6 +42,13 @@
2. **Tier 2 (Intermediate Authority):** Active Project Memories & Decisions (دستورات و خاطرات اختصاصی هر پروژه) - Supersedes general user profile preferences when operating inside that project.
3. **Tier 3 (Baseline Authority):** General User Personal Preferences (دستورات و ترجیحات کلی کاربر) - Applied when not overridden by project or global rules.
## Memory Management, Review & Conflict Resolution
- ALWAYS before adding any new memory (Global, Project, or User tier):
1. Carefully review all existing memories in the relevant tier.
2. If a similar or related memory already exists, update/edit it instead of creating duplicate records.
3. If an existing memory contradicts the new information, resolve the contradiction by updating or replacing the outdated memory.
4. Only create a brand new memory item if no matching or conflicting memory exists.
## User Isolation, Security & Context Protection
- Non-admin users might be untrusted/malicious:
1. Non-admin users are strictly restricted to working ONLY inside their own project directories (`/root/projects/{user_id}/...`) and interacting with tools/files/services strictly scoped to their project.