docs: update README JiraTools methods, add MEMORY rules, fix config entity

This commit is contained in:
2026-04-13 12:30:44 +03:00
parent 8962c916e8
commit 3828df69da
2 changed files with 198 additions and 8 deletions

37
AGENT.memory.md Normal file
View File

@@ -0,0 +1,37 @@
# MEMORY AGENT RULES
## TRIGGERS — ALWAYS CHECK
- **ON session_start**: read_graph OR search_nodes(<topic>)
- **ON significant_change**: create_entities OR add_observations
- **ON file_operation**: log to memory if architecture/config/decision
## KEY FORMAT
- **PREFIX**: `lazybear/`
- **KEY**: `lazybear/<type>/<n>` (ex: lazybear/bug/auth-fail)
- **ONE_TYPE_PER_ENTITY**: true
## ALLOWED TYPES
- architecture | mcp_tool | decision | bug | config | task_log
## MACHINE-FIRST PRINCIPLES
- ALWAYS use memory for project context, architecture, and decisions
- READ graph before coding or making assumptions
- Don't duplicate observations
- Update memory when state changes significantly
## SCHEMA
```
lazybear/{architecture|mcp_tool|decision|bug|config|task_log}/{entity-name}
```
## READING PRIORITY
1. Check graph before coding
2. Search nodes for existing context
3. Don't duplicate observations
## WRITING TRIGGERS
- **Architecture**: create `architecture` entity
- **New MCP tools**: create `mcp_tool` entity
- **Major decisions**: create `decision` entity
- **Config updates**: create `config` entity
- **Completed tasks**: create/update `task_log` entity