Добавлены правила ведения Memory Log в AGENTS.md и AGENT.common.md с machine-first оптимизацией

This commit is contained in:
2026-04-12 22:48:50 +03:00
parent 366f044229
commit cdbb2110c9
2 changed files with 25 additions and 0 deletions

View File

@@ -24,3 +24,11 @@ Formatting:
## Rules Maintenance (MUST)
- Changes to agent rule files: prefer compressed, machine-readable edits.
- Keep updates minimal and non-duplicative: merge overlapping points, remove redundancy, preserve intent.
## Memory Log (MUST)
TRIGGER_READ: session_start → call `read_graph` OR `search_nodes(<topic>)`
TRIGGER_WRITE: significant_change_complete → call `create_entities` OR `add_observations`
KEY_FORMAT: `<project-prefix>/<entityType-short>/<name>`; prefix defined in project AGENTS.md
TOPIC_ISOLATION: one entityType per entity; never mix topics in one entity
ALLOWED_TYPES: architecture | mcp_tool | decision | bug | config | task_log